@curvefi/api 1.8.3 → 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.
- package/README.md +0 -6
- package/lib/boosting.js +2 -2
- package/lib/constants/abis/abis-ethereum.d.ts +1 -1
- package/lib/constants/abis/abis-ethereum.js +97 -5
- package/lib/constants/abis/abis-polygon.d.ts +4 -0
- package/lib/constants/abis/abis-polygon.js +146 -0
- package/lib/constants/abis/json/atricrypto3/swap.json +1269 -0
- package/lib/constants/abis/json/atricrypto3/zap.json +239 -0
- package/lib/constants/abis/json/crveth/swap.json +1258 -0
- package/lib/constants/abis/json/{registry.json → eurt/swap.json} +402 -497
- package/lib/constants/abis/json/eurtusd/deposit.json +257 -0
- package/lib/constants/abis/json/eurtusd/swap.json +1199 -0
- package/lib/constants/abis/json/paave/rewards.json +657 -0
- package/lib/constants/abis/json/registry_exchange.json +0 -37
- package/lib/constants/abis/json/ren-polygon/swap.json +1112 -0
- package/lib/constants/abis/json/tricrypto2/deposit.json +0 -79
- package/lib/constants/aliases.d.ts +16 -0
- package/lib/constants/aliases.js +19 -0
- package/lib/constants/coins-ethereum.d.ts +31 -0
- package/lib/constants/{coins.js → coins-ethereum.js} +47 -13
- package/lib/constants/coins-polygon.d.ts +31 -0
- package/lib/constants/coins-polygon.js +74 -0
- package/lib/curve.d.ts +23 -6
- package/lib/curve.js +137 -80
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/interfaces.d.ts +2 -0
- package/lib/pools.d.ts +2 -11
- package/lib/pools.js +584 -440
- package/lib/utils.d.ts +1 -0
- package/lib/utils.js +34 -15
- package/package.json +6 -5
- package/lib/constants/coins.d.ts +0 -25
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"name": "
|
|
3
|
+
"name": "Transfer",
|
|
4
4
|
"inputs": [
|
|
5
5
|
{
|
|
6
|
-
"name": "
|
|
6
|
+
"name": "sender",
|
|
7
7
|
"type": "address",
|
|
8
8
|
"indexed": true
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
"name": "
|
|
12
|
-
"type": "
|
|
11
|
+
"name": "receiver",
|
|
12
|
+
"type": "address",
|
|
13
|
+
"indexed": true
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "value",
|
|
17
|
+
"type": "uint256",
|
|
13
18
|
"indexed": false
|
|
14
19
|
}
|
|
15
20
|
],
|
|
@@ -17,474 +22,420 @@
|
|
|
17
22
|
"type": "event"
|
|
18
23
|
},
|
|
19
24
|
{
|
|
20
|
-
"name": "
|
|
25
|
+
"name": "Approval",
|
|
21
26
|
"inputs": [
|
|
22
27
|
{
|
|
23
|
-
"name": "
|
|
28
|
+
"name": "owner",
|
|
29
|
+
"type": "address",
|
|
30
|
+
"indexed": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "spender",
|
|
24
34
|
"type": "address",
|
|
25
35
|
"indexed": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "value",
|
|
39
|
+
"type": "uint256",
|
|
40
|
+
"indexed": false
|
|
26
41
|
}
|
|
27
42
|
],
|
|
28
43
|
"anonymous": false,
|
|
29
44
|
"type": "event"
|
|
30
45
|
},
|
|
31
46
|
{
|
|
32
|
-
"
|
|
33
|
-
"type": "constructor",
|
|
47
|
+
"name": "TokenExchange",
|
|
34
48
|
"inputs": [
|
|
35
49
|
{
|
|
36
|
-
"name": "
|
|
37
|
-
"type": "address"
|
|
50
|
+
"name": "buyer",
|
|
51
|
+
"type": "address",
|
|
52
|
+
"indexed": true
|
|
38
53
|
},
|
|
39
54
|
{
|
|
40
|
-
"name": "
|
|
41
|
-
"type": "
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"outputs": []
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"stateMutability": "view",
|
|
48
|
-
"type": "function",
|
|
49
|
-
"name": "find_pool_for_coins",
|
|
50
|
-
"inputs": [
|
|
55
|
+
"name": "sold_id",
|
|
56
|
+
"type": "int128",
|
|
57
|
+
"indexed": false
|
|
58
|
+
},
|
|
51
59
|
{
|
|
52
|
-
"name": "
|
|
53
|
-
"type": "
|
|
60
|
+
"name": "tokens_sold",
|
|
61
|
+
"type": "uint256",
|
|
62
|
+
"indexed": false
|
|
54
63
|
},
|
|
55
64
|
{
|
|
56
|
-
"name": "
|
|
57
|
-
"type": "
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"outputs": [
|
|
65
|
+
"name": "bought_id",
|
|
66
|
+
"type": "int128",
|
|
67
|
+
"indexed": false
|
|
68
|
+
},
|
|
61
69
|
{
|
|
62
|
-
"name": "",
|
|
63
|
-
"type": "
|
|
70
|
+
"name": "tokens_bought",
|
|
71
|
+
"type": "uint256",
|
|
72
|
+
"indexed": false
|
|
64
73
|
}
|
|
65
|
-
]
|
|
74
|
+
],
|
|
75
|
+
"anonymous": false,
|
|
76
|
+
"type": "event"
|
|
66
77
|
},
|
|
67
78
|
{
|
|
68
|
-
"
|
|
69
|
-
"type": "function",
|
|
70
|
-
"name": "find_pool_for_coins",
|
|
79
|
+
"name": "AddLiquidity",
|
|
71
80
|
"inputs": [
|
|
72
81
|
{
|
|
73
|
-
"name": "
|
|
74
|
-
"type": "address"
|
|
82
|
+
"name": "provider",
|
|
83
|
+
"type": "address",
|
|
84
|
+
"indexed": true
|
|
75
85
|
},
|
|
76
86
|
{
|
|
77
|
-
"name": "
|
|
78
|
-
"type": "
|
|
87
|
+
"name": "token_amounts",
|
|
88
|
+
"type": "uint256[2]",
|
|
89
|
+
"indexed": false
|
|
79
90
|
},
|
|
80
91
|
{
|
|
81
|
-
"name": "
|
|
82
|
-
"type": "uint256"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"outputs": [
|
|
86
|
-
{
|
|
87
|
-
"name": "",
|
|
88
|
-
"type": "address"
|
|
89
|
-
}
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"stateMutability": "view",
|
|
94
|
-
"type": "function",
|
|
95
|
-
"name": "get_n_coins",
|
|
96
|
-
"inputs": [
|
|
92
|
+
"name": "fees",
|
|
93
|
+
"type": "uint256[2]",
|
|
94
|
+
"indexed": false
|
|
95
|
+
},
|
|
97
96
|
{
|
|
98
|
-
"name": "
|
|
99
|
-
"type": "
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"outputs": [
|
|
97
|
+
"name": "invariant",
|
|
98
|
+
"type": "uint256",
|
|
99
|
+
"indexed": false
|
|
100
|
+
},
|
|
103
101
|
{
|
|
104
|
-
"name": "",
|
|
105
|
-
"type": "uint256
|
|
102
|
+
"name": "token_supply",
|
|
103
|
+
"type": "uint256",
|
|
104
|
+
"indexed": false
|
|
106
105
|
}
|
|
107
106
|
],
|
|
108
|
-
"
|
|
107
|
+
"anonymous": false,
|
|
108
|
+
"type": "event"
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
"
|
|
112
|
-
"type": "function",
|
|
113
|
-
"name": "get_coins",
|
|
111
|
+
"name": "RemoveLiquidity",
|
|
114
112
|
"inputs": [
|
|
115
113
|
{
|
|
116
|
-
"name": "
|
|
117
|
-
"type": "address"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"outputs": [
|
|
114
|
+
"name": "provider",
|
|
115
|
+
"type": "address",
|
|
116
|
+
"indexed": true
|
|
117
|
+
},
|
|
121
118
|
{
|
|
122
|
-
"name": "",
|
|
123
|
-
"type": "
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"gas": "12102"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"stateMutability": "view",
|
|
130
|
-
"type": "function",
|
|
131
|
-
"name": "get_underlying_coins",
|
|
132
|
-
"inputs": [
|
|
119
|
+
"name": "token_amounts",
|
|
120
|
+
"type": "uint256[2]",
|
|
121
|
+
"indexed": false
|
|
122
|
+
},
|
|
133
123
|
{
|
|
134
|
-
"name": "
|
|
135
|
-
"type": "
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"outputs": [
|
|
124
|
+
"name": "fees",
|
|
125
|
+
"type": "uint256[2]",
|
|
126
|
+
"indexed": false
|
|
127
|
+
},
|
|
139
128
|
{
|
|
140
|
-
"name": "",
|
|
141
|
-
"type": "
|
|
129
|
+
"name": "token_supply",
|
|
130
|
+
"type": "uint256",
|
|
131
|
+
"indexed": false
|
|
142
132
|
}
|
|
143
133
|
],
|
|
144
|
-
"
|
|
134
|
+
"anonymous": false,
|
|
135
|
+
"type": "event"
|
|
145
136
|
},
|
|
146
137
|
{
|
|
147
|
-
"
|
|
148
|
-
"type": "function",
|
|
149
|
-
"name": "get_decimals",
|
|
138
|
+
"name": "RemoveLiquidityOne",
|
|
150
139
|
"inputs": [
|
|
151
140
|
{
|
|
152
|
-
"name": "
|
|
153
|
-
"type": "address"
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"outputs": [
|
|
141
|
+
"name": "provider",
|
|
142
|
+
"type": "address",
|
|
143
|
+
"indexed": true
|
|
144
|
+
},
|
|
157
145
|
{
|
|
158
|
-
"name": "",
|
|
159
|
-
"type": "uint256
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
"gas": "7874"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"stateMutability": "view",
|
|
166
|
-
"type": "function",
|
|
167
|
-
"name": "get_underlying_decimals",
|
|
168
|
-
"inputs": [
|
|
146
|
+
"name": "token_amount",
|
|
147
|
+
"type": "uint256",
|
|
148
|
+
"indexed": false
|
|
149
|
+
},
|
|
169
150
|
{
|
|
170
|
-
"name": "
|
|
171
|
-
"type": "
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
"outputs": [
|
|
151
|
+
"name": "coin_amount",
|
|
152
|
+
"type": "uint256",
|
|
153
|
+
"indexed": false
|
|
154
|
+
},
|
|
175
155
|
{
|
|
176
|
-
"name": "",
|
|
177
|
-
"type": "uint256
|
|
156
|
+
"name": "token_supply",
|
|
157
|
+
"type": "uint256",
|
|
158
|
+
"indexed": false
|
|
178
159
|
}
|
|
179
160
|
],
|
|
180
|
-
"
|
|
161
|
+
"anonymous": false,
|
|
162
|
+
"type": "event"
|
|
181
163
|
},
|
|
182
164
|
{
|
|
183
|
-
"
|
|
184
|
-
"type": "function",
|
|
185
|
-
"name": "get_rates",
|
|
165
|
+
"name": "RemoveLiquidityImbalance",
|
|
186
166
|
"inputs": [
|
|
187
167
|
{
|
|
188
|
-
"name": "
|
|
189
|
-
"type": "address"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"outputs": [
|
|
168
|
+
"name": "provider",
|
|
169
|
+
"type": "address",
|
|
170
|
+
"indexed": true
|
|
171
|
+
},
|
|
193
172
|
{
|
|
194
|
-
"name": "",
|
|
195
|
-
"type": "uint256[
|
|
173
|
+
"name": "token_amounts",
|
|
174
|
+
"type": "uint256[2]",
|
|
175
|
+
"indexed": false
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "fees",
|
|
179
|
+
"type": "uint256[2]",
|
|
180
|
+
"indexed": false
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "invariant",
|
|
184
|
+
"type": "uint256",
|
|
185
|
+
"indexed": false
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "token_supply",
|
|
189
|
+
"type": "uint256",
|
|
190
|
+
"indexed": false
|
|
196
191
|
}
|
|
197
192
|
],
|
|
198
|
-
"
|
|
193
|
+
"anonymous": false,
|
|
194
|
+
"type": "event"
|
|
199
195
|
},
|
|
200
196
|
{
|
|
201
|
-
"
|
|
202
|
-
"type": "function",
|
|
203
|
-
"name": "get_gauges",
|
|
197
|
+
"name": "RampA",
|
|
204
198
|
"inputs": [
|
|
205
199
|
{
|
|
206
|
-
"name": "
|
|
207
|
-
"type": "
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
"outputs": [
|
|
200
|
+
"name": "old_A",
|
|
201
|
+
"type": "uint256",
|
|
202
|
+
"indexed": false
|
|
203
|
+
},
|
|
211
204
|
{
|
|
212
|
-
"name": "",
|
|
213
|
-
"type": "
|
|
205
|
+
"name": "new_A",
|
|
206
|
+
"type": "uint256",
|
|
207
|
+
"indexed": false
|
|
214
208
|
},
|
|
215
209
|
{
|
|
216
|
-
"name": "",
|
|
217
|
-
"type": "
|
|
210
|
+
"name": "initial_time",
|
|
211
|
+
"type": "uint256",
|
|
212
|
+
"indexed": false
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "future_time",
|
|
216
|
+
"type": "uint256",
|
|
217
|
+
"indexed": false
|
|
218
218
|
}
|
|
219
219
|
],
|
|
220
|
-
"
|
|
220
|
+
"anonymous": false,
|
|
221
|
+
"type": "event"
|
|
221
222
|
},
|
|
222
223
|
{
|
|
223
|
-
"
|
|
224
|
-
"type": "function",
|
|
225
|
-
"name": "get_balances",
|
|
224
|
+
"name": "StopRampA",
|
|
226
225
|
"inputs": [
|
|
227
226
|
{
|
|
228
|
-
"name": "
|
|
229
|
-
"type": "
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
"outputs": [
|
|
227
|
+
"name": "A",
|
|
228
|
+
"type": "uint256",
|
|
229
|
+
"indexed": false
|
|
230
|
+
},
|
|
233
231
|
{
|
|
234
|
-
"name": "",
|
|
235
|
-
"type": "uint256
|
|
232
|
+
"name": "t",
|
|
233
|
+
"type": "uint256",
|
|
234
|
+
"indexed": false
|
|
236
235
|
}
|
|
237
236
|
],
|
|
238
|
-
"
|
|
237
|
+
"anonymous": false,
|
|
238
|
+
"type": "event"
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
|
-
"stateMutability": "
|
|
241
|
+
"stateMutability": "nonpayable",
|
|
242
|
+
"type": "constructor",
|
|
243
|
+
"inputs": [],
|
|
244
|
+
"outputs": []
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"stateMutability": "nonpayable",
|
|
242
248
|
"type": "function",
|
|
243
|
-
"name": "
|
|
249
|
+
"name": "initialize",
|
|
244
250
|
"inputs": [
|
|
245
251
|
{
|
|
246
|
-
"name": "
|
|
247
|
-
"type": "
|
|
248
|
-
}
|
|
249
|
-
],
|
|
250
|
-
"outputs": [
|
|
252
|
+
"name": "_name",
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
251
255
|
{
|
|
252
|
-
"name": "",
|
|
253
|
-
"type": "
|
|
256
|
+
"name": "_symbol",
|
|
257
|
+
"type": "string"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "_coins",
|
|
261
|
+
"type": "address[4]"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "_rate_multipliers",
|
|
265
|
+
"type": "uint256[4]"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "_A",
|
|
269
|
+
"type": "uint256"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "_fee",
|
|
273
|
+
"type": "uint256"
|
|
254
274
|
}
|
|
255
275
|
],
|
|
256
|
-
"
|
|
276
|
+
"outputs": [],
|
|
277
|
+
"gas": 471502
|
|
257
278
|
},
|
|
258
279
|
{
|
|
259
280
|
"stateMutability": "view",
|
|
260
281
|
"type": "function",
|
|
261
|
-
"name": "
|
|
262
|
-
"inputs": [
|
|
263
|
-
{
|
|
264
|
-
"name": "_token",
|
|
265
|
-
"type": "address"
|
|
266
|
-
}
|
|
267
|
-
],
|
|
282
|
+
"name": "decimals",
|
|
283
|
+
"inputs": [],
|
|
268
284
|
"outputs": [
|
|
269
285
|
{
|
|
270
286
|
"name": "",
|
|
271
287
|
"type": "uint256"
|
|
272
288
|
}
|
|
273
289
|
],
|
|
274
|
-
"gas":
|
|
290
|
+
"gas": 318
|
|
275
291
|
},
|
|
276
292
|
{
|
|
277
|
-
"stateMutability": "
|
|
293
|
+
"stateMutability": "nonpayable",
|
|
278
294
|
"type": "function",
|
|
279
|
-
"name": "
|
|
295
|
+
"name": "transfer",
|
|
280
296
|
"inputs": [
|
|
281
297
|
{
|
|
282
|
-
"name": "
|
|
298
|
+
"name": "_to",
|
|
283
299
|
"type": "address"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "_value",
|
|
303
|
+
"type": "uint256"
|
|
284
304
|
}
|
|
285
305
|
],
|
|
286
306
|
"outputs": [
|
|
287
307
|
{
|
|
288
308
|
"name": "",
|
|
289
|
-
"type": "
|
|
309
|
+
"type": "bool"
|
|
290
310
|
}
|
|
291
311
|
],
|
|
292
|
-
"gas":
|
|
312
|
+
"gas": 77977
|
|
293
313
|
},
|
|
294
314
|
{
|
|
295
|
-
"stateMutability": "
|
|
315
|
+
"stateMutability": "nonpayable",
|
|
296
316
|
"type": "function",
|
|
297
|
-
"name": "
|
|
317
|
+
"name": "transferFrom",
|
|
298
318
|
"inputs": [
|
|
299
319
|
{
|
|
300
|
-
"name": "
|
|
320
|
+
"name": "_from",
|
|
301
321
|
"type": "address"
|
|
302
|
-
}
|
|
303
|
-
],
|
|
304
|
-
"outputs": [
|
|
305
|
-
{
|
|
306
|
-
"name": "A",
|
|
307
|
-
"type": "uint256"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"name": "future_A",
|
|
311
|
-
"type": "uint256"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"name": "fee",
|
|
315
|
-
"type": "uint256"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"name": "admin_fee",
|
|
319
|
-
"type": "uint256"
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"name": "future_fee",
|
|
323
|
-
"type": "uint256"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"name": "future_admin_fee",
|
|
327
|
-
"type": "uint256"
|
|
328
322
|
},
|
|
329
323
|
{
|
|
330
|
-
"name": "
|
|
324
|
+
"name": "_to",
|
|
331
325
|
"type": "address"
|
|
332
326
|
},
|
|
333
327
|
{
|
|
334
|
-
"name": "
|
|
328
|
+
"name": "_value",
|
|
335
329
|
"type": "uint256"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"name": "initial_A_time",
|
|
339
|
-
"type": "uint256"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"name": "future_A_time",
|
|
343
|
-
"type": "uint256"
|
|
344
|
-
}
|
|
345
|
-
],
|
|
346
|
-
"gas": "6305"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"stateMutability": "view",
|
|
350
|
-
"type": "function",
|
|
351
|
-
"name": "get_fees",
|
|
352
|
-
"inputs": [
|
|
353
|
-
{
|
|
354
|
-
"name": "_pool",
|
|
355
|
-
"type": "address"
|
|
356
330
|
}
|
|
357
331
|
],
|
|
358
332
|
"outputs": [
|
|
359
333
|
{
|
|
360
334
|
"name": "",
|
|
361
|
-
"type": "
|
|
335
|
+
"type": "bool"
|
|
362
336
|
}
|
|
363
337
|
],
|
|
364
|
-
"gas":
|
|
338
|
+
"gas": 115912
|
|
365
339
|
},
|
|
366
340
|
{
|
|
367
|
-
"stateMutability": "
|
|
341
|
+
"stateMutability": "nonpayable",
|
|
368
342
|
"type": "function",
|
|
369
|
-
"name": "
|
|
343
|
+
"name": "approve",
|
|
370
344
|
"inputs": [
|
|
371
345
|
{
|
|
372
|
-
"name": "
|
|
346
|
+
"name": "_spender",
|
|
373
347
|
"type": "address"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "_value",
|
|
351
|
+
"type": "uint256"
|
|
374
352
|
}
|
|
375
353
|
],
|
|
376
354
|
"outputs": [
|
|
377
355
|
{
|
|
378
356
|
"name": "",
|
|
379
|
-
"type": "
|
|
357
|
+
"type": "bool"
|
|
380
358
|
}
|
|
381
359
|
],
|
|
382
|
-
"gas":
|
|
360
|
+
"gas": 37851
|
|
383
361
|
},
|
|
384
362
|
{
|
|
385
363
|
"stateMutability": "view",
|
|
386
364
|
"type": "function",
|
|
387
|
-
"name": "
|
|
388
|
-
"inputs": [
|
|
389
|
-
{
|
|
390
|
-
"name": "_pool",
|
|
391
|
-
"type": "address"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"name": "_from",
|
|
395
|
-
"type": "address"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"name": "_to",
|
|
399
|
-
"type": "address"
|
|
400
|
-
}
|
|
401
|
-
],
|
|
365
|
+
"name": "get_balances",
|
|
366
|
+
"inputs": [],
|
|
402
367
|
"outputs": [
|
|
403
368
|
{
|
|
404
369
|
"name": "",
|
|
405
|
-
"type": "
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"name": "",
|
|
409
|
-
"type": "int128"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"name": "",
|
|
413
|
-
"type": "bool"
|
|
370
|
+
"type": "uint256[2]"
|
|
414
371
|
}
|
|
415
372
|
],
|
|
416
|
-
"gas":
|
|
373
|
+
"gas": 4707
|
|
417
374
|
},
|
|
418
375
|
{
|
|
419
376
|
"stateMutability": "view",
|
|
420
377
|
"type": "function",
|
|
421
|
-
"name": "
|
|
422
|
-
"inputs": [
|
|
423
|
-
{
|
|
424
|
-
"name": "_pool",
|
|
425
|
-
"type": "address"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"name": "_from",
|
|
429
|
-
"type": "address"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"name": "_to",
|
|
433
|
-
"type": "address"
|
|
434
|
-
}
|
|
435
|
-
],
|
|
378
|
+
"name": "admin_fee",
|
|
379
|
+
"inputs": [],
|
|
436
380
|
"outputs": [
|
|
437
381
|
{
|
|
438
382
|
"name": "",
|
|
439
383
|
"type": "uint256"
|
|
440
384
|
}
|
|
441
385
|
],
|
|
442
|
-
"gas":
|
|
386
|
+
"gas": 468
|
|
443
387
|
},
|
|
444
388
|
{
|
|
445
389
|
"stateMutability": "view",
|
|
446
390
|
"type": "function",
|
|
447
|
-
"name": "
|
|
448
|
-
"inputs": [
|
|
449
|
-
{
|
|
450
|
-
"name": "_pool",
|
|
451
|
-
"type": "address"
|
|
452
|
-
}
|
|
453
|
-
],
|
|
391
|
+
"name": "A",
|
|
392
|
+
"inputs": [],
|
|
454
393
|
"outputs": [
|
|
455
394
|
{
|
|
456
395
|
"name": "",
|
|
457
|
-
"type": "
|
|
396
|
+
"type": "uint256"
|
|
458
397
|
}
|
|
459
398
|
],
|
|
460
|
-
"gas":
|
|
399
|
+
"gas": 10764
|
|
461
400
|
},
|
|
462
401
|
{
|
|
463
402
|
"stateMutability": "view",
|
|
464
403
|
"type": "function",
|
|
465
|
-
"name": "
|
|
466
|
-
"inputs": [
|
|
404
|
+
"name": "A_precise",
|
|
405
|
+
"inputs": [],
|
|
406
|
+
"outputs": [
|
|
467
407
|
{
|
|
468
|
-
"name": "
|
|
469
|
-
"type": "
|
|
408
|
+
"name": "",
|
|
409
|
+
"type": "uint256"
|
|
470
410
|
}
|
|
471
411
|
],
|
|
412
|
+
"gas": 10726
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"stateMutability": "view",
|
|
416
|
+
"type": "function",
|
|
417
|
+
"name": "get_virtual_price",
|
|
418
|
+
"inputs": [],
|
|
472
419
|
"outputs": [
|
|
473
420
|
{
|
|
474
421
|
"name": "",
|
|
475
|
-
"type": "
|
|
422
|
+
"type": "uint256"
|
|
476
423
|
}
|
|
477
424
|
],
|
|
478
|
-
"gas":
|
|
425
|
+
"gas": 848656
|
|
479
426
|
},
|
|
480
427
|
{
|
|
481
428
|
"stateMutability": "view",
|
|
482
429
|
"type": "function",
|
|
483
|
-
"name": "
|
|
430
|
+
"name": "calc_token_amount",
|
|
484
431
|
"inputs": [
|
|
485
432
|
{
|
|
486
|
-
"name": "
|
|
487
|
-
"type": "
|
|
433
|
+
"name": "_amounts",
|
|
434
|
+
"type": "uint256[2]"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "_is_deposit",
|
|
438
|
+
"type": "bool"
|
|
488
439
|
}
|
|
489
440
|
],
|
|
490
441
|
"outputs": [
|
|
@@ -493,38 +444,45 @@
|
|
|
493
444
|
"type": "uint256"
|
|
494
445
|
}
|
|
495
446
|
],
|
|
496
|
-
"gas":
|
|
447
|
+
"gas": 3336308
|
|
497
448
|
},
|
|
498
449
|
{
|
|
499
|
-
"stateMutability": "
|
|
450
|
+
"stateMutability": "nonpayable",
|
|
500
451
|
"type": "function",
|
|
501
|
-
"name": "
|
|
452
|
+
"name": "add_liquidity",
|
|
502
453
|
"inputs": [
|
|
503
454
|
{
|
|
504
|
-
"name": "
|
|
505
|
-
"type": "
|
|
455
|
+
"name": "_amounts",
|
|
456
|
+
"type": "uint256[2]"
|
|
506
457
|
},
|
|
507
458
|
{
|
|
508
|
-
"name": "
|
|
459
|
+
"name": "_min_mint_amount",
|
|
509
460
|
"type": "uint256"
|
|
510
461
|
}
|
|
511
462
|
],
|
|
512
463
|
"outputs": [
|
|
513
464
|
{
|
|
514
465
|
"name": "",
|
|
515
|
-
"type": "
|
|
466
|
+
"type": "uint256"
|
|
516
467
|
}
|
|
517
|
-
]
|
|
518
|
-
"gas": "2090"
|
|
468
|
+
]
|
|
519
469
|
},
|
|
520
470
|
{
|
|
521
471
|
"stateMutability": "view",
|
|
522
472
|
"type": "function",
|
|
523
|
-
"name": "
|
|
473
|
+
"name": "get_dy",
|
|
524
474
|
"inputs": [
|
|
525
475
|
{
|
|
526
|
-
"name": "
|
|
527
|
-
"type": "
|
|
476
|
+
"name": "i",
|
|
477
|
+
"type": "int128"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "j",
|
|
481
|
+
"type": "int128"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "dx",
|
|
485
|
+
"type": "uint256"
|
|
528
486
|
}
|
|
529
487
|
],
|
|
530
488
|
"outputs": [
|
|
@@ -533,321 +491,256 @@
|
|
|
533
491
|
"type": "uint256"
|
|
534
492
|
}
|
|
535
493
|
],
|
|
536
|
-
"gas":
|
|
494
|
+
"gas": 2117591
|
|
537
495
|
},
|
|
538
496
|
{
|
|
539
497
|
"stateMutability": "nonpayable",
|
|
540
498
|
"type": "function",
|
|
541
|
-
"name": "
|
|
499
|
+
"name": "exchange",
|
|
542
500
|
"inputs": [
|
|
543
501
|
{
|
|
544
|
-
"name": "
|
|
545
|
-
"type": "
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "_n_coins",
|
|
549
|
-
"type": "uint256"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"name": "_lp_token",
|
|
553
|
-
"type": "address"
|
|
502
|
+
"name": "i",
|
|
503
|
+
"type": "int128"
|
|
554
504
|
},
|
|
555
505
|
{
|
|
556
|
-
"name": "
|
|
557
|
-
"type": "
|
|
506
|
+
"name": "j",
|
|
507
|
+
"type": "int128"
|
|
558
508
|
},
|
|
559
509
|
{
|
|
560
|
-
"name": "
|
|
510
|
+
"name": "_dx",
|
|
561
511
|
"type": "uint256"
|
|
562
512
|
},
|
|
563
513
|
{
|
|
564
|
-
"name": "
|
|
514
|
+
"name": "_min_dy",
|
|
565
515
|
"type": "uint256"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "_has_initial_A",
|
|
569
|
-
"type": "bool"
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
"name": "_is_v1",
|
|
573
|
-
"type": "bool"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"name": "_name",
|
|
577
|
-
"type": "string"
|
|
578
516
|
}
|
|
579
517
|
],
|
|
580
|
-
"outputs": [
|
|
581
|
-
|
|
518
|
+
"outputs": [
|
|
519
|
+
{
|
|
520
|
+
"name": "",
|
|
521
|
+
"type": "uint256"
|
|
522
|
+
}
|
|
523
|
+
]
|
|
582
524
|
},
|
|
583
525
|
{
|
|
584
526
|
"stateMutability": "nonpayable",
|
|
585
527
|
"type": "function",
|
|
586
|
-
"name": "
|
|
528
|
+
"name": "remove_liquidity",
|
|
587
529
|
"inputs": [
|
|
588
530
|
{
|
|
589
|
-
"name": "
|
|
590
|
-
"type": "address"
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"name": "_n_coins",
|
|
531
|
+
"name": "_burn_amount",
|
|
594
532
|
"type": "uint256"
|
|
595
533
|
},
|
|
596
534
|
{
|
|
597
|
-
"name": "
|
|
598
|
-
"type": "
|
|
599
|
-
}
|
|
535
|
+
"name": "_min_amounts",
|
|
536
|
+
"type": "uint256[2]"
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"outputs": [
|
|
600
540
|
{
|
|
601
|
-
"name": "
|
|
602
|
-
"type": "
|
|
603
|
-
}
|
|
541
|
+
"name": "",
|
|
542
|
+
"type": "uint256[2]"
|
|
543
|
+
}
|
|
544
|
+
]
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"stateMutability": "nonpayable",
|
|
548
|
+
"type": "function",
|
|
549
|
+
"name": "remove_liquidity_imbalance",
|
|
550
|
+
"inputs": [
|
|
604
551
|
{
|
|
605
|
-
"name": "
|
|
606
|
-
"type": "uint256"
|
|
552
|
+
"name": "_amounts",
|
|
553
|
+
"type": "uint256[2]"
|
|
607
554
|
},
|
|
608
555
|
{
|
|
609
|
-
"name": "
|
|
556
|
+
"name": "_max_burn_amount",
|
|
610
557
|
"type": "uint256"
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
"name": "_has_initial_A",
|
|
614
|
-
"type": "bool"
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
"name": "_is_v1",
|
|
618
|
-
"type": "bool"
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
"name": "_name",
|
|
622
|
-
"type": "string"
|
|
623
558
|
}
|
|
624
559
|
],
|
|
625
|
-
"outputs": [
|
|
626
|
-
|
|
560
|
+
"outputs": [
|
|
561
|
+
{
|
|
562
|
+
"name": "",
|
|
563
|
+
"type": "uint256"
|
|
564
|
+
}
|
|
565
|
+
]
|
|
627
566
|
},
|
|
628
567
|
{
|
|
629
|
-
"stateMutability": "
|
|
568
|
+
"stateMutability": "view",
|
|
630
569
|
"type": "function",
|
|
631
|
-
"name": "
|
|
570
|
+
"name": "calc_withdraw_one_coin",
|
|
632
571
|
"inputs": [
|
|
633
572
|
{
|
|
634
|
-
"name": "
|
|
635
|
-
"type": "address"
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"name": "_n_coins",
|
|
573
|
+
"name": "_burn_amount",
|
|
639
574
|
"type": "uint256"
|
|
640
575
|
},
|
|
641
576
|
{
|
|
642
|
-
"name": "
|
|
643
|
-
"type": "
|
|
644
|
-
}
|
|
577
|
+
"name": "i",
|
|
578
|
+
"type": "int128"
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
"outputs": [
|
|
645
582
|
{
|
|
646
|
-
"name": "
|
|
583
|
+
"name": "",
|
|
647
584
|
"type": "uint256"
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
"name": "_name",
|
|
651
|
-
"type": "string"
|
|
652
585
|
}
|
|
653
586
|
],
|
|
654
|
-
"
|
|
587
|
+
"gas": 1100
|
|
655
588
|
},
|
|
656
589
|
{
|
|
657
590
|
"stateMutability": "nonpayable",
|
|
658
591
|
"type": "function",
|
|
659
|
-
"name": "
|
|
592
|
+
"name": "remove_liquidity_one_coin",
|
|
660
593
|
"inputs": [
|
|
661
594
|
{
|
|
662
|
-
"name": "
|
|
663
|
-
"type": "address"
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
"name": "_n_coins",
|
|
595
|
+
"name": "_burn_amount",
|
|
667
596
|
"type": "uint256"
|
|
668
597
|
},
|
|
669
598
|
{
|
|
670
|
-
"name": "
|
|
671
|
-
"type": "
|
|
599
|
+
"name": "i",
|
|
600
|
+
"type": "int128"
|
|
672
601
|
},
|
|
673
602
|
{
|
|
674
|
-
"name": "
|
|
603
|
+
"name": "_min_received",
|
|
675
604
|
"type": "uint256"
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
"name": "_name",
|
|
679
|
-
"type": "string"
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"name": "_base_pool",
|
|
683
|
-
"type": "address"
|
|
684
605
|
}
|
|
685
606
|
],
|
|
686
|
-
"outputs": [
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
"stateMutability": "nonpayable",
|
|
690
|
-
"type": "function",
|
|
691
|
-
"name": "remove_pool",
|
|
692
|
-
"inputs": [
|
|
607
|
+
"outputs": [
|
|
693
608
|
{
|
|
694
|
-
"name": "
|
|
695
|
-
"type": "
|
|
609
|
+
"name": "",
|
|
610
|
+
"type": "uint256"
|
|
696
611
|
}
|
|
697
|
-
]
|
|
698
|
-
"outputs": [],
|
|
699
|
-
"gas": "779731418758"
|
|
612
|
+
]
|
|
700
613
|
},
|
|
701
614
|
{
|
|
702
615
|
"stateMutability": "nonpayable",
|
|
703
616
|
"type": "function",
|
|
704
|
-
"name": "
|
|
617
|
+
"name": "ramp_A",
|
|
705
618
|
"inputs": [
|
|
706
619
|
{
|
|
707
|
-
"name": "
|
|
708
|
-
"type": "
|
|
620
|
+
"name": "_future_A",
|
|
621
|
+
"type": "uint256"
|
|
709
622
|
},
|
|
710
623
|
{
|
|
711
|
-
"name": "
|
|
712
|
-
"type": "uint256
|
|
624
|
+
"name": "_future_time",
|
|
625
|
+
"type": "uint256"
|
|
713
626
|
}
|
|
714
627
|
],
|
|
715
628
|
"outputs": [],
|
|
716
|
-
"gas":
|
|
629
|
+
"gas": 162101
|
|
717
630
|
},
|
|
718
631
|
{
|
|
719
632
|
"stateMutability": "nonpayable",
|
|
720
633
|
"type": "function",
|
|
721
|
-
"name": "
|
|
722
|
-
"inputs": [
|
|
723
|
-
{
|
|
724
|
-
"name": "_addr",
|
|
725
|
-
"type": "address[10]"
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
"name": "_amount",
|
|
729
|
-
"type": "uint256[10]"
|
|
730
|
-
}
|
|
731
|
-
],
|
|
634
|
+
"name": "stop_ramp_A",
|
|
635
|
+
"inputs": [],
|
|
732
636
|
"outputs": [],
|
|
733
|
-
"gas":
|
|
637
|
+
"gas": 157565
|
|
734
638
|
},
|
|
735
639
|
{
|
|
736
|
-
"stateMutability": "
|
|
640
|
+
"stateMutability": "view",
|
|
737
641
|
"type": "function",
|
|
738
|
-
"name": "
|
|
642
|
+
"name": "admin_balances",
|
|
739
643
|
"inputs": [
|
|
740
644
|
{
|
|
741
|
-
"name": "
|
|
742
|
-
"type": "
|
|
743
|
-
}
|
|
645
|
+
"name": "i",
|
|
646
|
+
"type": "uint256"
|
|
647
|
+
}
|
|
648
|
+
],
|
|
649
|
+
"outputs": [
|
|
744
650
|
{
|
|
745
|
-
"name": "
|
|
746
|
-
"type": "
|
|
651
|
+
"name": "",
|
|
652
|
+
"type": "uint256"
|
|
747
653
|
}
|
|
748
654
|
],
|
|
749
|
-
"
|
|
750
|
-
"gas": "72629"
|
|
655
|
+
"gas": 7740
|
|
751
656
|
},
|
|
752
657
|
{
|
|
753
658
|
"stateMutability": "nonpayable",
|
|
754
659
|
"type": "function",
|
|
755
|
-
"name": "
|
|
756
|
-
"inputs": [
|
|
757
|
-
{
|
|
758
|
-
"name": "_pool",
|
|
759
|
-
"type": "address"
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
"name": "_liquidity_gauges",
|
|
763
|
-
"type": "address[10]"
|
|
764
|
-
}
|
|
765
|
-
],
|
|
660
|
+
"name": "withdraw_admin_fees",
|
|
661
|
+
"inputs": [],
|
|
766
662
|
"outputs": [],
|
|
767
|
-
"gas":
|
|
663
|
+
"gas": 33182
|
|
768
664
|
},
|
|
769
665
|
{
|
|
770
|
-
"stateMutability": "
|
|
666
|
+
"stateMutability": "view",
|
|
771
667
|
"type": "function",
|
|
772
|
-
"name": "
|
|
668
|
+
"name": "coins",
|
|
773
669
|
"inputs": [
|
|
774
670
|
{
|
|
775
|
-
"name": "
|
|
776
|
-
"type": "address"
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
"name": "_asset_type",
|
|
671
|
+
"name": "arg0",
|
|
780
672
|
"type": "uint256"
|
|
781
673
|
}
|
|
782
674
|
],
|
|
783
|
-
"outputs": [
|
|
784
|
-
|
|
675
|
+
"outputs": [
|
|
676
|
+
{
|
|
677
|
+
"name": "",
|
|
678
|
+
"type": "address"
|
|
679
|
+
}
|
|
680
|
+
],
|
|
681
|
+
"gas": 3093
|
|
785
682
|
},
|
|
786
683
|
{
|
|
787
|
-
"stateMutability": "
|
|
684
|
+
"stateMutability": "view",
|
|
788
685
|
"type": "function",
|
|
789
|
-
"name": "
|
|
686
|
+
"name": "balances",
|
|
790
687
|
"inputs": [
|
|
791
688
|
{
|
|
792
|
-
"name": "
|
|
793
|
-
"type": "
|
|
794
|
-
}
|
|
689
|
+
"name": "arg0",
|
|
690
|
+
"type": "uint256"
|
|
691
|
+
}
|
|
692
|
+
],
|
|
693
|
+
"outputs": [
|
|
795
694
|
{
|
|
796
|
-
"name": "
|
|
797
|
-
"type": "uint256
|
|
695
|
+
"name": "",
|
|
696
|
+
"type": "uint256"
|
|
798
697
|
}
|
|
799
698
|
],
|
|
800
|
-
"
|
|
801
|
-
"gas": "1173447"
|
|
699
|
+
"gas": 3123
|
|
802
700
|
},
|
|
803
701
|
{
|
|
804
702
|
"stateMutability": "view",
|
|
805
703
|
"type": "function",
|
|
806
|
-
"name": "
|
|
704
|
+
"name": "fee",
|
|
807
705
|
"inputs": [],
|
|
808
706
|
"outputs": [
|
|
809
707
|
{
|
|
810
708
|
"name": "",
|
|
811
|
-
"type": "
|
|
709
|
+
"type": "uint256"
|
|
812
710
|
}
|
|
813
711
|
],
|
|
814
|
-
"gas":
|
|
712
|
+
"gas": 3108
|
|
815
713
|
},
|
|
816
714
|
{
|
|
817
715
|
"stateMutability": "view",
|
|
818
716
|
"type": "function",
|
|
819
|
-
"name": "
|
|
717
|
+
"name": "initial_A",
|
|
820
718
|
"inputs": [],
|
|
821
719
|
"outputs": [
|
|
822
720
|
{
|
|
823
721
|
"name": "",
|
|
824
|
-
"type": "
|
|
722
|
+
"type": "uint256"
|
|
825
723
|
}
|
|
826
724
|
],
|
|
827
|
-
"gas":
|
|
725
|
+
"gas": 3138
|
|
828
726
|
},
|
|
829
727
|
{
|
|
830
728
|
"stateMutability": "view",
|
|
831
729
|
"type": "function",
|
|
832
|
-
"name": "
|
|
833
|
-
"inputs": [
|
|
834
|
-
{
|
|
835
|
-
"name": "arg0",
|
|
836
|
-
"type": "uint256"
|
|
837
|
-
}
|
|
838
|
-
],
|
|
730
|
+
"name": "future_A",
|
|
731
|
+
"inputs": [],
|
|
839
732
|
"outputs": [
|
|
840
733
|
{
|
|
841
734
|
"name": "",
|
|
842
|
-
"type": "
|
|
735
|
+
"type": "uint256"
|
|
843
736
|
}
|
|
844
737
|
],
|
|
845
|
-
"gas":
|
|
738
|
+
"gas": 3168
|
|
846
739
|
},
|
|
847
740
|
{
|
|
848
741
|
"stateMutability": "view",
|
|
849
742
|
"type": "function",
|
|
850
|
-
"name": "
|
|
743
|
+
"name": "initial_A_time",
|
|
851
744
|
"inputs": [],
|
|
852
745
|
"outputs": [
|
|
853
746
|
{
|
|
@@ -855,12 +748,12 @@
|
|
|
855
748
|
"type": "uint256"
|
|
856
749
|
}
|
|
857
750
|
],
|
|
858
|
-
"gas":
|
|
751
|
+
"gas": 3198
|
|
859
752
|
},
|
|
860
753
|
{
|
|
861
754
|
"stateMutability": "view",
|
|
862
755
|
"type": "function",
|
|
863
|
-
"name": "
|
|
756
|
+
"name": "future_A_time",
|
|
864
757
|
"inputs": [],
|
|
865
758
|
"outputs": [
|
|
866
759
|
{
|
|
@@ -868,30 +761,38 @@
|
|
|
868
761
|
"type": "uint256"
|
|
869
762
|
}
|
|
870
763
|
],
|
|
871
|
-
"gas":
|
|
764
|
+
"gas": 3228
|
|
872
765
|
},
|
|
873
766
|
{
|
|
874
767
|
"stateMutability": "view",
|
|
875
768
|
"type": "function",
|
|
876
|
-
"name": "
|
|
877
|
-
"inputs": [
|
|
769
|
+
"name": "name",
|
|
770
|
+
"inputs": [],
|
|
771
|
+
"outputs": [
|
|
878
772
|
{
|
|
879
|
-
"name": "
|
|
880
|
-
"type": "
|
|
773
|
+
"name": "",
|
|
774
|
+
"type": "string"
|
|
881
775
|
}
|
|
882
776
|
],
|
|
777
|
+
"gas": 13488
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"stateMutability": "view",
|
|
781
|
+
"type": "function",
|
|
782
|
+
"name": "symbol",
|
|
783
|
+
"inputs": [],
|
|
883
784
|
"outputs": [
|
|
884
785
|
{
|
|
885
786
|
"name": "",
|
|
886
|
-
"type": "
|
|
787
|
+
"type": "string"
|
|
887
788
|
}
|
|
888
789
|
],
|
|
889
|
-
"gas":
|
|
790
|
+
"gas": 11241
|
|
890
791
|
},
|
|
891
792
|
{
|
|
892
793
|
"stateMutability": "view",
|
|
893
794
|
"type": "function",
|
|
894
|
-
"name": "
|
|
795
|
+
"name": "balanceOf",
|
|
895
796
|
"inputs": [
|
|
896
797
|
{
|
|
897
798
|
"name": "arg0",
|
|
@@ -901,33 +802,37 @@
|
|
|
901
802
|
"outputs": [
|
|
902
803
|
{
|
|
903
804
|
"name": "",
|
|
904
|
-
"type": "
|
|
805
|
+
"type": "uint256"
|
|
905
806
|
}
|
|
906
807
|
],
|
|
907
|
-
"gas":
|
|
808
|
+
"gas": 3533
|
|
908
809
|
},
|
|
909
810
|
{
|
|
910
811
|
"stateMutability": "view",
|
|
911
812
|
"type": "function",
|
|
912
|
-
"name": "
|
|
813
|
+
"name": "allowance",
|
|
913
814
|
"inputs": [
|
|
914
815
|
{
|
|
915
816
|
"name": "arg0",
|
|
916
817
|
"type": "address"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"name": "arg1",
|
|
821
|
+
"type": "address"
|
|
917
822
|
}
|
|
918
823
|
],
|
|
919
824
|
"outputs": [
|
|
920
825
|
{
|
|
921
826
|
"name": "",
|
|
922
|
-
"type": "
|
|
827
|
+
"type": "uint256"
|
|
923
828
|
}
|
|
924
829
|
],
|
|
925
|
-
"gas":
|
|
830
|
+
"gas": 3778
|
|
926
831
|
},
|
|
927
832
|
{
|
|
928
833
|
"stateMutability": "view",
|
|
929
834
|
"type": "function",
|
|
930
|
-
"name": "
|
|
835
|
+
"name": "totalSupply",
|
|
931
836
|
"inputs": [],
|
|
932
837
|
"outputs": [
|
|
933
838
|
{
|
|
@@ -935,6 +840,6 @@
|
|
|
935
840
|
"type": "uint256"
|
|
936
841
|
}
|
|
937
842
|
],
|
|
938
|
-
"gas":
|
|
843
|
+
"gas": 3378
|
|
939
844
|
}
|
|
940
845
|
]
|