defi-state-querier 0.4.26__py3-none-any.whl → 0.4.28__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- defi_services/__init__.py +1 -1
- defi_services/abis/vault/lido/__init__.py +0 -0
- defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
- defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
- defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
- defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
- defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
- defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
- defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
- defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
- defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
- defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
- defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
- defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
- defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
- defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
- defi_services/abis/vault/lido/lido_burner.py +698 -0
- defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
- defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
- defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
- defi_services/abis/vault/lido/lido_dao.py +623 -0
- defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
- defi_services/abis/vault/lido/lido_dao_token.py +590 -0
- defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
- defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
- defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
- defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
- defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
- defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
- defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
- defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
- defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
- defi_services/abis/vault/lido/lido_locator.py +357 -0
- defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
- defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
- defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
- defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
- defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
- defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
- defi_services/abis/vault/lido/lido_steth.py +1604 -0
- defi_services/abis/vault/lido/lido_stonks.py +744 -0
- defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
- defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
- defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
- defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
- defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
- defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
- defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
- defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
- defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
- defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
- defi_services/abis/vault/lido/lido_wsteth.py +481 -0
- defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
- defi_services/services/token_services.py +1 -1
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/METADATA +4 -4
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/RECORD +66 -7
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/WHEEL +1 -1
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/LICENSE +0 -0
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,899 @@
|
|
1
|
+
import json
|
2
|
+
|
3
|
+
LIDO_LIQUIDITY_FARMING_POOL_ABI = json.loads('''
|
4
|
+
[
|
5
|
+
{
|
6
|
+
"name": "TokenExchange",
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"type": "address",
|
10
|
+
"name": "buyer",
|
11
|
+
"indexed": true
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"type": "int128",
|
15
|
+
"name": "sold_id",
|
16
|
+
"indexed": false
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"type": "uint256",
|
20
|
+
"name": "tokens_sold",
|
21
|
+
"indexed": false
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"type": "int128",
|
25
|
+
"name": "bought_id",
|
26
|
+
"indexed": false
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"type": "uint256",
|
30
|
+
"name": "tokens_bought",
|
31
|
+
"indexed": false
|
32
|
+
}
|
33
|
+
],
|
34
|
+
"anonymous": false,
|
35
|
+
"type": "event"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"name": "TokenExchangeUnderlying",
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"type": "address",
|
42
|
+
"name": "buyer",
|
43
|
+
"indexed": true
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"type": "int128",
|
47
|
+
"name": "sold_id",
|
48
|
+
"indexed": false
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"type": "uint256",
|
52
|
+
"name": "tokens_sold",
|
53
|
+
"indexed": false
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"type": "int128",
|
57
|
+
"name": "bought_id",
|
58
|
+
"indexed": false
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"type": "uint256",
|
62
|
+
"name": "tokens_bought",
|
63
|
+
"indexed": false
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"anonymous": false,
|
67
|
+
"type": "event"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"name": "AddLiquidity",
|
71
|
+
"inputs": [
|
72
|
+
{
|
73
|
+
"type": "address",
|
74
|
+
"name": "provider",
|
75
|
+
"indexed": true
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"type": "uint256[2]",
|
79
|
+
"name": "token_amounts",
|
80
|
+
"indexed": false
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"type": "uint256[2]",
|
84
|
+
"name": "fees",
|
85
|
+
"indexed": false
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"type": "uint256",
|
89
|
+
"name": "invariant",
|
90
|
+
"indexed": false
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"type": "uint256",
|
94
|
+
"name": "token_supply",
|
95
|
+
"indexed": false
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"anonymous": false,
|
99
|
+
"type": "event"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"name": "RemoveLiquidity",
|
103
|
+
"inputs": [
|
104
|
+
{
|
105
|
+
"type": "address",
|
106
|
+
"name": "provider",
|
107
|
+
"indexed": true
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"type": "uint256[2]",
|
111
|
+
"name": "token_amounts",
|
112
|
+
"indexed": false
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"type": "uint256[2]",
|
116
|
+
"name": "fees",
|
117
|
+
"indexed": false
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"type": "uint256",
|
121
|
+
"name": "token_supply",
|
122
|
+
"indexed": false
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"anonymous": false,
|
126
|
+
"type": "event"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"name": "RemoveLiquidityOne",
|
130
|
+
"inputs": [
|
131
|
+
{
|
132
|
+
"type": "address",
|
133
|
+
"name": "provider",
|
134
|
+
"indexed": true
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"type": "uint256",
|
138
|
+
"name": "token_amount",
|
139
|
+
"indexed": false
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"type": "uint256",
|
143
|
+
"name": "coin_amount",
|
144
|
+
"indexed": false
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"anonymous": false,
|
148
|
+
"type": "event"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"name": "RemoveLiquidityImbalance",
|
152
|
+
"inputs": [
|
153
|
+
{
|
154
|
+
"type": "address",
|
155
|
+
"name": "provider",
|
156
|
+
"indexed": true
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"type": "uint256[2]",
|
160
|
+
"name": "token_amounts",
|
161
|
+
"indexed": false
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"type": "uint256[2]",
|
165
|
+
"name": "fees",
|
166
|
+
"indexed": false
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"type": "uint256",
|
170
|
+
"name": "invariant",
|
171
|
+
"indexed": false
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"type": "uint256",
|
175
|
+
"name": "token_supply",
|
176
|
+
"indexed": false
|
177
|
+
}
|
178
|
+
],
|
179
|
+
"anonymous": false,
|
180
|
+
"type": "event"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"name": "CommitNewAdmin",
|
184
|
+
"inputs": [
|
185
|
+
{
|
186
|
+
"type": "uint256",
|
187
|
+
"name": "deadline",
|
188
|
+
"indexed": true
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"type": "address",
|
192
|
+
"name": "admin",
|
193
|
+
"indexed": true
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"anonymous": false,
|
197
|
+
"type": "event"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"name": "NewAdmin",
|
201
|
+
"inputs": [
|
202
|
+
{
|
203
|
+
"type": "address",
|
204
|
+
"name": "admin",
|
205
|
+
"indexed": true
|
206
|
+
}
|
207
|
+
],
|
208
|
+
"anonymous": false,
|
209
|
+
"type": "event"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"name": "CommitNewFee",
|
213
|
+
"inputs": [
|
214
|
+
{
|
215
|
+
"type": "uint256",
|
216
|
+
"name": "deadline",
|
217
|
+
"indexed": true
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"type": "uint256",
|
221
|
+
"name": "fee",
|
222
|
+
"indexed": false
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"type": "uint256",
|
226
|
+
"name": "admin_fee",
|
227
|
+
"indexed": false
|
228
|
+
}
|
229
|
+
],
|
230
|
+
"anonymous": false,
|
231
|
+
"type": "event"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"name": "NewFee",
|
235
|
+
"inputs": [
|
236
|
+
{
|
237
|
+
"type": "uint256",
|
238
|
+
"name": "fee",
|
239
|
+
"indexed": false
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"type": "uint256",
|
243
|
+
"name": "admin_fee",
|
244
|
+
"indexed": false
|
245
|
+
}
|
246
|
+
],
|
247
|
+
"anonymous": false,
|
248
|
+
"type": "event"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"name": "RampA",
|
252
|
+
"inputs": [
|
253
|
+
{
|
254
|
+
"type": "uint256",
|
255
|
+
"name": "old_A",
|
256
|
+
"indexed": false
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"type": "uint256",
|
260
|
+
"name": "new_A",
|
261
|
+
"indexed": false
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"type": "uint256",
|
265
|
+
"name": "initial_time",
|
266
|
+
"indexed": false
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"type": "uint256",
|
270
|
+
"name": "future_time",
|
271
|
+
"indexed": false
|
272
|
+
}
|
273
|
+
],
|
274
|
+
"anonymous": false,
|
275
|
+
"type": "event"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"name": "StopRampA",
|
279
|
+
"inputs": [
|
280
|
+
{
|
281
|
+
"type": "uint256",
|
282
|
+
"name": "A",
|
283
|
+
"indexed": false
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"type": "uint256",
|
287
|
+
"name": "t",
|
288
|
+
"indexed": false
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"anonymous": false,
|
292
|
+
"type": "event"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"outputs": [],
|
296
|
+
"inputs": [
|
297
|
+
{
|
298
|
+
"type": "address",
|
299
|
+
"name": "_owner"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"type": "address[2]",
|
303
|
+
"name": "_coins"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"type": "address",
|
307
|
+
"name": "_pool_token"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"type": "uint256",
|
311
|
+
"name": "_A"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"type": "uint256",
|
315
|
+
"name": "_fee"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"type": "uint256",
|
319
|
+
"name": "_admin_fee"
|
320
|
+
}
|
321
|
+
],
|
322
|
+
"stateMutability": "nonpayable",
|
323
|
+
"type": "constructor"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"name": "A",
|
327
|
+
"outputs": [
|
328
|
+
{
|
329
|
+
"type": "uint256",
|
330
|
+
"name": ""
|
331
|
+
}
|
332
|
+
],
|
333
|
+
"inputs": [],
|
334
|
+
"stateMutability": "view",
|
335
|
+
"type": "function",
|
336
|
+
"gas": 5289
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"name": "A_precise",
|
340
|
+
"outputs": [
|
341
|
+
{
|
342
|
+
"type": "uint256",
|
343
|
+
"name": ""
|
344
|
+
}
|
345
|
+
],
|
346
|
+
"inputs": [],
|
347
|
+
"stateMutability": "view",
|
348
|
+
"type": "function",
|
349
|
+
"gas": 5251
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"name": "balances",
|
353
|
+
"outputs": [
|
354
|
+
{
|
355
|
+
"type": "uint256",
|
356
|
+
"name": ""
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"inputs": [
|
360
|
+
{
|
361
|
+
"type": "uint256",
|
362
|
+
"name": "i"
|
363
|
+
}
|
364
|
+
],
|
365
|
+
"stateMutability": "view",
|
366
|
+
"type": "function",
|
367
|
+
"gas": 5076
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"name": "get_virtual_price",
|
371
|
+
"outputs": [
|
372
|
+
{
|
373
|
+
"type": "uint256",
|
374
|
+
"name": ""
|
375
|
+
}
|
376
|
+
],
|
377
|
+
"inputs": [],
|
378
|
+
"stateMutability": "view",
|
379
|
+
"type": "function",
|
380
|
+
"gas": 1114301
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"name": "calc_token_amount",
|
384
|
+
"outputs": [
|
385
|
+
{
|
386
|
+
"type": "uint256",
|
387
|
+
"name": ""
|
388
|
+
}
|
389
|
+
],
|
390
|
+
"inputs": [
|
391
|
+
{
|
392
|
+
"type": "uint256[2]",
|
393
|
+
"name": "amounts"
|
394
|
+
},
|
395
|
+
{
|
396
|
+
"type": "bool",
|
397
|
+
"name": "is_deposit"
|
398
|
+
}
|
399
|
+
],
|
400
|
+
"stateMutability": "view",
|
401
|
+
"type": "function",
|
402
|
+
"gas": 2218181
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"name": "add_liquidity",
|
406
|
+
"outputs": [
|
407
|
+
{
|
408
|
+
"type": "uint256",
|
409
|
+
"name": ""
|
410
|
+
}
|
411
|
+
],
|
412
|
+
"inputs": [
|
413
|
+
{
|
414
|
+
"type": "uint256[2]",
|
415
|
+
"name": "amounts"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"type": "uint256",
|
419
|
+
"name": "min_mint_amount"
|
420
|
+
}
|
421
|
+
],
|
422
|
+
"stateMutability": "payable",
|
423
|
+
"type": "function",
|
424
|
+
"gas": 3484118
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"name": "get_dy",
|
428
|
+
"outputs": [
|
429
|
+
{
|
430
|
+
"type": "uint256",
|
431
|
+
"name": ""
|
432
|
+
}
|
433
|
+
],
|
434
|
+
"inputs": [
|
435
|
+
{
|
436
|
+
"type": "int128",
|
437
|
+
"name": "i"
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"type": "int128",
|
441
|
+
"name": "j"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"type": "uint256",
|
445
|
+
"name": "dx"
|
446
|
+
}
|
447
|
+
],
|
448
|
+
"stateMutability": "view",
|
449
|
+
"type": "function",
|
450
|
+
"gas": 2654541
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"name": "exchange",
|
454
|
+
"outputs": [
|
455
|
+
{
|
456
|
+
"type": "uint256",
|
457
|
+
"name": ""
|
458
|
+
}
|
459
|
+
],
|
460
|
+
"inputs": [
|
461
|
+
{
|
462
|
+
"type": "int128",
|
463
|
+
"name": "i"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"type": "int128",
|
467
|
+
"name": "j"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"type": "uint256",
|
471
|
+
"name": "dx"
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"type": "uint256",
|
475
|
+
"name": "min_dy"
|
476
|
+
}
|
477
|
+
],
|
478
|
+
"stateMutability": "payable",
|
479
|
+
"type": "function",
|
480
|
+
"gas": 2810134
|
481
|
+
},
|
482
|
+
{
|
483
|
+
"name": "remove_liquidity",
|
484
|
+
"outputs": [
|
485
|
+
{
|
486
|
+
"type": "uint256[2]",
|
487
|
+
"name": ""
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"inputs": [
|
491
|
+
{
|
492
|
+
"type": "uint256",
|
493
|
+
"name": "_amount"
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"type": "uint256[2]",
|
497
|
+
"name": "_min_amounts"
|
498
|
+
}
|
499
|
+
],
|
500
|
+
"stateMutability": "nonpayable",
|
501
|
+
"type": "function",
|
502
|
+
"gas": 160545
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"name": "remove_liquidity_imbalance",
|
506
|
+
"outputs": [
|
507
|
+
{
|
508
|
+
"type": "uint256",
|
509
|
+
"name": ""
|
510
|
+
}
|
511
|
+
],
|
512
|
+
"inputs": [
|
513
|
+
{
|
514
|
+
"type": "uint256[2]",
|
515
|
+
"name": "_amounts"
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"type": "uint256",
|
519
|
+
"name": "_max_burn_amount"
|
520
|
+
}
|
521
|
+
],
|
522
|
+
"stateMutability": "nonpayable",
|
523
|
+
"type": "function",
|
524
|
+
"gas": 3519382
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"name": "calc_withdraw_one_coin",
|
528
|
+
"outputs": [
|
529
|
+
{
|
530
|
+
"type": "uint256",
|
531
|
+
"name": ""
|
532
|
+
}
|
533
|
+
],
|
534
|
+
"inputs": [
|
535
|
+
{
|
536
|
+
"type": "uint256",
|
537
|
+
"name": "_token_amount"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"type": "int128",
|
541
|
+
"name": "i"
|
542
|
+
}
|
543
|
+
],
|
544
|
+
"stateMutability": "view",
|
545
|
+
"type": "function",
|
546
|
+
"gas": 1435
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"name": "remove_liquidity_one_coin",
|
550
|
+
"outputs": [
|
551
|
+
{
|
552
|
+
"type": "uint256",
|
553
|
+
"name": ""
|
554
|
+
}
|
555
|
+
],
|
556
|
+
"inputs": [
|
557
|
+
{
|
558
|
+
"type": "uint256",
|
559
|
+
"name": "_token_amount"
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"type": "int128",
|
563
|
+
"name": "i"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"type": "uint256",
|
567
|
+
"name": "_min_amount"
|
568
|
+
}
|
569
|
+
],
|
570
|
+
"stateMutability": "nonpayable",
|
571
|
+
"type": "function",
|
572
|
+
"gas": 4113806
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"name": "ramp_A",
|
576
|
+
"outputs": [],
|
577
|
+
"inputs": [
|
578
|
+
{
|
579
|
+
"type": "uint256",
|
580
|
+
"name": "_future_A"
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"type": "uint256",
|
584
|
+
"name": "_future_time"
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"stateMutability": "nonpayable",
|
588
|
+
"type": "function",
|
589
|
+
"gas": 151834
|
590
|
+
},
|
591
|
+
{
|
592
|
+
"name": "stop_ramp_A",
|
593
|
+
"outputs": [],
|
594
|
+
"inputs": [],
|
595
|
+
"stateMutability": "nonpayable",
|
596
|
+
"type": "function",
|
597
|
+
"gas": 148595
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"name": "commit_new_fee",
|
601
|
+
"outputs": [],
|
602
|
+
"inputs": [
|
603
|
+
{
|
604
|
+
"type": "uint256",
|
605
|
+
"name": "new_fee"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"type": "uint256",
|
609
|
+
"name": "new_admin_fee"
|
610
|
+
}
|
611
|
+
],
|
612
|
+
"stateMutability": "nonpayable",
|
613
|
+
"type": "function",
|
614
|
+
"gas": 110431
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"name": "apply_new_fee",
|
618
|
+
"outputs": [],
|
619
|
+
"inputs": [],
|
620
|
+
"stateMutability": "nonpayable",
|
621
|
+
"type": "function",
|
622
|
+
"gas": 153115
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"name": "revert_new_parameters",
|
626
|
+
"outputs": [],
|
627
|
+
"inputs": [],
|
628
|
+
"stateMutability": "nonpayable",
|
629
|
+
"type": "function",
|
630
|
+
"gas": 21865
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"name": "commit_transfer_ownership",
|
634
|
+
"outputs": [],
|
635
|
+
"inputs": [
|
636
|
+
{
|
637
|
+
"type": "address",
|
638
|
+
"name": "_owner"
|
639
|
+
}
|
640
|
+
],
|
641
|
+
"stateMutability": "nonpayable",
|
642
|
+
"type": "function",
|
643
|
+
"gas": 74603
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"name": "apply_transfer_ownership",
|
647
|
+
"outputs": [],
|
648
|
+
"inputs": [],
|
649
|
+
"stateMutability": "nonpayable",
|
650
|
+
"type": "function",
|
651
|
+
"gas": 116583
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"name": "revert_transfer_ownership",
|
655
|
+
"outputs": [],
|
656
|
+
"inputs": [],
|
657
|
+
"stateMutability": "nonpayable",
|
658
|
+
"type": "function",
|
659
|
+
"gas": 21955
|
660
|
+
},
|
661
|
+
{
|
662
|
+
"name": "withdraw_admin_fees",
|
663
|
+
"outputs": [],
|
664
|
+
"inputs": [],
|
665
|
+
"stateMutability": "nonpayable",
|
666
|
+
"type": "function",
|
667
|
+
"gas": 137597
|
668
|
+
},
|
669
|
+
{
|
670
|
+
"name": "donate_admin_fees",
|
671
|
+
"outputs": [],
|
672
|
+
"inputs": [],
|
673
|
+
"stateMutability": "nonpayable",
|
674
|
+
"type": "function",
|
675
|
+
"gas": 42144
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"name": "kill_me",
|
679
|
+
"outputs": [],
|
680
|
+
"inputs": [],
|
681
|
+
"stateMutability": "nonpayable",
|
682
|
+
"type": "function",
|
683
|
+
"gas": 37938
|
684
|
+
},
|
685
|
+
{
|
686
|
+
"name": "unkill_me",
|
687
|
+
"outputs": [],
|
688
|
+
"inputs": [],
|
689
|
+
"stateMutability": "nonpayable",
|
690
|
+
"type": "function",
|
691
|
+
"gas": 22075
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"name": "coins",
|
695
|
+
"outputs": [
|
696
|
+
{
|
697
|
+
"type": "address",
|
698
|
+
"name": ""
|
699
|
+
}
|
700
|
+
],
|
701
|
+
"inputs": [
|
702
|
+
{
|
703
|
+
"type": "uint256",
|
704
|
+
"name": "arg0"
|
705
|
+
}
|
706
|
+
],
|
707
|
+
"stateMutability": "view",
|
708
|
+
"type": "function",
|
709
|
+
"gas": 2160
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"name": "admin_balances",
|
713
|
+
"outputs": [
|
714
|
+
{
|
715
|
+
"type": "uint256",
|
716
|
+
"name": ""
|
717
|
+
}
|
718
|
+
],
|
719
|
+
"inputs": [
|
720
|
+
{
|
721
|
+
"type": "uint256",
|
722
|
+
"name": "arg0"
|
723
|
+
}
|
724
|
+
],
|
725
|
+
"stateMutability": "view",
|
726
|
+
"type": "function",
|
727
|
+
"gas": 2190
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"name": "fee",
|
731
|
+
"outputs": [
|
732
|
+
{
|
733
|
+
"type": "uint256",
|
734
|
+
"name": ""
|
735
|
+
}
|
736
|
+
],
|
737
|
+
"inputs": [],
|
738
|
+
"stateMutability": "view",
|
739
|
+
"type": "function",
|
740
|
+
"gas": 2111
|
741
|
+
},
|
742
|
+
{
|
743
|
+
"name": "admin_fee",
|
744
|
+
"outputs": [
|
745
|
+
{
|
746
|
+
"type": "uint256",
|
747
|
+
"name": ""
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"inputs": [],
|
751
|
+
"stateMutability": "view",
|
752
|
+
"type": "function",
|
753
|
+
"gas": 2141
|
754
|
+
},
|
755
|
+
{
|
756
|
+
"name": "owner",
|
757
|
+
"outputs": [
|
758
|
+
{
|
759
|
+
"type": "address",
|
760
|
+
"name": ""
|
761
|
+
}
|
762
|
+
],
|
763
|
+
"inputs": [],
|
764
|
+
"stateMutability": "view",
|
765
|
+
"type": "function",
|
766
|
+
"gas": 2171
|
767
|
+
},
|
768
|
+
{
|
769
|
+
"name": "lp_token",
|
770
|
+
"outputs": [
|
771
|
+
{
|
772
|
+
"type": "address",
|
773
|
+
"name": ""
|
774
|
+
}
|
775
|
+
],
|
776
|
+
"inputs": [],
|
777
|
+
"stateMutability": "view",
|
778
|
+
"type": "function",
|
779
|
+
"gas": 2201
|
780
|
+
},
|
781
|
+
{
|
782
|
+
"name": "initial_A",
|
783
|
+
"outputs": [
|
784
|
+
{
|
785
|
+
"type": "uint256",
|
786
|
+
"name": ""
|
787
|
+
}
|
788
|
+
],
|
789
|
+
"inputs": [],
|
790
|
+
"stateMutability": "view",
|
791
|
+
"type": "function",
|
792
|
+
"gas": 2231
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"name": "future_A",
|
796
|
+
"outputs": [
|
797
|
+
{
|
798
|
+
"type": "uint256",
|
799
|
+
"name": ""
|
800
|
+
}
|
801
|
+
],
|
802
|
+
"inputs": [],
|
803
|
+
"stateMutability": "view",
|
804
|
+
"type": "function",
|
805
|
+
"gas": 2261
|
806
|
+
},
|
807
|
+
{
|
808
|
+
"name": "initial_A_time",
|
809
|
+
"outputs": [
|
810
|
+
{
|
811
|
+
"type": "uint256",
|
812
|
+
"name": ""
|
813
|
+
}
|
814
|
+
],
|
815
|
+
"inputs": [],
|
816
|
+
"stateMutability": "view",
|
817
|
+
"type": "function",
|
818
|
+
"gas": 2291
|
819
|
+
},
|
820
|
+
{
|
821
|
+
"name": "future_A_time",
|
822
|
+
"outputs": [
|
823
|
+
{
|
824
|
+
"type": "uint256",
|
825
|
+
"name": ""
|
826
|
+
}
|
827
|
+
],
|
828
|
+
"inputs": [],
|
829
|
+
"stateMutability": "view",
|
830
|
+
"type": "function",
|
831
|
+
"gas": 2321
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"name": "admin_actions_deadline",
|
835
|
+
"outputs": [
|
836
|
+
{
|
837
|
+
"type": "uint256",
|
838
|
+
"name": ""
|
839
|
+
}
|
840
|
+
],
|
841
|
+
"inputs": [],
|
842
|
+
"stateMutability": "view",
|
843
|
+
"type": "function",
|
844
|
+
"gas": 2351
|
845
|
+
},
|
846
|
+
{
|
847
|
+
"name": "transfer_ownership_deadline",
|
848
|
+
"outputs": [
|
849
|
+
{
|
850
|
+
"type": "uint256",
|
851
|
+
"name": ""
|
852
|
+
}
|
853
|
+
],
|
854
|
+
"inputs": [],
|
855
|
+
"stateMutability": "view",
|
856
|
+
"type": "function",
|
857
|
+
"gas": 2381
|
858
|
+
},
|
859
|
+
{
|
860
|
+
"name": "future_fee",
|
861
|
+
"outputs": [
|
862
|
+
{
|
863
|
+
"type": "uint256",
|
864
|
+
"name": ""
|
865
|
+
}
|
866
|
+
],
|
867
|
+
"inputs": [],
|
868
|
+
"stateMutability": "view",
|
869
|
+
"type": "function",
|
870
|
+
"gas": 2411
|
871
|
+
},
|
872
|
+
{
|
873
|
+
"name": "future_admin_fee",
|
874
|
+
"outputs": [
|
875
|
+
{
|
876
|
+
"type": "uint256",
|
877
|
+
"name": ""
|
878
|
+
}
|
879
|
+
],
|
880
|
+
"inputs": [],
|
881
|
+
"stateMutability": "view",
|
882
|
+
"type": "function",
|
883
|
+
"gas": 2441
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"name": "future_owner",
|
887
|
+
"outputs": [
|
888
|
+
{
|
889
|
+
"type": "address",
|
890
|
+
"name": ""
|
891
|
+
}
|
892
|
+
],
|
893
|
+
"inputs": [],
|
894
|
+
"stateMutability": "view",
|
895
|
+
"type": "function",
|
896
|
+
"gas": 2471
|
897
|
+
}
|
898
|
+
]
|
899
|
+
''')
|