@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.
@@ -0,0 +1,284 @@
1
+ [
2
+ {
3
+ "stateMutability": "nonpayable",
4
+ "type": "constructor",
5
+ "inputs": [],
6
+ "outputs": []
7
+ },
8
+ {
9
+ "stateMutability": "nonpayable",
10
+ "type": "function",
11
+ "name": "add_liquidity",
12
+ "inputs": [
13
+ {
14
+ "name": "_pool",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "name": "_deposit_amounts",
19
+ "type": "uint256[3]"
20
+ },
21
+ {
22
+ "name": "_min_mint_amount",
23
+ "type": "uint256"
24
+ }
25
+ ],
26
+ "outputs": [
27
+ {
28
+ "name": "",
29
+ "type": "uint256"
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ "stateMutability": "nonpayable",
35
+ "type": "function",
36
+ "name": "add_liquidity",
37
+ "inputs": [
38
+ {
39
+ "name": "_pool",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "name": "_deposit_amounts",
44
+ "type": "uint256[3]"
45
+ },
46
+ {
47
+ "name": "_min_mint_amount",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "name": "_receiver",
52
+ "type": "address"
53
+ }
54
+ ],
55
+ "outputs": [
56
+ {
57
+ "name": "",
58
+ "type": "uint256"
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "stateMutability": "nonpayable",
64
+ "type": "function",
65
+ "name": "remove_liquidity",
66
+ "inputs": [
67
+ {
68
+ "name": "_pool",
69
+ "type": "address"
70
+ },
71
+ {
72
+ "name": "_burn_amount",
73
+ "type": "uint256"
74
+ },
75
+ {
76
+ "name": "_min_amounts",
77
+ "type": "uint256[3]"
78
+ }
79
+ ],
80
+ "outputs": [
81
+ {
82
+ "name": "",
83
+ "type": "uint256[3]"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "stateMutability": "nonpayable",
89
+ "type": "function",
90
+ "name": "remove_liquidity",
91
+ "inputs": [
92
+ {
93
+ "name": "_pool",
94
+ "type": "address"
95
+ },
96
+ {
97
+ "name": "_burn_amount",
98
+ "type": "uint256"
99
+ },
100
+ {
101
+ "name": "_min_amounts",
102
+ "type": "uint256[3]"
103
+ },
104
+ {
105
+ "name": "_receiver",
106
+ "type": "address"
107
+ }
108
+ ],
109
+ "outputs": [
110
+ {
111
+ "name": "",
112
+ "type": "uint256[3]"
113
+ }
114
+ ]
115
+ },
116
+ {
117
+ "stateMutability": "nonpayable",
118
+ "type": "function",
119
+ "name": "remove_liquidity_one_coin",
120
+ "inputs": [
121
+ {
122
+ "name": "_pool",
123
+ "type": "address"
124
+ },
125
+ {
126
+ "name": "_burn_amount",
127
+ "type": "uint256"
128
+ },
129
+ {
130
+ "name": "i",
131
+ "type": "int128"
132
+ },
133
+ {
134
+ "name": "_min_amount",
135
+ "type": "uint256"
136
+ }
137
+ ],
138
+ "outputs": [
139
+ {
140
+ "name": "",
141
+ "type": "uint256"
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "stateMutability": "nonpayable",
147
+ "type": "function",
148
+ "name": "remove_liquidity_one_coin",
149
+ "inputs": [
150
+ {
151
+ "name": "_pool",
152
+ "type": "address"
153
+ },
154
+ {
155
+ "name": "_burn_amount",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "name": "i",
160
+ "type": "int128"
161
+ },
162
+ {
163
+ "name": "_min_amount",
164
+ "type": "uint256"
165
+ },
166
+ {
167
+ "name": "_receiver",
168
+ "type": "address"
169
+ }
170
+ ],
171
+ "outputs": [
172
+ {
173
+ "name": "",
174
+ "type": "uint256"
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "stateMutability": "nonpayable",
180
+ "type": "function",
181
+ "name": "remove_liquidity_imbalance",
182
+ "inputs": [
183
+ {
184
+ "name": "_pool",
185
+ "type": "address"
186
+ },
187
+ {
188
+ "name": "_amounts",
189
+ "type": "uint256[3]"
190
+ },
191
+ {
192
+ "name": "_max_burn_amount",
193
+ "type": "uint256"
194
+ }
195
+ ],
196
+ "outputs": [
197
+ {
198
+ "name": "",
199
+ "type": "uint256"
200
+ }
201
+ ]
202
+ },
203
+ {
204
+ "stateMutability": "nonpayable",
205
+ "type": "function",
206
+ "name": "remove_liquidity_imbalance",
207
+ "inputs": [
208
+ {
209
+ "name": "_pool",
210
+ "type": "address"
211
+ },
212
+ {
213
+ "name": "_amounts",
214
+ "type": "uint256[3]"
215
+ },
216
+ {
217
+ "name": "_max_burn_amount",
218
+ "type": "uint256"
219
+ },
220
+ {
221
+ "name": "_receiver",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "outputs": [
226
+ {
227
+ "name": "",
228
+ "type": "uint256"
229
+ }
230
+ ]
231
+ },
232
+ {
233
+ "stateMutability": "view",
234
+ "type": "function",
235
+ "name": "calc_withdraw_one_coin",
236
+ "inputs": [
237
+ {
238
+ "name": "_pool",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "name": "_token_amount",
243
+ "type": "uint256"
244
+ },
245
+ {
246
+ "name": "i",
247
+ "type": "int128"
248
+ }
249
+ ],
250
+ "outputs": [
251
+ {
252
+ "name": "",
253
+ "type": "uint256"
254
+ }
255
+ ],
256
+ "gas": "5753"
257
+ },
258
+ {
259
+ "stateMutability": "view",
260
+ "type": "function",
261
+ "name": "calc_token_amount",
262
+ "inputs": [
263
+ {
264
+ "name": "_pool",
265
+ "type": "address"
266
+ },
267
+ {
268
+ "name": "_amounts",
269
+ "type": "uint256[3]"
270
+ },
271
+ {
272
+ "name": "_is_deposit",
273
+ "type": "bool"
274
+ }
275
+ ],
276
+ "outputs": [
277
+ {
278
+ "name": "",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "gas": "6289"
283
+ }
284
+ ]