@curvefi/api 2.31.0 → 2.32.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 (100) hide show
  1. package/lib/boosting.js +137 -402
  2. package/lib/constants/abis/stable_calc.json +151 -0
  3. package/lib/constants/abis/wbeth/swap.json +1086 -0
  4. package/lib/constants/aliases.d.ts +11 -11
  5. package/lib/constants/aliases.js +23 -15
  6. package/lib/constants/coins/arbitrum.js +6 -9
  7. package/lib/constants/coins/aurora.js +6 -9
  8. package/lib/constants/coins/avalanche.js +7 -10
  9. package/lib/constants/coins/celo.js +6 -9
  10. package/lib/constants/coins/ethereum.js +10 -13
  11. package/lib/constants/coins/fantom.js +8 -11
  12. package/lib/constants/coins/kava.js +6 -9
  13. package/lib/constants/coins/moonbeam.js +6 -9
  14. package/lib/constants/coins/optimism.js +6 -9
  15. package/lib/constants/coins/polygon.js +7 -10
  16. package/lib/constants/coins/xdai.js +6 -9
  17. package/lib/constants/pools/arbitrum.d.ts +2 -4
  18. package/lib/constants/pools/arbitrum.js +22 -28
  19. package/lib/constants/pools/aurora.d.ts +2 -4
  20. package/lib/constants/pools/aurora.js +6 -12
  21. package/lib/constants/pools/avalanche.d.ts +2 -4
  22. package/lib/constants/pools/avalanche.js +21 -27
  23. package/lib/constants/pools/celo.d.ts +2 -4
  24. package/lib/constants/pools/celo.js +2 -5
  25. package/lib/constants/pools/ethereum.js +272 -253
  26. package/lib/constants/pools/fantom.d.ts +2 -4
  27. package/lib/constants/pools/fantom.js +28 -34
  28. package/lib/constants/pools/index.d.ts +11 -11
  29. package/lib/constants/pools/index.js +12 -25
  30. package/lib/constants/pools/kava.d.ts +2 -4
  31. package/lib/constants/pools/kava.js +2 -5
  32. package/lib/constants/pools/moonbeam.d.ts +2 -4
  33. package/lib/constants/pools/moonbeam.js +6 -12
  34. package/lib/constants/pools/optimism.d.ts +2 -4
  35. package/lib/constants/pools/optimism.js +9 -15
  36. package/lib/constants/pools/polygon.d.ts +2 -4
  37. package/lib/constants/pools/polygon.js +22 -28
  38. package/lib/constants/pools/xdai.d.ts +2 -4
  39. package/lib/constants/pools/xdai.js +24 -30
  40. package/lib/constants/utils.d.ts +1 -1
  41. package/lib/constants/utils.js +20 -29
  42. package/lib/curve.d.ts +9 -7
  43. package/lib/curve.js +399 -615
  44. package/lib/external-api.d.ts +1 -1
  45. package/lib/external-api.js +47 -140
  46. package/lib/factory/common.js +6 -10
  47. package/lib/factory/constants-crypto.js +48 -54
  48. package/lib/factory/constants.js +274 -280
  49. package/lib/factory/deploy.d.ts +8 -8
  50. package/lib/factory/deploy.js +177 -347
  51. package/lib/factory/factory-api.js +195 -278
  52. package/lib/factory/factory-crypto.js +170 -323
  53. package/lib/factory/factory.js +195 -350
  54. package/lib/index.d.ts +24 -25
  55. package/lib/index.js +87 -143
  56. package/lib/interfaces.d.ts +6 -11
  57. package/lib/interfaces.js +1 -2
  58. package/lib/pools/PoolTemplate.js +1478 -2931
  59. package/lib/pools/index.d.ts +2 -2
  60. package/lib/pools/index.js +3 -7
  61. package/lib/pools/mixins/common.d.ts +3 -4
  62. package/lib/pools/mixins/common.js +23 -112
  63. package/lib/pools/mixins/depositBalancedAmountsMixins.d.ts +1 -1
  64. package/lib/pools/mixins/depositBalancedAmountsMixins.js +50 -139
  65. package/lib/pools/mixins/depositMixins.d.ts +1 -1
  66. package/lib/pools/mixins/depositMixins.js +144 -417
  67. package/lib/pools/mixins/depositWrappedMixins.d.ts +1 -1
  68. package/lib/pools/mixins/depositWrappedMixins.js +72 -227
  69. package/lib/pools/mixins/poolBalancesMixin.d.ts +1 -1
  70. package/lib/pools/mixins/poolBalancesMixin.js +25 -105
  71. package/lib/pools/mixins/swapMixins.d.ts +1 -1
  72. package/lib/pools/mixins/swapMixins.js +127 -353
  73. package/lib/pools/mixins/swapWrappedMixins.d.ts +1 -1
  74. package/lib/pools/mixins/swapWrappedMixins.js +90 -276
  75. package/lib/pools/mixins/withdrawExpectedMixins.d.ts +1 -1
  76. package/lib/pools/mixins/withdrawExpectedMixins.js +26 -110
  77. package/lib/pools/mixins/withdrawImbalanceMixins.d.ts +1 -1
  78. package/lib/pools/mixins/withdrawImbalanceMixins.js +99 -321
  79. package/lib/pools/mixins/withdrawImbalanceWrappedMixins.d.ts +1 -1
  80. package/lib/pools/mixins/withdrawImbalanceWrappedMixins.js +53 -192
  81. package/lib/pools/mixins/withdrawMixins.d.ts +1 -1
  82. package/lib/pools/mixins/withdrawMixins.js +123 -390
  83. package/lib/pools/mixins/withdrawOneCoinExpectedMixins.d.ts +1 -1
  84. package/lib/pools/mixins/withdrawOneCoinExpectedMixins.js +17 -92
  85. package/lib/pools/mixins/withdrawOneCoinMixins.d.ts +1 -1
  86. package/lib/pools/mixins/withdrawOneCoinMixins.js +124 -390
  87. package/lib/pools/mixins/withdrawOneCoinWrappedExpectedMixins.d.ts +1 -1
  88. package/lib/pools/mixins/withdrawOneCoinWrappedExpectedMixins.js +9 -66
  89. package/lib/pools/mixins/withdrawOneCoinWrappedMixins.d.ts +1 -1
  90. package/lib/pools/mixins/withdrawOneCoinWrappedMixins.js +55 -190
  91. package/lib/pools/mixins/withdrawWrappedMixins.d.ts +1 -1
  92. package/lib/pools/mixins/withdrawWrappedMixins.js +52 -191
  93. package/lib/pools/poolConstructor.d.ts +1 -1
  94. package/lib/pools/poolConstructor.js +77 -101
  95. package/lib/pools/utils.js +299 -500
  96. package/lib/router.d.ts +2 -2
  97. package/lib/router.js +221 -689
  98. package/lib/utils.d.ts +9 -9
  99. package/lib/utils.js +377 -731
  100. package/package.json +9 -8
@@ -1,98 +1,93 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.POOLS_DATA_ETHEREUM = void 0;
7
- var gauge_json_1 = __importDefault(require("../abis/gauge.json"));
8
- var gauge_synthetix_json_1 = __importDefault(require("../abis/gauge_synthetix.json"));
9
- var gauge_v2_json_1 = __importDefault(require("../abis/gauge_v2.json"));
10
- var gauge_v3_json_1 = __importDefault(require("../abis/gauge_v3.json"));
11
- var gauge_v4_json_1 = __importDefault(require("../abis/gauge_v4.json"));
12
- var gauge_v5_json_1 = __importDefault(require("../abis/gauge_v5.json"));
13
- var gauge_factory_json_1 = __importDefault(require("../abis/gauge_factory.json"));
14
- var deposit_json_1 = __importDefault(require("../abis/compound/deposit.json"));
15
- var swap_json_1 = __importDefault(require("../abis/compound/swap.json"));
16
- var deposit_json_2 = __importDefault(require("../abis/usdt/deposit.json"));
17
- var swap_json_2 = __importDefault(require("../abis/usdt/swap.json"));
18
- var deposit_json_3 = __importDefault(require("../abis/iearn/deposit.json"));
19
- var swap_json_3 = __importDefault(require("../abis/iearn/swap.json"));
20
- var deposit_json_4 = __importDefault(require("../abis/busd/deposit.json"));
21
- var swap_json_4 = __importDefault(require("../abis/busd/swap.json"));
22
- var deposit_json_5 = __importDefault(require("../abis/susdv2/deposit.json"));
23
- var swap_json_5 = __importDefault(require("../abis/susdv2/swap.json"));
24
- var sCurveRewards_json_1 = __importDefault(require("../abis/susdv2/sCurveRewards.json"));
25
- var deposit_json_6 = __importDefault(require("../abis/pax/deposit.json"));
26
- var swap_json_6 = __importDefault(require("../abis/pax/swap.json"));
27
- var swap_json_7 = __importDefault(require("../abis/ren/swap.json"));
28
- var swap_json_8 = __importDefault(require("../abis/sbtc/swap.json"));
29
- var sCurveRewards_json_2 = __importDefault(require("../abis/sbtc/sCurveRewards.json"));
30
- var swap_json_9 = __importDefault(require("../abis/hbtc/swap.json"));
31
- var swap_json_10 = __importDefault(require("../abis/3pool/swap.json"));
32
- var swap_json_11 = __importDefault(require("../abis/gusd/swap.json"));
33
- var deposit_json_7 = __importDefault(require("../abis/gusd/deposit.json"));
34
- var swap_json_12 = __importDefault(require("../abis/husd/swap.json"));
35
- var deposit_json_8 = __importDefault(require("../abis/husd/deposit.json"));
36
- var swap_json_13 = __importDefault(require("../abis/usdk/swap.json"));
37
- var deposit_json_9 = __importDefault(require("../abis/usdk/deposit.json"));
38
- var swap_json_14 = __importDefault(require("../abis/usdn/swap.json"));
39
- var deposit_json_10 = __importDefault(require("../abis/usdn/deposit.json"));
40
- var swap_json_15 = __importDefault(require("../abis/musd/swap.json"));
41
- var deposit_json_11 = __importDefault(require("../abis/musd/deposit.json"));
42
- var sCurveRewards_json_3 = __importDefault(require("../abis/musd/sCurveRewards.json"));
43
- var swap_json_16 = __importDefault(require("../abis/rsv/swap.json"));
44
- var deposit_json_12 = __importDefault(require("../abis/rsv/deposit.json"));
45
- var sCurveRewards_json_4 = __importDefault(require("../abis/rsv/sCurveRewards.json"));
46
- var swap_json_17 = __importDefault(require("../abis/tbtc/swap.json"));
47
- var deposit_json_13 = __importDefault(require("../abis/tbtc/deposit.json"));
48
- var sCurveRewards_json_5 = __importDefault(require("../abis/tbtc/sCurveRewards.json"));
49
- var swap_json_18 = __importDefault(require("../abis/dusd/swap.json"));
50
- var deposit_json_14 = __importDefault(require("../abis/dusd/deposit.json"));
51
- var sCurveRewards_json_6 = __importDefault(require("../abis/dusd/sCurveRewards.json"));
52
- var swap_json_19 = __importDefault(require("../abis/pbtc/swap.json"));
53
- var deposit_json_15 = __importDefault(require("../abis/pbtc/deposit.json"));
54
- var sCurveRewards_json_7 = __importDefault(require("../abis/pbtc/sCurveRewards.json"));
55
- var swap_json_20 = __importDefault(require("../abis/bbtc/swap.json"));
56
- var deposit_json_16 = __importDefault(require("../abis/bbtc/deposit.json"));
57
- var swap_json_21 = __importDefault(require("../abis/obtc/swap.json"));
58
- var deposit_json_17 = __importDefault(require("../abis/obtc/deposit.json"));
59
- var sCurveRewards_json_8 = __importDefault(require("../abis/obtc/sCurveRewards.json"));
60
- var swap_json_22 = __importDefault(require("../abis/seth/swap.json"));
61
- var swap_json_23 = __importDefault(require("../abis/eurs/swap.json"));
62
- var sCurveRewards_json_9 = __importDefault(require("../abis/eurs/sCurveRewards.json"));
63
- var swap_json_24 = __importDefault(require("../abis/ust/swap.json"));
64
- var deposit_json_18 = __importDefault(require("../abis/ust/deposit.json"));
65
- var swap_json_25 = __importDefault(require("../abis/aave/swap.json"));
66
- var rewards_json_1 = __importDefault(require("../abis/aave/rewards.json"));
67
- var swap_json_26 = __importDefault(require("../abis/steth/swap.json"));
68
- var sCurveRewards_json_10 = __importDefault(require("../abis/steth/sCurveRewards.json"));
69
- var swap_json_27 = __importDefault(require("../abis/saave/swap.json"));
70
- var swap_json_28 = __importDefault(require("../abis/ankreth/swap.json"));
71
- var sCurveRewards_json_11 = __importDefault(require("../abis/ankreth/sCurveRewards.json"));
72
- var swap_json_29 = __importDefault(require("../abis/usdp/swap.json"));
73
- var deposit_json_19 = __importDefault(require("../abis/usdp/deposit.json"));
74
- var swap_json_30 = __importDefault(require("../abis/ib/swap.json"));
75
- var swap_json_31 = __importDefault(require("../abis/link/swap.json"));
76
- var swap_json_32 = __importDefault(require("../abis/reth/swap.json"));
77
- var swap_json_33 = __importDefault(require("../abis/factoryPools/swap.json"));
78
- var deposit_json_20 = __importDefault(require("../abis/factoryPools/deposit.json"));
79
- var rewards_json_2 = __importDefault(require("../abis/factoryPools/rewards.json"));
80
- var swap_json_34 = __importDefault(require("../abis/tricrypto2/swap.json"));
81
- var deposit_json_21 = __importDefault(require("../abis/tricrypto2/deposit.json"));
82
- var swap_json_35 = __importDefault(require("../abis/eurt/swap.json"));
83
- var swap_json_36 = __importDefault(require("../abis/eurtusd/swap.json"));
84
- var deposit_json_22 = __importDefault(require("../abis/eurtusd/deposit.json"));
85
- var swap_json_37 = __importDefault(require("../abis/eursusd/swap.json"));
86
- var swap_json_38 = __importDefault(require("../abis/crveth/swap.json"));
87
- var swap_json_39 = __importDefault(require("../abis/rai/swap.json"));
88
- var deposit_json_23 = __importDefault(require("../abis/rai/deposit.json"));
89
- var swap_json_40 = __importDefault(require("../abis/2pool/swap.json"));
90
- var swap_json_41 = __importDefault(require("../abis/4pool/swap.json"));
91
- var swap_json_42 = __importDefault(require("../abis/fraxusdc/swap.json"));
92
- var swap_json_43 = __importDefault(require("../abis/frxeth/swap.json"));
93
- var swap_json_44 = __importDefault(require("../abis/sbtc2/swap.json"));
94
- var utils_1 = require("../utils");
95
- exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1
+ import { lowerCasePoolDataAddresses } from "../utils.js";
2
+ import gaugeABI from "../abis/gauge.json" assert { type: 'json' };
3
+ import gaugeSynthetixABI from "../abis/gauge_synthetix.json" assert { type: 'json' };
4
+ import gaugeV2ABI from "../abis/gauge_v2.json" assert { type: 'json' };
5
+ import gaugeV3ABI from "../abis/gauge_v3.json" assert { type: 'json' };
6
+ import gaugeV4ABI from "../abis/gauge_v4.json" assert { type: 'json' };
7
+ import gaugeV5ABI from "../abis/gauge_v5.json" assert { type: 'json' };
8
+ import gaugeFactoryABI from "../abis/gauge_factory.json" assert { type: 'json' };
9
+ import compoundDepositABI from '../abis/compound/deposit.json' assert { type: 'json' };
10
+ import compoundSwapABI from '../abis/compound/swap.json' assert { type: 'json' };
11
+ import usdtDepositABI from '../abis/usdt/deposit.json' assert { type: 'json' };
12
+ import usdtSwapABI from '../abis/usdt/swap.json' assert { type: 'json' };
13
+ import iearnDepositABI from '../abis/iearn/deposit.json' assert { type: 'json' };
14
+ import iearnSwapABI from '../abis/iearn/swap.json' assert { type: 'json' };
15
+ import busdDepositABI from '../abis/busd/deposit.json' assert { type: 'json' };
16
+ import busdSwapABI from '../abis/busd/swap.json' assert { type: 'json' };
17
+ import susdv2DepositABI from '../abis/susdv2/deposit.json' assert { type: 'json' };
18
+ import susdv2SwapABI from '../abis/susdv2/swap.json' assert { type: 'json' };
19
+ import susdv2SCurveRewards_abi from '../abis/susdv2/sCurveRewards.json' assert { type: 'json' };
20
+ import paxDepositABI from '../abis/pax/deposit.json' assert { type: 'json' };
21
+ import paxSwapABI from '../abis/pax/swap.json' assert { type: 'json' };
22
+ import renSwapABI from '../abis/ren/swap.json' assert { type: 'json' };
23
+ import sbtcSwapABI from '../abis/sbtc/swap.json' assert { type: 'json' };
24
+ import sbtcSCurveRewardsABI from '../abis/sbtc/sCurveRewards.json' assert { type: 'json' };
25
+ import hbtcSwapABI from '../abis/hbtc/swap.json' assert { type: 'json' };
26
+ import tripoolSwapABI from '../abis/3pool/swap.json' assert { type: 'json' };
27
+ import gusdSwapABI from '../abis/gusd/swap.json' assert { type: 'json' };
28
+ import gusdDepositABI from '../abis/gusd/deposit.json' assert { type: 'json' };
29
+ import husdSwapABI from '../abis/husd/swap.json' assert { type: 'json' };
30
+ import husdDepositABI from '../abis/husd/deposit.json' assert { type: 'json' };
31
+ import usdkSwapABI from '../abis/usdk/swap.json' assert { type: 'json' };
32
+ import usdkDepositABI from '../abis/usdk/deposit.json' assert { type: 'json' };
33
+ import usdnSwapABI from '../abis/usdn/swap.json' assert { type: 'json' };
34
+ import usdnDepositABI from '../abis/usdn/deposit.json' assert { type: 'json' };
35
+ import musdSwapABI from '../abis/musd/swap.json' assert { type: 'json' };
36
+ import musdDepositABI from '../abis/musd/deposit.json' assert { type: 'json' };
37
+ import musdSCurveRewards_abi from '../abis/musd/sCurveRewards.json' assert { type: 'json' };
38
+ import rsvSwapABI from '../abis/rsv/swap.json' assert { type: 'json' };
39
+ import rsvDepositABI from '../abis/rsv/deposit.json' assert { type: 'json' };
40
+ import rsvSCurveRewards_abi from '../abis/rsv/sCurveRewards.json' assert { type: 'json' };
41
+ import tbtcSwapABI from '../abis/tbtc/swap.json' assert { type: 'json' };
42
+ import tbtcDepositABI from '../abis/tbtc/deposit.json' assert { type: 'json' };
43
+ import tbtcSCurveRewards_abi from '../abis/tbtc/sCurveRewards.json' assert { type: 'json' };
44
+ import dusdSwapABI from '../abis/dusd/swap.json' assert { type: 'json' };
45
+ import dusdDepositABI from '../abis/dusd/deposit.json' assert { type: 'json' };
46
+ import dusdSCurveRewards_abi from '../abis/dusd/sCurveRewards.json' assert { type: 'json' };
47
+ import pbtcSwapABI from '../abis/pbtc/swap.json' assert { type: 'json' };
48
+ import pbtcDepositABI from '../abis/pbtc/deposit.json' assert { type: 'json' };
49
+ import pbtcSCurveRewards_abi from '../abis/pbtc/sCurveRewards.json' assert { type: 'json' };
50
+ import bbtcSwapABI from '../abis/bbtc/swap.json' assert { type: 'json' };
51
+ import bbtcDepositABI from '../abis/bbtc/deposit.json' assert { type: 'json' };
52
+ import obtcSwapABI from '../abis/obtc/swap.json' assert { type: 'json' };
53
+ import obtcDepositABI from '../abis/obtc/deposit.json' assert { type: 'json' };
54
+ import obtcSCurveRewards_abi from '../abis/obtc/sCurveRewards.json' assert { type: 'json' };
55
+ import sethSwapABI from '../abis/seth/swap.json' assert { type: 'json' };
56
+ import eursSwapABI from '../abis/eurs/swap.json' assert { type: 'json' };
57
+ import eursSCurveRewards_abi from '../abis/eurs/sCurveRewards.json' assert { type: 'json' };
58
+ import ustSwapABI from '../abis/ust/swap.json' assert { type: 'json' };
59
+ import ustDepositABI from '../abis/ust/deposit.json' assert { type: 'json' };
60
+ import aaveSwapABI from '../abis/aave/swap.json' assert { type: 'json' };
61
+ import aaveRewardsABI from '../abis/aave/rewards.json' assert { type: 'json' };
62
+ import stethSwapABI from '../abis/steth/swap.json' assert { type: 'json' };
63
+ import stethSCurveRewards_abi from '../abis/steth/sCurveRewards.json' assert { type: 'json' };
64
+ import saaveSwapABI from '../abis/saave/swap.json' assert { type: 'json' };
65
+ import ankrethSwapABI from '../abis/ankreth/swap.json' assert { type: 'json' };
66
+ import ankrethSCurveRewards_abi from '../abis/ankreth/sCurveRewards.json' assert { type: 'json' };
67
+ import usdpSwapABI from '../abis/usdp/swap.json' assert { type: 'json' };
68
+ import usdpDepositABI from '../abis/usdp/deposit.json' assert { type: 'json' };
69
+ import ibSwapABI from '../abis/ib/swap.json' assert { type: 'json' };
70
+ import linkSwapABI from '../abis/link/swap.json' assert { type: 'json' };
71
+ import rethSwapABI from '../abis/reth/swap.json' assert { type: 'json' };
72
+ import factorySwapABI from '../abis/factoryPools/swap.json' assert { type: 'json' };
73
+ import factoryDepositABI from '../abis/factoryPools/deposit.json' assert { type: 'json' };
74
+ import factoryRewardsABI from '../abis/factoryPools/rewards.json' assert { type: 'json' };
75
+ import tricrypto2SwapABI from '../abis/tricrypto2/swap.json' assert { type: 'json' };
76
+ import tricrypto2DepositABI from '../abis/tricrypto2/deposit.json' assert { type: 'json' };
77
+ import eurtSwapABI from '../abis/eurt/swap.json' assert { type: 'json' };
78
+ import eurtusdSwapABI from '../abis/eurtusd/swap.json' assert { type: 'json' };
79
+ import eurtusdDepositABI from '../abis/eurtusd/deposit.json' assert { type: 'json' };
80
+ import eursusdSwapABI from '../abis/eursusd/swap.json' assert { type: 'json' };
81
+ import crvethSwapABI from '../abis/crveth/swap.json' assert { type: 'json' };
82
+ import raiSwapABI from '../abis/rai/swap.json' assert { type: 'json' };
83
+ import raiDepositABI from '../abis/rai/deposit.json' assert { type: 'json' };
84
+ import twopoolSwapABI from '../abis/2pool/swap.json' assert { type: 'json' };
85
+ import fourpoolSwapABI from '../abis/4pool/swap.json' assert { type: 'json' };
86
+ import fraxusdcSwapABI from '../abis/fraxusdc/swap.json' assert { type: 'json' };
87
+ import frxethSwapABI from '../abis/frxeth/swap.json' assert { type: 'json' };
88
+ import sbtc2SwapABI from '../abis/sbtc2/swap.json' assert { type: 'json' };
89
+ import wbethSwapABI from '../abis/wbeth/swap.json' assert { type: 'json' };
90
+ export const POOLS_DATA_ETHEREUM = lowerCasePoolDataAddresses({
96
91
  compound: {
97
92
  name: "compound",
98
93
  full_name: "compound",
@@ -116,9 +111,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
116
111
  underlying_decimals: [18, 6],
117
112
  wrapped_decimals: [8, 8],
118
113
  use_lending: [true, true],
119
- swap_abi: swap_json_1.default,
120
- gauge_abi: gauge_json_1.default,
121
- deposit_abi: deposit_json_1.default,
114
+ swap_abi: compoundSwapABI,
115
+ gauge_abi: gaugeABI,
116
+ deposit_abi: compoundDepositABI,
122
117
  },
123
118
  usdt: {
124
119
  name: "usdt",
@@ -145,9 +140,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
145
140
  underlying_decimals: [18, 6, 6],
146
141
  wrapped_decimals: [8, 8, 6],
147
142
  use_lending: [true, true, false],
148
- swap_abi: swap_json_2.default,
149
- gauge_abi: gauge_json_1.default,
150
- deposit_abi: deposit_json_2.default,
143
+ swap_abi: usdtSwapABI,
144
+ gauge_abi: gaugeABI,
145
+ deposit_abi: usdtDepositABI,
151
146
  },
152
147
  y: {
153
148
  name: "y",
@@ -177,9 +172,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
177
172
  underlying_decimals: [18, 6, 6, 18],
178
173
  wrapped_decimals: [18, 6, 6, 18],
179
174
  use_lending: [true, true, true, true],
180
- swap_abi: swap_json_3.default,
181
- gauge_abi: gauge_json_1.default,
182
- deposit_abi: deposit_json_3.default,
175
+ swap_abi: iearnSwapABI,
176
+ gauge_abi: gaugeABI,
177
+ deposit_abi: iearnDepositABI,
183
178
  // sCurveRewards_abi: iearnSCurveRewardsABI,
184
179
  },
185
180
  busd: {
@@ -209,9 +204,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
209
204
  underlying_decimals: [18, 6, 6, 18],
210
205
  wrapped_decimals: [18, 6, 6, 18],
211
206
  use_lending: [true, true, true, true],
212
- swap_abi: swap_json_4.default,
213
- gauge_abi: gauge_json_1.default,
214
- deposit_abi: deposit_json_4.default,
207
+ swap_abi: busdSwapABI,
208
+ gauge_abi: gaugeABI,
209
+ deposit_abi: busdDepositABI,
215
210
  },
216
211
  susd: {
217
212
  name: "susd",
@@ -240,10 +235,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
240
235
  ],
241
236
  underlying_decimals: [18, 6, 6, 18],
242
237
  wrapped_decimals: [18, 6, 6, 18],
243
- swap_abi: swap_json_5.default,
244
- gauge_abi: gauge_synthetix_json_1.default,
245
- deposit_abi: deposit_json_5.default,
246
- sCurveRewards_abi: sCurveRewards_json_1.default,
238
+ swap_abi: susdv2SwapABI,
239
+ gauge_abi: gaugeSynthetixABI,
240
+ deposit_abi: susdv2DepositABI,
241
+ sCurveRewards_abi: susdv2SCurveRewards_abi,
247
242
  },
248
243
  pax: {
249
244
  name: "pax",
@@ -272,9 +267,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
272
267
  underlying_decimals: [18, 6, 6, 18],
273
268
  wrapped_decimals: [18, 6, 6, 18],
274
269
  use_lending: [true, true, true, false],
275
- swap_abi: swap_json_6.default,
276
- gauge_abi: gauge_json_1.default,
277
- deposit_abi: deposit_json_6.default,
270
+ swap_abi: paxSwapABI,
271
+ gauge_abi: gaugeABI,
272
+ deposit_abi: paxDepositABI,
278
273
  },
279
274
  ren: {
280
275
  name: "ren",
@@ -297,8 +292,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
297
292
  ],
298
293
  underlying_decimals: [8, 8],
299
294
  wrapped_decimals: [8, 8],
300
- swap_abi: swap_json_7.default,
301
- gauge_abi: gauge_json_1.default,
295
+ swap_abi: renSwapABI,
296
+ gauge_abi: gaugeABI,
302
297
  },
303
298
  sbtc: {
304
299
  name: "sbtc",
@@ -324,9 +319,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
324
319
  ],
325
320
  underlying_decimals: [8, 8, 18],
326
321
  wrapped_decimals: [8, 8, 18],
327
- swap_abi: swap_json_8.default,
328
- gauge_abi: gauge_synthetix_json_1.default,
329
- sCurveRewards_abi: sCurveRewards_json_2.default,
322
+ swap_abi: sbtcSwapABI,
323
+ gauge_abi: gaugeSynthetixABI,
324
+ sCurveRewards_abi: sbtcSCurveRewardsABI,
330
325
  },
331
326
  hbtc: {
332
327
  name: "hbtc",
@@ -349,8 +344,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
349
344
  ],
350
345
  underlying_decimals: [18, 8],
351
346
  wrapped_decimals: [18, 8],
352
- swap_abi: swap_json_9.default,
353
- gauge_abi: gauge_json_1.default,
347
+ swap_abi: hbtcSwapABI,
348
+ gauge_abi: gaugeABI,
354
349
  },
355
350
  '3pool': {
356
351
  name: "3pool",
@@ -375,8 +370,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
375
370
  ],
376
371
  underlying_decimals: [18, 6, 6],
377
372
  wrapped_decimals: [18, 6, 6],
378
- swap_abi: swap_json_10.default,
379
- gauge_abi: gauge_json_1.default,
373
+ swap_abi: tripoolSwapABI,
374
+ gauge_abi: gaugeABI,
380
375
  },
381
376
  gusd: {
382
377
  name: "gusd",
@@ -403,9 +398,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
403
398
  ],
404
399
  underlying_decimals: [2, 18, 6, 6],
405
400
  wrapped_decimals: [2, 18],
406
- swap_abi: swap_json_11.default,
407
- gauge_abi: gauge_json_1.default,
408
- deposit_abi: deposit_json_7.default,
401
+ swap_abi: gusdSwapABI,
402
+ gauge_abi: gaugeABI,
403
+ deposit_abi: gusdDepositABI,
409
404
  },
410
405
  husd: {
411
406
  name: "husd",
@@ -432,9 +427,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
432
427
  ],
433
428
  underlying_decimals: [8, 18, 6, 6],
434
429
  wrapped_decimals: [8, 18],
435
- swap_abi: swap_json_12.default,
436
- gauge_abi: gauge_json_1.default,
437
- deposit_abi: deposit_json_8.default,
430
+ swap_abi: husdSwapABI,
431
+ gauge_abi: gaugeABI,
432
+ deposit_abi: husdDepositABI,
438
433
  },
439
434
  usdk: {
440
435
  name: "usdk",
@@ -461,9 +456,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
461
456
  ],
462
457
  underlying_decimals: [18, 18, 6, 6],
463
458
  wrapped_decimals: [18, 18],
464
- swap_abi: swap_json_13.default,
465
- gauge_abi: gauge_json_1.default,
466
- deposit_abi: deposit_json_9.default,
459
+ swap_abi: usdkSwapABI,
460
+ gauge_abi: gaugeABI,
461
+ deposit_abi: usdkDepositABI,
467
462
  },
468
463
  usdn: {
469
464
  name: "usdn",
@@ -490,9 +485,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
490
485
  ],
491
486
  underlying_decimals: [18, 18, 6, 6],
492
487
  wrapped_decimals: [18, 18],
493
- swap_abi: swap_json_14.default,
494
- gauge_abi: gauge_json_1.default,
495
- deposit_abi: deposit_json_10.default,
488
+ swap_abi: usdnSwapABI,
489
+ gauge_abi: gaugeABI,
490
+ deposit_abi: usdnDepositABI,
496
491
  },
497
492
  musd: {
498
493
  name: "musd",
@@ -520,10 +515,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
520
515
  ],
521
516
  underlying_decimals: [18, 18, 6, 6],
522
517
  wrapped_decimals: [18, 18],
523
- swap_abi: swap_json_15.default,
524
- gauge_abi: gauge_synthetix_json_1.default,
525
- deposit_abi: deposit_json_11.default,
526
- sCurveRewards_abi: sCurveRewards_json_3.default,
518
+ swap_abi: musdSwapABI,
519
+ gauge_abi: gaugeSynthetixABI,
520
+ deposit_abi: musdDepositABI,
521
+ sCurveRewards_abi: musdSCurveRewards_abi,
527
522
  },
528
523
  rsv: {
529
524
  name: "rsv",
@@ -551,10 +546,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
551
546
  ],
552
547
  underlying_decimals: [18, 18, 6, 6],
553
548
  wrapped_decimals: [18, 18],
554
- swap_abi: swap_json_16.default,
555
- gauge_abi: gauge_synthetix_json_1.default,
556
- deposit_abi: deposit_json_12.default,
557
- sCurveRewards_abi: sCurveRewards_json_4.default,
549
+ swap_abi: rsvSwapABI,
550
+ gauge_abi: gaugeSynthetixABI,
551
+ deposit_abi: rsvDepositABI,
552
+ sCurveRewards_abi: rsvSCurveRewards_abi,
558
553
  },
559
554
  tbtc: {
560
555
  name: "tbtc",
@@ -582,10 +577,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
582
577
  ],
583
578
  underlying_decimals: [18, 8, 8, 18],
584
579
  wrapped_decimals: [18, 18],
585
- swap_abi: swap_json_17.default,
586
- gauge_abi: gauge_synthetix_json_1.default,
587
- deposit_abi: deposit_json_13.default,
588
- sCurveRewards_abi: sCurveRewards_json_5.default,
580
+ swap_abi: tbtcSwapABI,
581
+ gauge_abi: gaugeSynthetixABI,
582
+ deposit_abi: tbtcDepositABI,
583
+ sCurveRewards_abi: tbtcSCurveRewards_abi,
589
584
  },
590
585
  dusd: {
591
586
  name: "dusd",
@@ -613,10 +608,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
613
608
  ],
614
609
  underlying_decimals: [18, 18, 6, 6],
615
610
  wrapped_decimals: [18, 18],
616
- swap_abi: swap_json_18.default,
617
- gauge_abi: gauge_synthetix_json_1.default,
618
- deposit_abi: deposit_json_14.default,
619
- sCurveRewards_abi: sCurveRewards_json_6.default,
611
+ swap_abi: dusdSwapABI,
612
+ gauge_abi: gaugeSynthetixABI,
613
+ deposit_abi: dusdDepositABI,
614
+ sCurveRewards_abi: dusdSCurveRewards_abi,
620
615
  },
621
616
  pbtc: {
622
617
  name: "pbtc",
@@ -644,10 +639,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
644
639
  ],
645
640
  underlying_decimals: [18, 8, 8, 18],
646
641
  wrapped_decimals: [18, 18],
647
- swap_abi: swap_json_19.default,
648
- gauge_abi: gauge_v2_json_1.default,
649
- deposit_abi: deposit_json_15.default,
650
- sCurveRewards_abi: sCurveRewards_json_7.default,
642
+ swap_abi: pbtcSwapABI,
643
+ gauge_abi: gaugeV2ABI,
644
+ deposit_abi: pbtcDepositABI,
645
+ sCurveRewards_abi: pbtcSCurveRewards_abi,
651
646
  },
652
647
  bbtc: {
653
648
  name: "bbtc",
@@ -674,9 +669,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
674
669
  ],
675
670
  underlying_decimals: [8, 8, 8, 18],
676
671
  wrapped_decimals: [8, 18],
677
- swap_abi: swap_json_20.default,
678
- gauge_abi: gauge_v2_json_1.default,
679
- deposit_abi: deposit_json_16.default,
672
+ swap_abi: bbtcSwapABI,
673
+ gauge_abi: gaugeV2ABI,
674
+ deposit_abi: bbtcDepositABI,
680
675
  },
681
676
  obtc: {
682
677
  name: "obtc",
@@ -704,10 +699,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
704
699
  ],
705
700
  underlying_decimals: [18, 8, 8, 18],
706
701
  wrapped_decimals: [18, 18],
707
- swap_abi: swap_json_21.default,
708
- gauge_abi: gauge_v2_json_1.default,
709
- deposit_abi: deposit_json_17.default,
710
- sCurveRewards_abi: sCurveRewards_json_8.default,
702
+ swap_abi: obtcSwapABI,
703
+ gauge_abi: gaugeV2ABI,
704
+ deposit_abi: obtcDepositABI,
705
+ sCurveRewards_abi: obtcSCurveRewards_abi,
711
706
  },
712
707
  seth: {
713
708
  name: "seth",
@@ -730,8 +725,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
730
725
  ],
731
726
  underlying_decimals: [18, 18],
732
727
  wrapped_decimals: [18, 18],
733
- swap_abi: swap_json_22.default,
734
- gauge_abi: gauge_v2_json_1.default,
728
+ swap_abi: sethSwapABI,
729
+ gauge_abi: gaugeV2ABI,
735
730
  },
736
731
  eurs: {
737
732
  name: "eurs",
@@ -755,9 +750,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
755
750
  ],
756
751
  underlying_decimals: [2, 18],
757
752
  wrapped_decimals: [2, 18],
758
- swap_abi: swap_json_23.default,
759
- gauge_abi: gauge_v2_json_1.default,
760
- sCurveRewards_abi: sCurveRewards_json_9.default,
753
+ swap_abi: eursSwapABI,
754
+ gauge_abi: gaugeV2ABI,
755
+ sCurveRewards_abi: eursSCurveRewards_abi,
761
756
  },
762
757
  ust: {
763
758
  name: "ust",
@@ -784,9 +779,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
784
779
  ],
785
780
  underlying_decimals: [18, 18, 6, 6],
786
781
  wrapped_decimals: [18, 18],
787
- swap_abi: swap_json_24.default,
788
- gauge_abi: gauge_v2_json_1.default,
789
- deposit_abi: deposit_json_18.default,
782
+ swap_abi: ustSwapABI,
783
+ gauge_abi: gaugeV2ABI,
784
+ deposit_abi: ustDepositABI,
790
785
  },
791
786
  aave: {
792
787
  name: "aave",
@@ -813,9 +808,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
813
808
  underlying_decimals: [18, 6, 6],
814
809
  wrapped_decimals: [18, 6, 6],
815
810
  use_lending: [true, true, true],
816
- swap_abi: swap_json_25.default,
817
- gauge_abi: gauge_v2_json_1.default,
818
- sCurveRewards_abi: rewards_json_1.default,
811
+ swap_abi: aaveSwapABI,
812
+ gauge_abi: gaugeV2ABI,
813
+ sCurveRewards_abi: aaveRewardsABI,
819
814
  },
820
815
  steth: {
821
816
  name: "steth",
@@ -839,9 +834,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
839
834
  ],
840
835
  underlying_decimals: [18, 18],
841
836
  wrapped_decimals: [18, 18],
842
- swap_abi: swap_json_26.default,
843
- gauge_abi: gauge_v2_json_1.default,
844
- sCurveRewards_abi: sCurveRewards_json_10.default,
837
+ swap_abi: stethSwapABI,
838
+ gauge_abi: gaugeV2ABI,
839
+ sCurveRewards_abi: stethSCurveRewards_abi,
845
840
  },
846
841
  saave: {
847
842
  name: "saave",
@@ -866,9 +861,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
866
861
  underlying_decimals: [18, 18],
867
862
  wrapped_decimals: [18, 18],
868
863
  use_lending: [true, true],
869
- swap_abi: swap_json_27.default,
870
- gauge_abi: gauge_v2_json_1.default,
871
- sCurveRewards_abi: rewards_json_1.default,
864
+ swap_abi: saaveSwapABI,
865
+ gauge_abi: gaugeV2ABI,
866
+ sCurveRewards_abi: aaveRewardsABI,
872
867
  },
873
868
  ankreth: {
874
869
  name: "ankreth",
@@ -892,9 +887,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
892
887
  ],
893
888
  underlying_decimals: [18, 18],
894
889
  wrapped_decimals: [18, 18],
895
- swap_abi: swap_json_28.default,
896
- gauge_abi: gauge_v2_json_1.default,
897
- sCurveRewards_abi: sCurveRewards_json_11.default,
890
+ swap_abi: ankrethSwapABI,
891
+ gauge_abi: gaugeV2ABI,
892
+ sCurveRewards_abi: ankrethSCurveRewards_abi,
898
893
  },
899
894
  usdp: {
900
895
  name: "usdp",
@@ -921,9 +916,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
921
916
  ],
922
917
  underlying_decimals: [18, 18, 6, 6],
923
918
  wrapped_decimals: [18, 18],
924
- swap_abi: swap_json_29.default,
925
- gauge_abi: gauge_v2_json_1.default,
926
- deposit_abi: deposit_json_19.default,
919
+ swap_abi: usdpSwapABI,
920
+ gauge_abi: gaugeV2ABI,
921
+ deposit_abi: usdpDepositABI,
927
922
  },
928
923
  ib: {
929
924
  name: "ironbank",
@@ -949,8 +944,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
949
944
  underlying_decimals: [18, 6, 6],
950
945
  wrapped_decimals: [8, 8, 8],
951
946
  use_lending: [true, true, true],
952
- swap_abi: swap_json_30.default,
953
- gauge_abi: gauge_v2_json_1.default,
947
+ swap_abi: ibSwapABI,
948
+ gauge_abi: gaugeV2ABI,
954
949
  },
955
950
  link: {
956
951
  name: "link",
@@ -973,8 +968,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
973
968
  ],
974
969
  underlying_decimals: [18, 18],
975
970
  wrapped_decimals: [18, 18],
976
- swap_abi: swap_json_31.default,
977
- gauge_abi: gauge_v2_json_1.default,
971
+ swap_abi: linkSwapABI,
972
+ gauge_abi: gaugeV2ABI,
978
973
  },
979
974
  tusd: {
980
975
  name: "tusd",
@@ -1001,9 +996,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1001
996
  ],
1002
997
  underlying_decimals: [18, 18, 6, 6],
1003
998
  wrapped_decimals: [18, 18],
1004
- swap_abi: swap_json_33.default,
1005
- gauge_abi: gauge_v2_json_1.default,
1006
- deposit_abi: deposit_json_20.default,
999
+ swap_abi: factorySwapABI,
1000
+ gauge_abi: gaugeV2ABI,
1001
+ deposit_abi: factoryDepositABI,
1007
1002
  },
1008
1003
  frax: {
1009
1004
  name: "frax",
@@ -1031,10 +1026,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1031
1026
  ],
1032
1027
  underlying_decimals: [18, 18, 6, 6],
1033
1028
  wrapped_decimals: [18, 18],
1034
- swap_abi: swap_json_33.default,
1035
- deposit_abi: deposit_json_20.default,
1036
- gauge_abi: gauge_v2_json_1.default,
1037
- sCurveRewards_abi: rewards_json_2.default,
1029
+ swap_abi: factorySwapABI,
1030
+ deposit_abi: factoryDepositABI,
1031
+ gauge_abi: gaugeV2ABI,
1032
+ sCurveRewards_abi: factoryRewardsABI,
1038
1033
  },
1039
1034
  lusd: {
1040
1035
  name: "lusd",
@@ -1062,10 +1057,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1062
1057
  ],
1063
1058
  underlying_decimals: [18, 18, 6, 6],
1064
1059
  wrapped_decimals: [18, 18],
1065
- swap_abi: swap_json_33.default,
1066
- gauge_abi: gauge_v2_json_1.default,
1067
- deposit_abi: deposit_json_20.default,
1068
- sCurveRewards_abi: rewards_json_2.default,
1060
+ swap_abi: factorySwapABI,
1061
+ gauge_abi: gaugeV2ABI,
1062
+ deposit_abi: factoryDepositABI,
1063
+ sCurveRewards_abi: factoryRewardsABI,
1069
1064
  },
1070
1065
  busdv2: {
1071
1066
  name: "busdv2",
@@ -1092,9 +1087,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1092
1087
  ],
1093
1088
  underlying_decimals: [18, 18, 6, 6],
1094
1089
  wrapped_decimals: [18, 18],
1095
- swap_abi: swap_json_33.default,
1096
- gauge_abi: gauge_v2_json_1.default,
1097
- deposit_abi: deposit_json_20.default,
1090
+ swap_abi: factorySwapABI,
1091
+ gauge_abi: gaugeV2ABI,
1092
+ deposit_abi: factoryDepositABI,
1098
1093
  },
1099
1094
  reth: {
1100
1095
  name: "reth",
@@ -1118,9 +1113,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1118
1113
  ],
1119
1114
  underlying_decimals: [18, 18],
1120
1115
  wrapped_decimals: [18, 18],
1121
- swap_abi: swap_json_32.default,
1122
- gauge_abi: gauge_v3_json_1.default,
1123
- sCurveRewards_abi: rewards_json_2.default,
1116
+ swap_abi: rethSwapABI,
1117
+ gauge_abi: gaugeV3ABI,
1118
+ sCurveRewards_abi: factoryRewardsABI,
1124
1119
  },
1125
1120
  alusd: {
1126
1121
  name: "alusd",
@@ -1148,10 +1143,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1148
1143
  ],
1149
1144
  underlying_decimals: [18, 18, 6, 6],
1150
1145
  wrapped_decimals: [18, 18],
1151
- swap_abi: swap_json_33.default,
1152
- gauge_abi: gauge_v3_json_1.default,
1153
- deposit_abi: deposit_json_20.default,
1154
- sCurveRewards_abi: rewards_json_2.default,
1146
+ swap_abi: factorySwapABI,
1147
+ gauge_abi: gaugeV3ABI,
1148
+ deposit_abi: factoryDepositABI,
1149
+ sCurveRewards_abi: factoryRewardsABI,
1155
1150
  },
1156
1151
  mim: {
1157
1152
  name: "mim",
@@ -1178,10 +1173,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1178
1173
  ],
1179
1174
  underlying_decimals: [18, 18, 6, 6],
1180
1175
  wrapped_decimals: [18, 18],
1181
- swap_abi: swap_json_33.default,
1182
- gauge_abi: gauge_factory_json_1.default,
1183
- deposit_abi: deposit_json_20.default,
1184
- sCurveRewards_abi: rewards_json_2.default,
1176
+ swap_abi: factorySwapABI,
1177
+ gauge_abi: gaugeFactoryABI,
1178
+ deposit_abi: factoryDepositABI,
1179
+ sCurveRewards_abi: factoryRewardsABI,
1185
1180
  },
1186
1181
  tricrypto2: {
1187
1182
  name: "tricrypto2",
@@ -1207,9 +1202,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1207
1202
  ],
1208
1203
  underlying_decimals: [6, 8, 18],
1209
1204
  wrapped_decimals: [6, 8, 18],
1210
- swap_abi: swap_json_34.default,
1211
- gauge_abi: gauge_v3_json_1.default,
1212
- deposit_abi: deposit_json_21.default,
1205
+ swap_abi: tricrypto2SwapABI,
1206
+ gauge_abi: gaugeV3ABI,
1207
+ deposit_abi: tricrypto2DepositABI,
1213
1208
  },
1214
1209
  eurt: {
1215
1210
  name: "eurt",
@@ -1232,8 +1227,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1232
1227
  ],
1233
1228
  underlying_decimals: [6, 18],
1234
1229
  wrapped_decimals: [6, 18],
1235
- swap_abi: swap_json_35.default,
1236
- gauge_abi: gauge_v3_json_1.default,
1230
+ swap_abi: eurtSwapABI,
1231
+ gauge_abi: gaugeV3ABI,
1237
1232
  },
1238
1233
  eurtusd: {
1239
1234
  name: "eurtusd",
@@ -1261,9 +1256,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1261
1256
  ],
1262
1257
  underlying_decimals: [6, 18, 6, 6],
1263
1258
  wrapped_decimals: [6, 18],
1264
- swap_abi: swap_json_36.default,
1265
- gauge_abi: gauge_v4_json_1.default,
1266
- deposit_abi: deposit_json_22.default,
1259
+ swap_abi: eurtusdSwapABI,
1260
+ gauge_abi: gaugeV4ABI,
1261
+ deposit_abi: eurtusdDepositABI,
1267
1262
  },
1268
1263
  eursusd: {
1269
1264
  name: "eursusd",
@@ -1287,8 +1282,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1287
1282
  ],
1288
1283
  underlying_decimals: [6, 2],
1289
1284
  wrapped_decimals: [6, 2],
1290
- swap_abi: swap_json_37.default,
1291
- gauge_abi: gauge_v4_json_1.default,
1285
+ swap_abi: eursusdSwapABI,
1286
+ gauge_abi: gaugeV4ABI,
1292
1287
  },
1293
1288
  crveth: {
1294
1289
  name: "crveth",
@@ -1311,8 +1306,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1311
1306
  ],
1312
1307
  underlying_decimals: [18, 18],
1313
1308
  wrapped_decimals: [18, 18],
1314
- swap_abi: swap_json_38.default,
1315
- gauge_abi: gauge_v4_json_1.default,
1309
+ swap_abi: crvethSwapABI,
1310
+ gauge_abi: gaugeV4ABI,
1316
1311
  },
1317
1312
  rai: {
1318
1313
  name: "rai",
@@ -1339,9 +1334,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1339
1334
  ],
1340
1335
  underlying_decimals: [18, 18, 6, 6],
1341
1336
  wrapped_decimals: [18, 18],
1342
- swap_abi: swap_json_39.default,
1343
- gauge_abi: gauge_v4_json_1.default,
1344
- deposit_abi: deposit_json_23.default,
1337
+ swap_abi: raiSwapABI,
1338
+ gauge_abi: gaugeV4ABI,
1339
+ deposit_abi: raiDepositABI,
1345
1340
  },
1346
1341
  cvxeth: {
1347
1342
  name: "cvxeth",
@@ -1364,8 +1359,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1364
1359
  ],
1365
1360
  underlying_decimals: [18, 18],
1366
1361
  wrapped_decimals: [18, 18],
1367
- swap_abi: swap_json_38.default,
1368
- gauge_abi: gauge_v4_json_1.default,
1362
+ swap_abi: crvethSwapABI,
1363
+ gauge_abi: gaugeV4ABI,
1369
1364
  },
1370
1365
  xautusd: {
1371
1366
  name: "xautusd",
@@ -1393,9 +1388,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1393
1388
  ],
1394
1389
  underlying_decimals: [6, 18, 6, 6],
1395
1390
  wrapped_decimals: [6, 18],
1396
- swap_abi: swap_json_36.default,
1397
- gauge_abi: gauge_v4_json_1.default,
1398
- deposit_abi: deposit_json_22.default,
1391
+ swap_abi: eurtusdSwapABI,
1392
+ gauge_abi: gaugeV4ABI,
1393
+ deposit_abi: eurtusdDepositABI,
1399
1394
  },
1400
1395
  spelleth: {
1401
1396
  name: "spelleth",
@@ -1418,8 +1413,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1418
1413
  ],
1419
1414
  underlying_decimals: [18, 18],
1420
1415
  wrapped_decimals: [18, 18],
1421
- swap_abi: swap_json_38.default,
1422
- gauge_abi: gauge_v4_json_1.default,
1416
+ swap_abi: crvethSwapABI,
1417
+ gauge_abi: gaugeV4ABI,
1423
1418
  },
1424
1419
  teth: {
1425
1420
  name: "teth",
@@ -1442,8 +1437,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1442
1437
  ],
1443
1438
  underlying_decimals: [18, 18],
1444
1439
  wrapped_decimals: [18, 18],
1445
- swap_abi: swap_json_38.default,
1446
- gauge_abi: gauge_v4_json_1.default,
1440
+ swap_abi: crvethSwapABI,
1441
+ gauge_abi: gaugeV4ABI,
1447
1442
  },
1448
1443
  '2pool': {
1449
1444
  name: "2pool",
@@ -1466,8 +1461,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1466
1461
  ],
1467
1462
  underlying_decimals: [6, 6],
1468
1463
  wrapped_decimals: [6, 6],
1469
- swap_abi: swap_json_40.default,
1470
- gauge_abi: gauge_v5_json_1.default,
1464
+ swap_abi: twopoolSwapABI,
1465
+ gauge_abi: gaugeV5ABI,
1471
1466
  },
1472
1467
  '4pool': {
1473
1468
  name: "4pool",
@@ -1494,8 +1489,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1494
1489
  ],
1495
1490
  underlying_decimals: [6, 6, 6, 18],
1496
1491
  wrapped_decimals: [6, 6, 6, 18],
1497
- swap_abi: swap_json_41.default,
1498
- gauge_abi: gauge_v5_json_1.default,
1492
+ swap_abi: fourpoolSwapABI,
1493
+ gauge_abi: gaugeV5ABI,
1499
1494
  },
1500
1495
  fraxusdc: {
1501
1496
  name: "fraxusdc",
@@ -1518,8 +1513,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1518
1513
  ],
1519
1514
  underlying_decimals: [18, 6],
1520
1515
  wrapped_decimals: [18, 6],
1521
- swap_abi: swap_json_42.default,
1522
- gauge_abi: gauge_v5_json_1.default,
1516
+ swap_abi: fraxusdcSwapABI,
1517
+ gauge_abi: gaugeV5ABI,
1523
1518
  },
1524
1519
  euroc: {
1525
1520
  name: "euroc",
@@ -1547,9 +1542,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1547
1542
  ],
1548
1543
  underlying_decimals: [6, 18, 6, 6],
1549
1544
  wrapped_decimals: [6, 18],
1550
- swap_abi: swap_json_36.default,
1551
- gauge_abi: gauge_v5_json_1.default,
1552
- deposit_abi: deposit_json_22.default,
1545
+ swap_abi: eurtusdSwapABI,
1546
+ gauge_abi: gaugeV5ABI,
1547
+ deposit_abi: eurtusdDepositABI,
1553
1548
  },
1554
1549
  frxeth: {
1555
1550
  name: "frxeth",
@@ -1572,8 +1567,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1572
1567
  ],
1573
1568
  underlying_decimals: [18, 18],
1574
1569
  wrapped_decimals: [18, 18],
1575
- swap_abi: swap_json_43.default,
1576
- gauge_abi: gauge_v5_json_1.default,
1570
+ swap_abi: frxethSwapABI,
1571
+ gauge_abi: gaugeV5ABI,
1577
1572
  },
1578
1573
  sbtc2: {
1579
1574
  name: "sbtc2",
@@ -1596,8 +1591,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1596
1591
  ],
1597
1592
  underlying_decimals: [8, 18],
1598
1593
  wrapped_decimals: [8, 18],
1599
- swap_abi: swap_json_44.default,
1600
- gauge_abi: gauge_v5_json_1.default,
1594
+ swap_abi: sbtc2SwapABI,
1595
+ gauge_abi: gaugeV5ABI,
1601
1596
  },
1602
1597
  fraxusdp: {
1603
1598
  name: "fraxusdp",
@@ -1620,7 +1615,31 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1620
1615
  ],
1621
1616
  underlying_decimals: [18, 18],
1622
1617
  wrapped_decimals: [18, 18],
1623
- swap_abi: swap_json_42.default,
1624
- gauge_abi: gauge_v5_json_1.default,
1618
+ swap_abi: fraxusdcSwapABI,
1619
+ gauge_abi: gaugeV5ABI,
1620
+ },
1621
+ wbeth: {
1622
+ name: "wbeth",
1623
+ full_name: "wbeth",
1624
+ symbol: "wbeth",
1625
+ reference_asset: 'ETH',
1626
+ swap_address: '0xBfAb6FA95E0091ed66058ad493189D2cB29385E6',
1627
+ token_address: '0xBfAb6FA95E0091ed66058ad493189D2cB29385E6',
1628
+ gauge_address: '0x0000000000000000000000000000000000000000',
1629
+ is_plain: true,
1630
+ underlying_coins: ['ETH', 'wBETH'],
1631
+ wrapped_coins: ['ETH', 'wBETH'],
1632
+ underlying_coin_addresses: [
1633
+ "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
1634
+ "0xa2E3356610840701BDf5611a53974510Ae27E2e1",
1635
+ ],
1636
+ wrapped_coin_addresses: [
1637
+ "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
1638
+ "0xa2E3356610840701BDf5611a53974510Ae27E2e1",
1639
+ ],
1640
+ underlying_decimals: [18, 18],
1641
+ wrapped_decimals: [18, 18],
1642
+ swap_abi: wbethSwapABI,
1643
+ gauge_abi: gaugeV5ABI,
1625
1644
  },
1626
1645
  });