@curvefi/api 1.24.5 → 1.25.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.
@@ -0,0 +1,228 @@
1
+ [
2
+ {
3
+ "stateMutability": "nonpayable",
4
+ "type": "constructor",
5
+ "inputs": [
6
+ {
7
+ "name": "_pool",
8
+ "type": "address"
9
+ },
10
+ {
11
+ "name": "_token",
12
+ "type": "address"
13
+ }
14
+ ],
15
+ "outputs": []
16
+ },
17
+ {
18
+ "stateMutability": "nonpayable",
19
+ "type": "function",
20
+ "name": "add_liquidity",
21
+ "inputs": [
22
+ {
23
+ "name": "_amounts",
24
+ "type": "uint256[4]"
25
+ },
26
+ {
27
+ "name": "_min_mint_amount",
28
+ "type": "uint256"
29
+ }
30
+ ],
31
+ "outputs": [
32
+ {
33
+ "name": "",
34
+ "type": "uint256"
35
+ }
36
+ ],
37
+ "gas": "86660"
38
+ },
39
+ {
40
+ "stateMutability": "nonpayable",
41
+ "type": "function",
42
+ "name": "remove_liquidity",
43
+ "inputs": [
44
+ {
45
+ "name": "_amount",
46
+ "type": "uint256"
47
+ },
48
+ {
49
+ "name": "_min_amounts",
50
+ "type": "uint256[4]"
51
+ }
52
+ ],
53
+ "outputs": [
54
+ {
55
+ "name": "",
56
+ "type": "uint256[4]"
57
+ }
58
+ ],
59
+ "gas": "82960"
60
+ },
61
+ {
62
+ "stateMutability": "nonpayable",
63
+ "type": "function",
64
+ "name": "remove_liquidity_one_coin",
65
+ "inputs": [
66
+ {
67
+ "name": "_token_amount",
68
+ "type": "uint256"
69
+ },
70
+ {
71
+ "name": "i",
72
+ "type": "int128"
73
+ },
74
+ {
75
+ "name": "_min_amount",
76
+ "type": "uint256"
77
+ }
78
+ ],
79
+ "outputs": [
80
+ {
81
+ "name": "",
82
+ "type": "uint256"
83
+ }
84
+ ],
85
+ "gas": "38114"
86
+ },
87
+ {
88
+ "stateMutability": "nonpayable",
89
+ "type": "function",
90
+ "name": "remove_liquidity_imbalance",
91
+ "inputs": [
92
+ {
93
+ "name": "_amounts",
94
+ "type": "uint256[4]"
95
+ },
96
+ {
97
+ "name": "_max_burn_amount",
98
+ "type": "uint256"
99
+ }
100
+ ],
101
+ "outputs": [
102
+ {
103
+ "name": "",
104
+ "type": "uint256"
105
+ }
106
+ ],
107
+ "gas": "88693"
108
+ },
109
+ {
110
+ "stateMutability": "view",
111
+ "type": "function",
112
+ "name": "calc_withdraw_one_coin",
113
+ "inputs": [
114
+ {
115
+ "name": "_token_amount",
116
+ "type": "uint256"
117
+ },
118
+ {
119
+ "name": "i",
120
+ "type": "int128"
121
+ }
122
+ ],
123
+ "outputs": [
124
+ {
125
+ "name": "",
126
+ "type": "uint256"
127
+ }
128
+ ],
129
+ "gas": "9894"
130
+ },
131
+ {
132
+ "stateMutability": "view",
133
+ "type": "function",
134
+ "name": "calc_token_amount",
135
+ "inputs": [
136
+ {
137
+ "name": "_amounts",
138
+ "type": "uint256[4]"
139
+ },
140
+ {
141
+ "name": "_is_deposit",
142
+ "type": "bool"
143
+ }
144
+ ],
145
+ "outputs": [
146
+ {
147
+ "name": "",
148
+ "type": "uint256"
149
+ }
150
+ ],
151
+ "gas": "10963"
152
+ },
153
+ {
154
+ "stateMutability": "view",
155
+ "type": "function",
156
+ "name": "pool",
157
+ "inputs": [],
158
+ "outputs": [
159
+ {
160
+ "name": "",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "gas": "2568"
165
+ },
166
+ {
167
+ "stateMutability": "view",
168
+ "type": "function",
169
+ "name": "token",
170
+ "inputs": [],
171
+ "outputs": [
172
+ {
173
+ "name": "",
174
+ "type": "address"
175
+ }
176
+ ],
177
+ "gas": "2598"
178
+ },
179
+ {
180
+ "stateMutability": "view",
181
+ "type": "function",
182
+ "name": "base_pool",
183
+ "inputs": [],
184
+ "outputs": [
185
+ {
186
+ "name": "",
187
+ "type": "address"
188
+ }
189
+ ],
190
+ "gas": "2628"
191
+ },
192
+ {
193
+ "stateMutability": "view",
194
+ "type": "function",
195
+ "name": "coins",
196
+ "inputs": [
197
+ {
198
+ "name": "arg0",
199
+ "type": "uint256"
200
+ }
201
+ ],
202
+ "outputs": [
203
+ {
204
+ "name": "",
205
+ "type": "address"
206
+ }
207
+ ],
208
+ "gas": "2767"
209
+ },
210
+ {
211
+ "stateMutability": "view",
212
+ "type": "function",
213
+ "name": "base_coins",
214
+ "inputs": [
215
+ {
216
+ "name": "arg0",
217
+ "type": "uint256"
218
+ }
219
+ ],
220
+ "outputs": [
221
+ {
222
+ "name": "",
223
+ "type": "address"
224
+ }
225
+ ],
226
+ "gas": "2797"
227
+ }
228
+ ]