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