@curvefi/api 2.5.1 → 2.8.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.
- package/lib/constants/abis/3pool/swap.json +0 -26
- package/lib/constants/abis/3pool-optimism/swap.json +1074 -0
- package/lib/constants/abis/eursusd2/swap.json +1199 -0
- package/lib/constants/abis/eursusd2/zap.json +270 -0
- package/lib/constants/abis/ren-arbitrum/swap.json +1069 -0
- package/lib/constants/aliases.d.ts +3 -0
- package/lib/constants/aliases.js +37 -1
- package/lib/constants/coins/arbitrum.d.ts +7 -0
- package/lib/constants/coins/arbitrum.js +23 -0
- package/lib/constants/coins/optimism.d.ts +7 -0
- package/lib/constants/coins/optimism.js +21 -0
- package/lib/constants/coins/xdai.d.ts +7 -0
- package/lib/constants/coins/xdai.js +17 -0
- package/lib/constants/pools/arbitrum.d.ts +4 -0
- package/lib/constants/pools/arbitrum.js +125 -0
- package/lib/constants/pools/index.d.ts +4 -1
- package/lib/constants/pools/index.js +7 -1
- package/lib/constants/pools/optimism.d.ts +4 -0
- package/lib/constants/pools/optimism.js +37 -0
- package/lib/constants/pools/xdai.d.ts +4 -0
- package/lib/constants/pools/xdai.js +71 -0
- package/lib/curve.js +40 -5
- package/lib/factory/common.js +26 -0
- package/lib/factory/constants.d.ts +9 -0
- package/lib/factory/constants.js +108 -4
- package/lib/factory/factory-crypto.js +6 -0
- package/lib/factory/factory.js +14 -5
- package/lib/pools/PoolTemplate.js +1 -1
- package/lib/pools/poolConstructor.js +3 -2
- package/lib/pools/utils.js +22 -14
- package/lib/utils.js +10 -1
- package/package.json +1 -1
|
@@ -378,32 +378,6 @@
|
|
|
378
378
|
"type": "function",
|
|
379
379
|
"gas": "2673791"
|
|
380
380
|
},
|
|
381
|
-
{
|
|
382
|
-
"name": "get_dy_underlying",
|
|
383
|
-
"outputs": [
|
|
384
|
-
{
|
|
385
|
-
"type": "uint256",
|
|
386
|
-
"name": ""
|
|
387
|
-
}
|
|
388
|
-
],
|
|
389
|
-
"inputs": [
|
|
390
|
-
{
|
|
391
|
-
"type": "int128",
|
|
392
|
-
"name": "i"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"type": "int128",
|
|
396
|
-
"name": "j"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"type": "uint256",
|
|
400
|
-
"name": "dx"
|
|
401
|
-
}
|
|
402
|
-
],
|
|
403
|
-
"stateMutability": "view",
|
|
404
|
-
"type": "function",
|
|
405
|
-
"gas": "2673474"
|
|
406
|
-
},
|
|
407
381
|
{
|
|
408
382
|
"name": "exchange",
|
|
409
383
|
"outputs": [],
|