@curvefi/api 1.10.0 → 1.11.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.
@@ -1,4 +1,4 @@
1
1
  import { PoolDataInterface } from "../../interfaces";
2
- export declare const poolsData: {
2
+ export declare const POOLS_DATA_ETHEREUM: {
3
3
  [index: string]: PoolDataInterface;
4
4
  };
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.poolsData = void 0;
6
+ exports.POOLS_DATA_ETHEREUM = void 0;
7
7
  // import config from '../config';
8
8
  var deposit_json_1 = __importDefault(require("./json/compound/deposit.json"));
9
9
  var migration_json_1 = __importDefault(require("./json/compound/migration.json"));
@@ -82,7 +82,7 @@ var swap_json_35 = __importDefault(require("./json/eurt/swap.json"));
82
82
  var swap_json_36 = __importDefault(require("./json/eurtusd/swap.json"));
83
83
  var deposit_json_22 = __importDefault(require("./json/eurtusd/deposit.json"));
84
84
  var swap_json_37 = __importDefault(require("./json/crveth/swap.json"));
85
- exports.poolsData = {
85
+ exports.POOLS_DATA_ETHEREUM = {
86
86
  compound: {
87
87
  N_COINS: 2,
88
88
  underlying_decimals: [18, 6],
@@ -0,0 +1,4 @@
1
+ import { PoolDataInterface } from "../../interfaces";
2
+ export declare const POOLS_DATA_POLYGON: {
3
+ [index: string]: PoolDataInterface;
4
+ };
@@ -0,0 +1,146 @@
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_POLYGON = void 0;
7
+ var swap_json_1 = __importDefault(require("./json/aave/swap.json"));
8
+ var rewards_json_1 = __importDefault(require("./json/paave/rewards.json"));
9
+ var swap_json_2 = __importDefault(require("./json/ren-polygon/swap.json"));
10
+ var swap_json_3 = __importDefault(require("./json/atricrypto3/swap.json"));
11
+ var zap_json_1 = __importDefault(require("./json/atricrypto3/zap.json"));
12
+ var swap_json_4 = __importDefault(require("./json/eurtusd/swap.json"));
13
+ var deposit_json_1 = __importDefault(require("./json/eurtusd/deposit.json"));
14
+ exports.POOLS_DATA_POLYGON = {
15
+ aave: {
16
+ N_COINS: 3,
17
+ is_aave: true,
18
+ underlying_decimals: [18, 6, 6],
19
+ decimals: [18, 6, 6],
20
+ use_lending: [true, true, true],
21
+ tethered: [false, false, true],
22
+ is_plain: [false, false, false],
23
+ swap_address: '0x445FE580eF8d70FF569aB36e80c647af338db351',
24
+ token_address: '0xE7a24EF0C5e95Ffb0f6684b813A78F2a3AD7D171',
25
+ gauge_address: '0x19793B454D3AfC7b454F206Ffe95aDE26cA6912c',
26
+ underlying_coins: ['DAI', 'USDC', 'USDT'],
27
+ coins: ['amDAI', 'amUSDC', 'amUSDT'],
28
+ underlying_coin_addresses: [
29
+ '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
30
+ '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
31
+ '0xc2132d05d31c914a87c6611c10748aeb04b58e8f',
32
+ ],
33
+ coin_addresses: [
34
+ '0x27F8D03b3a2196956ED754baDc28D73be8830A6e',
35
+ '0x1a13F4Ca1d028320A707D99520AbFefca3998b7F',
36
+ '0x60D55F02A771d515e077c9C2403a1ef324885CeC',
37
+ ],
38
+ swap_abi: swap_json_1.default,
39
+ sCurveRewards_abi: rewards_json_1.default,
40
+ sCurveRewards_address: '0xBdFF0C27dd073C119ebcb1299a68A6A92aE607F0',
41
+ reward_token: "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
42
+ },
43
+ ren: {
44
+ N_COINS: 2,
45
+ is_aave: true,
46
+ underlying_decimals: [8, 8],
47
+ decimals: [8, 8],
48
+ use_lending: [true, false],
49
+ tethered: [false, false],
50
+ is_plain: [false, true],
51
+ swap_address: '0xC2d95EEF97Ec6C17551d45e77B590dc1F9117C67',
52
+ token_address: '0xf8a57c1d3b9629b77b6726a042ca48990A84Fb49',
53
+ gauge_address: '0xffbACcE0CC7C19d46132f1258FC16CF6871D153c',
54
+ underlying_coins: ['WBTC', 'renBTC'],
55
+ coins: ['amWBTC', 'renBTC'],
56
+ underlying_coin_addresses: [
57
+ '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6',
58
+ '0xDBf31dF14B66535aF65AaC99C32e9eA844e14501',
59
+ ],
60
+ coin_addresses: [
61
+ '0x5c2ed810328349100A66B82b78a1791B101C9D61',
62
+ '0xDBf31dF14B66535aF65AaC99C32e9eA844e14501',
63
+ ],
64
+ swap_abi: swap_json_2.default,
65
+ },
66
+ atricrypto3: {
67
+ swap_abi: swap_json_3.default,
68
+ deposit_abi: zap_json_1.default,
69
+ N_COINS: 5,
70
+ underlying_decimals: [18, 6, 6, 8, 18],
71
+ decimals: [18, 8, 18],
72
+ tethered: [false, false, false, false, false],
73
+ use_lending: [false, false, false, false, false],
74
+ is_plain: [true, true, true, true, true],
75
+ swap_address: '0x92215849c439E1f8612b6646060B4E3E5ef822cC',
76
+ token_address: '0xdAD97F7713Ae9437fa9249920eC8507e5FbB23d3',
77
+ gauge_address: '0x3B6B158A76fd8ccc297538F454ce7B4787778c7C',
78
+ deposit_address: '0x1d8b86e3D88cDb2d34688e87E72F388Cb541B7C8',
79
+ is_crypto: true,
80
+ base_pool: 'aave',
81
+ is_fake: true,
82
+ underlying_coins: ['DAI', 'USDC', 'USDT', 'WBTC', 'WETH'],
83
+ coins: ['am3CRV', 'amWBTC', 'amWETH'],
84
+ underlying_coin_addresses: [
85
+ '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
86
+ '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
87
+ '0xc2132d05d31c914a87c6611c10748aeb04b58e8f',
88
+ '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6',
89
+ '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', // WETH
90
+ ],
91
+ coin_addresses: [
92
+ '0xE7a24EF0C5e95Ffb0f6684b813A78F2a3AD7D171',
93
+ '0x5c2ed810328349100A66B82b78a1791B101C9D61',
94
+ '0x28424507fefb6f7f8E9D3860F56504E4e5f5f390', // amWETH
95
+ ],
96
+ is_meta: true,
97
+ meta_coin_addresses: [
98
+ '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
99
+ '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
100
+ '0xc2132d05d31c914a87c6611c10748aeb04b58e8f', // USDT
101
+ ],
102
+ },
103
+ eurtusd: {
104
+ N_COINS: 2,
105
+ underlying_decimals: [6, 18],
106
+ decimals: [6, 18],
107
+ tethered: [false, false],
108
+ use_lending: [false, false],
109
+ is_plain: [true, true],
110
+ swap_address: '0xB446BF7b8D6D4276d0c75eC0e3ee8dD7Fe15783A',
111
+ token_address: '0x600743B1d8A96438bD46836fD34977a00293f6Aa',
112
+ gauge_address: '0x40c0e9376468b4f257d15F8c47E5D0C646C28880',
113
+ is_crypto: true,
114
+ base_pool: 'aave',
115
+ underlying_coins: ['EURT', 'DAI', 'USDC', 'USDT'],
116
+ coins: ['EURT', 'am3CRV'],
117
+ underlying_coin_addresses: [
118
+ '0x7BDF330f423Ea880FF95fC41A280fD5eCFD3D09f',
119
+ '0xE7a24EF0C5e95Ffb0f6684b813A78F2a3AD7D171', // am3CRV
120
+ ],
121
+ coin_addresses: [
122
+ '0x7BDF330f423Ea880FF95fC41A280fD5eCFD3D09f',
123
+ '0xE7a24EF0C5e95Ffb0f6684b813A78F2a3AD7D171', // am3CRV
124
+ ],
125
+ swap_abi: swap_json_4.default,
126
+ deposit_abi: deposit_json_1.default,
127
+ deposit_address: '0x225FB4176f0E20CDb66b4a3DF70CA3063281E855',
128
+ is_meta: true,
129
+ meta_N: 5,
130
+ meta_decimals: [6, 18, 18, 6, 6],
131
+ meta_coin_decimals: [6, 18, 6, 6],
132
+ meta_wrapped_decimals: [6, 18],
133
+ meta_coin_addresses: [
134
+ '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
135
+ '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
136
+ '0xc2132d05d31c914a87c6611c10748aeb04b58e8f', // USDT
137
+ ],
138
+ all_coin_addresses: [
139
+ '0x7BDF330f423Ea880FF95fC41A280fD5eCFD3D09f',
140
+ '0xE7a24EF0C5e95Ffb0f6684b813A78F2a3AD7D171',
141
+ '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
142
+ '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
143
+ '0xc2132d05d31c914a87c6611c10748aeb04b58e8f', // USDT
144
+ ],
145
+ },
146
+ };