@curvefi/api 2.69.9 → 2.69.10
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.js +0 -2
- 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,9 +0,0 @@
|
|
|
1
|
-
import { lowerCaseValues } from "../utils.js";
|
|
2
|
-
export const COINS_AURORA = lowerCaseValues({
|
|
3
|
-
'crv': '0x64D5BaF5ac030e2b7c435aDD967f787ae94D0205',
|
|
4
|
-
// --- USD ---
|
|
5
|
-
'dai': '0xe3520349F477A5F6EB06107066048508498A291b',
|
|
6
|
-
'usdc.e': '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
|
|
7
|
-
'usdt': '0x4988a896b1227218e4A686fdE5EabdcAbd91571f',
|
|
8
|
-
'3crv': '0xbF7E49483881C76487b0989CD7d9A8239B20CA41',
|
|
9
|
-
});
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { lowerCaseValues } from "../utils.js";
|
|
2
|
-
export const COINS_AVALANCHE = lowerCaseValues({
|
|
3
|
-
'crv': '0x47536F17F4fF30e64A96a7555826b8f9e66ec468',
|
|
4
|
-
'crv.e': '0x249848BeCA43aC405b8102Ec90Dd5F22CA513c06',
|
|
5
|
-
// --- USD ---
|
|
6
|
-
'dai.e': '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70',
|
|
7
|
-
'usdc.e': '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664',
|
|
8
|
-
'usdt.e': '0xc7198437980c041c805A1EDcbA50c1Ce5db95118',
|
|
9
|
-
'usdc': '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E',
|
|
10
|
-
'usdt': '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7',
|
|
11
|
-
'avdai': '0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a',
|
|
12
|
-
'avusdc': '0x46A51127C3ce23fb7AB1DE06226147F446e4a857',
|
|
13
|
-
'avusdt': '0x532E6537FEA298397212F09A61e03311686f548e',
|
|
14
|
-
'av3crv': '0x1337bedc9d22ecbe766df105c9623922a27963ec',
|
|
15
|
-
'2crv': '0x0974D9d3bc463Fa17497aAFc3a87535553298FbE',
|
|
16
|
-
// --- BTC ---
|
|
17
|
-
'wbtc.e': '0x50b7545627a5162F82A992c33b87aDc75187B218',
|
|
18
|
-
'renbtc': '0xDBf31dF14B66535aF65AaC99C32e9eA844e14501',
|
|
19
|
-
'avwbtc': '0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D',
|
|
20
|
-
'btc.b': '0x152b9d0FdC40C096757F570A51E494bd4b943E50',
|
|
21
|
-
// --- ETH ---
|
|
22
|
-
'weth.e': '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB',
|
|
23
|
-
'avweth': '0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21',
|
|
24
|
-
// --- AVAX ---
|
|
25
|
-
'avax': '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE',
|
|
26
|
-
'wavax': '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7',
|
|
27
|
-
});
|
|
28
|
-
export const aTokensAvalanche = [
|
|
29
|
-
'0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a', // avDAI
|
|
30
|
-
'0x46A51127C3ce23fb7AB1DE06226147F446e4a857', // avUSDC
|
|
31
|
-
'0x532E6537FEA298397212F09A61e03311686f548e', // avUSDT
|
|
32
|
-
'0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D', // avWBTC
|
|
33
|
-
'0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21', // avWETH
|
|
34
|
-
].map((a) => a.toLowerCase());
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { lowerCaseValues } from "../utils.js";
|
|
2
|
-
export const COINS_CELO = lowerCaseValues({
|
|
3
|
-
'crv': '0x0a7432cF27F1aE3825c313F3C81e7D3efD7639aB', // <--- TODO CHANGE
|
|
4
|
-
// --- USD ---
|
|
5
|
-
'dai': '0x90Ca507a5D4458a4C6C6249d186b6dCb02a5BCCd',
|
|
6
|
-
'usdc': '0xef4229c8c3250C675F21BCefa42f58EfbfF6002a',
|
|
7
|
-
'usdt': '0x88eeC49252c8cbc039DCdB394c0c2BA2f1637EA0',
|
|
8
|
-
'3crv': '0x998395fEd908d33CF27115A1D9Ab6555def6cd45',
|
|
9
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { lowerCaseValues } from "../utils.js";
|
|
2
|
-
export const COINS_KAVA = lowerCaseValues({
|
|
3
|
-
'crv': '0x64D5BaF5ac030e2b7c435aDD967f787ae94D0205', // <--- TODO CHANGE
|
|
4
|
-
// --- USD ---
|
|
5
|
-
'dai': '0x765277EebeCA2e31912C9946eAe1021199B39C61',
|
|
6
|
-
'usdc': '0xfA9343C3897324496A05fC75abeD6bAC29f8A40f',
|
|
7
|
-
'usdt': '0xB44a9B6905aF7c801311e8F4E76932ee959c663C',
|
|
8
|
-
'3crv': '0x7A0e3b70b1dB0D6CA63Cac240895b2D21444A7b9',
|
|
9
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { lowerCaseValues } from "../utils.js";
|
|
2
|
-
export const COINS_MOONBEAM = lowerCaseValues({
|
|
3
|
-
'crv': '0x712b3d230f3c1c19db860d80619288b1f0bdd0bd',
|
|
4
|
-
// --- USD ---
|
|
5
|
-
'dai': '0xc234A67a4F840E61adE794be47de455361b52413',
|
|
6
|
-
'usdc': '0x8f552a71EFE5eeFc207Bf75485b356A0b3f01eC9',
|
|
7
|
-
'usdt': '0x8e70cD5B4Ff3f62659049e74b6649c6603A0E594',
|
|
8
|
-
'3crv': '0xace58a26b8db90498ef0330fdc9c2655db0c45e2',
|
|
9
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { lowerCasePoolDataAddresses } from "../utils.js";
|
|
2
|
-
import tripoolSwapABI from '../abis/3pool-optimism/swap.json' with { type: 'json' };
|
|
3
|
-
import gaugeRewardsOnlyABI from '../abis/gauge_rewards_only.json' with { type: 'json' };
|
|
4
|
-
export const POOLS_DATA_AURORA = lowerCasePoolDataAddresses({
|
|
5
|
-
'3pool': {
|
|
6
|
-
name: "3pool",
|
|
7
|
-
full_name: "3pool",
|
|
8
|
-
symbol: "3pool",
|
|
9
|
-
reference_asset: 'USD',
|
|
10
|
-
swap_address: '0xbF7E49483881C76487b0989CD7d9A8239B20CA41',
|
|
11
|
-
token_address: '0xbF7E49483881C76487b0989CD7d9A8239B20CA41',
|
|
12
|
-
gauge_address: '0xC2b1DF84112619D190193E48148000e3990Bf627',
|
|
13
|
-
is_plain: true,
|
|
14
|
-
underlying_coins: ['DAI', 'USDC.e', 'USDT'],
|
|
15
|
-
wrapped_coins: ['DAI', 'USDC.e', 'USDT'],
|
|
16
|
-
underlying_coin_addresses: [
|
|
17
|
-
'0xe3520349F477A5F6EB06107066048508498A291b',
|
|
18
|
-
'0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
|
|
19
|
-
'0x4988a896b1227218e4A686fdE5EabdcAbd91571f',
|
|
20
|
-
],
|
|
21
|
-
wrapped_coin_addresses: [
|
|
22
|
-
'0xe3520349F477A5F6EB06107066048508498A291b',
|
|
23
|
-
'0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
|
|
24
|
-
'0x4988a896b1227218e4A686fdE5EabdcAbd91571f',
|
|
25
|
-
],
|
|
26
|
-
underlying_decimals: [18, 6, 6],
|
|
27
|
-
wrapped_decimals: [18, 6, 6],
|
|
28
|
-
swap_abi: tripoolSwapABI,
|
|
29
|
-
gauge_abi: gaugeRewardsOnlyABI,
|
|
30
|
-
},
|
|
31
|
-
});
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { lowerCasePoolDataAddresses } from "../utils.js";
|
|
2
|
-
import aaveSwapABI from '../abis/aave/swap.json' with { type: 'json' };
|
|
3
|
-
import renSwapABI from '../abis/ren-polygon/swap.json' with { type: 'json' };
|
|
4
|
-
import atricrypto3Swap from '../abis/atricrypto3/swap.json' with { type: 'json' };
|
|
5
|
-
import atricrypto3Zap from '../abis/atricrypto3/zap.json' with { type: 'json' };
|
|
6
|
-
import AVAXCryptoSwapABI from "../abis/avaxcrypto/swap.json" with { type: 'json' };
|
|
7
|
-
import AVAXCryptoZapABI from "../abis/avaxcrypto/zap.json" with { type: 'json' };
|
|
8
|
-
import gaugeChildABI from '../abis/gauge_child.json' with { type: 'json' };
|
|
9
|
-
export const POOLS_DATA_AVALANCHE = lowerCasePoolDataAddresses({
|
|
10
|
-
aave: {
|
|
11
|
-
name: "aave",
|
|
12
|
-
full_name: "aave",
|
|
13
|
-
symbol: "aave",
|
|
14
|
-
reference_asset: 'USD',
|
|
15
|
-
swap_address: '0x7f90122BF0700F9E7e1F688fe926940E8839F353',
|
|
16
|
-
token_address: '0x1337BedC9D22ecbe766dF105c9623922A27963EC',
|
|
17
|
-
gauge_address: '0x4620D46b4db7fB04a01A75fFed228Bc027C9A899',
|
|
18
|
-
// gauge_address: '0x5B5CFE992AdAC0C9D48E05854B2d91C73a003858',
|
|
19
|
-
// reward_contract: '0xB504b6EB06760019801a91B451d3f7BD9f027fC9',
|
|
20
|
-
is_lending: true,
|
|
21
|
-
underlying_coins: ['DAI.e', 'USDC.e', 'USDT.e'],
|
|
22
|
-
wrapped_coins: ['avDAI', 'avUSDC', 'avUSDT'],
|
|
23
|
-
underlying_coin_addresses: [
|
|
24
|
-
'0xd586E7F844cEa2F87f50152665BCbc2C279D8d70',
|
|
25
|
-
'0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664',
|
|
26
|
-
'0xc7198437980c041c805A1EDcbA50c1Ce5db95118',
|
|
27
|
-
],
|
|
28
|
-
wrapped_coin_addresses: [
|
|
29
|
-
'0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a',
|
|
30
|
-
'0x46A51127C3ce23fb7AB1DE06226147F446e4a857',
|
|
31
|
-
'0x532E6537FEA298397212F09A61e03311686f548e',
|
|
32
|
-
],
|
|
33
|
-
underlying_decimals: [18, 6, 6],
|
|
34
|
-
wrapped_decimals: [18, 6, 6],
|
|
35
|
-
use_lending: [true, true, true],
|
|
36
|
-
swap_abi: aaveSwapABI,
|
|
37
|
-
gauge_abi: gaugeChildABI,
|
|
38
|
-
},
|
|
39
|
-
ren: {
|
|
40
|
-
name: "ren",
|
|
41
|
-
full_name: "ren",
|
|
42
|
-
symbol: "ren",
|
|
43
|
-
reference_asset: 'BTC',
|
|
44
|
-
swap_address: '0x16a7DA911A4DD1d83F3fF066fE28F3C792C50d90',
|
|
45
|
-
token_address: '0xC2b1DF84112619D190193E48148000e3990Bf627',
|
|
46
|
-
gauge_address: '0x00F7d467ef51E44f11f52a0c0Bef2E56C271b264',
|
|
47
|
-
// gauge_address: '0x0f9cb53Ebe405d49A0bbdBD291A65Ff571bC83e1',
|
|
48
|
-
// reward_contract: '0x75D05190f35567e79012c2F0a02330D3Ed8a1F74',
|
|
49
|
-
is_lending: true,
|
|
50
|
-
underlying_coins: ['WBTC.e', 'renBTC'],
|
|
51
|
-
wrapped_coins: ['avWBTC', 'renBTC'],
|
|
52
|
-
underlying_coin_addresses: [
|
|
53
|
-
'0x50b7545627a5162F82A992c33b87aDc75187B218',
|
|
54
|
-
'0xDBf31dF14B66535aF65AaC99C32e9eA844e14501',
|
|
55
|
-
],
|
|
56
|
-
wrapped_coin_addresses: [
|
|
57
|
-
'0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D',
|
|
58
|
-
'0xDBf31dF14B66535aF65AaC99C32e9eA844e14501',
|
|
59
|
-
],
|
|
60
|
-
underlying_decimals: [8, 8],
|
|
61
|
-
wrapped_decimals: [8, 8],
|
|
62
|
-
use_lending: [true, false],
|
|
63
|
-
swap_abi: renSwapABI,
|
|
64
|
-
gauge_abi: gaugeChildABI,
|
|
65
|
-
},
|
|
66
|
-
atricrypto: {
|
|
67
|
-
name: "atricrypto",
|
|
68
|
-
full_name: "atricrypto",
|
|
69
|
-
symbol: "atricrypto",
|
|
70
|
-
reference_asset: 'CRYPTO',
|
|
71
|
-
swap_address: '0xB755B949C126C04e0348DD881a5cF55d424742B2',
|
|
72
|
-
token_address: '0x1daB6560494B04473A0BE3E7D83CF3Fdf3a51828',
|
|
73
|
-
gauge_address: '0x1879075f1c055564CB968905aC404A5A01a1699A',
|
|
74
|
-
deposit_address: '0x58e57cA18B7A47112b877E31929798Cd3D703b0f',
|
|
75
|
-
// gauge_address: '0x445FE580eF8d70FF569aB36e80c647af338db351',
|
|
76
|
-
// reward_contract: '0xa05E565cA0a103FcD999c7A7b8de7Bd15D5f6505',
|
|
77
|
-
is_meta: true,
|
|
78
|
-
is_crypto: true,
|
|
79
|
-
is_fake: true,
|
|
80
|
-
base_pool: 'aave',
|
|
81
|
-
meta_coin_idx: 0,
|
|
82
|
-
underlying_coins: ['DAI.e', 'USDC.e', 'USDT.e', 'WBTC.e', 'WETH.e'],
|
|
83
|
-
wrapped_coins: ['av3CRV', 'avWBTC', 'avWETH'],
|
|
84
|
-
underlying_coin_addresses: [
|
|
85
|
-
'0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // DAI.e
|
|
86
|
-
'0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // USDC.e
|
|
87
|
-
'0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // USDT.e
|
|
88
|
-
'0x50b7545627a5162F82A992c33b87aDc75187B218', // WBTC.e
|
|
89
|
-
'0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', // WETH.e
|
|
90
|
-
],
|
|
91
|
-
wrapped_coin_addresses: [
|
|
92
|
-
'0x1337BedC9D22ecbe766dF105c9623922A27963EC', // av3CRV
|
|
93
|
-
'0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D', // avWBTC
|
|
94
|
-
'0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21', // avWETH
|
|
95
|
-
],
|
|
96
|
-
underlying_decimals: [18, 6, 6, 8, 18],
|
|
97
|
-
wrapped_decimals: [18, 8, 18],
|
|
98
|
-
use_lending: [false, false, false, false, false],
|
|
99
|
-
swap_abi: atricrypto3Swap,
|
|
100
|
-
gauge_abi: gaugeChildABI,
|
|
101
|
-
deposit_abi: atricrypto3Zap,
|
|
102
|
-
},
|
|
103
|
-
aaveV3: {
|
|
104
|
-
name: "aaveV3",
|
|
105
|
-
full_name: "aaveV3",
|
|
106
|
-
symbol: "aaveV3",
|
|
107
|
-
reference_asset: 'USD',
|
|
108
|
-
swap_address: '0xD2AcAe14ae2ee0f6557aC6C6D0e407a92C36214b',
|
|
109
|
-
token_address: '0x5bE26703a658c332CE612eAe3A497059dA98394a',
|
|
110
|
-
gauge_address: '0x55f9Ba282c39793DB29C68F8f113fC97D23a6445',
|
|
111
|
-
is_lending: true,
|
|
112
|
-
underlying_coins: ['DAI.e', 'USDC', 'USDt'],
|
|
113
|
-
wrapped_coins: ['aAvaDAI', 'aAvaUSDC', 'aAvaUSDT'],
|
|
114
|
-
underlying_coin_addresses: [
|
|
115
|
-
'0xd586E7F844cEa2F87f50152665BCbc2C279D8d70',
|
|
116
|
-
'0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E',
|
|
117
|
-
'0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7',
|
|
118
|
-
],
|
|
119
|
-
wrapped_coin_addresses: [
|
|
120
|
-
'0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE',
|
|
121
|
-
'0x625E7708f30cA75bfd92586e17077590C60eb4cD',
|
|
122
|
-
'0x6ab707Aca953eDAeFBc4fD23bA73294241490620',
|
|
123
|
-
],
|
|
124
|
-
underlying_decimals: [18, 6, 6],
|
|
125
|
-
wrapped_decimals: [18, 6, 6],
|
|
126
|
-
use_lending: [true, true, true],
|
|
127
|
-
swap_abi: aaveSwapABI,
|
|
128
|
-
gauge_abi: gaugeChildABI,
|
|
129
|
-
// sCurveRewards_abi: paaveRewardsabi,
|
|
130
|
-
// sCurveRewards_address: '0xB504b6EB06760019801a91B451d3f7BD9f027fC9',
|
|
131
|
-
// reward_token: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
|
|
132
|
-
},
|
|
133
|
-
avaxcrypto: {
|
|
134
|
-
name: "avaxcrypto",
|
|
135
|
-
full_name: "avaxcrypto",
|
|
136
|
-
symbol: "avaxcrypto",
|
|
137
|
-
reference_asset: 'CRYPTO',
|
|
138
|
-
swap_address: '0x204f0620E7E7f07B780535711884835977679bba',
|
|
139
|
-
token_address: '0x6a4aC4DE3bF6bCD2975E2cb15A46954D9bA43fDb',
|
|
140
|
-
gauge_address: '0xf6C5Be565A25Be925c9D8fB0368a87bd20ee470b',
|
|
141
|
-
// deposit_address: '0x25b3D0eeBcd85Ea5A970981c5E2A342f4e1064e8',
|
|
142
|
-
deposit_address: '0x9f2Fa7709B30c75047980a0d70A106728f0Ef2db',
|
|
143
|
-
is_meta: true,
|
|
144
|
-
is_crypto: true,
|
|
145
|
-
base_pool: 'factory-v2-99',
|
|
146
|
-
meta_coin_idx: 0,
|
|
147
|
-
underlying_coins: ['USDC', 'USDt', 'BTC.b', 'AVAX'],
|
|
148
|
-
wrapped_coins: ['2CRV', 'BTC.b', 'WAVAX'],
|
|
149
|
-
underlying_coin_addresses: [
|
|
150
|
-
'0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e',
|
|
151
|
-
'0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7',
|
|
152
|
-
'0x152b9d0FdC40C096757F570A51E494bd4b943E50',
|
|
153
|
-
'0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE',
|
|
154
|
-
],
|
|
155
|
-
wrapped_coin_addresses: [
|
|
156
|
-
'0x0974D9d3bc463Fa17497aAFc3a87535553298FbE',
|
|
157
|
-
'0x152b9d0FdC40C096757F570A51E494bd4b943E50',
|
|
158
|
-
'0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7',
|
|
159
|
-
],
|
|
160
|
-
underlying_decimals: [6, 6, 8, 18],
|
|
161
|
-
wrapped_decimals: [18, 8, 18],
|
|
162
|
-
swap_abi: AVAXCryptoSwapABI,
|
|
163
|
-
gauge_abi: gaugeChildABI,
|
|
164
|
-
deposit_abi: AVAXCryptoZapABI,
|
|
165
|
-
},
|
|
166
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { lowerCasePoolDataAddresses } from "../utils.js";
|
|
2
|
-
import tripoolSwapABI from '../abis/3pool-optimism/swap.json' with { type: 'json' };
|
|
3
|
-
import gaugeChildABI from '../abis/gauge_child.json' with { type: 'json' };
|
|
4
|
-
export const POOLS_DATA_MOONBEAM = lowerCasePoolDataAddresses({
|
|
5
|
-
'3pool': {
|
|
6
|
-
name: "3pool",
|
|
7
|
-
full_name: "3pool",
|
|
8
|
-
symbol: "3pool",
|
|
9
|
-
reference_asset: 'USD',
|
|
10
|
-
swap_address: '0xace58a26b8db90498ef0330fdc9c2655db0c45e2',
|
|
11
|
-
token_address: '0xace58a26b8db90498ef0330fdc9c2655db0c45e2',
|
|
12
|
-
gauge_address: '0x0000000000000000000000000000000000000000', // NO GAUGE
|
|
13
|
-
is_plain: true,
|
|
14
|
-
underlying_coins: ['DAI', 'USDC', 'USDT'],
|
|
15
|
-
wrapped_coins: ['DAI', 'USDC', 'USDT'],
|
|
16
|
-
underlying_coin_addresses: [
|
|
17
|
-
'0xc234A67a4F840E61adE794be47de455361b52413',
|
|
18
|
-
'0x8f552a71EFE5eeFc207Bf75485b356A0b3f01eC9',
|
|
19
|
-
'0x8e70cD5B4Ff3f62659049e74b6649c6603A0E594',
|
|
20
|
-
],
|
|
21
|
-
wrapped_coin_addresses: [
|
|
22
|
-
'0xc234A67a4F840E61adE794be47de455361b52413',
|
|
23
|
-
'0x8f552a71EFE5eeFc207Bf75485b356A0b3f01eC9',
|
|
24
|
-
'0x8e70cD5B4Ff3f62659049e74b6649c6603A0E594',
|
|
25
|
-
],
|
|
26
|
-
underlying_decimals: [18, 6, 6],
|
|
27
|
-
wrapped_decimals: [18, 6, 6],
|
|
28
|
-
swap_abi: tripoolSwapABI,
|
|
29
|
-
gauge_abi: gaugeChildABI,
|
|
30
|
-
},
|
|
31
|
-
});
|