@curvefi/api 2.65.28 → 2.66.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.
Files changed (54) hide show
  1. package/README.md +3 -0
  2. package/eslint.config.mjs +88 -0
  3. package/lib/boosting.js +13 -13
  4. package/lib/constants/coins/avalanche.js +4 -4
  5. package/lib/constants/coins/base.js +1 -1
  6. package/lib/constants/coins/celo.js +1 -1
  7. package/lib/constants/coins/ethereum.js +88 -88
  8. package/lib/constants/coins/fantom.js +5 -5
  9. package/lib/constants/coins/kava.js +1 -1
  10. package/lib/constants/coins/polygon.js +18 -18
  11. package/lib/constants/coins/zksync.js +1 -1
  12. package/lib/constants/factory/crypto.js +32 -32
  13. package/lib/constants/factory/stable.js +57 -57
  14. package/lib/constants/network_constants.js +37 -37
  15. package/lib/constants/pools/arbitrum.js +8 -8
  16. package/lib/constants/pools/aurora.js +2 -2
  17. package/lib/constants/pools/avalanche.js +13 -13
  18. package/lib/constants/pools/ethereum.js +89 -89
  19. package/lib/constants/pools/fantom.js +13 -13
  20. package/lib/constants/pools/moonbeam.js +3 -3
  21. package/lib/constants/pools/optimism.js +3 -3
  22. package/lib/constants/pools/polygon.js +21 -21
  23. package/lib/constants/pools/xdai.js +13 -13
  24. package/lib/curve.d.ts +10 -2
  25. package/lib/curve.js +80 -47
  26. package/lib/dao.js +12 -12
  27. package/lib/external-api.d.ts +0 -9
  28. package/lib/external-api.js +75 -104
  29. package/lib/factory/deploy.js +12 -12
  30. package/lib/factory/factory-api.js +13 -13
  31. package/lib/factory/factory-crypto.js +10 -10
  32. package/lib/factory/factory-tricrypto.js +11 -11
  33. package/lib/factory/factory-twocrypto.js +9 -9
  34. package/lib/factory/factory.js +13 -13
  35. package/lib/index.d.ts +60 -59
  36. package/lib/index.js +6 -3
  37. package/lib/pools/PoolTemplate.js +59 -59
  38. package/lib/pools/mixins/depositMixins.js +14 -14
  39. package/lib/pools/mixins/depositWrappedMixins.js +8 -8
  40. package/lib/pools/mixins/swapMixins.js +12 -12
  41. package/lib/pools/mixins/swapWrappedMixins.js +8 -8
  42. package/lib/pools/mixins/withdrawImbalanceMixins.js +12 -12
  43. package/lib/pools/mixins/withdrawImbalanceWrappedMixins.js +6 -6
  44. package/lib/pools/mixins/withdrawMixins.js +14 -14
  45. package/lib/pools/mixins/withdrawOneCoinMixins.js +14 -14
  46. package/lib/pools/mixins/withdrawOneCoinWrappedMixins.js +6 -6
  47. package/lib/pools/mixins/withdrawWrappedMixins.js +6 -6
  48. package/lib/pools/subClasses/gaugePool.js +4 -4
  49. package/lib/pools/subClasses/statsPool.js +3 -3
  50. package/lib/pools/utils.js +11 -11
  51. package/lib/route-graph.worker.js +3 -3
  52. package/lib/router.js +4 -5
  53. package/lib/utils.js +22 -24
  54. package/package.json +21 -18
@@ -1,8 +1,8 @@
1
1
  import { lowerCaseKeys } from "../utils.js";
2
2
  // --- ZAPS --
3
- import atricrypto3ZapABI from "../abis/atricrypto3/base_pool_zap.json" assert { type: 'json' };
4
- import tripoolZapABI from "../abis/3pool/meta_zap_crypto.json" assert { type: 'json' };
5
- import fraxusdcZapABI from "../abis/fraxusdc/meta_zap_crypto.json" assert { type: 'json' };
3
+ import atricrypto3ZapABI from "../abis/atricrypto3/base_pool_zap.json" with { type: 'json' };
4
+ import tripoolZapABI from "../abis/3pool/meta_zap_crypto.json" with { type: 'json' };
5
+ import fraxusdcZapABI from "../abis/fraxusdc/meta_zap_crypto.json" with { type: 'json' };
6
6
  export const lpTokenBasePoolIdDictEthereum = lowerCaseKeys({
7
7
  '0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490': '3pool',
8
8
  '0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC': 'fraxusdc',
@@ -29,42 +29,42 @@ export const basePoolIdZapDictPolygon = {
29
29
  export const tricryptoDeployImplementations = {
30
30
  1: {
31
31
  amm_native_transfers_disabled: '0x0000000000000000000000000000000000000000'.toLowerCase(),
32
- amm_native_transfers_enabled: '0x66442B0C5260B92cAa9c234ECf2408CBf6b19a6f'.toLowerCase(),
32
+ amm_native_transfers_enabled: '0x66442B0C5260B92cAa9c234ECf2408CBf6b19a6f'.toLowerCase(), //0
33
33
  implementationIdx: 0,
34
34
  },
35
35
  10: {
36
- amm_native_transfers_disabled: '0x0458ea5F4CD00E873264Be2031Ceb8f9d9b3116c'.toLowerCase(),
37
- amm_native_transfers_enabled: '0x1FE2a06c8bd81AE65FD1C5036451890b37976369'.toLowerCase(),
36
+ amm_native_transfers_disabled: '0x0458ea5F4CD00E873264Be2031Ceb8f9d9b3116c'.toLowerCase(), //1
37
+ amm_native_transfers_enabled: '0x1FE2a06c8bd81AE65FD1C5036451890b37976369'.toLowerCase(), //0
38
38
  implementationIdx: 1,
39
39
  },
40
40
  56: {
41
- amm_native_transfers_disabled: '0x6A8cbed756804B16E05E741eDaBd5cB544AE21bf'.toLowerCase(),
42
- amm_native_transfers_enabled: '0xBff334F8D5912AC5c4f2c590A2396d1C5d990123'.toLowerCase(),
41
+ amm_native_transfers_disabled: '0x6A8cbed756804B16E05E741eDaBd5cB544AE21bf'.toLowerCase(), //1
42
+ amm_native_transfers_enabled: '0xBff334F8D5912AC5c4f2c590A2396d1C5d990123'.toLowerCase(), //0
43
43
  implementationIdx: 1,
44
44
  },
45
45
  100: {
46
- amm_native_transfers_disabled: '0x3f445D38E820c010a7A6E33c5F80cBEBE6930f61'.toLowerCase(),
47
- amm_native_transfers_enabled: '0xa54f3c1dfa5f7dbf2564829d14b3b74a65d26ae2'.toLowerCase(),
46
+ amm_native_transfers_disabled: '0x3f445D38E820c010a7A6E33c5F80cBEBE6930f61'.toLowerCase(), //1
47
+ amm_native_transfers_enabled: '0xa54f3c1dfa5f7dbf2564829d14b3b74a65d26ae2'.toLowerCase(), //0
48
48
  implementationIdx: 1,
49
49
  },
50
50
  137: {
51
- amm_native_transfers_disabled: '0x3d6cB2F6DcF47CDd9C13E4e3beAe9af041d8796a'.toLowerCase(),
52
- amm_native_transfers_enabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(),
51
+ amm_native_transfers_disabled: '0x3d6cB2F6DcF47CDd9C13E4e3beAe9af041d8796a'.toLowerCase(), //1
52
+ amm_native_transfers_enabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //0
53
53
  implementationIdx: 1,
54
54
  },
55
55
  196: {
56
- amm_native_transfers_disabled: '0x64379C265Fc6595065D7d835AAaa731c0584dB80'.toLowerCase(),
57
- amm_native_transfers_enabled: '0x0C9D8c7e486e822C29488Ff51BFf0167B4650953'.toLowerCase(),
56
+ amm_native_transfers_disabled: '0x64379C265Fc6595065D7d835AAaa731c0584dB80'.toLowerCase(), //1
57
+ amm_native_transfers_enabled: '0x0C9D8c7e486e822C29488Ff51BFf0167B4650953'.toLowerCase(), //0
58
58
  implementationIdx: 1,
59
59
  },
60
60
  250: {
61
- amm_native_transfers_disabled: '0xd125E7a0cEddF89c6473412d85835450897be6Dc'.toLowerCase(),
62
- amm_native_transfers_enabled: '0x76303e4fDcA0AbF28aB3ee42Ce086E6503431F1D'.toLowerCase(),
61
+ amm_native_transfers_disabled: '0xd125E7a0cEddF89c6473412d85835450897be6Dc'.toLowerCase(), //1
62
+ amm_native_transfers_enabled: '0x76303e4fDcA0AbF28aB3ee42Ce086E6503431F1D'.toLowerCase(), //0
63
63
  implementationIdx: 1,
64
64
  },
65
65
  252: {
66
- amm_native_transfers_disabled: '0x1A83348F9cCFD3Fe1A8C0adBa580Ac4e267Fe495'.toLowerCase(),
67
- amm_native_transfers_enabled: '0xd3b17f862956464ae4403ccf829ce69199856e1e'.toLowerCase(),
66
+ amm_native_transfers_disabled: '0x1A83348F9cCFD3Fe1A8C0adBa580Ac4e267Fe495'.toLowerCase(), //1
67
+ amm_native_transfers_enabled: '0xd3b17f862956464ae4403ccf829ce69199856e1e'.toLowerCase(), //0
68
68
  implementationIdx: 1,
69
69
  },
70
70
  324: {
@@ -78,38 +78,38 @@ export const tricryptoDeployImplementations = {
78
78
  implementationIdx: 0,
79
79
  },
80
80
  2222: {
81
- amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(),
82
- amm_native_transfers_enabled: '0xFAbC421e3368D158d802684A217a83c083c94CeB'.toLowerCase(),
81
+ amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //1
82
+ amm_native_transfers_enabled: '0xFAbC421e3368D158d802684A217a83c083c94CeB'.toLowerCase(), //0
83
83
  implementationIdx: 1,
84
84
  },
85
85
  5000: {
86
- amm_native_transfers_disabled: '0x7Ca46A636b02D4aBC66883D7FF164bDE506DC66a'.toLowerCase(),
87
- amm_native_transfers_enabled: '0x046207cB759F527b6c10C2D61DBaca45513685CC'.toLowerCase(),
86
+ amm_native_transfers_disabled: '0x7Ca46A636b02D4aBC66883D7FF164bDE506DC66a'.toLowerCase(), //1
87
+ amm_native_transfers_enabled: '0x046207cB759F527b6c10C2D61DBaca45513685CC'.toLowerCase(), //0
88
88
  implementationIdx: 1,
89
89
  },
90
90
  8453: {
91
- amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(),
92
- amm_native_transfers_enabled: '0xa274c88e09fDF1798a7517096557e6c1bEa1f65A'.toLowerCase(),
91
+ amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //1
92
+ amm_native_transfers_enabled: '0xa274c88e09fDF1798a7517096557e6c1bEa1f65A'.toLowerCase(), //0
93
93
  implementationIdx: 1,
94
94
  },
95
95
  42161: {
96
- amm_native_transfers_disabled: '0x1f7C86AffE5bCF7a1D74a8c8E2ef9E03BF31c1BD'.toLowerCase(),
97
- amm_native_transfers_enabled: '0xd7E72f3615aa65b92A4DBdC211E296a35512988B'.toLowerCase(),
96
+ amm_native_transfers_disabled: '0x1f7C86AffE5bCF7a1D74a8c8E2ef9E03BF31c1BD'.toLowerCase(), //1
97
+ amm_native_transfers_enabled: '0xd7E72f3615aa65b92A4DBdC211E296a35512988B'.toLowerCase(), //0
98
98
  implementationIdx: 1,
99
99
  },
100
100
  42220: {
101
- amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(),
102
- amm_native_transfers_enabled: '0xFAbC421e3368D158d802684A217a83c083c94CeB'.toLowerCase(),
101
+ amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //1
102
+ amm_native_transfers_enabled: '0xFAbC421e3368D158d802684A217a83c083c94CeB'.toLowerCase(), //0
103
103
  implementationIdx: 1,
104
104
  },
105
105
  43114: {
106
- amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(),
107
- amm_native_transfers_enabled: '0xFAbC421e3368D158d802684A217a83c083c94CeB'.toLowerCase(),
106
+ amm_native_transfers_disabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //1
107
+ amm_native_transfers_enabled: '0xFAbC421e3368D158d802684A217a83c083c94CeB'.toLowerCase(), //0
108
108
  implementationIdx: 1,
109
109
  },
110
110
  1313161554: {
111
- amm_native_transfers_disabled: '0x3d6cB2F6DcF47CDd9C13E4e3beAe9af041d8796a'.toLowerCase(),
112
- amm_native_transfers_enabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(),
111
+ amm_native_transfers_disabled: '0x3d6cB2F6DcF47CDd9C13E4e3beAe9af041d8796a'.toLowerCase(), //1
112
+ amm_native_transfers_enabled: '0x0c59d36b23f809f8b6C7cb4c8C590a0AC103baEf'.toLowerCase(), //0
113
113
  implementationIdx: 1,
114
114
  },
115
115
  };
@@ -1,51 +1,51 @@
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' };
1
+ import factorySwapABI from "../abis/factoryPools/swap.json" with { type: 'json' };
2
+ import MetaUSDABI from "../abis/factory-v2/MetaUSD.json" with { type: 'json' };
3
+ import MetaUSDBalancesABI from "../abis/factory-v2/MetaUSDBalances.json" with { type: 'json' };
4
+ import MetaFraxUSDABI from "../abis/factory-v2/MetaFraxUSD.json" with { type: 'json' };
5
+ import MetaFraxUSDBalancesABI from "../abis/factory-v2/MetaFraxUSDBalances.json" with { type: 'json' };
6
+ import MetaBTCABI from "../abis/factory-v2/MetaBTC.json" with { type: 'json' };
7
+ import MetaBTCBalancesABI from "../abis/factory-v2/MetaBTCBalances.json" with { type: 'json' };
8
+ import MetaBTCRenABI from "../abis/factory-v2/MetaBTCRen.json" with { type: 'json' };
9
+ import MetaBTCRenBalancesABI from "../abis/factory-v2/MetaBTCBalancesRen.json" with { type: 'json' };
10
+ import MetaSbtc2ABI from "../abis/factory-v2/MetaSbtc2.json" with { type: 'json' };
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
+ import Plain2BasicABI from "../abis/factory-v2/Plain2Basic.json" with { type: 'json' };
14
+ import Plain2BasicWithRatesABI from "../abis/factory-v2/Plain2BasicWithRates.json" with { type: 'json' };
15
+ import Plain2BalancesABI from "../abis/factory-v2/Plain2Balances.json" with { type: 'json' };
16
+ import Plain2ETHABI from "../abis/factory-v2/Plain2ETH.json" with { type: 'json' };
17
+ import Plain2ETHOracleABI from "../abis/factory-v2/Plain2ETHOracle.json" with { type: 'json' };
18
+ import Plain2OptimizedABI from "../abis/factory-v2/Plain2Optimized.json" with { type: 'json' };
19
+ import Plain3BasicABI from "../abis/factory-v2/Plain3Basic.json" with { type: 'json' };
20
+ import Plain3BalancesABI from "../abis/factory-v2/Plain3Balances.json" with { type: 'json' };
21
+ import Plain3ETHABI from "../abis/factory-v2/Plain3ETH.json" with { type: 'json' };
22
+ import Plain3OptimizedABI from "../abis/factory-v2/Plain3Optimized.json" with { type: 'json' };
23
+ import Plain4BasicABI from "../abis/factory-v2/Plain4Basic.json" with { type: 'json' };
24
+ import Plain4BalancesABI from "../abis/factory-v2/Plain4Balances.json" with { type: 'json' };
25
+ import Plain4ETHABI from "../abis/factory-v2/Plain4ETH.json" with { type: 'json' };
26
+ import Plain4OptimizedABI from "../abis/factory-v2/Plain4Optimized.json" with { type: 'json' };
27
+ import Plain6BasicABI from "../abis/factory-v2/Plain6Basic.json" with { type: 'json' };
28
+ import Plain6BalancesABI from "../abis/factory-v2/Plain6Balances.json" with { type: 'json' };
29
+ import Plain6ETHABI from "../abis/factory-v2/Plain6ETH.json" with { type: 'json' };
30
+ import Plain6OptimizedABI from "../abis/factory-v2/Plain6Optimized.json" with { type: 'json' };
31
31
  // --- ZAPS --
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' };
32
+ import factoryDepositABI from "../abis/factoryPools/deposit.json" with { type: 'json' };
33
+ import fraxusdcMetaZapABI from "../abis/fraxusdc/meta_zap.json" with { type: 'json' };
34
+ import MetaUsdZapPolygonABI from "../abis/factory-v2/DepositZapMetaUsdPolygon.json" with { type: 'json' };
35
+ import MetaBtcZapPolygonABI from "../abis/factory-v2/DepositZapMetaBtcPolygon.json" with { type: 'json' };
36
+ import MetaZapFantomABI from "../abis/factory-v2/DepositZapFantom.json" with { type: 'json' };
37
+ import MetaGeistUsdZapFantomABI from "../abis/factory-v2/DepositZapMetaUsd2Fantom.json" with { type: 'json' };
38
+ import RenMetaZapABI from "../abis/ren/meta_zap.json" with { type: 'json' };
39
+ import Sbtc2MetaZapABI from "../abis/sbtc2/meta_zap.json" with { type: 'json' };
40
40
  import { lowerCaseKeys } from "../utils.js";
41
41
  export const implementationABIDictEthereum = lowerCaseKeys({
42
42
  "0x5F890841f657d90E081bAbdB532A05996Af79Fe6": factorySwapABI,
43
43
  "0x213be373FDff327658139C7df330817DAD2d5bBE": MetaUSDABI,
44
44
  "0x55Aa9BF126bCABF0bDC17Fa9E39Ec9239e1ce7A9": MetaUSDBalancesABI,
45
- "0x33bB0e62d5e8C688E645Dd46DFb48Cd613250067": MetaFraxUSDABI,
46
- "0x2EB24483Ef551dA247ab87Cf18e1Cc980073032D": MetaFraxUSDBalancesABI,
47
- "0xF9B62b61d108232Ef0C9DD143bb3c22c7D4A715a": MetaFraxUSDABI,
48
- "0xB172AC2Fe440B5dA74Dc460e5E9d96bc2BF6261F": MetaFraxUSDBalancesABI,
45
+ "0x33bB0e62d5e8C688E645Dd46DFb48Cd613250067": MetaFraxUSDABI, // fraxusdc
46
+ "0x2EB24483Ef551dA247ab87Cf18e1Cc980073032D": MetaFraxUSDBalancesABI, // fraxusdc
47
+ "0xF9B62b61d108232Ef0C9DD143bb3c22c7D4A715a": MetaFraxUSDABI, // fraxusdp
48
+ "0xB172AC2Fe440B5dA74Dc460e5E9d96bc2BF6261F": MetaFraxUSDBalancesABI, // fraxusdp
49
49
  "0xC6A8466d128Fbfd34AdA64a9FFFce325D57C9a52": MetaBTCABI,
50
50
  "0xc4C78b08fA0c3d0a312605634461A88184Ecd630": MetaBTCBalancesABI,
51
51
  "0xECAaecd9d2193900b424774133B1f51ae0F29d9E": MetaBTCRenABI,
@@ -56,9 +56,9 @@ export const implementationABIDictEthereum = lowerCaseKeys({
56
56
  "0x24D937143d3F5cF04c72bA112735151A8CAE2262": Plain2BalancesABI,
57
57
  "0x6326DEbBAa15bCFE603d831e7D75f4fc10d9B43E": Plain2ETHABI,
58
58
  "0x4A4d7868390EF5CaC51cDA262888f34bD3025C3F": Plain2OptimizedABI,
59
- "0xc629a01eC23AB04E1050500A3717A2a5c0701497": Plain2BasicABI,
60
- "0x847ee1227A9900B73aEeb3a47fAc92c52FD54ed9": Plain2ETHOracleABI,
61
- "0x94b4DFd9Ba5865Cc931195c99A2db42F3fc5d45B": Plain2ETHABI,
59
+ "0xc629a01eC23AB04E1050500A3717A2a5c0701497": Plain2BasicABI, // EMA id 4
60
+ "0x847ee1227A9900B73aEeb3a47fAc92c52FD54ed9": Plain2ETHOracleABI, // EMA id 5
61
+ "0x94b4DFd9Ba5865Cc931195c99A2db42F3fc5d45B": Plain2ETHABI, // EMA deprecated
62
62
  // !!! crvUSD Factory !!!
63
63
  "0x67fe41A94e779CcFa22cff02cc2957DC9C0e4286": Plain2BasicABI,
64
64
  "0x7Ca46A636b02D4aBC66883D7FF164bDE506DC66a": Plain2BalancesABI,
@@ -118,9 +118,9 @@ export const implementationABIDictFantom = lowerCaseKeys({
118
118
  });
119
119
  export const implementationABIDictAvalanche = lowerCaseKeys({
120
120
  "0xA237034249290De2B07988Ac64b96f22c0E76fE0": MetaUSDABI,
121
- "0xc50C05Ca1f8C2346664bd0d4a1eb6aC1Da38414f": MetaUSDBalancesABI,
121
+ "0xc50C05Ca1f8C2346664bd0d4a1eb6aC1Da38414f": MetaUSDBalancesABI, // 0x7f90122BF0700F9E7e1F688fe926940E8839F353
122
122
  "0xa27f39E9C21b3376F43266E13Ad5A5d6E9BdB320": MetaBTCRenABI,
123
- "0x505C34ED8dBE96d2D5C7D83158aA844887770970": MetaBTCRenBalancesABI,
123
+ "0x505C34ED8dBE96d2D5C7D83158aA844887770970": MetaBTCRenBalancesABI, // 0x16a7DA911A4DD1d83F3fF066fE28F3C792C50d90
124
124
  "0x697434ca761d4F86b553784B69F4f37F5eDf54dF": Plain2BasicABI,
125
125
  "0xBdFF0C27dd073C119ebcb1299a68A6A92aE607F0": Plain2BalancesABI,
126
126
  "0x64448B78561690B70E17CBE8029a3e5c1bB7136e": Plain2ETHABI,
@@ -139,13 +139,13 @@ export const implementationABIDictArbitrum = lowerCaseKeys({
139
139
  "0xBE175115BF33E12348ff77CcfEE4726866A0Fbd5": MetaUSDBalancesABI,
140
140
  "0x094d12e5b541784701FD8d65F11fc0598FBC6332": MetaBTCRenABI,
141
141
  "0xF1f85a74AD6c64315F85af52d3d46bF715236ADc": MetaBTCRenBalancesABI,
142
- "0x8DEb66a4A40E370355bEe35f12E55Fe9c755d686": MetaFraxUSDABI,
143
- "0x3edE9b145F82e9e46C03f8A8F67B77aEE847b632": MetaFraxUSDBalancesABI,
144
- "0x54e8A25d0Ac0E4945b697C80b8372445FEA17A62": Plain2BasicABI,
145
- "0x73Ec37618683C274D0bBf5f5726aA856B2BDAB81": Plain2BasicABI,
142
+ "0x8DEb66a4A40E370355bEe35f12E55Fe9c755d686": MetaFraxUSDABI, // fraxbp
143
+ "0x3edE9b145F82e9e46C03f8A8F67B77aEE847b632": MetaFraxUSDBalancesABI, // fraxbp
144
+ "0x54e8A25d0Ac0E4945b697C80b8372445FEA17A62": Plain2BasicABI, // id 0
145
+ "0x73Ec37618683C274D0bBf5f5726aA856B2BDAB81": Plain2BasicABI, // id 0 EMA
146
146
  "0xD68970e266cE1A015953897C7055a5E0bC657Af8": Plain2BalancesABI,
147
- "0x7DA64233Fefb352f8F501B357c018158ED8aA455": Plain2ETHABI,
148
- "0x6F9fb833501f46CBE6f6A4b6Cf32C834E5A5e8C5": Plain2ETHOracleABI,
147
+ "0x7DA64233Fefb352f8F501B357c018158ED8aA455": Plain2ETHABI, // id 2
148
+ "0x6F9fb833501f46CBE6f6A4b6Cf32C834E5A5e8C5": Plain2ETHOracleABI, // id 2 EMA
149
149
  "0x0100fBf414071977B19fC38e6fc7c32FE444F5C9": Plain2OptimizedABI,
150
150
  "0xe381C25de995d62b453aF8B931aAc84fcCaa7A62": Plain3BasicABI,
151
151
  "0xc379bA7b8e1c6C48D64e1cf9dD602C97c9fD0F40": Plain3BalancesABI,
@@ -161,11 +161,11 @@ export const implementationABIDictOptimism = lowerCaseKeys({
161
161
  "0xADf698e4d8Df08b3E2c79682891636eF00F6e205": MetaUSDBalancesABI,
162
162
  "0xe8269B33E47761f552E1a3070119560d5fa8bBD6": MetaFraxUSDABI,
163
163
  "0x114C4042B11a2b16F58Fe1BFe847589a122F678a": MetaFraxUSDBalancesABI,
164
- "0xC2b1DF84112619D190193E48148000e3990Bf627": Plain2BasicABI,
165
- "0x73Ec37618683C274D0bBf5f5726aA856B2BDAB81": Plain2BasicABI,
164
+ "0xC2b1DF84112619D190193E48148000e3990Bf627": Plain2BasicABI, // id 0
165
+ "0x73Ec37618683C274D0bBf5f5726aA856B2BDAB81": Plain2BasicABI, // id 0 EMA
166
166
  "0x16a7DA911A4DD1d83F3fF066fE28F3C792C50d90": Plain2BalancesABI,
167
- "0x4f3E8F405CF5aFC05D68142F3783bDfE13811522": Plain2ETHABI,
168
- "0x6F9fb833501f46CBE6f6A4b6Cf32C834E5A5e8C5": Plain2ETHOracleABI,
167
+ "0x4f3E8F405CF5aFC05D68142F3783bDfE13811522": Plain2ETHABI, // id 2
168
+ "0x6F9fb833501f46CBE6f6A4b6Cf32C834E5A5e8C5": Plain2ETHOracleABI, // id 2 EMA
169
169
  "0x0f9cb53Ebe405d49A0bbdBD291A65Ff571bC83e1": Plain2OptimizedABI,
170
170
  "0x78D0fC2B9D5AE65512DB242e424a9c683F18c243": Plain3BasicABI,
171
171
  "0x35796DAc54f144DFBAD1441Ec7C32313A7c29F39": Plain3BalancesABI,
@@ -2,8 +2,8 @@ import { lowerCaseValues } from "./utils.js";
2
2
  import { POOLS_DATA_ETHEREUM, LLAMMAS_DATA_ETHEREUM, POOLS_DATA_POLYGON, POOLS_DATA_FANTOM, POOLS_DATA_AVALANCHE, POOLS_DATA_ARBITRUM, POOLS_DATA_OPTIMISM, POOLS_DATA_XDAI, POOLS_DATA_MOONBEAM, POOLS_DATA_AURORA, POOLS_DATA_KAVA, POOLS_DATA_CELO, POOLS_DATA_ZKSYNC, POOLS_DATA_BASE, POOLS_DATA_BSC, POOLS_DATA_FRAXTAL, POOLS_DATA_XLAYER, POOLS_DATA_MANTLE, } from './pools/index.js';
3
3
  import { COINS_ETHEREUM, cTokensEthereum, yTokensEthereum, ycTokensEthereum, aTokensEthereum, COINS_OPTIMISM, COINS_POLYGON, aTokensPolygon, COINS_FANTOM, cTokensFantom, aTokensFantom, COINS_AVALANCHE, aTokensAvalanche, COINS_ARBITRUM, COINS_XDAI, COINS_MOONBEAM, COINS_AURORA, COINS_KAVA, COINS_CELO, COINS_ZKSYNC, COINS_BASE, COINS_BSC, COINS_FRAXTAL, COINS_XLAYER, COINS_MANTLE, } from "./coins/index.js";
4
4
  const ALIASES_ETHEREUM = lowerCaseValues({
5
- "crv": "0xD533a949740bb3306d119CC777fa900bA034cd52",
6
- "minter": '0xd061D61a4d941c39E5453435B6345Dc261C2fcE0',
5
+ "crv": "0xD533a949740bb3306d119CC777fa900bA034cd52", // <--- CHANGE
6
+ "minter": '0xd061D61a4d941c39E5453435B6345Dc261C2fcE0', // <--- RECOVERED
7
7
  "root_gauge_factory": "0x306A45a1478A000dC701A6e1f7a569afb8D9DCD6",
8
8
  "root_gauge_factory_arbitrum": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
9
9
  "voting_escrow": "0x5f3b5DfEb7B28CDbD7FAba78963EE202a494e2A2",
@@ -12,7 +12,7 @@ const ALIASES_ETHEREUM = lowerCaseValues({
12
12
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
13
13
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
14
14
  // "router": "0x16C6521Dff6baB339122a0FE25a9116693265353", v1.1.0
15
- "router": "0x45312ea0eFf7E09C83CBE249fa1d7598c4C8cd4e",
15
+ "router": "0x45312ea0eFf7E09C83CBE249fa1d7598c4C8cd4e", // v1.2.0
16
16
  "deposit_and_stake": "0x56C526b0159a258887e0d79ec3a80dfb940d0cD7",
17
17
  "stable_calc": "0x0DCDED3545D565bA3B19E683431381007245d983",
18
18
  "crypto_calc": '0xA72C85C258A81761433B4e8da60505Fe3Dd551CC',
@@ -32,7 +32,7 @@ const ALIASES_POLYGON = lowerCaseValues({
32
32
  "child_gauge_factory": "0x55a1C26CE60490A15Bdd6bD73De4F6346525e01e",
33
33
  "child_gauge_factory_old": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
34
34
  "voting_escrow": "0xb5acc710aede048600e10eedcefdf98d4abf4b1e",
35
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
35
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
36
36
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
37
37
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
38
38
  "router": "0x0DCDED3545D565bA3B19E683431381007245d983",
@@ -51,7 +51,7 @@ const ALIASES_FANTOM = lowerCaseValues({
51
51
  "child_gauge_factory": "0x004A476B5B76738E34c86C7144554B9d34402F13",
52
52
  "child_gauge_factory_old": "0xDb205f215f568ADf21b9573b62566f6d9a40bed6",
53
53
  "voting_escrow": "0xb75dca485e21a77e1b433ecacb74475fc67e259c",
54
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
54
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
55
55
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
56
56
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
57
57
  "router": "0x0DCDED3545D565bA3B19E683431381007245d983",
@@ -71,7 +71,7 @@ const ALIASES_AVALANCHE = lowerCaseValues({
71
71
  "child_gauge_factory": "0x97aDC08FA1D849D2C48C5dcC1DaB568B169b0267",
72
72
  "child_gauge_factory_old": "0xDb205f215f568ADf21b9573b62566f6d9a40bed6",
73
73
  "voting_escrow": "0xc55837710bc500f1e3c7bb9dd1d51f7c5647e657",
74
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
74
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
75
75
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
76
76
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
77
77
  "router": "0x0DCDED3545D565bA3B19E683431381007245d983",
@@ -88,7 +88,7 @@ const ALIASES_ARBITRUM = lowerCaseValues({
88
88
  "crv": "0x11cDb42B0EB46D95f990BeDD4695A6e3fA034978",
89
89
  "child_gauge_factory": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
90
90
  "voting_escrow": "0x98c80fa823759b642c3e02f40533c164f40727ae",
91
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
91
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
92
92
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
93
93
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
94
94
  "router": "0x2191718CD32d02B8E60BAdFFeA33E4B5DD9A0A0D",
@@ -106,7 +106,7 @@ const ALIASES_OPTIMISM = lowerCaseValues({
106
106
  "child_gauge_factory": "0x871fBD4E01012e2E8457346059e8C189d664DbA4",
107
107
  "child_gauge_factory_old": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
108
108
  "voting_escrow": "0x65a0b01756e837e6670634816e4f5b3a3ff21107",
109
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
109
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
110
110
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
111
111
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
112
112
  "router": "0x0DCDED3545D565bA3B19E683431381007245d983",
@@ -126,7 +126,7 @@ const ALIASES_XDAI = lowerCaseValues({
126
126
  "child_gauge_factory": "0x06471ED238306a427241B3eA81352244E77B004F",
127
127
  "child_gauge_factory_old": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
128
128
  "voting_escrow": "0xefde221f306152971d8e9f181bfe998447975810",
129
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
129
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
130
130
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
131
131
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
132
132
  "router": "0x0DCDED3545D565bA3B19E683431381007245d983",
@@ -144,7 +144,7 @@ const ALIASES_MOONBEAM = lowerCaseValues({
144
144
  "child_gauge_factory": "0xe35A879E5EfB4F1Bb7F70dCF3250f2e19f096bd8",
145
145
  "child_gauge_factory_old": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
146
146
  "voting_escrow": "0x0000000000000000000000000000000000000000",
147
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
147
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
148
148
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
149
149
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
150
150
  "stable_calc": "0xCA8d0747B5573D69653C3aC22242e6341C36e4b4",
@@ -154,30 +154,30 @@ const ALIASES_MOONBEAM = lowerCaseValues({
154
154
  });
155
155
  const ALIASES_AURORA = lowerCaseValues({
156
156
  "crv": "0x64D5BaF5ac030e2b7c435aDD967f787ae94D0205",
157
- "child_gauge_factory": "0xe35A879E5EfB4F1Bb7F70dCF3250f2e19f096bd8",
158
- "voting_escrow": "0x0000000000000000000000000000000000000000",
159
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
157
+ "child_gauge_factory": "0xe35A879E5EfB4F1Bb7F70dCF3250f2e19f096bd8", // <-- CHANGED
158
+ "voting_escrow": "0x0000000000000000000000000000000000000000", // <-- DUMMY
159
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
160
160
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
161
161
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
162
162
  "router": "0x0000000000000000000000000000000000000000",
163
163
  "deposit_and_stake": "0x0000000000000000000000000000000000000000",
164
- "stable_calc": "0xCA8d0747B5573D69653C3aC22242e6341C36e4b4",
165
- "crypto_calc": '0xA72C85C258A81761433B4e8da60505Fe3Dd551CC',
166
- "factory": '0x98EE851a00abeE0d95D08cF4CA2BdCE32aeaAF7F',
167
- "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
168
- "eywa_factory": '0x37F22A0B028f2152e6CAcef210e0C4d3b875f367',
169
- "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
170
- "twocrypto_factory": '0x98EE851a00abeE0d95D08cF4CA2BdCE32aeaAF7F',
171
- "tricrypto_factory": '0x0c0e5f2fF0ff18a3be9b835635039256dC4B4963',
164
+ "stable_calc": "0xCA8d0747B5573D69653C3aC22242e6341C36e4b4", // <-- CHANGED
165
+ "crypto_calc": '0xA72C85C258A81761433B4e8da60505Fe3Dd551CC', // <--- NEW
166
+ "factory": '0x98EE851a00abeE0d95D08cF4CA2BdCE32aeaAF7F', // <--- TODO CHANGE
167
+ "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d', // <-- DUMMY
168
+ "eywa_factory": '0x37F22A0B028f2152e6CAcef210e0C4d3b875f367', // <--- DUMMY
169
+ "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99', // <--- TODO CHANGE
170
+ "twocrypto_factory": '0x98EE851a00abeE0d95D08cF4CA2BdCE32aeaAF7F', // <--- NEW
171
+ "tricrypto_factory": '0x0c0e5f2fF0ff18a3be9b835635039256dC4B4963', // <--- TODO CHANGE
172
172
  "stable_ng_factory": '0x5eeE3091f747E60a045a2E715a4c71e600e31F6E',
173
173
  "factory_admin": "",
174
174
  });
175
175
  const ALIASES_KAVA = lowerCaseValues({
176
- "crv": "0x64D5BaF5ac030e2b7c435aDD967f787ae94D0205",
176
+ "crv": "0x64D5BaF5ac030e2b7c435aDD967f787ae94D0205", // <--- TODO CHANGE
177
177
  "child_gauge_factory": "0xe35A879E5EfB4F1Bb7F70dCF3250f2e19f096bd8",
178
178
  "child_gauge_factory_old": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
179
- "voting_escrow": "0x0000000000000000000000000000000000000000",
180
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
179
+ "voting_escrow": "0x0000000000000000000000000000000000000000", // <-- DUMMY
180
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
181
181
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
182
182
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
183
183
  "router": "0x0DCDED3545D565bA3B19E683431381007245d983",
@@ -191,11 +191,11 @@ const ALIASES_KAVA = lowerCaseValues({
191
191
  "factory_admin": "",
192
192
  });
193
193
  const ALIASES_CELO = lowerCaseValues({
194
- "crv": "0x0a7432cF27F1aE3825c313F3C81e7D3efD7639aB",
194
+ "crv": "0x0a7432cF27F1aE3825c313F3C81e7D3efD7639aB", // <--- TODO CHANGE
195
195
  "child_gauge_factory": "0xe35A879E5EfB4F1Bb7F70dCF3250f2e19f096bd8",
196
196
  "child_gauge_factory_old": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
197
- "voting_escrow": "0x0000000000000000000000000000000000000000",
198
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
197
+ "voting_escrow": "0x0000000000000000000000000000000000000000", // <-- DUMMY
198
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
199
199
  "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
200
200
  "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
201
201
  "stable_calc": "0xCA8d0747B5573D69653C3aC22242e6341C36e4b4",
@@ -221,13 +221,13 @@ const ALIASES_ZKSYNC = lowerCaseValues({
221
221
  "factory_admin": "0x0000000000000000000000000000000000000000",
222
222
  });
223
223
  const ALIASES_BASE = lowerCaseValues({
224
- "crv": "0x8Ee73c484A26e0A5df2Ee2a4960B789967dd0415",
224
+ "crv": "0x8Ee73c484A26e0A5df2Ee2a4960B789967dd0415", // <--- TODO CHANGE
225
225
  "child_gauge_factory": "0xe35A879E5EfB4F1Bb7F70dCF3250f2e19f096bd8",
226
226
  "child_gauge_factory_old": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
227
- "voting_escrow": "0x0000000000000000000000000000000000000000",
228
- "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc",
229
- "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
230
- "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
227
+ "voting_escrow": "0x0000000000000000000000000000000000000000", // <-- DUMMY
228
+ "fee_distributor": "0xA464e6DCda8AC41e03616F95f4BC98a13b8922Dc", // <-- DUMMY
229
+ "gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB", // <--- TODO CHANGE
230
+ "address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383", // <--- TODO CHANGE
231
231
  "router": "0x4f37A9d177470499A2dD084621020b023fcffc1F",
232
232
  "deposit_and_stake": "0x69522fb5337663d3B4dFB0030b881c1A750Adb4f",
233
233
  "stable_calc": "0x5552b631e2aD801fAa129Aacf4B701071cC9D1f7",
@@ -242,13 +242,13 @@ const ALIASES_BASE = lowerCaseValues({
242
242
  "gas_oracle_blob": '0x420000000000000000000000000000000000000f',
243
243
  });
244
244
  const ALIASES_BSC = lowerCaseValues({
245
- "crv": "0x8Ee73c484A26e0A5df2Ee2a4960B789967dd0415",
245
+ "crv": "0x8Ee73c484A26e0A5df2Ee2a4960B789967dd0415", // <--- TODO CHANGE
246
246
  "child_gauge_factory": "0xe35A879E5EfB4F1Bb7F70dCF3250f2e19f096bd8",
247
247
  "child_gauge_factory_old": "0xDb205f215f568ADf21b9573b62566f6d9a40bed6",
248
- "voting_escrow": "0x0000000000000000000000000000000000000000",
249
- "fee_distributor": "0x0000000000000000000000000000000000000000",
250
- "gauge_controller": "0x0000000000000000000000000000000000000000",
251
- "address_provider": "0x0000000000000000000000000000000000000000",
248
+ "voting_escrow": "0x0000000000000000000000000000000000000000", // <-- TODO CHANGE
249
+ "fee_distributor": "0x0000000000000000000000000000000000000000", // <-- TODO CHANGE
250
+ "gauge_controller": "0x0000000000000000000000000000000000000000", // <--- TODO CHANGE
251
+ "address_provider": "0x0000000000000000000000000000000000000000", // <--- TODO CHANGE
252
252
  "router": "0xA72C85C258A81761433B4e8da60505Fe3Dd551CC",
253
253
  "deposit_and_stake": "0x4f37A9d177470499A2dD084621020b023fcffc1F",
254
254
  "stable_calc": "0x0fE38dCC905eC14F6099a83Ac5C93BF2601300CF",
@@ -1,12 +1,12 @@
1
1
  import { lowerCasePoolDataAddresses } from "../utils.js";
2
- import twopoolSwapABI from '../abis/2pool/swap.json' assert { type: 'json' };
3
- import tricrypto2SwapABI from '../abis/tricrypto2/swap.json' assert { type: 'json' };
4
- import tricrypto2DepositABI from '../abis/tricrypto2/deposit.json' assert { type: 'json' };
5
- import eursusdSwapABI from '../abis/eursusd2/swap.json' assert { type: 'json' };
6
- import eursusdZapABI from '../abis/eursusd2/zap.json' assert { type: 'json' };
7
- import renSwapABI from '../abis/ren-arbitrum/swap.json' assert { type: 'json' };
8
- import gaugeChildABI from '../abis/gauge_child.json' assert { type: 'json' };
9
- import wstETHSwapABI from "../abis/wsteth/swap.json" assert { type: 'json' };
2
+ import twopoolSwapABI from '../abis/2pool/swap.json' with { type: 'json' };
3
+ import tricrypto2SwapABI from '../abis/tricrypto2/swap.json' with { type: 'json' };
4
+ import tricrypto2DepositABI from '../abis/tricrypto2/deposit.json' with { type: 'json' };
5
+ import eursusdSwapABI from '../abis/eursusd2/swap.json' with { type: 'json' };
6
+ import eursusdZapABI from '../abis/eursusd2/zap.json' with { type: 'json' };
7
+ import renSwapABI from '../abis/ren-arbitrum/swap.json' with { type: 'json' };
8
+ import gaugeChildABI from '../abis/gauge_child.json' with { type: 'json' };
9
+ import wstETHSwapABI from "../abis/wsteth/swap.json" with { type: 'json' };
10
10
  export const POOLS_DATA_ARBITRUM = lowerCasePoolDataAddresses({
11
11
  '2pool': {
12
12
  name: "2pool",
@@ -1,6 +1,6 @@
1
1
  import { lowerCasePoolDataAddresses } from "../utils.js";
2
- import tripoolSwapABI from '../abis/3pool-optimism/swap.json' assert { type: 'json' };
3
- import gaugeRewardsOnlyABI from '../abis/gauge_rewards_only.json' assert { type: 'json' };
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
4
  export const POOLS_DATA_AURORA = lowerCasePoolDataAddresses({
5
5
  '3pool': {
6
6
  name: "3pool",
@@ -1,11 +1,11 @@
1
1
  import { lowerCasePoolDataAddresses } from "../utils.js";
2
- import aaveSwapABI from '../abis/aave/swap.json' assert { type: 'json' };
3
- import renSwapABI from '../abis/ren-polygon/swap.json' assert { type: 'json' };
4
- import atricrypto3Swap from '../abis/atricrypto3/swap.json' assert { type: 'json' };
5
- import atricrypto3Zap from '../abis/atricrypto3/zap.json' assert { type: 'json' };
6
- import AVAXCryptoSwapABI from "../abis/avaxcrypto/swap.json" assert { type: 'json' };
7
- import AVAXCryptoZapABI from "../abis/avaxcrypto/zap.json" assert { type: 'json' };
8
- import gaugeChildABI from '../abis/gauge_child.json' assert { type: 'json' };
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
9
  export const POOLS_DATA_AVALANCHE = lowerCasePoolDataAddresses({
10
10
  aave: {
11
11
  name: "aave",
@@ -82,15 +82,15 @@ export const POOLS_DATA_AVALANCHE = lowerCasePoolDataAddresses({
82
82
  underlying_coins: ['DAI.e', 'USDC.e', 'USDT.e', 'WBTC.e', 'WETH.e'],
83
83
  wrapped_coins: ['av3CRV', 'avWBTC', 'avWETH'],
84
84
  underlying_coin_addresses: [
85
- '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70',
86
- '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664',
87
- '0xc7198437980c041c805A1EDcbA50c1Ce5db95118',
88
- '0x50b7545627a5162F82A992c33b87aDc75187B218',
85
+ '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // DAI.e
86
+ '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // USDC.e
87
+ '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // USDT.e
88
+ '0x50b7545627a5162F82A992c33b87aDc75187B218', // WBTC.e
89
89
  '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', // WETH.e
90
90
  ],
91
91
  wrapped_coin_addresses: [
92
- '0x1337BedC9D22ecbe766dF105c9623922A27963EC',
93
- '0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D',
92
+ '0x1337BedC9D22ecbe766dF105c9623922A27963EC', // av3CRV
93
+ '0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D', // avWBTC
94
94
  '0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21', // avWETH
95
95
  ],
96
96
  underlying_decimals: [18, 6, 6, 8, 18],