@curvefi/api 2.53.12 → 2.53.14

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.
@@ -2,7 +2,7 @@ import { lowerCaseValues } from "../utils.js";
2
2
  export var COINS_ARBITRUM = lowerCaseValues({
3
3
  'crv': '0x11cDb42B0EB46D95f990BeDD4695A6e3fA034978',
4
4
  // --- USD ---
5
- 'usdc': '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8',
5
+ 'usdc.e': '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8',
6
6
  'usdt': '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
7
7
  '2crv': '0x7f90122bf0700f9e7e1f688fe926940e8839f353',
8
8
  // --- EUR ---
@@ -3,7 +3,7 @@ export var COINS_AURORA = lowerCaseValues({
3
3
  'crv': '0x64D5BaF5ac030e2b7c435aDD967f787ae94D0205',
4
4
  // --- USD ---
5
5
  'dai': '0xe3520349F477A5F6EB06107066048508498A291b',
6
- 'usdc': '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
6
+ 'usdc.e': '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
7
7
  'usdt': '0x4988a896b1227218e4A686fdE5EabdcAbd91571f',
8
8
  '3crv': '0xbF7E49483881C76487b0989CD7d9A8239B20CA41',
9
9
  });
@@ -3,7 +3,7 @@ export var COINS_OPTIMISM = lowerCaseValues({
3
3
  'crv': '0x0994206dfE8De6Ec6920FF4D779B0d950605Fb53',
4
4
  // --- USD ---
5
5
  'dai': '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
6
- 'usdc': '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
6
+ 'usdc.e': '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
7
7
  'usdt': '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58',
8
8
  'susd': '0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9',
9
9
  'mim': '0xb153fb3d196a8eb25522705560ac152eeec57901',
@@ -3,7 +3,7 @@ export var COINS_POLYGON = lowerCaseValues({
3
3
  crv: "0x172370d5cd63279efa6d502dab29171933a610af",
4
4
  // -- USD ---
5
5
  dai: "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
6
- usdc: "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
6
+ 'usdc.e': "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
7
7
  usdt: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
8
8
  amdai: "0x27F8D03b3a2196956ED754baDc28D73be8830A6e",
9
9
  amusdc: "0x1a13F4Ca1d028320A707D99520AbFefca3998b7F",
@@ -17,8 +17,8 @@ export var POOLS_DATA_ARBITRUM = lowerCasePoolDataAddresses({
17
17
  token_address: '0x7f90122bf0700f9e7e1f688fe926940e8839f353',
18
18
  gauge_address: '0xCE5F24B7A95e9cBa7df4B54E911B4A3Dc8CDAf6f',
19
19
  is_plain: true,
20
- underlying_coins: ['USDC', 'USDT'],
21
- wrapped_coins: ['USDC', 'USDT'],
20
+ underlying_coins: ['USDC.e', 'USDT'],
21
+ wrapped_coins: ['USDC.e', 'USDT'],
22
22
  underlying_coin_addresses: [
23
23
  '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8',
24
24
  '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
@@ -96,7 +96,7 @@ export var POOLS_DATA_ARBITRUM = lowerCasePoolDataAddresses({
96
96
  is_meta: true,
97
97
  is_crypto: true,
98
98
  base_pool: '2pool',
99
- underlying_coins: ['EURS', 'USDC', 'USDT'],
99
+ underlying_coins: ['EURS', 'USDC.e', 'USDT'],
100
100
  wrapped_coins: ['EURS', '2CRV'],
101
101
  underlying_coin_addresses: [
102
102
  '0xd22a58f79e9481d1a88e00c343885a588b34b68b',
@@ -11,8 +11,8 @@ export var POOLS_DATA_AURORA = lowerCasePoolDataAddresses({
11
11
  token_address: '0xbF7E49483881C76487b0989CD7d9A8239B20CA41',
12
12
  gauge_address: '0xC2b1DF84112619D190193E48148000e3990Bf627',
13
13
  is_plain: true,
14
- underlying_coins: ['DAI', 'USDC', 'USDT'],
15
- wrapped_coins: ['DAI', 'USDC', 'USDT'],
14
+ underlying_coins: ['DAI', 'USDC.e', 'USDT'],
15
+ wrapped_coins: ['DAI', 'USDC.e', 'USDT'],
16
16
  underlying_coin_addresses: [
17
17
  '0xe3520349F477A5F6EB06107066048508498A291b',
18
18
  '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
@@ -12,8 +12,8 @@ export var POOLS_DATA_OPTIMISM = lowerCasePoolDataAddresses({
12
12
  swap_address: '0x1337BedC9D22ecbe766dF105c9623922A27963EC',
13
13
  token_address: '0x1337BedC9D22ecbe766dF105c9623922A27963EC',
14
14
  gauge_address: '0x15F52286C0FF1d7A7dDbC9E300dd66628D46D4e6',
15
- underlying_coins: ['DAI', 'USDC', 'USDT'],
16
- wrapped_coins: ['DAI', 'USDC', 'USDT'],
15
+ underlying_coins: ['DAI', 'USDC.e', 'USDT'],
16
+ wrapped_coins: ['DAI', 'USDC.e', 'USDT'],
17
17
  underlying_coin_addresses: [
18
18
  '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
19
19
  '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
@@ -19,7 +19,7 @@ export var POOLS_DATA_POLYGON = lowerCasePoolDataAddresses({
19
19
  // sCurveRewards_address: '0xBdFF0C27dd073C119ebcb1299a68A6A92aE607F0',
20
20
  // reward_contract: "0xC48f4653dd6a9509De44c92beb0604BEA3AEe714",
21
21
  is_lending: true,
22
- underlying_coins: ['DAI', 'USDC', 'USDT'],
22
+ underlying_coins: ['DAI', 'USDC.e', 'USDT'],
23
23
  wrapped_coins: ['amDAI', 'amUSDC', 'amUSDT'],
24
24
  underlying_coin_addresses: [
25
25
  '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
@@ -81,7 +81,7 @@ export var POOLS_DATA_POLYGON = lowerCasePoolDataAddresses({
81
81
  is_fake: true,
82
82
  base_pool: 'aave',
83
83
  meta_coin_idx: 0,
84
- underlying_coins: ['DAI', 'USDC', 'USDT', 'WBTC', 'WETH'],
84
+ underlying_coins: ['DAI', 'USDC.e', 'USDT', 'WBTC', 'WETH'],
85
85
  wrapped_coins: ['am3CRV', 'amWBTC', 'amWETH'],
86
86
  underlying_coin_addresses: [
87
87
  '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
@@ -115,7 +115,7 @@ export var POOLS_DATA_POLYGON = lowerCasePoolDataAddresses({
115
115
  is_meta: true,
116
116
  is_crypto: true,
117
117
  base_pool: 'aave',
118
- underlying_coins: ['EURT', 'DAI', 'USDC', 'USDT'],
118
+ underlying_coins: ['EURT', 'DAI', 'USDC.e', 'USDT'],
119
119
  wrapped_coins: ['EURT', 'am3CRV'],
120
120
  underlying_coin_addresses: [
121
121
  '0x7BDF330f423Ea880FF95fC41A280fD5eCFD3D09f',
@@ -145,7 +145,7 @@ export var POOLS_DATA_POLYGON = lowerCasePoolDataAddresses({
145
145
  is_meta: true,
146
146
  is_crypto: true,
147
147
  base_pool: 'aave',
148
- underlying_coins: ['EURS', 'DAI', 'USDC', 'USDT'],
148
+ underlying_coins: ['EURS', 'DAI', 'USDC.e', 'USDT'],
149
149
  wrapped_coins: ['EURS', 'am3CRV'],
150
150
  underlying_coin_addresses: [
151
151
  '0xe111178a87a3bff0c8d18decba5798827539ae99',
@@ -636,7 +636,7 @@ initialPrices, estimateGas) { return __awaiter(void 0, void 0, void 0, function
636
636
  _emaTime = parseUnits(Math.floor(emaTime / Math.log(2)), 0);
637
637
  _initialPrices = [parseUnits(initialPrices[0]), parseUnits(initialPrices[1])];
638
638
  contract = curve.contracts[curve.constants.ALIASES.tricrypto_factory].contract;
639
- return [4 /*yield*/, contract.deploy_pool.estimateGas(name, symbol, coins, curve.constants.NATIVE_TOKEN.wrappedAddress, 0, _A, _gamma, _midFee, _outFee, _feeGamma, _allowedExtraProfit, _adjustmentStep, _emaTime, _initialPrices, curve.constantOptions)];
639
+ return [4 /*yield*/, contract.deploy_pool.estimateGas(name, symbol, coins, curve.constants.ZERO_ADDRESS, 0, _A, _gamma, _midFee, _outFee, _feeGamma, _allowedExtraProfit, _adjustmentStep, _emaTime, _initialPrices, curve.constantOptions)];
640
640
  case 1:
641
641
  gas = _a.sent();
642
642
  if (estimateGas)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.53.12",
3
+ "version": "2.53.14",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",