@curvefi/api 2.54.5 → 2.54.6
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/curve.js
CHANGED
|
@@ -74,7 +74,6 @@ import feeDistributorABI from './constants/abis/fee_distributor.json' assert { t
|
|
|
74
74
|
import gaugeControllerABI from './constants/abis/gaugecontroller.json' assert { type: 'json' };
|
|
75
75
|
import depositAndStakeABI from './constants/abis/deposit_and_stake.json' assert { type: 'json' };
|
|
76
76
|
import cryptoCalcZapABI from './constants/abis/crypto_calc.json' assert { type: 'json' };
|
|
77
|
-
import depositAndStake6CoinsABI from './constants/abis/deposit_and_stake_6coins.json' assert { type: 'json' };
|
|
78
77
|
import StableCalcZapABI from './constants/abis/stable_calc.json' assert { type: 'json' };
|
|
79
78
|
import routerABI from './constants/abis/router.json' assert { type: 'json' };
|
|
80
79
|
import routerPolygonABI from './constants/abis/routerPolygon.json' assert { type: 'json' };
|
|
@@ -1008,12 +1007,7 @@ var Curve = /** @class */ (function () {
|
|
|
1008
1007
|
else {
|
|
1009
1008
|
this.setContract(this.constants.ALIASES.router, routerABI);
|
|
1010
1009
|
}
|
|
1011
|
-
|
|
1012
|
-
this.setContract(this.constants.ALIASES.deposit_and_stake, depositAndStake6CoinsABI);
|
|
1013
|
-
}
|
|
1014
|
-
else {
|
|
1015
|
-
this.setContract(this.constants.ALIASES.deposit_and_stake, depositAndStakeABI);
|
|
1016
|
-
}
|
|
1010
|
+
this.setContract(this.constants.ALIASES.deposit_and_stake, depositAndStakeABI);
|
|
1017
1011
|
this.setContract(this.constants.ALIASES.crypto_calc, cryptoCalcZapABI);
|
|
1018
1012
|
this.setContract(this.constants.ALIASES.stable_calc, StableCalcZapABI);
|
|
1019
1013
|
this.setContract(this.constants.ALIASES.factory, factoryABI);
|
package/package.json
CHANGED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"stateMutability": "payable",
|
|
4
|
-
"type": "function",
|
|
5
|
-
"name": "deposit_and_stake",
|
|
6
|
-
"inputs": [
|
|
7
|
-
{
|
|
8
|
-
"name": "deposit",
|
|
9
|
-
"type": "address"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"name": "lp_token",
|
|
13
|
-
"type": "address"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"name": "gauge",
|
|
17
|
-
"type": "address"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"name": "n_coins",
|
|
21
|
-
"type": "uint256"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "coins",
|
|
25
|
-
"type": "address[6]"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "amounts",
|
|
29
|
-
"type": "uint256[6]"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "min_mint_amount",
|
|
33
|
-
"type": "uint256"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "use_underlying",
|
|
37
|
-
"type": "bool"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "pool",
|
|
41
|
-
"type": "address"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"outputs": [],
|
|
45
|
-
"gas": "409532"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"stateMutability": "payable",
|
|
49
|
-
"type": "fallback"
|
|
50
|
-
}
|
|
51
|
-
]
|