@curvefi/api 2.69.9 → 2.69.11
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/chainIds.d.ts +0 -1
- package/lib/constants/chainIds.js +0 -1
- package/lib/constants/coins/index.d.ts +1 -10
- package/lib/constants/coins/index.js +1 -10
- package/lib/constants/factory/crypto.d.ts +0 -45
- package/lib/constants/factory/crypto.js +0 -72
- package/lib/constants/factory/stable.d.ts +0 -9
- package/lib/constants/factory/stable.js +0 -119
- package/lib/constants/network_constants.js +2 -258
- package/lib/constants/pools/index.d.ts +1 -10
- package/lib/constants/pools/index.js +1 -10
- package/lib/constants/rewardNetworks.js +1 -1
- package/lib/constants/volumeNetworks.d.ts +0 -2
- package/lib/constants/volumeNetworks.js +1 -3
- package/lib/curve.js +1 -4
- package/lib/external-api.d.ts +0 -2
- package/lib/external-api.js +0 -41
- package/lib/pools/PoolTemplate.d.ts +1 -0
- package/lib/pools/PoolTemplate.js +17 -3
- package/lib/pools/mixins/swapWrappedMixins.js +2 -0
- package/lib/pools/mixins/withdrawExpectedMixins.js +8 -0
- package/lib/pools/mixins/withdrawOneCoinWrappedExpectedMixins.js +4 -0
- package/lib/pools/subClasses/statsPool.js +2 -2
- package/lib/pools/utils.js +2 -7
- package/lib/route-graph.worker.js +2 -3
- package/lib/utils.js +3 -55
- package/package.json +1 -1
- package/lib/constants/abis/avaxcrypto/swap.json +0 -1195
- package/lib/constants/abis/avaxcrypto/zap.json +0 -250
- package/lib/constants/abis/factory-v2/MetaUSDGeist.json +0 -932
- package/lib/constants/coins/aurora.d.ts +0 -3
- package/lib/constants/coins/aurora.js +0 -9
- package/lib/constants/coins/avalanche.d.ts +0 -4
- package/lib/constants/coins/avalanche.js +0 -34
- package/lib/constants/coins/celo.d.ts +0 -3
- package/lib/constants/coins/celo.js +0 -9
- package/lib/constants/coins/kava.d.ts +0 -3
- package/lib/constants/coins/kava.js +0 -9
- package/lib/constants/coins/mantle.d.ts +0 -2
- package/lib/constants/coins/mantle.js +0 -5
- package/lib/constants/coins/moonbeam.d.ts +0 -3
- package/lib/constants/coins/moonbeam.js +0 -9
- package/lib/constants/coins/sonic.d.ts +0 -2
- package/lib/constants/coins/sonic.js +0 -5
- package/lib/constants/coins/xlayer.d.ts +0 -2
- package/lib/constants/coins/xlayer.js +0 -5
- package/lib/constants/coins/zksync.d.ts +0 -2
- package/lib/constants/coins/zksync.js +0 -6
- package/lib/constants/pools/aurora.d.ts +0 -2
- package/lib/constants/pools/aurora.js +0 -31
- package/lib/constants/pools/avalanche.d.ts +0 -2
- package/lib/constants/pools/avalanche.js +0 -166
- package/lib/constants/pools/celo.d.ts +0 -2
- package/lib/constants/pools/celo.js +0 -2
- package/lib/constants/pools/kava.d.ts +0 -2
- package/lib/constants/pools/kava.js +0 -2
- package/lib/constants/pools/mantle.d.ts +0 -2
- package/lib/constants/pools/mantle.js +0 -2
- package/lib/constants/pools/moonbeam.d.ts +0 -2
- package/lib/constants/pools/moonbeam.js +0 -31
- package/lib/constants/pools/sonic.d.ts +0 -2
- package/lib/constants/pools/sonic.js +0 -2
- package/lib/constants/pools/xlayer.d.ts +0 -2
- package/lib/constants/pools/xlayer.js +0 -2
- package/lib/constants/pools/zksync.d.ts +0 -2
- package/lib/constants/pools/zksync.js +0 -2
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import { COINS_ETHEREUM, cTokensEthereum, yTokensEthereum, ycTokensEthereum, aTokensEthereum } from "./ethereum.js";
|
|
2
2
|
import { COINS_POLYGON, aTokensPolygon } from "./polygon.js";
|
|
3
|
-
import { COINS_AVALANCHE, aTokensAvalanche } from "./avalanche.js";
|
|
4
3
|
import { COINS_ARBITRUM } from "./arbitrum.js";
|
|
5
4
|
import { COINS_OPTIMISM } from "./optimism.js";
|
|
6
5
|
import { COINS_XDAI } from "./xdai.js";
|
|
7
|
-
import { COINS_MOONBEAM } from "./moonbeam.js";
|
|
8
|
-
import { COINS_AURORA } from "./aurora.js";
|
|
9
|
-
import { COINS_KAVA } from "./kava.js";
|
|
10
|
-
import { COINS_CELO } from "./celo.js";
|
|
11
|
-
import { COINS_ZKSYNC } from "./zksync.js";
|
|
12
6
|
import { COINS_BASE } from "./base.js";
|
|
13
7
|
import { COINS_BSC } from "./bsc.js";
|
|
14
8
|
import { COINS_FRAXTAL } from "./fraxtal.js";
|
|
15
|
-
import { COINS_XLAYER } from "./xlayer.js";
|
|
16
|
-
import { COINS_MANTLE } from "./mantle.js";
|
|
17
|
-
import { COINS_SONIC } from "./sonic.js";
|
|
18
9
|
import { COINS_HYPERLIQUID } from "./hyperliquid.js";
|
|
19
|
-
export { COINS_ETHEREUM, cTokensEthereum, yTokensEthereum, ycTokensEthereum, aTokensEthereum, COINS_POLYGON, aTokensPolygon,
|
|
10
|
+
export { COINS_ETHEREUM, cTokensEthereum, yTokensEthereum, ycTokensEthereum, aTokensEthereum, COINS_POLYGON, aTokensPolygon, COINS_ARBITRUM, COINS_OPTIMISM, COINS_XDAI, COINS_BASE, COINS_BSC, COINS_FRAXTAL, COINS_HYPERLIQUID, };
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import { COINS_ETHEREUM, cTokensEthereum, yTokensEthereum, ycTokensEthereum, aTokensEthereum } from "./ethereum.js";
|
|
2
2
|
import { COINS_POLYGON, aTokensPolygon } from "./polygon.js";
|
|
3
|
-
import { COINS_AVALANCHE, aTokensAvalanche } from "./avalanche.js";
|
|
4
3
|
import { COINS_ARBITRUM } from "./arbitrum.js";
|
|
5
4
|
import { COINS_OPTIMISM } from "./optimism.js";
|
|
6
5
|
import { COINS_XDAI } from "./xdai.js";
|
|
7
|
-
import { COINS_MOONBEAM } from "./moonbeam.js";
|
|
8
|
-
import { COINS_AURORA } from "./aurora.js";
|
|
9
|
-
import { COINS_KAVA } from "./kava.js";
|
|
10
|
-
import { COINS_CELO } from "./celo.js";
|
|
11
|
-
import { COINS_ZKSYNC } from "./zksync.js";
|
|
12
6
|
import { COINS_BASE } from "./base.js";
|
|
13
7
|
import { COINS_BSC } from "./bsc.js";
|
|
14
8
|
import { COINS_FRAXTAL } from "./fraxtal.js";
|
|
15
|
-
import { COINS_XLAYER } from "./xlayer.js";
|
|
16
|
-
import { COINS_MANTLE } from "./mantle.js";
|
|
17
|
-
import { COINS_SONIC } from "./sonic.js";
|
|
18
9
|
import { COINS_HYPERLIQUID } from "./hyperliquid.js";
|
|
19
|
-
export { COINS_ETHEREUM, cTokensEthereum, yTokensEthereum, ycTokensEthereum, aTokensEthereum, COINS_POLYGON, aTokensPolygon,
|
|
10
|
+
export { COINS_ETHEREUM, cTokensEthereum, yTokensEthereum, ycTokensEthereum, aTokensEthereum, COINS_POLYGON, aTokensPolygon, COINS_ARBITRUM, COINS_OPTIMISM, COINS_XDAI, COINS_BASE, COINS_BSC, COINS_FRAXTAL, COINS_HYPERLIQUID, };
|
|
@@ -35,46 +35,16 @@ export declare const tricryptoDeployImplementations: {
|
|
|
35
35
|
amm_native_transfers_enabled: string;
|
|
36
36
|
implementationIdx: number;
|
|
37
37
|
};
|
|
38
|
-
146: {
|
|
39
|
-
amm_native_transfers_disabled: string;
|
|
40
|
-
amm_native_transfers_enabled: string;
|
|
41
|
-
implementationIdx: number;
|
|
42
|
-
};
|
|
43
|
-
196: {
|
|
44
|
-
amm_native_transfers_disabled: string;
|
|
45
|
-
amm_native_transfers_enabled: string;
|
|
46
|
-
implementationIdx: number;
|
|
47
|
-
};
|
|
48
38
|
252: {
|
|
49
39
|
amm_native_transfers_disabled: string;
|
|
50
40
|
amm_native_transfers_enabled: string;
|
|
51
41
|
implementationIdx: number;
|
|
52
42
|
};
|
|
53
|
-
324: {
|
|
54
|
-
amm_native_transfers_disabled: string;
|
|
55
|
-
amm_native_transfers_enabled: string;
|
|
56
|
-
implementationIdx: number;
|
|
57
|
-
};
|
|
58
43
|
999: {
|
|
59
44
|
amm_native_transfers_disabled: string;
|
|
60
45
|
amm_native_transfers_enabled: string;
|
|
61
46
|
implementationIdx: number;
|
|
62
47
|
};
|
|
63
|
-
1284: {
|
|
64
|
-
amm_native_transfers_disabled: string;
|
|
65
|
-
amm_native_transfers_enabled: string;
|
|
66
|
-
implementationIdx: number;
|
|
67
|
-
};
|
|
68
|
-
2222: {
|
|
69
|
-
amm_native_transfers_disabled: string;
|
|
70
|
-
amm_native_transfers_enabled: string;
|
|
71
|
-
implementationIdx: number;
|
|
72
|
-
};
|
|
73
|
-
5000: {
|
|
74
|
-
amm_native_transfers_disabled: string;
|
|
75
|
-
amm_native_transfers_enabled: string;
|
|
76
|
-
implementationIdx: number;
|
|
77
|
-
};
|
|
78
48
|
8453: {
|
|
79
49
|
amm_native_transfers_disabled: string;
|
|
80
50
|
amm_native_transfers_enabled: string;
|
|
@@ -85,21 +55,6 @@ export declare const tricryptoDeployImplementations: {
|
|
|
85
55
|
amm_native_transfers_enabled: string;
|
|
86
56
|
implementationIdx: number;
|
|
87
57
|
};
|
|
88
|
-
42220: {
|
|
89
|
-
amm_native_transfers_disabled: string;
|
|
90
|
-
amm_native_transfers_enabled: string;
|
|
91
|
-
implementationIdx: number;
|
|
92
|
-
};
|
|
93
|
-
43114: {
|
|
94
|
-
amm_native_transfers_disabled: string;
|
|
95
|
-
amm_native_transfers_enabled: string;
|
|
96
|
-
implementationIdx: number;
|
|
97
|
-
};
|
|
98
|
-
1313161554: {
|
|
99
|
-
amm_native_transfers_disabled: string;
|
|
100
|
-
amm_native_transfers_enabled: string;
|
|
101
|
-
implementationIdx: number;
|
|
102
|
-
};
|
|
103
58
|
};
|
|
104
59
|
export declare const CRYPTO_FACTORY_CONSTANTS: {
|
|
105
60
|
[index: number]: {
|
|
@@ -52,46 +52,16 @@ export const tricryptoDeployImplementations = {
|
|
|
52
52
|
amm_native_transfers_enabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //0
|
|
53
53
|
implementationIdx: 1,
|
|
54
54
|
},
|
|
55
|
-
146: {
|
|
56
|
-
amm_native_transfers_disabled: '0xf3A6aa40cf048a3960E9664847E9a7be025a390a'.toLowerCase(), //0
|
|
57
|
-
amm_native_transfers_enabled: '0x0000000000000000000000000000000000000000'.toLowerCase(), //1
|
|
58
|
-
implementationIdx: 0,
|
|
59
|
-
},
|
|
60
|
-
196: {
|
|
61
|
-
amm_native_transfers_disabled: '0x64379C265Fc6595065D7d835AAaa731c0584dB80'.toLowerCase(), //1
|
|
62
|
-
amm_native_transfers_enabled: '0x0C9D8c7e486e822C29488Ff51BFf0167B4650953'.toLowerCase(), //0
|
|
63
|
-
implementationIdx: 1,
|
|
64
|
-
},
|
|
65
55
|
252: {
|
|
66
56
|
amm_native_transfers_disabled: '0x1A83348F9cCFD3Fe1A8C0adBa580Ac4e267Fe495'.toLowerCase(), //1
|
|
67
57
|
amm_native_transfers_enabled: '0xd3b17f862956464ae4403ccf829ce69199856e1e'.toLowerCase(), //0
|
|
68
58
|
implementationIdx: 1,
|
|
69
59
|
},
|
|
70
|
-
324: {
|
|
71
|
-
amm_native_transfers_disabled: '0x1BD7d40CF9bBb63537746C89992f421bC35C6716'.toLowerCase(),
|
|
72
|
-
amm_native_transfers_enabled: '0x18d01726FeDaBd91579A9368DFB2F8A24f905280'.toLowerCase(),
|
|
73
|
-
implementationIdx: 0,
|
|
74
|
-
},
|
|
75
60
|
999: {
|
|
76
61
|
amm_native_transfers_disabled: '0x635742dCC8313DCf8c904206037d962c042EAfBd'.toLowerCase(), // 1
|
|
77
62
|
amm_native_transfers_enabled: '0x0000000000000000000000000000000000000000'.toLowerCase(), // 0
|
|
78
63
|
implementationIdx: 1,
|
|
79
64
|
},
|
|
80
|
-
1284: {
|
|
81
|
-
amm_native_transfers_disabled: '0x0000000000000000000000000000000000000000'.toLowerCase(),
|
|
82
|
-
amm_native_transfers_enabled: '0x0000000000000000000000000000000000000000'.toLowerCase(),
|
|
83
|
-
implementationIdx: 0,
|
|
84
|
-
},
|
|
85
|
-
2222: {
|
|
86
|
-
amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //1
|
|
87
|
-
amm_native_transfers_enabled: '0xFAbC421e3368D158d802684A217a83c083c94CeB'.toLowerCase(), //0
|
|
88
|
-
implementationIdx: 1,
|
|
89
|
-
},
|
|
90
|
-
5000: {
|
|
91
|
-
amm_native_transfers_disabled: '0x7Ca46A636b02D4aBC66883D7FF164bDE506DC66a'.toLowerCase(), //1
|
|
92
|
-
amm_native_transfers_enabled: '0x046207cB759F527b6c10C2D61DBaca45513685CC'.toLowerCase(), //0
|
|
93
|
-
implementationIdx: 1,
|
|
94
|
-
},
|
|
95
65
|
8453: {
|
|
96
66
|
amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //1
|
|
97
67
|
amm_native_transfers_enabled: '0xa274c88e09fDF1798a7517096557e6c1bEa1f65A'.toLowerCase(), //0
|
|
@@ -102,21 +72,6 @@ export const tricryptoDeployImplementations = {
|
|
|
102
72
|
amm_native_transfers_enabled: '0xd7E72f3615aa65b92A4DBdC211E296a35512988B'.toLowerCase(), //0
|
|
103
73
|
implementationIdx: 1,
|
|
104
74
|
},
|
|
105
|
-
42220: {
|
|
106
|
-
amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //1
|
|
107
|
-
amm_native_transfers_enabled: '0xFAbC421e3368D158d802684A217a83c083c94CeB'.toLowerCase(), //0
|
|
108
|
-
implementationIdx: 1,
|
|
109
|
-
},
|
|
110
|
-
43114: {
|
|
111
|
-
amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //1
|
|
112
|
-
amm_native_transfers_enabled: '0xFAbC421e3368D158d802684A217a83c083c94CeB'.toLowerCase(), //0
|
|
113
|
-
implementationIdx: 1,
|
|
114
|
-
},
|
|
115
|
-
1313161554: {
|
|
116
|
-
amm_native_transfers_disabled: '0x3d6cB2F6DcF47CDd9C13E4e3beAe9af041d8796a'.toLowerCase(), //1
|
|
117
|
-
amm_native_transfers_enabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //0
|
|
118
|
-
implementationIdx: 1,
|
|
119
|
-
},
|
|
120
75
|
};
|
|
121
76
|
export const CRYPTO_FACTORY_CONSTANTS = {
|
|
122
77
|
1: {
|
|
@@ -138,43 +93,16 @@ export const CRYPTO_FACTORY_CONSTANTS = {
|
|
|
138
93
|
basePoolIdZapDict: basePoolIdZapDictPolygon,
|
|
139
94
|
tricryptoDeployImplementations: tricryptoDeployImplementations[137],
|
|
140
95
|
},
|
|
141
|
-
146: {
|
|
142
|
-
tricryptoDeployImplementations: tricryptoDeployImplementations[146],
|
|
143
|
-
},
|
|
144
|
-
196: {
|
|
145
|
-
tricryptoDeployImplementations: tricryptoDeployImplementations[196],
|
|
146
|
-
},
|
|
147
96
|
252: {
|
|
148
97
|
tricryptoDeployImplementations: tricryptoDeployImplementations[252],
|
|
149
98
|
},
|
|
150
|
-
324: {
|
|
151
|
-
tricryptoDeployImplementations: tricryptoDeployImplementations[324],
|
|
152
|
-
},
|
|
153
99
|
999: {
|
|
154
100
|
tricryptoDeployImplementations: tricryptoDeployImplementations[999],
|
|
155
101
|
},
|
|
156
|
-
1284: {
|
|
157
|
-
tricryptoDeployImplementations: tricryptoDeployImplementations[1284],
|
|
158
|
-
},
|
|
159
|
-
2222: {
|
|
160
|
-
tricryptoDeployImplementations: tricryptoDeployImplementations[2222],
|
|
161
|
-
},
|
|
162
|
-
5000: {
|
|
163
|
-
tricryptoDeployImplementations: tricryptoDeployImplementations[5000],
|
|
164
|
-
},
|
|
165
102
|
8453: {
|
|
166
103
|
tricryptoDeployImplementations: tricryptoDeployImplementations[8453],
|
|
167
104
|
},
|
|
168
105
|
42161: {
|
|
169
106
|
tricryptoDeployImplementations: tricryptoDeployImplementations[42161],
|
|
170
107
|
},
|
|
171
|
-
42220: {
|
|
172
|
-
tricryptoDeployImplementations: tricryptoDeployImplementations[42220],
|
|
173
|
-
},
|
|
174
|
-
43114: {
|
|
175
|
-
tricryptoDeployImplementations: tricryptoDeployImplementations[43114],
|
|
176
|
-
},
|
|
177
|
-
1313161554: {
|
|
178
|
-
tricryptoDeployImplementations: tricryptoDeployImplementations[1313161554],
|
|
179
|
-
},
|
|
180
108
|
};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { IDict } from "../../interfaces";
|
|
2
2
|
export declare const implementationABIDictEthereum: IDict<any>;
|
|
3
3
|
export declare const implementationABIDictPolygon: IDict<any>;
|
|
4
|
-
export declare const implementationABIDictFantom: IDict<any>;
|
|
5
|
-
export declare const implementationABIDictAvalanche: IDict<any>;
|
|
6
4
|
export declare const implementationABIDictArbitrum: IDict<any>;
|
|
7
5
|
export declare const implementationABIDictOptimism: IDict<any>;
|
|
8
6
|
export declare const implementationABIDictXDai: IDict<any>;
|
|
9
|
-
export declare const implementationABIDictMoonbeam: IDict<any>;
|
|
10
|
-
export declare const implementationABIDictKava: IDict<any>;
|
|
11
|
-
export declare const implementationABIDictCelo: IDict<any>;
|
|
12
7
|
export declare const implementationABIDictBase: IDict<any>;
|
|
13
8
|
export declare const implementationABIDictBsc: IDict<any>;
|
|
14
9
|
export declare const basePoolIdZapDictEthereum: IDict<{
|
|
@@ -19,10 +14,6 @@ export declare const basePoolIdZapDictPolygon: IDict<{
|
|
|
19
14
|
address: string;
|
|
20
15
|
ABI: any;
|
|
21
16
|
}>;
|
|
22
|
-
export declare const basePoolIdZapDictAvalanche: IDict<{
|
|
23
|
-
address: string;
|
|
24
|
-
ABI: any;
|
|
25
|
-
}>;
|
|
26
17
|
export declare const basePoolIdZapDictArbitrum: IDict<{
|
|
27
18
|
address: string;
|
|
28
19
|
ABI: any;
|
|
@@ -9,7 +9,6 @@ import MetaBTCRenABI from "../abis/factory-v2/MetaBTCRen.json" with { type: 'jso
|
|
|
9
9
|
import MetaBTCRenBalancesABI from "../abis/factory-v2/MetaBTCBalancesRen.json" with { type: 'json' };
|
|
10
10
|
import MetaSbtc2ABI from "../abis/factory-v2/MetaSbtc2.json" with { type: 'json' };
|
|
11
11
|
import MetaSbtc2BalancesABI from "../abis/factory-v2/MetaSbtc2Balance.json" with { type: 'json' };
|
|
12
|
-
import MetaUSDGeistABI from "../abis/factory-v2/MetaUSDGeist.json" with { type: 'json' };
|
|
13
12
|
import Plain2BasicABI from "../abis/factory-v2/Plain2Basic.json" with { type: 'json' };
|
|
14
13
|
import Plain2BasicWithRatesABI from "../abis/factory-v2/Plain2BasicWithRates.json" with { type: 'json' };
|
|
15
14
|
import Plain2BalancesABI from "../abis/factory-v2/Plain2Balances.json" with { type: 'json' };
|
|
@@ -86,44 +85,6 @@ export const implementationABIDictPolygon = lowerCaseKeys({
|
|
|
86
85
|
"0xf31bcdf0B9a5eCD7AB463eB905551fBc32e51856": Plain4ETHABI,
|
|
87
86
|
"0xAc273d5b4FC06625d8b1abA3BE8De15bDFb8E39f": Plain4OptimizedABI,
|
|
88
87
|
});
|
|
89
|
-
export const implementationABIDictFantom = lowerCaseKeys({
|
|
90
|
-
"0xfCE359115dFe1533a2458650123F86C454BC0213": MetaUSDABI,
|
|
91
|
-
"0x09C62ad0694e3f1ad8cF8876aaBe56138C586f5F": MetaUSDBalancesABI,
|
|
92
|
-
"0xC9438d8928486bD9621D326002F4672bF684187A": MetaBTCRenABI,
|
|
93
|
-
"0x2b70A5B878665FfDB4A06Ba40a264d6c70f68F4B": MetaBTCRenBalancesABI,
|
|
94
|
-
"0x210C806F6AE850279f7E298dE749EC4B427d00DD": MetaUSDGeistABI,
|
|
95
|
-
"0xf82162bB68aD5a168345bb7EFb2faA0EDCCA5177": MetaUSDBalancesABI,
|
|
96
|
-
"0x61E10659fe3aa93d036d099405224E4Ac24996d0": Plain2BasicABI,
|
|
97
|
-
"0xd9Acb0BAeeD77C99305017821167674Cc7e82f7a": Plain2BalancesABI,
|
|
98
|
-
"0xE6358f6a45B502477e83CC1CDa759f540E4459ee": Plain2ETHABI,
|
|
99
|
-
"0xAD4768F408dD170e62E074188D81A29AE31B8Fd8": Plain2OptimizedABI,
|
|
100
|
-
"0x3cABd83bCa606768939B843f91df8f4963dBC079": Plain3BasicABI,
|
|
101
|
-
"0xD1602F68CC7C4c7B59D686243EA35a9C73B0c6a2": Plain3BalancesABI,
|
|
102
|
-
"0x5d58Eb45e97B43e471AF05cD2b11CeB4106E1b1a": Plain3ETHABI,
|
|
103
|
-
"0x7Ee25A34C921E4009B726cC6be0643fd6a39DbfE": Plain3OptimizedABI,
|
|
104
|
-
"0xABE216918fFDa43B44e3FC09639Fd82fD3527D89": Plain4BasicABI,
|
|
105
|
-
"0x775A21E0dfE25aF30FF2FCAC37512EbD8fD36471": Plain4BalancesABI,
|
|
106
|
-
"0xb11Dc44A9f981fAF1669dca6DD40c3cc2554A2ce": Plain4ETHABI,
|
|
107
|
-
"0x9D7C28226AA7142cBF234ab9aa9C203D095c528B": Plain4OptimizedABI,
|
|
108
|
-
});
|
|
109
|
-
export const implementationABIDictAvalanche = lowerCaseKeys({
|
|
110
|
-
"0xA237034249290De2B07988Ac64b96f22c0E76fE0": MetaUSDABI,
|
|
111
|
-
"0xc50C05Ca1f8C2346664bd0d4a1eb6aC1Da38414f": MetaUSDBalancesABI, // 0x7f90122BF0700F9E7e1F688fe926940E8839F353
|
|
112
|
-
"0xa27f39E9C21b3376F43266E13Ad5A5d6E9BdB320": MetaBTCRenABI,
|
|
113
|
-
"0x505C34ED8dBE96d2D5C7D83158aA844887770970": MetaBTCRenBalancesABI, // 0x16a7DA911A4DD1d83F3fF066fE28F3C792C50d90
|
|
114
|
-
"0x697434ca761d4F86b553784B69F4f37F5eDf54dF": Plain2BasicABI,
|
|
115
|
-
"0xBdFF0C27dd073C119ebcb1299a68A6A92aE607F0": Plain2BalancesABI,
|
|
116
|
-
"0x64448B78561690B70E17CBE8029a3e5c1bB7136e": Plain2ETHABI,
|
|
117
|
-
"0x09672362833d8f703D5395ef3252D4Bfa51c15ca": Plain2OptimizedABI,
|
|
118
|
-
"0x1de7f0866e2c4adAC7b457c58Cc25c8688CDa1f2": Plain3BasicABI,
|
|
119
|
-
"0x094d12e5b541784701FD8d65F11fc0598FBC6332": Plain3BalancesABI,
|
|
120
|
-
"0xF1f85a74AD6c64315F85af52d3d46bF715236ADc": Plain3ETHABI,
|
|
121
|
-
"0xaa82ca713D94bBA7A89CEAB55314F9EfFEdDc78c": Plain3OptimizedABI,
|
|
122
|
-
"0x7544Fe3d184b6B55D6B36c3FCA1157eE0Ba30287": Plain4BasicABI,
|
|
123
|
-
"0x7D86446dDb609eD0F5f8684AcF30380a356b2B4c": Plain4BalancesABI,
|
|
124
|
-
"0x0eb0F1FaF5F509Ac53fA224477509EAD167cf410": Plain4ETHABI,
|
|
125
|
-
"0xCE94D3E5b0D80565D7B713A687b39a3Dc81780BA": Plain4OptimizedABI,
|
|
126
|
-
});
|
|
127
88
|
export const implementationABIDictArbitrum = lowerCaseKeys({
|
|
128
89
|
"0x09672362833d8f703D5395ef3252D4Bfa51c15ca": MetaUSDABI,
|
|
129
90
|
"0xBE175115BF33E12348ff77CcfEE4726866A0Fbd5": MetaUSDBalancesABI,
|
|
@@ -182,48 +143,6 @@ export const implementationABIDictXDai = lowerCaseKeys({
|
|
|
182
143
|
"0xc1C49622b63B961ce1D352ecb7D8261Ab5556695": Plain4ETHABI,
|
|
183
144
|
"0x0E2615ce69Cd3Dc3Ff6f66a975bEa0655F3bA7b9": Plain4OptimizedABI,
|
|
184
145
|
});
|
|
185
|
-
export const implementationABIDictMoonbeam = lowerCaseKeys({
|
|
186
|
-
"0x6842E0412AC1c00464dc48961330156a07268d14": Plain2BasicABI,
|
|
187
|
-
"0x9fAe78C4bBB649deB7b2295dDB8A03adA7eB660F": Plain2BalancesABI,
|
|
188
|
-
"0xfCE359115dFe1533a2458650123F86C454BC0213": Plain2ETHABI,
|
|
189
|
-
"0x09C62ad0694e3f1ad8cF8876aaBe56138C586f5F": Plain2OptimizedABI,
|
|
190
|
-
"0xD19Baeadc667Cf2015e395f2B08668Ef120f41F5": Plain3BasicABI,
|
|
191
|
-
"0x04e39EF8332e979Cf8e4f8891E64934FF65F231b": Plain3BalancesABI,
|
|
192
|
-
"0xC9438d8928486bD9621D326002F4672bF684187A": Plain3ETHABI,
|
|
193
|
-
"0x2b70A5B878665FfDB4A06Ba40a264d6c70f68F4B": Plain3OptimizedABI,
|
|
194
|
-
"0x2D036f0Ff6F440dB623e0D9D3B5Daa509e5500C3": Plain4BasicABI,
|
|
195
|
-
"0x7Bb707085905c9D80854652809A1ba8480C11789": Plain4BalancesABI,
|
|
196
|
-
"0xec9cEBE650E181079576C1b6d0d2e092B1EdfF13": Plain4ETHABI,
|
|
197
|
-
"0xe8269B33E47761f552E1a3070119560d5fa8bBD6": Plain4OptimizedABI,
|
|
198
|
-
});
|
|
199
|
-
export const implementationABIDictKava = lowerCaseKeys({
|
|
200
|
-
"0x2632679f5ca396a1bd2647092d9dbf7ec5d7b263": Plain2BasicABI,
|
|
201
|
-
"0x12f196251efcaca0fd73d5b58132b16760ba96a8": Plain2BalancesABI,
|
|
202
|
-
"0xafdab4f8f6e6992b16e3906295fba390aab59ca5": Plain2ETHABI,
|
|
203
|
-
"0x50d7a3e0d5350d52e9e08a1b58eefd1db8759d7d": Plain2OptimizedABI,
|
|
204
|
-
"0xc8913d486a42459e6b34db33f0c660fca61306b9": Plain3BasicABI,
|
|
205
|
-
"0xc5ec776a55ea062fa3173c6c76703e9c9fa91c47": Plain3BalancesABI,
|
|
206
|
-
"0xed2c5f2c4cab6e82630d5615ea15dd47d8b29983": Plain3ETHABI,
|
|
207
|
-
"0xe7d5293c01685a414ddde527eb5effbf92b52648": Plain3OptimizedABI,
|
|
208
|
-
"0x77016d2de65de15a3c36bebbddc90804f670d2d0": Plain4BasicABI,
|
|
209
|
-
"0xd59c875dccb6cdcb3a75b91b58a363b5e4b0ca9a": Plain4BalancesABI,
|
|
210
|
-
"0x6378dd741b24bd884f3590d7bc7555fdb2f5b003": Plain4ETHABI,
|
|
211
|
-
"0x509495dfeec3a53acb2f60669985d868131ad9a5": Plain4OptimizedABI,
|
|
212
|
-
});
|
|
213
|
-
export const implementationABIDictCelo = lowerCaseKeys({
|
|
214
|
-
"0xfEE7166C32Bdf6356Ef60636f43400AA55551A96": Plain2BasicABI,
|
|
215
|
-
"0x183Bb362aAa53f24BDF76a5E0FE11eEEce21F44d": Plain2BalancesABI,
|
|
216
|
-
"0x469CF0874E62cfbaD342AE7e11aBCfC0F08dC17d": Plain2ETHABI,
|
|
217
|
-
"0xE5ddCc991c29d3a5350E1Eb669439F0237dB7490": Plain2OptimizedABI,
|
|
218
|
-
"0xBcdCADB91446366d10b293152c967e64dE789B92": Plain3BasicABI,
|
|
219
|
-
"0x9Adb8f6B5c4A6Be6625E46e2fd352B859B4bf711": Plain3BalancesABI,
|
|
220
|
-
"0x15Eb833Fa0689458Dc7B11517932780DfdFaa046": Plain3ETHABI,
|
|
221
|
-
"0xa72F339708461537223Bc415008eD61338Fe0CA2": Plain3OptimizedABI,
|
|
222
|
-
"0x59395Ef4FB6F266F7B117CF0a7223eC45d78A2AF": Plain4BasicABI,
|
|
223
|
-
"0x3730D8B82BF3fF6Cc6dFDBe2Fd7B2A655e74eAae": Plain4BalancesABI,
|
|
224
|
-
"0x0F5390AB4C5456a769056C96E4D7C71770b52319": Plain4ETHABI,
|
|
225
|
-
"0xA73b02a97B45604cd9f0BBAA153eCfe01f409350": Plain4OptimizedABI,
|
|
226
|
-
});
|
|
227
146
|
export const implementationABIDictBase = lowerCaseKeys({
|
|
228
147
|
"0xD166EEdf272B860E991d331B71041799379185D5": Plain2BasicABI,
|
|
229
148
|
"0x5C627d6925e448Ae418BC8a45d56B31fe5009Bea": Plain2BalancesABI,
|
|
@@ -288,16 +207,6 @@ export const basePoolIdZapDictPolygon = {
|
|
|
288
207
|
ABI: MetaBtcZapPolygonABI,
|
|
289
208
|
},
|
|
290
209
|
};
|
|
291
|
-
export const basePoolIdZapDictAvalanche = {
|
|
292
|
-
aave: {
|
|
293
|
-
address: "0x001E3BA199B4FF4B5B6e97aCD96daFC0E2e4156e".toLowerCase(),
|
|
294
|
-
ABI: MetaUsdZapPolygonABI,
|
|
295
|
-
},
|
|
296
|
-
ren: {
|
|
297
|
-
address: "0xEeB3DDBcc4174e0b3fd1C13aD462b95D11Ef42C3".toLowerCase(),
|
|
298
|
-
ABI: MetaBtcZapPolygonABI,
|
|
299
|
-
},
|
|
300
|
-
};
|
|
301
210
|
export const basePoolIdZapDictArbitrum = {
|
|
302
211
|
"2pool": {
|
|
303
212
|
address: "0x7544Fe3d184b6B55D6B36c3FCA1157eE0Ba30287".toLowerCase(),
|
|
@@ -354,44 +263,16 @@ export const STABLE_FACTORY_CONSTANTS = {
|
|
|
354
263
|
basePoolIdZapDict: basePoolIdZapDictPolygon,
|
|
355
264
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
356
265
|
},
|
|
357
|
-
146: {
|
|
358
|
-
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
359
|
-
},
|
|
360
|
-
196: {
|
|
361
|
-
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
362
|
-
},
|
|
363
266
|
252: {
|
|
364
267
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
365
268
|
},
|
|
366
|
-
324: {
|
|
367
|
-
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
368
|
-
},
|
|
369
269
|
999: {
|
|
370
270
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
371
271
|
},
|
|
372
|
-
1284: {
|
|
373
|
-
implementationABIDict: implementationABIDictMoonbeam,
|
|
374
|
-
},
|
|
375
|
-
2222: {
|
|
376
|
-
implementationABIDict: implementationABIDictKava,
|
|
377
|
-
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
378
|
-
},
|
|
379
|
-
5000: {
|
|
380
|
-
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
381
|
-
},
|
|
382
272
|
8453: {
|
|
383
273
|
implementationABIDict: implementationABIDictBase,
|
|
384
274
|
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
385
275
|
},
|
|
386
|
-
42220: {
|
|
387
|
-
implementationABIDict: implementationABIDictCelo,
|
|
388
|
-
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
389
|
-
},
|
|
390
|
-
43114: {
|
|
391
|
-
implementationABIDict: implementationABIDictAvalanche,
|
|
392
|
-
basePoolIdZapDict: basePoolIdZapDictAvalanche,
|
|
393
|
-
stableNgBasePoolZap: stableNgBasePoolZap,
|
|
394
|
-
},
|
|
395
276
|
42161: {
|
|
396
277
|
implementationABIDict: implementationABIDictArbitrum,
|
|
397
278
|
basePoolIdZapDict: basePoolIdZapDictArbitrum,
|