@curvefi/api 2.2.1 → 2.3.2
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.
- package/lib/constants/abis/dusd/sCurveRewards.json +472 -1
- package/lib/constants/abis/factory-v2/MetaFraxUSD.json +1187 -0
- package/lib/constants/abis/factory-v2/MetaFraxUSDBalances.json +1200 -0
- package/lib/constants/abis/fraxusdc/metaZap.json +284 -0
- package/lib/constants/abis/fraxusdc/swap.json +868 -0
- package/lib/constants/abis/gauge_child.json +1039 -0
- package/lib/constants/abis/{gauge_rewards_only.json → minter_child.json} +159 -312
- package/lib/constants/abis/musd/sCurveRewards.json +482 -1
- package/lib/constants/abis/rsv/sCurveRewards.json +472 -1
- package/lib/constants/abis/sbtc/sCurveRewards.json +566 -1
- package/lib/constants/abis/susdv2/sCurveRewards.json +457 -1
- package/lib/constants/abis/tbtc/sCurveRewards.json +472 -1
- package/lib/constants/aliases.js +2 -2
- package/lib/constants/pools/avalanche.js +13 -20
- package/lib/constants/pools/ethereum.js +55 -32
- package/lib/constants/pools/polygon.js +19 -24
- package/lib/constants/utils.js +0 -9
- package/lib/curve.js +22 -20
- package/lib/factory/common.js +6 -0
- package/lib/factory/constants.js +8 -0
- package/lib/factory/factory-api.js +0 -7
- package/lib/interfaces.d.ts +0 -2
- package/lib/pools/PoolTemplate.d.ts +10 -1
- package/lib/pools/PoolTemplate.js +166 -98
- package/lib/utils.d.ts +1 -0
- package/lib/utils.js +9 -1
- package/package.json +1 -1
|
@@ -1 +1,472 @@
|
|
|
1
|
-
[
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"anonymous": false,
|
|
4
|
+
"inputs": [
|
|
5
|
+
{
|
|
6
|
+
"indexed": true,
|
|
7
|
+
"internalType": "address",
|
|
8
|
+
"name": "previousOwner",
|
|
9
|
+
"type": "address"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"indexed": true,
|
|
13
|
+
"internalType": "address",
|
|
14
|
+
"name": "newOwner",
|
|
15
|
+
"type": "address"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"name": "OwnershipTransferred",
|
|
19
|
+
"type": "event"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"anonymous": false,
|
|
23
|
+
"inputs": [
|
|
24
|
+
{
|
|
25
|
+
"indexed": false,
|
|
26
|
+
"internalType": "uint256",
|
|
27
|
+
"name": "reward",
|
|
28
|
+
"type": "uint256"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"name": "RewardAdded",
|
|
32
|
+
"type": "event"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"anonymous": false,
|
|
36
|
+
"inputs": [
|
|
37
|
+
{
|
|
38
|
+
"indexed": true,
|
|
39
|
+
"internalType": "address",
|
|
40
|
+
"name": "user",
|
|
41
|
+
"type": "address"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"indexed": false,
|
|
45
|
+
"internalType": "uint256",
|
|
46
|
+
"name": "reward",
|
|
47
|
+
"type": "uint256"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"name": "RewardPaid",
|
|
51
|
+
"type": "event"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"anonymous": false,
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"indexed": true,
|
|
58
|
+
"internalType": "address",
|
|
59
|
+
"name": "user",
|
|
60
|
+
"type": "address"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"indexed": false,
|
|
64
|
+
"internalType": "uint256",
|
|
65
|
+
"name": "amount",
|
|
66
|
+
"type": "uint256"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"name": "Staked",
|
|
70
|
+
"type": "event"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"anonymous": false,
|
|
74
|
+
"inputs": [
|
|
75
|
+
{
|
|
76
|
+
"indexed": true,
|
|
77
|
+
"internalType": "address",
|
|
78
|
+
"name": "user",
|
|
79
|
+
"type": "address"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"indexed": false,
|
|
83
|
+
"internalType": "uint256",
|
|
84
|
+
"name": "amount",
|
|
85
|
+
"type": "uint256"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"name": "Withdrawn",
|
|
89
|
+
"type": "event"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"constant": true,
|
|
93
|
+
"inputs": [],
|
|
94
|
+
"name": "DURATION",
|
|
95
|
+
"outputs": [
|
|
96
|
+
{
|
|
97
|
+
"internalType": "uint256",
|
|
98
|
+
"name": "",
|
|
99
|
+
"type": "uint256"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"payable": false,
|
|
103
|
+
"stateMutability": "view",
|
|
104
|
+
"type": "function"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"constant": true,
|
|
108
|
+
"inputs": [
|
|
109
|
+
{
|
|
110
|
+
"internalType": "address",
|
|
111
|
+
"name": "account",
|
|
112
|
+
"type": "address"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"name": "balanceOf",
|
|
116
|
+
"outputs": [
|
|
117
|
+
{
|
|
118
|
+
"internalType": "uint256",
|
|
119
|
+
"name": "",
|
|
120
|
+
"type": "uint256"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"payable": false,
|
|
124
|
+
"stateMutability": "view",
|
|
125
|
+
"type": "function"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"constant": true,
|
|
129
|
+
"inputs": [
|
|
130
|
+
{
|
|
131
|
+
"internalType": "address",
|
|
132
|
+
"name": "account",
|
|
133
|
+
"type": "address"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"name": "earned",
|
|
137
|
+
"outputs": [
|
|
138
|
+
{
|
|
139
|
+
"internalType": "uint256",
|
|
140
|
+
"name": "",
|
|
141
|
+
"type": "uint256"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"payable": false,
|
|
145
|
+
"stateMutability": "view",
|
|
146
|
+
"type": "function"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"constant": false,
|
|
150
|
+
"inputs": [],
|
|
151
|
+
"name": "exit",
|
|
152
|
+
"outputs": [],
|
|
153
|
+
"payable": false,
|
|
154
|
+
"stateMutability": "nonpayable",
|
|
155
|
+
"type": "function"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"constant": false,
|
|
159
|
+
"inputs": [],
|
|
160
|
+
"name": "getReward",
|
|
161
|
+
"outputs": [],
|
|
162
|
+
"payable": false,
|
|
163
|
+
"stateMutability": "nonpayable",
|
|
164
|
+
"type": "function"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"constant": true,
|
|
168
|
+
"inputs": [],
|
|
169
|
+
"name": "isOwner",
|
|
170
|
+
"outputs": [
|
|
171
|
+
{
|
|
172
|
+
"internalType": "bool",
|
|
173
|
+
"name": "",
|
|
174
|
+
"type": "bool"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"payable": false,
|
|
178
|
+
"stateMutability": "view",
|
|
179
|
+
"type": "function"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"constant": true,
|
|
183
|
+
"inputs": [],
|
|
184
|
+
"name": "lastTimeRewardApplicable",
|
|
185
|
+
"outputs": [
|
|
186
|
+
{
|
|
187
|
+
"internalType": "uint256",
|
|
188
|
+
"name": "",
|
|
189
|
+
"type": "uint256"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"payable": false,
|
|
193
|
+
"stateMutability": "view",
|
|
194
|
+
"type": "function"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"constant": true,
|
|
198
|
+
"inputs": [],
|
|
199
|
+
"name": "lastUpdateTime",
|
|
200
|
+
"outputs": [
|
|
201
|
+
{
|
|
202
|
+
"internalType": "uint256",
|
|
203
|
+
"name": "",
|
|
204
|
+
"type": "uint256"
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"payable": false,
|
|
208
|
+
"stateMutability": "view",
|
|
209
|
+
"type": "function"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"constant": false,
|
|
213
|
+
"inputs": [
|
|
214
|
+
{
|
|
215
|
+
"internalType": "uint256",
|
|
216
|
+
"name": "reward",
|
|
217
|
+
"type": "uint256"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"name": "notifyRewardAmount",
|
|
221
|
+
"outputs": [],
|
|
222
|
+
"payable": false,
|
|
223
|
+
"stateMutability": "nonpayable",
|
|
224
|
+
"type": "function"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"constant": true,
|
|
228
|
+
"inputs": [],
|
|
229
|
+
"name": "owner",
|
|
230
|
+
"outputs": [
|
|
231
|
+
{
|
|
232
|
+
"internalType": "address",
|
|
233
|
+
"name": "",
|
|
234
|
+
"type": "address"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"payable": false,
|
|
238
|
+
"stateMutability": "view",
|
|
239
|
+
"type": "function"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"constant": true,
|
|
243
|
+
"inputs": [],
|
|
244
|
+
"name": "periodFinish",
|
|
245
|
+
"outputs": [
|
|
246
|
+
{
|
|
247
|
+
"internalType": "uint256",
|
|
248
|
+
"name": "",
|
|
249
|
+
"type": "uint256"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"payable": false,
|
|
253
|
+
"stateMutability": "view",
|
|
254
|
+
"type": "function"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"constant": false,
|
|
258
|
+
"inputs": [],
|
|
259
|
+
"name": "renounceOwnership",
|
|
260
|
+
"outputs": [],
|
|
261
|
+
"payable": false,
|
|
262
|
+
"stateMutability": "nonpayable",
|
|
263
|
+
"type": "function"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"constant": true,
|
|
267
|
+
"inputs": [],
|
|
268
|
+
"name": "rewardDistribution",
|
|
269
|
+
"outputs": [
|
|
270
|
+
{
|
|
271
|
+
"internalType": "address",
|
|
272
|
+
"name": "",
|
|
273
|
+
"type": "address"
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"payable": false,
|
|
277
|
+
"stateMutability": "view",
|
|
278
|
+
"type": "function"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"constant": true,
|
|
282
|
+
"inputs": [],
|
|
283
|
+
"name": "rewardPerToken",
|
|
284
|
+
"outputs": [
|
|
285
|
+
{
|
|
286
|
+
"internalType": "uint256",
|
|
287
|
+
"name": "",
|
|
288
|
+
"type": "uint256"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"payable": false,
|
|
292
|
+
"stateMutability": "view",
|
|
293
|
+
"type": "function"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"constant": true,
|
|
297
|
+
"inputs": [],
|
|
298
|
+
"name": "rewardPerTokenStored",
|
|
299
|
+
"outputs": [
|
|
300
|
+
{
|
|
301
|
+
"internalType": "uint256",
|
|
302
|
+
"name": "",
|
|
303
|
+
"type": "uint256"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"payable": false,
|
|
307
|
+
"stateMutability": "view",
|
|
308
|
+
"type": "function"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"constant": true,
|
|
312
|
+
"inputs": [],
|
|
313
|
+
"name": "rewardRate",
|
|
314
|
+
"outputs": [
|
|
315
|
+
{
|
|
316
|
+
"internalType": "uint256",
|
|
317
|
+
"name": "",
|
|
318
|
+
"type": "uint256"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"payable": false,
|
|
322
|
+
"stateMutability": "view",
|
|
323
|
+
"type": "function"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"constant": true,
|
|
327
|
+
"inputs": [
|
|
328
|
+
{
|
|
329
|
+
"internalType": "address",
|
|
330
|
+
"name": "",
|
|
331
|
+
"type": "address"
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"name": "rewards",
|
|
335
|
+
"outputs": [
|
|
336
|
+
{
|
|
337
|
+
"internalType": "uint256",
|
|
338
|
+
"name": "",
|
|
339
|
+
"type": "uint256"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"payable": false,
|
|
343
|
+
"stateMutability": "view",
|
|
344
|
+
"type": "function"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"constant": false,
|
|
348
|
+
"inputs": [
|
|
349
|
+
{
|
|
350
|
+
"internalType": "address",
|
|
351
|
+
"name": "_rewardDistribution",
|
|
352
|
+
"type": "address"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"name": "setRewardDistribution",
|
|
356
|
+
"outputs": [],
|
|
357
|
+
"payable": false,
|
|
358
|
+
"stateMutability": "nonpayable",
|
|
359
|
+
"type": "function"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"constant": true,
|
|
363
|
+
"inputs": [],
|
|
364
|
+
"name": "snx",
|
|
365
|
+
"outputs": [
|
|
366
|
+
{
|
|
367
|
+
"internalType": "contract IERC20",
|
|
368
|
+
"name": "",
|
|
369
|
+
"type": "address"
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
"payable": false,
|
|
373
|
+
"stateMutability": "view",
|
|
374
|
+
"type": "function"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"constant": false,
|
|
378
|
+
"inputs": [
|
|
379
|
+
{
|
|
380
|
+
"internalType": "uint256",
|
|
381
|
+
"name": "amount",
|
|
382
|
+
"type": "uint256"
|
|
383
|
+
}
|
|
384
|
+
],
|
|
385
|
+
"name": "stake",
|
|
386
|
+
"outputs": [],
|
|
387
|
+
"payable": false,
|
|
388
|
+
"stateMutability": "nonpayable",
|
|
389
|
+
"type": "function"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"constant": true,
|
|
393
|
+
"inputs": [],
|
|
394
|
+
"name": "totalSupply",
|
|
395
|
+
"outputs": [
|
|
396
|
+
{
|
|
397
|
+
"internalType": "uint256",
|
|
398
|
+
"name": "",
|
|
399
|
+
"type": "uint256"
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"payable": false,
|
|
403
|
+
"stateMutability": "view",
|
|
404
|
+
"type": "function"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"constant": false,
|
|
408
|
+
"inputs": [
|
|
409
|
+
{
|
|
410
|
+
"internalType": "address",
|
|
411
|
+
"name": "newOwner",
|
|
412
|
+
"type": "address"
|
|
413
|
+
}
|
|
414
|
+
],
|
|
415
|
+
"name": "transferOwnership",
|
|
416
|
+
"outputs": [],
|
|
417
|
+
"payable": false,
|
|
418
|
+
"stateMutability": "nonpayable",
|
|
419
|
+
"type": "function"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"constant": true,
|
|
423
|
+
"inputs": [],
|
|
424
|
+
"name": "uni",
|
|
425
|
+
"outputs": [
|
|
426
|
+
{
|
|
427
|
+
"internalType": "contract IERC20",
|
|
428
|
+
"name": "",
|
|
429
|
+
"type": "address"
|
|
430
|
+
}
|
|
431
|
+
],
|
|
432
|
+
"payable": false,
|
|
433
|
+
"stateMutability": "view",
|
|
434
|
+
"type": "function"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"constant": true,
|
|
438
|
+
"inputs": [
|
|
439
|
+
{
|
|
440
|
+
"internalType": "address",
|
|
441
|
+
"name": "",
|
|
442
|
+
"type": "address"
|
|
443
|
+
}
|
|
444
|
+
],
|
|
445
|
+
"name": "userRewardPerTokenPaid",
|
|
446
|
+
"outputs": [
|
|
447
|
+
{
|
|
448
|
+
"internalType": "uint256",
|
|
449
|
+
"name": "",
|
|
450
|
+
"type": "uint256"
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
"payable": false,
|
|
454
|
+
"stateMutability": "view",
|
|
455
|
+
"type": "function"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"constant": false,
|
|
459
|
+
"inputs": [
|
|
460
|
+
{
|
|
461
|
+
"internalType": "uint256",
|
|
462
|
+
"name": "amount",
|
|
463
|
+
"type": "uint256"
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"name": "withdraw",
|
|
467
|
+
"outputs": [],
|
|
468
|
+
"payable": false,
|
|
469
|
+
"stateMutability": "nonpayable",
|
|
470
|
+
"type": "function"
|
|
471
|
+
}
|
|
472
|
+
]
|
package/lib/constants/aliases.js
CHANGED
|
@@ -16,7 +16,7 @@ exports.ALIASES_ETHEREUM = (0, utils_1.lowerCaseValues)({
|
|
|
16
16
|
});
|
|
17
17
|
exports.ALIASES_POLYGON = (0, utils_1.lowerCaseValues)({
|
|
18
18
|
"crv": "0x172370d5cd63279efa6d502dab29171933a610af",
|
|
19
|
-
"minter": "
|
|
19
|
+
"minter": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
|
|
20
20
|
"voting_escrow": "0x5f3b5DfEb7B28CDbD7FAba78963EE202a494e2A2",
|
|
21
21
|
"gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
|
|
22
22
|
"address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
|
|
@@ -28,7 +28,7 @@ exports.ALIASES_POLYGON = (0, utils_1.lowerCaseValues)({
|
|
|
28
28
|
});
|
|
29
29
|
exports.ALIASES_AVALANCHE = (0, utils_1.lowerCaseValues)({
|
|
30
30
|
"crv": "0x47536F17F4fF30e64A96a7555826b8f9e66ec468",
|
|
31
|
-
"minter": "
|
|
31
|
+
"minter": "0xabC000d88f23Bb45525E447528DBF656A9D55bf5",
|
|
32
32
|
"voting_escrow": "0x5f3b5DfEb7B28CDbD7FAba78963EE202a494e2A2",
|
|
33
33
|
"gauge_controller": "0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB",
|
|
34
34
|
"address_provider": "0x0000000022d53366457f9d5e68ec105046fc4383",
|
|
@@ -6,11 +6,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.POOLS_DATA_AVALANCHE = void 0;
|
|
7
7
|
var utils_1 = require("../utils");
|
|
8
8
|
var swap_json_1 = __importDefault(require("../abis/aave/swap.json"));
|
|
9
|
-
var rewards_json_1 = __importDefault(require("../abis/paave/rewards.json"));
|
|
10
9
|
var swap_json_2 = __importDefault(require("../abis/ren-polygon/swap.json"));
|
|
11
10
|
var swap_json_3 = __importDefault(require("../abis/atricrypto3/swap.json"));
|
|
12
11
|
var zap_json_1 = __importDefault(require("../abis/atricrypto3/zap.json"));
|
|
13
|
-
var
|
|
12
|
+
var gauge_child_json_1 = __importDefault(require("../abis/gauge_child.json"));
|
|
14
13
|
exports.POOLS_DATA_AVALANCHE = (0, utils_1.lowerCasePoolDataAddresses)({
|
|
15
14
|
aave: {
|
|
16
15
|
name: "aave",
|
|
@@ -19,8 +18,9 @@ exports.POOLS_DATA_AVALANCHE = (0, utils_1.lowerCasePoolDataAddresses)({
|
|
|
19
18
|
reference_asset: 'USD',
|
|
20
19
|
swap_address: '0x7f90122BF0700F9E7e1F688fe926940E8839F353',
|
|
21
20
|
token_address: '0x1337BedC9D22ecbe766dF105c9623922A27963EC',
|
|
22
|
-
gauge_address: '
|
|
23
|
-
|
|
21
|
+
gauge_address: '0x4620D46b4db7fB04a01A75fFed228Bc027C9A899',
|
|
22
|
+
// gauge_address: '0x5B5CFE992AdAC0C9D48E05854B2d91C73a003858',
|
|
23
|
+
// reward_contract: '0xB504b6EB06760019801a91B451d3f7BD9f027fC9',
|
|
24
24
|
is_lending: true,
|
|
25
25
|
underlying_coins: ['DAI.e', 'USDC.e', 'USDT.e'],
|
|
26
26
|
wrapped_coins: ['avDAI', 'avUSDC', 'avUSDT'],
|
|
@@ -37,11 +37,8 @@ exports.POOLS_DATA_AVALANCHE = (0, utils_1.lowerCasePoolDataAddresses)({
|
|
|
37
37
|
underlying_decimals: [18, 6, 6],
|
|
38
38
|
wrapped_decimals: [18, 6, 6],
|
|
39
39
|
use_lending: [true, true, true],
|
|
40
|
-
reward_tokens: ["0x47536F17F4fF30e64A96a7555826b8f9e66ec468"],
|
|
41
|
-
reward_decimals: [18],
|
|
42
40
|
swap_abi: swap_json_1.default,
|
|
43
|
-
gauge_abi:
|
|
44
|
-
sCurveRewards_abi: rewards_json_1.default,
|
|
41
|
+
gauge_abi: gauge_child_json_1.default,
|
|
45
42
|
},
|
|
46
43
|
ren: {
|
|
47
44
|
name: "ren",
|
|
@@ -50,8 +47,9 @@ exports.POOLS_DATA_AVALANCHE = (0, utils_1.lowerCasePoolDataAddresses)({
|
|
|
50
47
|
reference_asset: 'BTC',
|
|
51
48
|
swap_address: '0x16a7DA911A4DD1d83F3fF066fE28F3C792C50d90',
|
|
52
49
|
token_address: '0xC2b1DF84112619D190193E48148000e3990Bf627',
|
|
53
|
-
gauge_address: '
|
|
54
|
-
|
|
50
|
+
gauge_address: '0x00F7d467ef51E44f11f52a0c0Bef2E56C271b264',
|
|
51
|
+
// gauge_address: '0x0f9cb53Ebe405d49A0bbdBD291A65Ff571bC83e1',
|
|
52
|
+
// reward_contract: '0x75D05190f35567e79012c2F0a02330D3Ed8a1F74',
|
|
55
53
|
is_lending: true,
|
|
56
54
|
underlying_coins: ['WBTC.e', 'renBTC'],
|
|
57
55
|
wrapped_coins: ['avWBTC', 'renBTC'],
|
|
@@ -66,11 +64,8 @@ exports.POOLS_DATA_AVALANCHE = (0, utils_1.lowerCasePoolDataAddresses)({
|
|
|
66
64
|
underlying_decimals: [8, 8],
|
|
67
65
|
wrapped_decimals: [8, 8],
|
|
68
66
|
use_lending: [true, false],
|
|
69
|
-
reward_tokens: ["0x47536F17F4fF30e64A96a7555826b8f9e66ec468"],
|
|
70
|
-
reward_decimals: [18],
|
|
71
67
|
swap_abi: swap_json_2.default,
|
|
72
|
-
gauge_abi:
|
|
73
|
-
sCurveRewards_abi: rewards_json_1.default,
|
|
68
|
+
gauge_abi: gauge_child_json_1.default,
|
|
74
69
|
},
|
|
75
70
|
atricrypto: {
|
|
76
71
|
name: "atricrypto",
|
|
@@ -79,9 +74,10 @@ exports.POOLS_DATA_AVALANCHE = (0, utils_1.lowerCasePoolDataAddresses)({
|
|
|
79
74
|
reference_asset: 'CRYPTO',
|
|
80
75
|
swap_address: '0xB755B949C126C04e0348DD881a5cF55d424742B2',
|
|
81
76
|
token_address: '0x1daB6560494B04473A0BE3E7D83CF3Fdf3a51828',
|
|
82
|
-
gauge_address: '
|
|
77
|
+
gauge_address: '0x1879075f1c055564CB968905aC404A5A01a1699A',
|
|
83
78
|
deposit_address: '0x58e57cA18B7A47112b877E31929798Cd3D703b0f',
|
|
84
|
-
|
|
79
|
+
// gauge_address: '0x445FE580eF8d70FF569aB36e80c647af338db351',
|
|
80
|
+
// reward_contract: '0xa05E565cA0a103FcD999c7A7b8de7Bd15D5f6505',
|
|
85
81
|
is_meta: true,
|
|
86
82
|
is_crypto: true,
|
|
87
83
|
is_fake: true,
|
|
@@ -103,11 +99,8 @@ exports.POOLS_DATA_AVALANCHE = (0, utils_1.lowerCasePoolDataAddresses)({
|
|
|
103
99
|
underlying_decimals: [18, 6, 6, 8, 18],
|
|
104
100
|
wrapped_decimals: [18, 8, 18],
|
|
105
101
|
use_lending: [false, false, false, false, false],
|
|
106
|
-
reward_tokens: ["0x47536F17F4fF30e64A96a7555826b8f9e66ec468"],
|
|
107
|
-
reward_decimals: [18],
|
|
108
102
|
swap_abi: swap_json_3.default,
|
|
109
|
-
gauge_abi:
|
|
103
|
+
gauge_abi: gauge_child_json_1.default,
|
|
110
104
|
deposit_abi: zap_json_1.default,
|
|
111
|
-
sCurveRewards_abi: rewards_json_1.default,
|
|
112
105
|
},
|
|
113
106
|
});
|