@curvefi/api 2.63.10 → 2.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/constants/coins/arbitrum.d.ts +0 -4
- package/lib/constants/coins/arbitrum.js +0 -4
- package/lib/constants/coins/aurora.d.ts +0 -4
- package/lib/constants/coins/aurora.js +0 -4
- package/lib/constants/coins/avalanche.d.ts +0 -3
- package/lib/constants/coins/avalanche.js +0 -3
- package/lib/constants/coins/base.d.ts +0 -4
- package/lib/constants/coins/base.js +0 -4
- package/lib/constants/coins/bsc.d.ts +0 -4
- package/lib/constants/coins/bsc.js +0 -4
- package/lib/constants/coins/celo.d.ts +0 -4
- package/lib/constants/coins/celo.js +0 -4
- package/lib/constants/coins/ethereum.js +4 -1
- package/lib/constants/coins/fantom.d.ts +0 -2
- package/lib/constants/coins/fantom.js +0 -2
- package/lib/constants/coins/fraxtal.d.ts +0 -4
- package/lib/constants/coins/fraxtal.js +0 -4
- package/lib/constants/coins/index.d.ts +18 -0
- package/lib/constants/coins/index.js +18 -0
- package/lib/constants/coins/kava.d.ts +0 -4
- package/lib/constants/coins/kava.js +0 -4
- package/lib/constants/coins/mantle.d.ts +0 -4
- package/lib/constants/coins/mantle.js +0 -4
- package/lib/constants/coins/moonbeam.d.ts +0 -4
- package/lib/constants/coins/moonbeam.js +0 -4
- package/lib/constants/coins/optimism.d.ts +0 -4
- package/lib/constants/coins/optimism.js +0 -4
- package/lib/constants/coins/polygon.d.ts +0 -3
- package/lib/constants/coins/polygon.js +0 -3
- package/lib/constants/coins/xdai.d.ts +0 -4
- package/lib/constants/coins/xdai.js +0 -4
- package/lib/constants/coins/xlayer.d.ts +0 -4
- package/lib/constants/coins/xlayer.js +0 -4
- package/lib/constants/coins/zksync.d.ts +0 -4
- package/lib/constants/coins/zksync.js +0 -4
- package/lib/constants/{tricryptoDeployImplementations.d.ts → factory/crypto.d.ts} +21 -0
- package/lib/constants/{tricryptoDeployImplementations.js → factory/crypto.js} +85 -0
- package/lib/constants/factory/index.d.ts +3 -0
- package/lib/constants/factory/index.js +3 -0
- package/lib/{factory/constants.d.ts → constants/factory/stable.d.ts} +6 -52
- package/lib/{factory/constants.js → constants/factory/stable.js} +41 -151
- package/lib/constants/network_constants.d.ts +3 -0
- package/lib/constants/{aliases.js → network_constants.js} +255 -97
- package/lib/curve.d.ts +22 -16
- package/lib/curve.js +96 -362
- package/lib/external-api.d.ts +5 -3
- package/lib/external-api.js +86 -12
- package/lib/factory/common.js +2 -3
- package/lib/factory/deploy.js +5 -4
- package/lib/factory/factory-api.js +53 -61
- package/lib/factory/factory-crypto.js +3 -3
- package/lib/factory/factory-tricrypto.js +2 -2
- package/lib/factory/factory.js +22 -11
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/interfaces.d.ts +26 -1
- package/lib/pools/PoolTemplate.d.ts +9 -82
- package/lib/pools/PoolTemplate.js +37 -379
- package/lib/pools/mixins/depositBalancedAmountsMixins.js +3 -3
- package/lib/pools/mixins/poolBalancesMixin.d.ts +3 -3
- package/lib/pools/mixins/poolBalancesMixin.js +11 -11
- package/lib/pools/poolConstructor.js +14 -7
- package/lib/pools/subClasses/corePool.d.ts +68 -0
- package/lib/pools/subClasses/corePool.js +39 -0
- package/lib/pools/{gaugePool.d.ts → subClasses/gaugePool.d.ts} +1 -1
- package/lib/pools/{gaugePool.js → subClasses/gaugePool.js} +2 -2
- package/lib/pools/subClasses/statsPool.d.ts +45 -0
- package/lib/pools/subClasses/statsPool.js +227 -0
- package/lib/pools/subClasses/walletPool.d.ts +19 -0
- package/lib/pools/subClasses/walletPool.js +72 -0
- package/lib/pools/utils.d.ts +1 -0
- package/lib/pools/utils.js +36 -0
- package/lib/route-graph.worker.js +50 -2
- package/lib/utils.d.ts +10 -1
- package/lib/utils.js +45 -7
- package/package.json +1 -1
- package/lib/constants/aliases.d.ts +0 -17
- package/lib/factory/constants-crypto.d.ts +0 -90
- package/lib/factory/constants-crypto.js +0 -122
|
@@ -1,46 +1,43 @@
|
|
|
1
|
-
import factorySwapABI from "../
|
|
2
|
-
import MetaUSDABI from "../
|
|
3
|
-
import MetaUSDBalancesABI from "../
|
|
4
|
-
import MetaFraxUSDABI from "../
|
|
5
|
-
import MetaFraxUSDBalancesABI from "../
|
|
6
|
-
import MetaBTCABI from "../
|
|
7
|
-
import MetaBTCBalancesABI from "../
|
|
8
|
-
import MetaBTCRenABI from "../
|
|
9
|
-
import MetaBTCRenBalancesABI from "../
|
|
10
|
-
import MetaSbtc2ABI from "../
|
|
11
|
-
import MetaSbtc2BalancesABI from "../
|
|
12
|
-
import MetaUSDGeistABI from "../
|
|
13
|
-
import Plain2BasicABI from "../
|
|
14
|
-
import Plain2BasicWithRatesABI from "../
|
|
15
|
-
import Plain2BalancesABI from "../
|
|
16
|
-
import Plain2ETHABI from "../
|
|
17
|
-
import Plain2ETHOracleABI from "../
|
|
18
|
-
import Plain2OptimizedABI from "../
|
|
19
|
-
import Plain3BasicABI from "../
|
|
20
|
-
import Plain3BalancesABI from "../
|
|
21
|
-
import Plain3ETHABI from "../
|
|
22
|
-
import Plain3OptimizedABI from "../
|
|
23
|
-
import Plain4BasicABI from "../
|
|
24
|
-
import Plain4BalancesABI from "../
|
|
25
|
-
import Plain4ETHABI from "../
|
|
26
|
-
import Plain4OptimizedABI from "../
|
|
27
|
-
import Plain6BasicABI from "../
|
|
28
|
-
import Plain6BalancesABI from "../
|
|
29
|
-
import Plain6ETHABI from "../
|
|
30
|
-
import Plain6OptimizedABI from "../
|
|
31
|
-
import PlainStableSwapNGABI from "../constants/abis/factory-stable-ng/plain-stableswap-ng.json" assert { type: 'json' };
|
|
32
|
-
import MetaStableSwapNGABI from "../constants/abis/factory-stable-ng/meta-stableswap-ng.json" assert { type: 'json' };
|
|
1
|
+
import factorySwapABI from "../abis/factoryPools/swap.json" assert { type: 'json' };
|
|
2
|
+
import MetaUSDABI from "../abis/factory-v2/MetaUSD.json" assert { type: 'json' };
|
|
3
|
+
import MetaUSDBalancesABI from "../abis/factory-v2/MetaUSDBalances.json" assert { type: 'json' };
|
|
4
|
+
import MetaFraxUSDABI from "../abis/factory-v2/MetaFraxUSD.json" assert { type: 'json' };
|
|
5
|
+
import MetaFraxUSDBalancesABI from "../abis/factory-v2/MetaFraxUSDBalances.json" assert { type: 'json' };
|
|
6
|
+
import MetaBTCABI from "../abis/factory-v2/MetaBTC.json" assert { type: 'json' };
|
|
7
|
+
import MetaBTCBalancesABI from "../abis/factory-v2/MetaBTCBalances.json" assert { type: 'json' };
|
|
8
|
+
import MetaBTCRenABI from "../abis/factory-v2/MetaBTCRen.json" assert { type: 'json' };
|
|
9
|
+
import MetaBTCRenBalancesABI from "../abis/factory-v2/MetaBTCBalancesRen.json" assert { type: 'json' };
|
|
10
|
+
import MetaSbtc2ABI from "../abis/factory-v2/MetaSbtc2.json" assert { type: 'json' };
|
|
11
|
+
import MetaSbtc2BalancesABI from "../abis/factory-v2/MetaSbtc2Balance.json" assert { type: 'json' };
|
|
12
|
+
import MetaUSDGeistABI from "../abis/factory-v2/MetaUSDGeist.json" assert { type: 'json' };
|
|
13
|
+
import Plain2BasicABI from "../abis/factory-v2/Plain2Basic.json" assert { type: 'json' };
|
|
14
|
+
import Plain2BasicWithRatesABI from "../abis/factory-v2/Plain2BasicWithRates.json" assert { type: 'json' };
|
|
15
|
+
import Plain2BalancesABI from "../abis/factory-v2/Plain2Balances.json" assert { type: 'json' };
|
|
16
|
+
import Plain2ETHABI from "../abis/factory-v2/Plain2ETH.json" assert { type: 'json' };
|
|
17
|
+
import Plain2ETHOracleABI from "../abis/factory-v2/Plain2ETHOracle.json" assert { type: 'json' };
|
|
18
|
+
import Plain2OptimizedABI from "../abis/factory-v2/Plain2Optimized.json" assert { type: 'json' };
|
|
19
|
+
import Plain3BasicABI from "../abis/factory-v2/Plain3Basic.json" assert { type: 'json' };
|
|
20
|
+
import Plain3BalancesABI from "../abis/factory-v2/Plain3Balances.json" assert { type: 'json' };
|
|
21
|
+
import Plain3ETHABI from "../abis/factory-v2/Plain3ETH.json" assert { type: 'json' };
|
|
22
|
+
import Plain3OptimizedABI from "../abis/factory-v2/Plain3Optimized.json" assert { type: 'json' };
|
|
23
|
+
import Plain4BasicABI from "../abis/factory-v2/Plain4Basic.json" assert { type: 'json' };
|
|
24
|
+
import Plain4BalancesABI from "../abis/factory-v2/Plain4Balances.json" assert { type: 'json' };
|
|
25
|
+
import Plain4ETHABI from "../abis/factory-v2/Plain4ETH.json" assert { type: 'json' };
|
|
26
|
+
import Plain4OptimizedABI from "../abis/factory-v2/Plain4Optimized.json" assert { type: 'json' };
|
|
27
|
+
import Plain6BasicABI from "../abis/factory-v2/Plain6Basic.json" assert { type: 'json' };
|
|
28
|
+
import Plain6BalancesABI from "../abis/factory-v2/Plain6Balances.json" assert { type: 'json' };
|
|
29
|
+
import Plain6ETHABI from "../abis/factory-v2/Plain6ETH.json" assert { type: 'json' };
|
|
30
|
+
import Plain6OptimizedABI from "../abis/factory-v2/Plain6Optimized.json" assert { type: 'json' };
|
|
33
31
|
// --- ZAPS --
|
|
34
|
-
import factoryDepositABI from "../
|
|
35
|
-
import fraxusdcMetaZapABI from "../
|
|
36
|
-
import MetaUsdZapPolygonABI from "../
|
|
37
|
-
import MetaBtcZapPolygonABI from "../
|
|
38
|
-
import MetaZapFantomABI from "../
|
|
39
|
-
import MetaGeistUsdZapFantomABI from "../
|
|
40
|
-
import RenMetaZapABI from "../
|
|
41
|
-
import Sbtc2MetaZapABI from "../
|
|
42
|
-
import
|
|
43
|
-
import { lowerCaseKeys } from "../constants/utils.js";
|
|
32
|
+
import factoryDepositABI from "../abis/factoryPools/deposit.json" assert { type: 'json' };
|
|
33
|
+
import fraxusdcMetaZapABI from "../abis/fraxusdc/meta_zap.json" assert { type: 'json' };
|
|
34
|
+
import MetaUsdZapPolygonABI from "../abis/factory-v2/DepositZapMetaUsdPolygon.json" assert { type: 'json' };
|
|
35
|
+
import MetaBtcZapPolygonABI from "../abis/factory-v2/DepositZapMetaBtcPolygon.json" assert { type: 'json' };
|
|
36
|
+
import MetaZapFantomABI from "../abis/factory-v2/DepositZapFantom.json" assert { type: 'json' };
|
|
37
|
+
import MetaGeistUsdZapFantomABI from "../abis/factory-v2/DepositZapMetaUsd2Fantom.json" assert { type: 'json' };
|
|
38
|
+
import RenMetaZapABI from "../abis/ren/meta_zap.json" assert { type: 'json' };
|
|
39
|
+
import Sbtc2MetaZapABI from "../abis/sbtc2/meta_zap.json" assert { type: 'json' };
|
|
40
|
+
import { lowerCaseKeys } from "../utils.js";
|
|
44
41
|
export const implementationABIDictEthereum = lowerCaseKeys({
|
|
45
42
|
"0x5F890841f657d90E081bAbdB532A05996Af79Fe6": factorySwapABI,
|
|
46
43
|
"0x213be373FDff327658139C7df330817DAD2d5bBE": MetaUSDABI,
|
|
@@ -75,13 +72,6 @@ export const implementationABIDictEthereum = lowerCaseKeys({
|
|
|
75
72
|
"0xd35B58386705CE75CE6d09842E38E9BE9CDe5bF6": Plain4BalancesABI,
|
|
76
73
|
"0x88855cdF2b0A8413D470B86952E726684de915be": Plain4ETHABI,
|
|
77
74
|
"0xaD4753D045D3Aed5C1a6606dFb6a7D7AD67C1Ad7": Plain4OptimizedABI,
|
|
78
|
-
//"0x3E3B5F27bbf5CC967E074b70E9f4046e31663181": PlainStableSwapNGABI,
|
|
79
|
-
//"0x64afa95e0c3d8410240a4262df9fd82b12b64edd": MetaStableSwapNGABI,
|
|
80
|
-
//"0x1f7C86AffE5bCF7a1D74a8c8E2ef9E03BF31c1BD": MetaStableSwapNGABI,
|
|
81
|
-
"0x933f4769DCC27fC7345D9d5975AE48EC4D0F829C": PlainStableSwapNGABI,
|
|
82
|
-
"0xDD7EBB1C49780519dD9755B8B1A23a6f42CE099E": MetaStableSwapNGABI,
|
|
83
|
-
"0xDCc91f930b42619377C200BA05b7513f2958b202": PlainStableSwapNGABI,
|
|
84
|
-
"0xede71F77d7c900dCA5892720E76316C6E575F0F7": MetaStableSwapNGABI,
|
|
85
75
|
});
|
|
86
76
|
export const implementationABIDictPolygon = lowerCaseKeys({
|
|
87
77
|
"0x4fb93D7d320E8A263F22f62C2059dFC2A8bCbC4c": MetaUSDABI,
|
|
@@ -100,12 +90,6 @@ export const implementationABIDictPolygon = lowerCaseKeys({
|
|
|
100
90
|
"0xC7c46488566b9ef9B981b87E328939CaA5ca152f": Plain4BalancesABI,
|
|
101
91
|
"0xf31bcdf0B9a5eCD7AB463eB905551fBc32e51856": Plain4ETHABI,
|
|
102
92
|
"0xAc273d5b4FC06625d8b1abA3BE8De15bDFb8E39f": Plain4OptimizedABI,
|
|
103
|
-
//"0x506F594ceb4E33F5161139bAe3Ee911014df9f7f": PlainStableSwapNGABI,
|
|
104
|
-
//"0x87FE17697D0f14A222e8bEf386a0860eCffDD617": MetaStableSwapNGABI,
|
|
105
|
-
"0xa7Ba18EeFcD9513230987eC2faB6711AF5AbD9c2": PlainStableSwapNGABI,
|
|
106
|
-
"0x7C2085419BE6a04f4ad88ea91bC9F5C6E6C463D8": MetaStableSwapNGABI,
|
|
107
|
-
"0xe265FC390E9129b7E337Da23cD42E00C34Da2CE3": PlainStableSwapNGABI,
|
|
108
|
-
"0xa7b9d886A9a374A1C86DC52d2BA585c5CDFdac26": MetaStableSwapNGABI,
|
|
109
93
|
});
|
|
110
94
|
export const implementationABIDictFantom = lowerCaseKeys({
|
|
111
95
|
"0xfCE359115dFe1533a2458650123F86C454BC0213": MetaUSDABI,
|
|
@@ -131,12 +115,6 @@ export const implementationABIDictFantom = lowerCaseKeys({
|
|
|
131
115
|
"0x2C996b11a73276787Eb637D4459d1A7fea16B310": Plain6BalancesABI,
|
|
132
116
|
"0xa4Fc50E45aF5bF22b519468c7c342C704e1F3d44": Plain6ETHABI,
|
|
133
117
|
"0x65e38C41CcE6D9Bc202209Cc546B2f63985D4139": Plain6OptimizedABI,
|
|
134
|
-
//"0xd2002373543Ce3527023C75e7518C274A51ce712": PlainStableSwapNGABI,
|
|
135
|
-
//"0x686bdb3D24Bc6F3ED89ed3d3B659765c54aC78B4": MetaStableSwapNGABI,
|
|
136
|
-
"0xd7E72f3615aa65b92A4DBdC211E296a35512988B": PlainStableSwapNGABI,
|
|
137
|
-
"0xbC0797015fcFc47d9C1856639CaE50D0e69FbEE8": MetaStableSwapNGABI,
|
|
138
|
-
"0x5702BDB1Ec244704E3cBBaAE11a0275aE5b07499": PlainStableSwapNGABI,
|
|
139
|
-
"0x046207cB759F527b6c10C2D61DBaca45513685CC": MetaStableSwapNGABI,
|
|
140
118
|
});
|
|
141
119
|
export const implementationABIDictAvalanche = lowerCaseKeys({
|
|
142
120
|
"0xA237034249290De2B07988Ac64b96f22c0E76fE0": MetaUSDABI,
|
|
@@ -155,10 +133,6 @@ export const implementationABIDictAvalanche = lowerCaseKeys({
|
|
|
155
133
|
"0x7D86446dDb609eD0F5f8684AcF30380a356b2B4c": Plain4BalancesABI,
|
|
156
134
|
"0x0eb0F1FaF5F509Ac53fA224477509EAD167cf410": Plain4ETHABI,
|
|
157
135
|
"0xCE94D3E5b0D80565D7B713A687b39a3Dc81780BA": Plain4OptimizedABI,
|
|
158
|
-
"0xa7Ba18EeFcD9513230987eC2faB6711AF5AbD9c2": PlainStableSwapNGABI,
|
|
159
|
-
"0x7C2085419BE6a04f4ad88ea91bC9F5C6E6C463D8": MetaStableSwapNGABI,
|
|
160
|
-
"0xe265FC390E9129b7E337Da23cD42E00C34Da2CE3": PlainStableSwapNGABI,
|
|
161
|
-
"0xa7b9d886A9a374A1C86DC52d2BA585c5CDFdac26": MetaStableSwapNGABI,
|
|
162
136
|
});
|
|
163
137
|
export const implementationABIDictArbitrum = lowerCaseKeys({
|
|
164
138
|
"0x09672362833d8f703D5395ef3252D4Bfa51c15ca": MetaUSDABI,
|
|
@@ -181,12 +155,6 @@ export const implementationABIDictArbitrum = lowerCaseKeys({
|
|
|
181
155
|
"0x2ac56cEBc2D27c9bB51a11773355E44371Eb88D3": Plain4BalancesABI,
|
|
182
156
|
"0x89287c32c2CAC1C76227F6d300B2DBbab6b75C08": Plain4ETHABI,
|
|
183
157
|
"0x06e3C4da96fd076b97b7ca3Ae23527314b6140dF": Plain4OptimizedABI,
|
|
184
|
-
//"0x76303e4fDcA0AbF28aB3ee42Ce086E6503431F1D": PlainStableSwapNGABI,
|
|
185
|
-
//"0xd125E7a0cEddF89c6473412d85835450897be6Dc": MetaStableSwapNGABI,
|
|
186
|
-
"0x0458ea5f4cd00e873264be2031ceb8f9d9b3116c": PlainStableSwapNGABI,
|
|
187
|
-
"0xc6c09471ee39c7e30a067952fcc89c8922f9ab53": MetaStableSwapNGABI,
|
|
188
|
-
"0xf6841C27fe35ED7069189aFD5b81513578AFD7FF": PlainStableSwapNGABI,
|
|
189
|
-
"0xFf02cBD91F57A778Bab7218DA562594a680B8B61": MetaStableSwapNGABI,
|
|
190
158
|
});
|
|
191
159
|
export const implementationABIDictOptimism = lowerCaseKeys({
|
|
192
160
|
"0x78CF256256C8089d68Cde634Cf7cDEFb39286470": MetaUSDABI,
|
|
@@ -207,12 +175,6 @@ export const implementationABIDictOptimism = lowerCaseKeys({
|
|
|
207
175
|
"0xF6bDc2619FFDA72c537Cd9605e0A274Dc48cB1C9": Plain4BalancesABI,
|
|
208
176
|
"0x1AEf73d49Dedc4b1778d0706583995958Dc862e6": Plain4ETHABI,
|
|
209
177
|
"0x8474DdbE98F5aA3179B3B3F5942D724aFcdec9f6": Plain4OptimizedABI,
|
|
210
|
-
//"0x87FE17697D0f14A222e8bEf386a0860eCffDD617": PlainStableSwapNGABI,
|
|
211
|
-
//"0x1764ee18e8B3ccA4787249Ceb249356192594585": MetaStableSwapNGABI,
|
|
212
|
-
"0x06452f9c013fc37169B57Eab8F50A7A48c9198A3": PlainStableSwapNGABI,
|
|
213
|
-
"0xd7E72f3615aa65b92A4DBdC211E296a35512988B": MetaStableSwapNGABI,
|
|
214
|
-
"0x635742dCC8313DCf8c904206037d962c042EAfBd": PlainStableSwapNGABI,
|
|
215
|
-
"0x5702BDB1Ec244704E3cBBaAE11a0275aE5b07499": MetaStableSwapNGABI,
|
|
216
178
|
});
|
|
217
179
|
export const implementationABIDictXDai = lowerCaseKeys({
|
|
218
180
|
"0x4A5bF7Ab9A8202692051c19B102d3eDD62aaBAE6": MetaUSDABI,
|
|
@@ -229,12 +191,6 @@ export const implementationABIDictXDai = lowerCaseKeys({
|
|
|
229
191
|
"0xcB4eB43E31C830e22baF764c64F11F32C280496c": Plain4BalancesABI,
|
|
230
192
|
"0xc1C49622b63B961ce1D352ecb7D8261Ab5556695": Plain4ETHABI,
|
|
231
193
|
"0x0E2615ce69Cd3Dc3Ff6f66a975bEa0655F3bA7b9": Plain4OptimizedABI,
|
|
232
|
-
//"0xd2002373543Ce3527023C75e7518C274A51ce712": PlainStableSwapNGABI,
|
|
233
|
-
//"0xd3B17f862956464ae4403cCF829CE69199856e1e": MetaStableSwapNGABI,
|
|
234
|
-
"0xc9Fe0C63Af9A39402e8a5514f9c43Af0322b665F": PlainStableSwapNGABI,
|
|
235
|
-
"0x166c4084Ad2434E8F2425C64dabFE6875A0D45c5": MetaStableSwapNGABI,
|
|
236
|
-
"0x3d6cb2f6dcf47cdd9c13e4e3beae9af041d8796a": PlainStableSwapNGABI,
|
|
237
|
-
"0xC1b393EfEF38140662b91441C6710Aa704973228": MetaStableSwapNGABI,
|
|
238
194
|
});
|
|
239
195
|
export const implementationABIDictMoonbeam = lowerCaseKeys({
|
|
240
196
|
"0x6842E0412AC1c00464dc48961330156a07268d14": Plain2BasicABI,
|
|
@@ -263,12 +219,6 @@ export const implementationABIDictKava = lowerCaseKeys({
|
|
|
263
219
|
"0xd59c875dccb6cdcb3a75b91b58a363b5e4b0ca9a": Plain4BalancesABI,
|
|
264
220
|
"0x6378dd741b24bd884f3590d7bc7555fdb2f5b003": Plain4ETHABI,
|
|
265
221
|
"0x509495dfeec3a53acb2f60669985d868131ad9a5": Plain4OptimizedABI,
|
|
266
|
-
//"0x1764ee18e8B3ccA4787249Ceb249356192594585": PlainStableSwapNGABI,
|
|
267
|
-
//"0x87FE17697D0f14A222e8bEf386a0860eCffDD617": MetaStableSwapNGABI,
|
|
268
|
-
"0xa7Ba18EeFcD9513230987eC2faB6711AF5AbD9c2": PlainStableSwapNGABI,
|
|
269
|
-
"0x7C2085419BE6a04f4ad88ea91bC9F5C6E6C463D8": MetaStableSwapNGABI,
|
|
270
|
-
"0xe265FC390E9129b7E337Da23cD42E00C34Da2CE3": PlainStableSwapNGABI,
|
|
271
|
-
"0xa7b9d886A9a374A1C86DC52d2BA585c5CDFdac26": MetaStableSwapNGABI,
|
|
272
222
|
});
|
|
273
223
|
export const implementationABIDictCelo = lowerCaseKeys({
|
|
274
224
|
"0xfEE7166C32Bdf6356Ef60636f43400AA55551A96": Plain2BasicABI,
|
|
@@ -283,16 +233,6 @@ export const implementationABIDictCelo = lowerCaseKeys({
|
|
|
283
233
|
"0x3730D8B82BF3fF6Cc6dFDBe2Fd7B2A655e74eAae": Plain4BalancesABI,
|
|
284
234
|
"0x0F5390AB4C5456a769056C96E4D7C71770b52319": Plain4ETHABI,
|
|
285
235
|
"0xA73b02a97B45604cd9f0BBAA153eCfe01f409350": Plain4OptimizedABI,
|
|
286
|
-
//"0x506F594ceb4E33F5161139bAe3Ee911014df9f7f": PlainStableSwapNGABI,
|
|
287
|
-
//"0x87FE17697D0f14A222e8bEf386a0860eCffDD617": MetaStableSwapNGABI,
|
|
288
|
-
"0xa7Ba18EeFcD9513230987eC2faB6711AF5AbD9c2": PlainStableSwapNGABI,
|
|
289
|
-
"0x7C2085419BE6a04f4ad88ea91bC9F5C6E6C463D8": MetaStableSwapNGABI,
|
|
290
|
-
"0xe265FC390E9129b7E337Da23cD42E00C34Da2CE3": PlainStableSwapNGABI,
|
|
291
|
-
"0xa7b9d886A9a374A1C86DC52d2BA585c5CDFdac26": MetaStableSwapNGABI,
|
|
292
|
-
});
|
|
293
|
-
export const implementationABIDictZkSync = lowerCaseKeys({
|
|
294
|
-
"0x04D0095a1A4Ae881a078ae61F36945E85464e6d7": PlainStableSwapNGABI,
|
|
295
|
-
"0xC5d5402481aefec461Ab86b1051AC26dF05BeE3B": MetaStableSwapNGABI,
|
|
296
236
|
});
|
|
297
237
|
export const implementationABIDictBase = lowerCaseKeys({
|
|
298
238
|
"0xD166EEdf272B860E991d331B71041799379185D5": Plain2BasicABI,
|
|
@@ -307,12 +247,6 @@ export const implementationABIDictBase = lowerCaseKeys({
|
|
|
307
247
|
"0x2FdDeDF2D842f23da2B81b9144e75cEcb691Bf19": Plain4BalancesABI,
|
|
308
248
|
"0x50E09Ee7080b32aef3e92346891dD2DD389B5fAf": Plain4ETHABI,
|
|
309
249
|
"0x44d9B3f4EE15AC81FEb918501fca0ddc9d83C976": Plain4OptimizedABI,
|
|
310
|
-
//"0x1764ee18e8B3ccA4787249Ceb249356192594585": PlainStableSwapNGABI,
|
|
311
|
-
//"0x5eee3091f747e60a045a2e715a4c71e600e31f6e": MetaStableSwapNGABI,
|
|
312
|
-
"0x604388Bb1159AFd21eB5191cE22b4DeCdEE2Ae22": PlainStableSwapNGABI,
|
|
313
|
-
"0x06452f9c013fc37169B57Eab8F50A7A48c9198A3": MetaStableSwapNGABI,
|
|
314
|
-
"0xf3A6aa40cf048a3960E9664847E9a7be025a390a": PlainStableSwapNGABI,
|
|
315
|
-
"0x635742dCC8313DCf8c904206037d962c042EAfBd": MetaStableSwapNGABI,
|
|
316
250
|
});
|
|
317
251
|
export const implementationABIDictBsc = lowerCaseKeys({
|
|
318
252
|
"0xB90B9B1F91a01Ea22A182CD84C1E22222e39B415": Plain2BasicABI,
|
|
@@ -327,24 +261,6 @@ export const implementationABIDictBsc = lowerCaseKeys({
|
|
|
327
261
|
"0x0Cc51c9786f3777a6d50961CEBb2BB6E69ec5e07": Plain4BalancesABI,
|
|
328
262
|
"0x0a31527a8dE2Ee97BBD8cCE14Db8E8826a0b6C4f": Plain4ETHABI,
|
|
329
263
|
"0x1086F023146f9026A9Bb22983CE866813C59518A": Plain4OptimizedABI,
|
|
330
|
-
//"0x604388Bb1159AFd21eB5191cE22b4DeCdEE2Ae22": PlainStableSwapNGABI,
|
|
331
|
-
//"0x06452f9c013fc37169B57Eab8F50A7A48c9198A3": MetaStableSwapNGABI,
|
|
332
|
-
"0x64379C265Fc6595065D7d835AAaa731c0584dB80": PlainStableSwapNGABI,
|
|
333
|
-
"0xd3B17f862956464ae4403cCF829CE69199856e1e": MetaStableSwapNGABI,
|
|
334
|
-
"0x505d666E4DD174DcDD7FA090ed95554486d2Be44": PlainStableSwapNGABI,
|
|
335
|
-
"0x5a8C93EE12a8Df4455BA111647AdA41f29D5CfcC": MetaStableSwapNGABI,
|
|
336
|
-
});
|
|
337
|
-
export const implementationABIDictFraxtal = lowerCaseKeys({
|
|
338
|
-
"0x1764ee18e8B3ccA4787249Ceb249356192594585": PlainStableSwapNGABI,
|
|
339
|
-
"0x5eeE3091f747E60a045a2E715a4c71e600e31F6E": MetaStableSwapNGABI,
|
|
340
|
-
});
|
|
341
|
-
export const implementationABIDictXLayer = lowerCaseKeys({
|
|
342
|
-
"0x87FE17697D0f14A222e8bEf386a0860eCffDD617": PlainStableSwapNGABI,
|
|
343
|
-
"0x1764ee18e8B3ccA4787249Ceb249356192594585": MetaStableSwapNGABI,
|
|
344
|
-
});
|
|
345
|
-
export const implementationABIDictMantle = lowerCaseKeys({
|
|
346
|
-
"0x87FE17697D0f14A222e8bEf386a0860eCffDD617": PlainStableSwapNGABI,
|
|
347
|
-
"0x1764ee18e8B3ccA4787249Ceb249356192594585": MetaStableSwapNGABI,
|
|
348
264
|
});
|
|
349
265
|
export const basePoolIdZapDictEthereum = {
|
|
350
266
|
'3pool': {
|
|
@@ -436,20 +352,8 @@ export const basePoolIdZapDictXDai = {
|
|
|
436
352
|
ABI: factoryDepositABI,
|
|
437
353
|
},
|
|
438
354
|
};
|
|
439
|
-
export const
|
|
440
|
-
export const
|
|
441
|
-
export const basePoolIdZapDictCelo = {};
|
|
442
|
-
export const basePoolIdZapDictZkSync = {};
|
|
443
|
-
export const basePoolIdZapDictBase = {};
|
|
444
|
-
export const basePoolIdZapDictBsc = {};
|
|
445
|
-
export const basePoolIdZapDictFraxtal = {};
|
|
446
|
-
export const basePoolIdZapDictXLayer = {};
|
|
447
|
-
export const basePoolIdZapDictMantle = {};
|
|
448
|
-
export const stableNgBasePoolZap = {
|
|
449
|
-
ABI: StableNgBasePoolZapABI,
|
|
450
|
-
address: '0xe07a16358aa878cbda2d49a88e5106871e0db307'.toLowerCase(),
|
|
451
|
-
};
|
|
452
|
-
export const FACTORY_CONSTANTS = {
|
|
355
|
+
export const stableNgBasePoolZap = '0xe07a16358aa878cbda2d49a88e5106871e0db307'.toLowerCase();
|
|
356
|
+
export const STABLE_FACTORY_CONSTANTS = {
|
|
453
357
|
1: {
|
|
454
358
|
implementationABIDict: implementationABIDictEthereum,
|
|
455
359
|
basePoolIdZapDict: basePoolIdZapDictEthereum,
|
|
@@ -462,7 +366,6 @@ export const FACTORY_CONSTANTS = {
|
|
|
462
366
|
},
|
|
463
367
|
56: {
|
|
464
368
|
implementationABIDict: implementationABIDictBsc,
|
|
465
|
-
basePoolIdZapDict: basePoolIdZapDictBsc,
|
|
466
369
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
467
370
|
},
|
|
468
371
|
100: {
|
|
@@ -476,8 +379,6 @@ export const FACTORY_CONSTANTS = {
|
|
|
476
379
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
477
380
|
},
|
|
478
381
|
196: {
|
|
479
|
-
implementationABIDict: implementationABIDictXLayer,
|
|
480
|
-
basePoolIdZapDict: basePoolIdZapDictXLayer,
|
|
481
382
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
482
383
|
},
|
|
483
384
|
250: {
|
|
@@ -486,38 +387,27 @@ export const FACTORY_CONSTANTS = {
|
|
|
486
387
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
487
388
|
},
|
|
488
389
|
252: {
|
|
489
|
-
implementationABIDict: implementationABIDictFraxtal,
|
|
490
|
-
basePoolIdZapDict: basePoolIdZapDictFraxtal,
|
|
491
390
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
492
391
|
},
|
|
493
392
|
324: {
|
|
494
|
-
implementationABIDict: implementationABIDictZkSync,
|
|
495
|
-
basePoolIdZapDict: basePoolIdZapDictZkSync,
|
|
496
393
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
497
394
|
},
|
|
498
395
|
1284: {
|
|
499
396
|
implementationABIDict: implementationABIDictMoonbeam,
|
|
500
|
-
basePoolIdZapDict: basePoolIdZapDictMoonbeam,
|
|
501
|
-
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
502
397
|
},
|
|
503
398
|
2222: {
|
|
504
399
|
implementationABIDict: implementationABIDictKava,
|
|
505
|
-
basePoolIdZapDict: basePoolIdZapDictKava,
|
|
506
400
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
507
401
|
},
|
|
508
402
|
5000: {
|
|
509
|
-
implementationABIDict: implementationABIDictMantle,
|
|
510
|
-
basePoolIdZapDict: basePoolIdZapDictMantle,
|
|
511
403
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
512
404
|
},
|
|
513
405
|
8453: {
|
|
514
406
|
implementationABIDict: implementationABIDictBase,
|
|
515
|
-
basePoolIdZapDict: basePoolIdZapDictBase,
|
|
516
407
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
517
408
|
},
|
|
518
409
|
42220: {
|
|
519
410
|
implementationABIDict: implementationABIDictCelo,
|
|
520
|
-
basePoolIdZapDict: basePoolIdZapDictCelo,
|
|
521
411
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
522
412
|
},
|
|
523
413
|
43114: {
|