@@ -6,7 +6,7 @@ import { ZERO_ADDRESS } from '#root/utils/Web3/index.js';
6
6
const configs = {
7
7
ethereum : {
8
8
poolsBaseUrlOld : 'https://classic.curve.fi/' ,
9
- poolsBaseUrl : 'https://curve.fi/#/ethereum/pools/' ,
9
+ poolsBaseUrl : 'https://curve.fi/dex/ #/ethereum/pools/' ,
10
10
nativeCurrencySymbol : 'ETH' ,
11
11
chainId : 1 ,
12
12
nativeCurrencyCoingeckoId : 'ethereum' ,
@@ -78,17 +78,17 @@ const configs = {
78
78
'0xfc636d819d1a98433402ec9dec633d864014f28c' , , // Contains an exploited asset that was stopped
79
79
'0x68934f60758243eafaf4d2cfed27bf8010bede3a' , , // Contains an exploited asset that was stopped
80
80
] . map ( lc ) ,
81
- lendingVaultsBaseUrl : 'https://lend. curve.fi/#/ethereum/markets/' ,
81
+ lendingVaultsBaseUrl : 'https://curve.fi/lend /#/ethereum/markets/' ,
82
82
lendingVaultRegistries : {
83
83
oneway : '0xea6876dde9e3467564acbee1ed5bac88783205e0' ,
84
84
} ,
85
85
lendingVaultRegistriesUrlFragments : {
86
- oneway : 'one-way-market' , // e.g. https://lend. curve.fi/#/ethereum/markets/one-way-market-3/vault/deposit
86
+ oneway : 'one-way-market' , // e.g. https://curve.fi/lend /#/ethereum/markets/one-way-market-3/vault/deposit
87
87
} ,
88
88
} ,
89
89
polygon : {
90
90
poolsBaseUrlOld : 'https://polygon.curve.fi/' ,
91
- poolsBaseUrl : 'https://curve.fi/#/polygon/pools/' ,
91
+ poolsBaseUrl : 'https://curve.fi/dex/ #/polygon/pools/' ,
92
92
shortId : 'poly' ,
93
93
nativeCurrencySymbol : 'MATIC' ,
94
94
chainId : 137 ,
@@ -156,7 +156,7 @@ const configs = {
156
156
} ,
157
157
fantom : {
158
158
poolsBaseUrlOld : 'https://ftm.curve.fi/' ,
159
- poolsBaseUrl : 'https://curve.fi/#/fantom/pools/' ,
159
+ poolsBaseUrl : 'https://curve.fi/dex/ #/fantom/pools/' ,
160
160
shortId : 'ftm' ,
161
161
nativeCurrencySymbol : 'FTM' ,
162
162
chainId : 250 ,
@@ -213,7 +213,7 @@ const configs = {
213
213
} ,
214
214
arbitrum : {
215
215
poolsBaseUrlOld : 'https://arbitrum.curve.fi/' ,
216
- poolsBaseUrl : 'https://curve.fi/#/arbitrum/pools/' ,
216
+ poolsBaseUrl : 'https://curve.fi/dex/ #/arbitrum/pools/' ,
217
217
shortId : 'arbi' ,
218
218
nativeCurrencySymbol : 'ETH' ,
219
219
chainId : 42161 ,
@@ -266,17 +266,17 @@ const configs = {
266
266
] ) ,
267
267
DISABLED_POOLS_ADDRESSES : [ ] . map ( lc ) ,
268
268
graphEndpoint : undefined ,
269
- lendingVaultsBaseUrl : 'https://lend. curve.fi/#/arbitrum/markets/' ,
269
+ lendingVaultsBaseUrl : 'https://curve.fi/lend /#/arbitrum/markets/' ,
270
270
lendingVaultRegistries : {
271
271
oneway : '0xcaEC110C784c9DF37240a8Ce096D352A75922DeA' ,
272
272
} ,
273
273
lendingVaultRegistriesUrlFragments : {
274
- oneway : 'one-way-market' , // e.g. https://lend. curve.fi/#/arbitrum/markets/one-way-market-3/vault/deposit
274
+ oneway : 'one-way-market' , // e.g. https://curve.fi/lend /#/arbitrum/markets/one-way-market-3/vault/deposit
275
275
} ,
276
276
} ,
277
277
avalanche : {
278
278
poolsBaseUrlOld : 'https://avax.curve.fi/' ,
279
- poolsBaseUrl : 'https://curve.fi/#/avalanche/pools/' ,
279
+ poolsBaseUrl : 'https://curve.fi/dex/ #/avalanche/pools/' ,
280
280
shortId : 'ava' ,
281
281
nativeCurrencySymbol : 'AVAX' ,
282
282
chainId : 43114 ,
@@ -333,7 +333,7 @@ const configs = {
333
333
} ,
334
334
optimism : {
335
335
poolsBaseUrlOld : 'https://optimism.curve.fi/' ,
336
- poolsBaseUrl : 'https://curve.fi/#/optimism/pools/' ,
336
+ poolsBaseUrl : 'https://curve.fi/dex/ #/optimism/pools/' ,
337
337
shortId : 'op' ,
338
338
nativeCurrencySymbol : 'ETH' ,
339
339
chainId : 10 ,
@@ -382,17 +382,17 @@ const configs = {
382
382
DISABLED_POOLS_ADDRESSES : [ ] . map ( lc ) ,
383
383
approxBlocksPerDay : 43000 , // https://optimistic.etherscan.io/chart/blocks
384
384
graphEndpoint : undefined ,
385
- lendingVaultsBaseUrl : 'https://lend. curve.fi/#/optimism/markets/' ,
385
+ lendingVaultsBaseUrl : 'https://curve.fi/lend /#/optimism/markets/' ,
386
386
lendingVaultRegistries : {
387
387
oneway : '0x5EA8f3D674C70b020586933A0a5b250734798BeF' ,
388
388
} ,
389
389
lendingVaultRegistriesUrlFragments : {
390
- oneway : 'one-way-market' , // e.g. https://lend. curve.fi/#/ethereum/markets/one-way-market-3/vault/deposit
390
+ oneway : 'one-way-market' , // e.g. https://curve.fi/lend /#/ethereum/markets/one-way-market-3/vault/deposit
391
391
} ,
392
392
} ,
393
393
xdai : {
394
394
poolsBaseUrlOld : 'https://xdai.curve.fi/' ,
395
- poolsBaseUrl : 'https://curve.fi/#/gnosis/pools/' ,
395
+ poolsBaseUrl : 'https://curve.fi/dex/ #/gnosis/pools/' ,
396
396
shortId : 'xdai' ,
397
397
nativeCurrencySymbol : 'xDAI' ,
398
398
chainId : 100 ,
@@ -441,7 +441,7 @@ const configs = {
441
441
} ,
442
442
aurora : {
443
443
poolsBaseUrlOld : 'https://aurora.curve.fi/' ,
444
- poolsBaseUrl : 'https://curve.fi/#/aurora/pools/' ,
444
+ poolsBaseUrl : 'https://curve.fi/dex/ #/aurora/pools/' ,
445
445
shortId : 'aur' ,
446
446
nativeCurrencySymbol : 'AURORA' ,
447
447
chainId : 1313161555 ,
@@ -483,7 +483,7 @@ const configs = {
483
483
} ,
484
484
moonbeam : {
485
485
poolsBaseUrlOld : 'https://moonbeam.curve.fi/' ,
486
- poolsBaseUrl : 'https://curve.fi/#/moonbeam/pools/' ,
486
+ poolsBaseUrl : 'https://curve.fi/dex/ #/moonbeam/pools/' ,
487
487
shortId : 'moon' ,
488
488
nativeCurrencySymbol : 'GLMR' ,
489
489
chainId : 1284 ,
@@ -517,7 +517,7 @@ const configs = {
517
517
} ,
518
518
kava : {
519
519
poolsBaseUrlOld : 'https://kava.curve.fi/' ,
520
- poolsBaseUrl : 'https://curve.fi/#/kava/pools/' ,
520
+ poolsBaseUrl : 'https://curve.fi/dex/ #/kava/pools/' ,
521
521
shortId : 'kava' ,
522
522
nativeCurrencySymbol : 'KAVA' ,
523
523
chainId : 2222 ,
@@ -562,7 +562,7 @@ const configs = {
562
562
celo : {
563
563
hasNoMainRegistry : true , // No main registry deployed nor address provider
564
564
poolsBaseUrlOld : 'https://celo.curve.fi/' ,
565
- poolsBaseUrl : 'https://curve.fi/#/celo/pools/' ,
565
+ poolsBaseUrl : 'https://curve.fi/dex/ #/celo/pools/' ,
566
566
shortId : 'celo' ,
567
567
nativeCurrencySymbol : 'CELO' ,
568
568
chainId : 42220 ,
@@ -679,7 +679,7 @@ const configs = {
679
679
base : {
680
680
hasNoMainRegistry : true , // No main registry deployed nor address provider
681
681
poolsBaseUrlOld : null ,
682
- poolsBaseUrl : 'https://curve.fi/#/base/pools/' ,
682
+ poolsBaseUrl : 'https://curve.fi/dex/ #/base/pools/' ,
683
683
shortId : 'base' ,
684
684
nativeCurrencySymbol : 'ETH' ,
685
685
chainId : 8453 ,
@@ -726,7 +726,7 @@ const configs = {
726
726
fraxtal : {
727
727
hasNoMainRegistry : true , // No main registry deployed nor address provider
728
728
poolsBaseUrlOld : null ,
729
- poolsBaseUrl : 'https://curve.fi/#/fraxtal/pools/' ,
729
+ poolsBaseUrl : 'https://curve.fi/dex/ #/fraxtal/pools/' ,
730
730
shortId : 'fraxtal' ,
731
731
nativeCurrencySymbol : 'frxETH' ,
732
732
chainId : 252 ,
@@ -754,18 +754,18 @@ const configs = {
754
754
DISABLED_POOLS_ADDRESSES : [ ] . map ( lc ) ,
755
755
approxBlocksPerDay : 43000 , // Very approx from list of blocks on https://fraxscan.com/blocks
756
756
graphEndpoint : undefined ,
757
- lendingVaultsBaseUrl : 'https://lend. curve.fi/#/fraxtal/markets/' ,
757
+ lendingVaultsBaseUrl : 'https://curve.fi/lend /#/fraxtal/markets/' ,
758
758
lendingVaultRegistries : {
759
759
oneway : '0xf3c9bdAB17B7016fBE3B77D17b1602A7db93ac66' ,
760
760
} ,
761
761
lendingVaultRegistriesUrlFragments : {
762
- oneway : 'one-way-market' , // e.g. https://lend. curve.fi/#/ethereum/markets/one-way-market-3/vault/deposit
762
+ oneway : 'one-way-market' , // e.g. https://curve.fi/lend /#/ethereum/markets/one-way-market-3/vault/deposit
763
763
} ,
764
764
} ,
765
765
bsc : {
766
766
hasNoMainRegistry : true , // No main registry deployed nor address provider
767
767
poolsBaseUrlOld : null ,
768
- poolsBaseUrl : 'https://curve.fi/#/bsc/pools/' ,
768
+ poolsBaseUrl : 'https://curve.fi/dex/ #/bsc/pools/' ,
769
769
shortId : 'bsc' ,
770
770
nativeCurrencySymbol : 'BNB' ,
771
771
chainId : 56 ,
@@ -813,7 +813,7 @@ const configs = {
813
813
'x-layer' : {
814
814
hasNoMainRegistry : true , // No main registry deployed nor address provider
815
815
poolsBaseUrlOld : null ,
816
- poolsBaseUrl : 'https://curve.fi/#/x-layer/pools/' ,
816
+ poolsBaseUrl : 'https://curve.fi/dex/ #/x-layer/pools/' ,
817
817
shortId : 'x-layer' ,
818
818
nativeCurrencySymbol : 'OKB' ,
819
819
chainId : 196 ,
@@ -840,7 +840,7 @@ const configs = {
840
840
mantle : {
841
841
hasNoMainRegistry : true , // No main registry deployed nor address provider
842
842
poolsBaseUrlOld : null ,
843
- poolsBaseUrl : 'https://curve.fi/#/mantle/pools/' ,
843
+ poolsBaseUrl : 'https://curve.fi/dex/ #/mantle/pools/' ,
844
844
shortId : 'mantle' ,
845
845
nativeCurrencySymbol : 'MNT' ,
846
846
chainId : 5000 ,
@@ -866,8 +866,9 @@ const configs = {
866
866
graphEndpoint : undefined ,
867
867
} ,
868
868
sonic : {
869
+ hasNoMainRegistry : true , // No main registry deployed nor address provider
869
870
poolsBaseUrlOld : null ,
870
- poolsBaseUrl : null ,
871
+ poolsBaseUrl : 'https://curve.fi/dex/#/sonic/pools/' ,
871
872
shortId : 'sonic' ,
872
873
nativeCurrencySymbol : 'S' ,
873
874
chainId : 146 ,
@@ -878,14 +879,23 @@ const configs = {
878
879
backuprpcUrl : `https://rpc.soniclabs.com` ,
879
880
multicallAddress : '0xcA11bde05977b3631167028862bE2a173976CA11' ,
880
881
multicall2Address : '0xcA11bde05977b3631167028862bE2a173976CA11' ,
882
+ getFactoryTricryptoRegistryAddress : async ( ) => '0x635742dCC8313DCf8c904206037d962c042EAfBd' ,
883
+ getFactoryStableswapNgRegistryAddress : async ( ) => '0x7C2085419BE6a04f4ad88ea91bC9F5C6E6C463D8' ,
884
+ getFactoryTwocryptoRegistryAddress : async ( ) => '0x1A83348F9cCFD3Fe1A8C0adBa580Ac4e267Fe495' ,
885
+ gaugeRegistryAddress2 : '0xf3A431008396df8A8b2DF492C913706BDB0874ef' ,
886
+ gaugeRootRegistry2 : '0x306A45a1478A000dC701A6e1f7a569afb8D9DCD6' ,
887
+ factoryImplementationAddressMap : new Map ( [
888
+ //
889
+ ] ) ,
890
+ BASE_POOL_LP_TO_GAUGE_LP_MAP : new Map ( [ ] ) ,
881
891
DISABLED_POOLS_ADDRESSES : [ ] . map ( lc ) ,
882
892
graphEndpoint : undefined ,
883
893
lendingVaultsBaseUrl : 'https://curve.fi/lend/#/sonic/markets/' ,
884
894
lendingVaultRegistries : {
885
895
oneway : '0x30D1859DaD5A52aE03B6e259d1b48c4b12933993' ,
886
896
} ,
887
897
lendingVaultRegistriesUrlFragments : {
888
- oneway : 'one-way-market' , // e.g. https://lend. curve.fi/#/arbitrum/markets/one-way-market-3/vault/deposit
898
+ oneway : 'one-way-market' , // e.g. https://curve.fi/lend /#/arbitrum/markets/one-way-market-3/vault/deposit
889
899
} ,
890
900
} ,
891
901
} ;
0 commit comments