@curvefi/api 2.31.0 → 2.31.1

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 (97) hide show
  1. package/lib/boosting.js +137 -402
  2. package/lib/constants/aliases.d.ts +11 -11
  3. package/lib/constants/aliases.js +12 -15
  4. package/lib/constants/coins/arbitrum.js +6 -9
  5. package/lib/constants/coins/aurora.js +6 -9
  6. package/lib/constants/coins/avalanche.js +7 -10
  7. package/lib/constants/coins/celo.js +6 -9
  8. package/lib/constants/coins/ethereum.js +10 -13
  9. package/lib/constants/coins/fantom.js +8 -11
  10. package/lib/constants/coins/kava.js +6 -9
  11. package/lib/constants/coins/moonbeam.js +6 -9
  12. package/lib/constants/coins/optimism.js +6 -9
  13. package/lib/constants/coins/polygon.js +7 -10
  14. package/lib/constants/coins/xdai.js +6 -9
  15. package/lib/constants/pools/arbitrum.d.ts +2 -4
  16. package/lib/constants/pools/arbitrum.js +22 -28
  17. package/lib/constants/pools/aurora.d.ts +2 -4
  18. package/lib/constants/pools/aurora.js +6 -12
  19. package/lib/constants/pools/avalanche.d.ts +2 -4
  20. package/lib/constants/pools/avalanche.js +21 -27
  21. package/lib/constants/pools/celo.d.ts +2 -4
  22. package/lib/constants/pools/celo.js +2 -5
  23. package/lib/constants/pools/ethereum.js +247 -253
  24. package/lib/constants/pools/fantom.d.ts +2 -4
  25. package/lib/constants/pools/fantom.js +28 -34
  26. package/lib/constants/pools/index.d.ts +11 -11
  27. package/lib/constants/pools/index.js +12 -25
  28. package/lib/constants/pools/kava.d.ts +2 -4
  29. package/lib/constants/pools/kava.js +2 -5
  30. package/lib/constants/pools/moonbeam.d.ts +2 -4
  31. package/lib/constants/pools/moonbeam.js +6 -12
  32. package/lib/constants/pools/optimism.d.ts +2 -4
  33. package/lib/constants/pools/optimism.js +9 -15
  34. package/lib/constants/pools/polygon.d.ts +2 -4
  35. package/lib/constants/pools/polygon.js +22 -28
  36. package/lib/constants/pools/xdai.d.ts +2 -4
  37. package/lib/constants/pools/xdai.js +24 -30
  38. package/lib/constants/utils.js +20 -29
  39. package/lib/curve.d.ts +9 -7
  40. package/lib/curve.js +397 -615
  41. package/lib/external-api.d.ts +1 -1
  42. package/lib/external-api.js +47 -140
  43. package/lib/factory/common.js +6 -10
  44. package/lib/factory/constants-crypto.js +48 -54
  45. package/lib/factory/constants.js +274 -280
  46. package/lib/factory/deploy.d.ts +8 -8
  47. package/lib/factory/deploy.js +177 -347
  48. package/lib/factory/factory-api.js +195 -278
  49. package/lib/factory/factory-crypto.js +170 -323
  50. package/lib/factory/factory.js +195 -350
  51. package/lib/index.d.ts +24 -25
  52. package/lib/index.js +87 -143
  53. package/lib/interfaces.d.ts +5 -5
  54. package/lib/interfaces.js +1 -2
  55. package/lib/pools/PoolTemplate.js +1516 -2929
  56. package/lib/pools/index.d.ts +2 -2
  57. package/lib/pools/index.js +3 -7
  58. package/lib/pools/mixins/common.d.ts +3 -4
  59. package/lib/pools/mixins/common.js +23 -112
  60. package/lib/pools/mixins/depositBalancedAmountsMixins.d.ts +1 -1
  61. package/lib/pools/mixins/depositBalancedAmountsMixins.js +50 -139
  62. package/lib/pools/mixins/depositMixins.d.ts +1 -1
  63. package/lib/pools/mixins/depositMixins.js +144 -417
  64. package/lib/pools/mixins/depositWrappedMixins.d.ts +1 -1
  65. package/lib/pools/mixins/depositWrappedMixins.js +72 -227
  66. package/lib/pools/mixins/poolBalancesMixin.d.ts +1 -1
  67. package/lib/pools/mixins/poolBalancesMixin.js +25 -105
  68. package/lib/pools/mixins/swapMixins.d.ts +1 -1
  69. package/lib/pools/mixins/swapMixins.js +127 -353
  70. package/lib/pools/mixins/swapWrappedMixins.d.ts +1 -1
  71. package/lib/pools/mixins/swapWrappedMixins.js +90 -276
  72. package/lib/pools/mixins/withdrawExpectedMixins.d.ts +1 -1
  73. package/lib/pools/mixins/withdrawExpectedMixins.js +26 -110
  74. package/lib/pools/mixins/withdrawImbalanceMixins.d.ts +1 -1
  75. package/lib/pools/mixins/withdrawImbalanceMixins.js +99 -321
  76. package/lib/pools/mixins/withdrawImbalanceWrappedMixins.d.ts +1 -1
  77. package/lib/pools/mixins/withdrawImbalanceWrappedMixins.js +53 -192
  78. package/lib/pools/mixins/withdrawMixins.d.ts +1 -1
  79. package/lib/pools/mixins/withdrawMixins.js +123 -390
  80. package/lib/pools/mixins/withdrawOneCoinExpectedMixins.d.ts +1 -1
  81. package/lib/pools/mixins/withdrawOneCoinExpectedMixins.js +17 -92
  82. package/lib/pools/mixins/withdrawOneCoinMixins.d.ts +1 -1
  83. package/lib/pools/mixins/withdrawOneCoinMixins.js +124 -390
  84. package/lib/pools/mixins/withdrawOneCoinWrappedExpectedMixins.d.ts +1 -1
  85. package/lib/pools/mixins/withdrawOneCoinWrappedExpectedMixins.js +9 -66
  86. package/lib/pools/mixins/withdrawOneCoinWrappedMixins.d.ts +1 -1
  87. package/lib/pools/mixins/withdrawOneCoinWrappedMixins.js +55 -190
  88. package/lib/pools/mixins/withdrawWrappedMixins.d.ts +1 -1
  89. package/lib/pools/mixins/withdrawWrappedMixins.js +52 -191
  90. package/lib/pools/poolConstructor.d.ts +1 -1
  91. package/lib/pools/poolConstructor.js +77 -101
  92. package/lib/pools/utils.js +298 -500
  93. package/lib/router.d.ts +2 -2
  94. package/lib/router.js +390 -653
  95. package/lib/utils.d.ts +9 -9
  96. package/lib/utils.js +377 -731
  97. package/package.json +8 -8
@@ -1,98 +1,92 @@
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
+ export const POOLS_DATA_ETHEREUM = lowerCasePoolDataAddresses({
96
90
  compound: {
97
91
  name: "compound",
98
92
  full_name: "compound",
@@ -116,9 +110,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
116
110
  underlying_decimals: [18, 6],
117
111
  wrapped_decimals: [8, 8],
118
112
  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,
113
+ swap_abi: compoundSwapABI,
114
+ gauge_abi: gaugeABI,
115
+ deposit_abi: compoundDepositABI,
122
116
  },
123
117
  usdt: {
124
118
  name: "usdt",
@@ -145,9 +139,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
145
139
  underlying_decimals: [18, 6, 6],
146
140
  wrapped_decimals: [8, 8, 6],
147
141
  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,
142
+ swap_abi: usdtSwapABI,
143
+ gauge_abi: gaugeABI,
144
+ deposit_abi: usdtDepositABI,
151
145
  },
152
146
  y: {
153
147
  name: "y",
@@ -177,9 +171,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
177
171
  underlying_decimals: [18, 6, 6, 18],
178
172
  wrapped_decimals: [18, 6, 6, 18],
179
173
  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,
174
+ swap_abi: iearnSwapABI,
175
+ gauge_abi: gaugeABI,
176
+ deposit_abi: iearnDepositABI,
183
177
  // sCurveRewards_abi: iearnSCurveRewardsABI,
184
178
  },
185
179
  busd: {
@@ -209,9 +203,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
209
203
  underlying_decimals: [18, 6, 6, 18],
210
204
  wrapped_decimals: [18, 6, 6, 18],
211
205
  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,
206
+ swap_abi: busdSwapABI,
207
+ gauge_abi: gaugeABI,
208
+ deposit_abi: busdDepositABI,
215
209
  },
216
210
  susd: {
217
211
  name: "susd",
@@ -240,10 +234,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
240
234
  ],
241
235
  underlying_decimals: [18, 6, 6, 18],
242
236
  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,
237
+ swap_abi: susdv2SwapABI,
238
+ gauge_abi: gaugeSynthetixABI,
239
+ deposit_abi: susdv2DepositABI,
240
+ sCurveRewards_abi: susdv2SCurveRewards_abi,
247
241
  },
248
242
  pax: {
249
243
  name: "pax",
@@ -272,9 +266,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
272
266
  underlying_decimals: [18, 6, 6, 18],
273
267
  wrapped_decimals: [18, 6, 6, 18],
274
268
  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,
269
+ swap_abi: paxSwapABI,
270
+ gauge_abi: gaugeABI,
271
+ deposit_abi: paxDepositABI,
278
272
  },
279
273
  ren: {
280
274
  name: "ren",
@@ -297,8 +291,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
297
291
  ],
298
292
  underlying_decimals: [8, 8],
299
293
  wrapped_decimals: [8, 8],
300
- swap_abi: swap_json_7.default,
301
- gauge_abi: gauge_json_1.default,
294
+ swap_abi: renSwapABI,
295
+ gauge_abi: gaugeABI,
302
296
  },
303
297
  sbtc: {
304
298
  name: "sbtc",
@@ -324,9 +318,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
324
318
  ],
325
319
  underlying_decimals: [8, 8, 18],
326
320
  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,
321
+ swap_abi: sbtcSwapABI,
322
+ gauge_abi: gaugeSynthetixABI,
323
+ sCurveRewards_abi: sbtcSCurveRewardsABI,
330
324
  },
331
325
  hbtc: {
332
326
  name: "hbtc",
@@ -349,8 +343,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
349
343
  ],
350
344
  underlying_decimals: [18, 8],
351
345
  wrapped_decimals: [18, 8],
352
- swap_abi: swap_json_9.default,
353
- gauge_abi: gauge_json_1.default,
346
+ swap_abi: hbtcSwapABI,
347
+ gauge_abi: gaugeABI,
354
348
  },
355
349
  '3pool': {
356
350
  name: "3pool",
@@ -375,8 +369,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
375
369
  ],
376
370
  underlying_decimals: [18, 6, 6],
377
371
  wrapped_decimals: [18, 6, 6],
378
- swap_abi: swap_json_10.default,
379
- gauge_abi: gauge_json_1.default,
372
+ swap_abi: tripoolSwapABI,
373
+ gauge_abi: gaugeABI,
380
374
  },
381
375
  gusd: {
382
376
  name: "gusd",
@@ -403,9 +397,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
403
397
  ],
404
398
  underlying_decimals: [2, 18, 6, 6],
405
399
  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,
400
+ swap_abi: gusdSwapABI,
401
+ gauge_abi: gaugeABI,
402
+ deposit_abi: gusdDepositABI,
409
403
  },
410
404
  husd: {
411
405
  name: "husd",
@@ -432,9 +426,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
432
426
  ],
433
427
  underlying_decimals: [8, 18, 6, 6],
434
428
  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,
429
+ swap_abi: husdSwapABI,
430
+ gauge_abi: gaugeABI,
431
+ deposit_abi: husdDepositABI,
438
432
  },
439
433
  usdk: {
440
434
  name: "usdk",
@@ -461,9 +455,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
461
455
  ],
462
456
  underlying_decimals: [18, 18, 6, 6],
463
457
  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,
458
+ swap_abi: usdkSwapABI,
459
+ gauge_abi: gaugeABI,
460
+ deposit_abi: usdkDepositABI,
467
461
  },
468
462
  usdn: {
469
463
  name: "usdn",
@@ -490,9 +484,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
490
484
  ],
491
485
  underlying_decimals: [18, 18, 6, 6],
492
486
  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,
487
+ swap_abi: usdnSwapABI,
488
+ gauge_abi: gaugeABI,
489
+ deposit_abi: usdnDepositABI,
496
490
  },
497
491
  musd: {
498
492
  name: "musd",
@@ -520,10 +514,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
520
514
  ],
521
515
  underlying_decimals: [18, 18, 6, 6],
522
516
  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,
517
+ swap_abi: musdSwapABI,
518
+ gauge_abi: gaugeSynthetixABI,
519
+ deposit_abi: musdDepositABI,
520
+ sCurveRewards_abi: musdSCurveRewards_abi,
527
521
  },
528
522
  rsv: {
529
523
  name: "rsv",
@@ -551,10 +545,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
551
545
  ],
552
546
  underlying_decimals: [18, 18, 6, 6],
553
547
  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,
548
+ swap_abi: rsvSwapABI,
549
+ gauge_abi: gaugeSynthetixABI,
550
+ deposit_abi: rsvDepositABI,
551
+ sCurveRewards_abi: rsvSCurveRewards_abi,
558
552
  },
559
553
  tbtc: {
560
554
  name: "tbtc",
@@ -582,10 +576,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
582
576
  ],
583
577
  underlying_decimals: [18, 8, 8, 18],
584
578
  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,
579
+ swap_abi: tbtcSwapABI,
580
+ gauge_abi: gaugeSynthetixABI,
581
+ deposit_abi: tbtcDepositABI,
582
+ sCurveRewards_abi: tbtcSCurveRewards_abi,
589
583
  },
590
584
  dusd: {
591
585
  name: "dusd",
@@ -613,10 +607,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
613
607
  ],
614
608
  underlying_decimals: [18, 18, 6, 6],
615
609
  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,
610
+ swap_abi: dusdSwapABI,
611
+ gauge_abi: gaugeSynthetixABI,
612
+ deposit_abi: dusdDepositABI,
613
+ sCurveRewards_abi: dusdSCurveRewards_abi,
620
614
  },
621
615
  pbtc: {
622
616
  name: "pbtc",
@@ -644,10 +638,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
644
638
  ],
645
639
  underlying_decimals: [18, 8, 8, 18],
646
640
  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,
641
+ swap_abi: pbtcSwapABI,
642
+ gauge_abi: gaugeV2ABI,
643
+ deposit_abi: pbtcDepositABI,
644
+ sCurveRewards_abi: pbtcSCurveRewards_abi,
651
645
  },
652
646
  bbtc: {
653
647
  name: "bbtc",
@@ -674,9 +668,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
674
668
  ],
675
669
  underlying_decimals: [8, 8, 8, 18],
676
670
  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,
671
+ swap_abi: bbtcSwapABI,
672
+ gauge_abi: gaugeV2ABI,
673
+ deposit_abi: bbtcDepositABI,
680
674
  },
681
675
  obtc: {
682
676
  name: "obtc",
@@ -704,10 +698,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
704
698
  ],
705
699
  underlying_decimals: [18, 8, 8, 18],
706
700
  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,
701
+ swap_abi: obtcSwapABI,
702
+ gauge_abi: gaugeV2ABI,
703
+ deposit_abi: obtcDepositABI,
704
+ sCurveRewards_abi: obtcSCurveRewards_abi,
711
705
  },
712
706
  seth: {
713
707
  name: "seth",
@@ -730,8 +724,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
730
724
  ],
731
725
  underlying_decimals: [18, 18],
732
726
  wrapped_decimals: [18, 18],
733
- swap_abi: swap_json_22.default,
734
- gauge_abi: gauge_v2_json_1.default,
727
+ swap_abi: sethSwapABI,
728
+ gauge_abi: gaugeV2ABI,
735
729
  },
736
730
  eurs: {
737
731
  name: "eurs",
@@ -755,9 +749,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
755
749
  ],
756
750
  underlying_decimals: [2, 18],
757
751
  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,
752
+ swap_abi: eursSwapABI,
753
+ gauge_abi: gaugeV2ABI,
754
+ sCurveRewards_abi: eursSCurveRewards_abi,
761
755
  },
762
756
  ust: {
763
757
  name: "ust",
@@ -784,9 +778,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
784
778
  ],
785
779
  underlying_decimals: [18, 18, 6, 6],
786
780
  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,
781
+ swap_abi: ustSwapABI,
782
+ gauge_abi: gaugeV2ABI,
783
+ deposit_abi: ustDepositABI,
790
784
  },
791
785
  aave: {
792
786
  name: "aave",
@@ -813,9 +807,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
813
807
  underlying_decimals: [18, 6, 6],
814
808
  wrapped_decimals: [18, 6, 6],
815
809
  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,
810
+ swap_abi: aaveSwapABI,
811
+ gauge_abi: gaugeV2ABI,
812
+ sCurveRewards_abi: aaveRewardsABI,
819
813
  },
820
814
  steth: {
821
815
  name: "steth",
@@ -839,9 +833,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
839
833
  ],
840
834
  underlying_decimals: [18, 18],
841
835
  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,
836
+ swap_abi: stethSwapABI,
837
+ gauge_abi: gaugeV2ABI,
838
+ sCurveRewards_abi: stethSCurveRewards_abi,
845
839
  },
846
840
  saave: {
847
841
  name: "saave",
@@ -866,9 +860,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
866
860
  underlying_decimals: [18, 18],
867
861
  wrapped_decimals: [18, 18],
868
862
  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,
863
+ swap_abi: saaveSwapABI,
864
+ gauge_abi: gaugeV2ABI,
865
+ sCurveRewards_abi: aaveRewardsABI,
872
866
  },
873
867
  ankreth: {
874
868
  name: "ankreth",
@@ -892,9 +886,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
892
886
  ],
893
887
  underlying_decimals: [18, 18],
894
888
  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,
889
+ swap_abi: ankrethSwapABI,
890
+ gauge_abi: gaugeV2ABI,
891
+ sCurveRewards_abi: ankrethSCurveRewards_abi,
898
892
  },
899
893
  usdp: {
900
894
  name: "usdp",
@@ -921,9 +915,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
921
915
  ],
922
916
  underlying_decimals: [18, 18, 6, 6],
923
917
  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,
918
+ swap_abi: usdpSwapABI,
919
+ gauge_abi: gaugeV2ABI,
920
+ deposit_abi: usdpDepositABI,
927
921
  },
928
922
  ib: {
929
923
  name: "ironbank",
@@ -949,8 +943,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
949
943
  underlying_decimals: [18, 6, 6],
950
944
  wrapped_decimals: [8, 8, 8],
951
945
  use_lending: [true, true, true],
952
- swap_abi: swap_json_30.default,
953
- gauge_abi: gauge_v2_json_1.default,
946
+ swap_abi: ibSwapABI,
947
+ gauge_abi: gaugeV2ABI,
954
948
  },
955
949
  link: {
956
950
  name: "link",
@@ -973,8 +967,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
973
967
  ],
974
968
  underlying_decimals: [18, 18],
975
969
  wrapped_decimals: [18, 18],
976
- swap_abi: swap_json_31.default,
977
- gauge_abi: gauge_v2_json_1.default,
970
+ swap_abi: linkSwapABI,
971
+ gauge_abi: gaugeV2ABI,
978
972
  },
979
973
  tusd: {
980
974
  name: "tusd",
@@ -1001,9 +995,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1001
995
  ],
1002
996
  underlying_decimals: [18, 18, 6, 6],
1003
997
  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,
998
+ swap_abi: factorySwapABI,
999
+ gauge_abi: gaugeV2ABI,
1000
+ deposit_abi: factoryDepositABI,
1007
1001
  },
1008
1002
  frax: {
1009
1003
  name: "frax",
@@ -1031,10 +1025,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1031
1025
  ],
1032
1026
  underlying_decimals: [18, 18, 6, 6],
1033
1027
  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,
1028
+ swap_abi: factorySwapABI,
1029
+ deposit_abi: factoryDepositABI,
1030
+ gauge_abi: gaugeV2ABI,
1031
+ sCurveRewards_abi: factoryRewardsABI,
1038
1032
  },
1039
1033
  lusd: {
1040
1034
  name: "lusd",
@@ -1062,10 +1056,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1062
1056
  ],
1063
1057
  underlying_decimals: [18, 18, 6, 6],
1064
1058
  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,
1059
+ swap_abi: factorySwapABI,
1060
+ gauge_abi: gaugeV2ABI,
1061
+ deposit_abi: factoryDepositABI,
1062
+ sCurveRewards_abi: factoryRewardsABI,
1069
1063
  },
1070
1064
  busdv2: {
1071
1065
  name: "busdv2",
@@ -1092,9 +1086,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1092
1086
  ],
1093
1087
  underlying_decimals: [18, 18, 6, 6],
1094
1088
  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,
1089
+ swap_abi: factorySwapABI,
1090
+ gauge_abi: gaugeV2ABI,
1091
+ deposit_abi: factoryDepositABI,
1098
1092
  },
1099
1093
  reth: {
1100
1094
  name: "reth",
@@ -1118,9 +1112,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1118
1112
  ],
1119
1113
  underlying_decimals: [18, 18],
1120
1114
  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,
1115
+ swap_abi: rethSwapABI,
1116
+ gauge_abi: gaugeV3ABI,
1117
+ sCurveRewards_abi: factoryRewardsABI,
1124
1118
  },
1125
1119
  alusd: {
1126
1120
  name: "alusd",
@@ -1148,10 +1142,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1148
1142
  ],
1149
1143
  underlying_decimals: [18, 18, 6, 6],
1150
1144
  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,
1145
+ swap_abi: factorySwapABI,
1146
+ gauge_abi: gaugeV3ABI,
1147
+ deposit_abi: factoryDepositABI,
1148
+ sCurveRewards_abi: factoryRewardsABI,
1155
1149
  },
1156
1150
  mim: {
1157
1151
  name: "mim",
@@ -1178,10 +1172,10 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1178
1172
  ],
1179
1173
  underlying_decimals: [18, 18, 6, 6],
1180
1174
  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,
1175
+ swap_abi: factorySwapABI,
1176
+ gauge_abi: gaugeFactoryABI,
1177
+ deposit_abi: factoryDepositABI,
1178
+ sCurveRewards_abi: factoryRewardsABI,
1185
1179
  },
1186
1180
  tricrypto2: {
1187
1181
  name: "tricrypto2",
@@ -1207,9 +1201,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1207
1201
  ],
1208
1202
  underlying_decimals: [6, 8, 18],
1209
1203
  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,
1204
+ swap_abi: tricrypto2SwapABI,
1205
+ gauge_abi: gaugeV3ABI,
1206
+ deposit_abi: tricrypto2DepositABI,
1213
1207
  },
1214
1208
  eurt: {
1215
1209
  name: "eurt",
@@ -1232,8 +1226,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1232
1226
  ],
1233
1227
  underlying_decimals: [6, 18],
1234
1228
  wrapped_decimals: [6, 18],
1235
- swap_abi: swap_json_35.default,
1236
- gauge_abi: gauge_v3_json_1.default,
1229
+ swap_abi: eurtSwapABI,
1230
+ gauge_abi: gaugeV3ABI,
1237
1231
  },
1238
1232
  eurtusd: {
1239
1233
  name: "eurtusd",
@@ -1261,9 +1255,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1261
1255
  ],
1262
1256
  underlying_decimals: [6, 18, 6, 6],
1263
1257
  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,
1258
+ swap_abi: eurtusdSwapABI,
1259
+ gauge_abi: gaugeV4ABI,
1260
+ deposit_abi: eurtusdDepositABI,
1267
1261
  },
1268
1262
  eursusd: {
1269
1263
  name: "eursusd",
@@ -1287,8 +1281,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1287
1281
  ],
1288
1282
  underlying_decimals: [6, 2],
1289
1283
  wrapped_decimals: [6, 2],
1290
- swap_abi: swap_json_37.default,
1291
- gauge_abi: gauge_v4_json_1.default,
1284
+ swap_abi: eursusdSwapABI,
1285
+ gauge_abi: gaugeV4ABI,
1292
1286
  },
1293
1287
  crveth: {
1294
1288
  name: "crveth",
@@ -1311,8 +1305,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1311
1305
  ],
1312
1306
  underlying_decimals: [18, 18],
1313
1307
  wrapped_decimals: [18, 18],
1314
- swap_abi: swap_json_38.default,
1315
- gauge_abi: gauge_v4_json_1.default,
1308
+ swap_abi: crvethSwapABI,
1309
+ gauge_abi: gaugeV4ABI,
1316
1310
  },
1317
1311
  rai: {
1318
1312
  name: "rai",
@@ -1339,9 +1333,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1339
1333
  ],
1340
1334
  underlying_decimals: [18, 18, 6, 6],
1341
1335
  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,
1336
+ swap_abi: raiSwapABI,
1337
+ gauge_abi: gaugeV4ABI,
1338
+ deposit_abi: raiDepositABI,
1345
1339
  },
1346
1340
  cvxeth: {
1347
1341
  name: "cvxeth",
@@ -1364,8 +1358,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1364
1358
  ],
1365
1359
  underlying_decimals: [18, 18],
1366
1360
  wrapped_decimals: [18, 18],
1367
- swap_abi: swap_json_38.default,
1368
- gauge_abi: gauge_v4_json_1.default,
1361
+ swap_abi: crvethSwapABI,
1362
+ gauge_abi: gaugeV4ABI,
1369
1363
  },
1370
1364
  xautusd: {
1371
1365
  name: "xautusd",
@@ -1393,9 +1387,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1393
1387
  ],
1394
1388
  underlying_decimals: [6, 18, 6, 6],
1395
1389
  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,
1390
+ swap_abi: eurtusdSwapABI,
1391
+ gauge_abi: gaugeV4ABI,
1392
+ deposit_abi: eurtusdDepositABI,
1399
1393
  },
1400
1394
  spelleth: {
1401
1395
  name: "spelleth",
@@ -1418,8 +1412,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1418
1412
  ],
1419
1413
  underlying_decimals: [18, 18],
1420
1414
  wrapped_decimals: [18, 18],
1421
- swap_abi: swap_json_38.default,
1422
- gauge_abi: gauge_v4_json_1.default,
1415
+ swap_abi: crvethSwapABI,
1416
+ gauge_abi: gaugeV4ABI,
1423
1417
  },
1424
1418
  teth: {
1425
1419
  name: "teth",
@@ -1442,8 +1436,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1442
1436
  ],
1443
1437
  underlying_decimals: [18, 18],
1444
1438
  wrapped_decimals: [18, 18],
1445
- swap_abi: swap_json_38.default,
1446
- gauge_abi: gauge_v4_json_1.default,
1439
+ swap_abi: crvethSwapABI,
1440
+ gauge_abi: gaugeV4ABI,
1447
1441
  },
1448
1442
  '2pool': {
1449
1443
  name: "2pool",
@@ -1466,8 +1460,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1466
1460
  ],
1467
1461
  underlying_decimals: [6, 6],
1468
1462
  wrapped_decimals: [6, 6],
1469
- swap_abi: swap_json_40.default,
1470
- gauge_abi: gauge_v5_json_1.default,
1463
+ swap_abi: twopoolSwapABI,
1464
+ gauge_abi: gaugeV5ABI,
1471
1465
  },
1472
1466
  '4pool': {
1473
1467
  name: "4pool",
@@ -1494,8 +1488,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1494
1488
  ],
1495
1489
  underlying_decimals: [6, 6, 6, 18],
1496
1490
  wrapped_decimals: [6, 6, 6, 18],
1497
- swap_abi: swap_json_41.default,
1498
- gauge_abi: gauge_v5_json_1.default,
1491
+ swap_abi: fourpoolSwapABI,
1492
+ gauge_abi: gaugeV5ABI,
1499
1493
  },
1500
1494
  fraxusdc: {
1501
1495
  name: "fraxusdc",
@@ -1518,8 +1512,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1518
1512
  ],
1519
1513
  underlying_decimals: [18, 6],
1520
1514
  wrapped_decimals: [18, 6],
1521
- swap_abi: swap_json_42.default,
1522
- gauge_abi: gauge_v5_json_1.default,
1515
+ swap_abi: fraxusdcSwapABI,
1516
+ gauge_abi: gaugeV5ABI,
1523
1517
  },
1524
1518
  euroc: {
1525
1519
  name: "euroc",
@@ -1547,9 +1541,9 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1547
1541
  ],
1548
1542
  underlying_decimals: [6, 18, 6, 6],
1549
1543
  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,
1544
+ swap_abi: eurtusdSwapABI,
1545
+ gauge_abi: gaugeV5ABI,
1546
+ deposit_abi: eurtusdDepositABI,
1553
1547
  },
1554
1548
  frxeth: {
1555
1549
  name: "frxeth",
@@ -1572,8 +1566,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1572
1566
  ],
1573
1567
  underlying_decimals: [18, 18],
1574
1568
  wrapped_decimals: [18, 18],
1575
- swap_abi: swap_json_43.default,
1576
- gauge_abi: gauge_v5_json_1.default,
1569
+ swap_abi: frxethSwapABI,
1570
+ gauge_abi: gaugeV5ABI,
1577
1571
  },
1578
1572
  sbtc2: {
1579
1573
  name: "sbtc2",
@@ -1596,8 +1590,8 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1596
1590
  ],
1597
1591
  underlying_decimals: [8, 18],
1598
1592
  wrapped_decimals: [8, 18],
1599
- swap_abi: swap_json_44.default,
1600
- gauge_abi: gauge_v5_json_1.default,
1593
+ swap_abi: sbtc2SwapABI,
1594
+ gauge_abi: gaugeV5ABI,
1601
1595
  },
1602
1596
  fraxusdp: {
1603
1597
  name: "fraxusdp",
@@ -1620,7 +1614,7 @@ exports.POOLS_DATA_ETHEREUM = (0, utils_1.lowerCasePoolDataAddresses)({
1620
1614
  ],
1621
1615
  underlying_decimals: [18, 18],
1622
1616
  wrapped_decimals: [18, 18],
1623
- swap_abi: swap_json_42.default,
1624
- gauge_abi: gauge_v5_json_1.default,
1617
+ swap_abi: fraxusdcSwapABI,
1618
+ gauge_abi: gaugeV5ABI,
1625
1619
  },
1626
1620
  });