defi-state-querier 0.4.25__py3-none-any.whl → 0.4.27__py3-none-any.whl

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