@curvefi/api 2.69.9 → 2.69.10

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.
Files changed (62) hide show
  1. package/lib/constants/chainIds.d.ts +0 -1
  2. package/lib/constants/chainIds.js +0 -1
  3. package/lib/constants/coins/index.d.ts +1 -10
  4. package/lib/constants/coins/index.js +1 -10
  5. package/lib/constants/factory/crypto.d.ts +0 -45
  6. package/lib/constants/factory/crypto.js +0 -72
  7. package/lib/constants/factory/stable.d.ts +0 -9
  8. package/lib/constants/factory/stable.js +0 -119
  9. package/lib/constants/network_constants.js +2 -258
  10. package/lib/constants/pools/index.d.ts +1 -10
  11. package/lib/constants/pools/index.js +1 -10
  12. package/lib/constants/rewardNetworks.js +1 -1
  13. package/lib/constants/volumeNetworks.d.ts +0 -2
  14. package/lib/constants/volumeNetworks.js +1 -3
  15. package/lib/curve.js +1 -4
  16. package/lib/external-api.d.ts +0 -2
  17. package/lib/external-api.js +0 -41
  18. package/lib/pools/PoolTemplate.js +0 -2
  19. package/lib/pools/subClasses/statsPool.js +2 -2
  20. package/lib/pools/utils.js +2 -7
  21. package/lib/route-graph.worker.js +2 -3
  22. package/lib/utils.js +3 -55
  23. package/package.json +1 -1
  24. package/lib/constants/abis/avaxcrypto/swap.json +0 -1195
  25. package/lib/constants/abis/avaxcrypto/zap.json +0 -250
  26. package/lib/constants/abis/factory-v2/MetaUSDGeist.json +0 -932
  27. package/lib/constants/coins/aurora.d.ts +0 -3
  28. package/lib/constants/coins/aurora.js +0 -9
  29. package/lib/constants/coins/avalanche.d.ts +0 -4
  30. package/lib/constants/coins/avalanche.js +0 -34
  31. package/lib/constants/coins/celo.d.ts +0 -3
  32. package/lib/constants/coins/celo.js +0 -9
  33. package/lib/constants/coins/kava.d.ts +0 -3
  34. package/lib/constants/coins/kava.js +0 -9
  35. package/lib/constants/coins/mantle.d.ts +0 -2
  36. package/lib/constants/coins/mantle.js +0 -5
  37. package/lib/constants/coins/moonbeam.d.ts +0 -3
  38. package/lib/constants/coins/moonbeam.js +0 -9
  39. package/lib/constants/coins/sonic.d.ts +0 -2
  40. package/lib/constants/coins/sonic.js +0 -5
  41. package/lib/constants/coins/xlayer.d.ts +0 -2
  42. package/lib/constants/coins/xlayer.js +0 -5
  43. package/lib/constants/coins/zksync.d.ts +0 -2
  44. package/lib/constants/coins/zksync.js +0 -6
  45. package/lib/constants/pools/aurora.d.ts +0 -2
  46. package/lib/constants/pools/aurora.js +0 -31
  47. package/lib/constants/pools/avalanche.d.ts +0 -2
  48. package/lib/constants/pools/avalanche.js +0 -166
  49. package/lib/constants/pools/celo.d.ts +0 -2
  50. package/lib/constants/pools/celo.js +0 -2
  51. package/lib/constants/pools/kava.d.ts +0 -2
  52. package/lib/constants/pools/kava.js +0 -2
  53. package/lib/constants/pools/mantle.d.ts +0 -2
  54. package/lib/constants/pools/mantle.js +0 -2
  55. package/lib/constants/pools/moonbeam.d.ts +0 -2
  56. package/lib/constants/pools/moonbeam.js +0 -31
  57. package/lib/constants/pools/sonic.d.ts +0 -2
  58. package/lib/constants/pools/sonic.js +0 -2
  59. package/lib/constants/pools/xlayer.d.ts +0 -2
  60. package/lib/constants/pools/xlayer.js +0 -2
  61. package/lib/constants/pools/zksync.d.ts +0 -2
  62. package/lib/constants/pools/zksync.js +0 -2
@@ -1,1195 +0,0 @@
1
- [
2
- {
3
- "name": "TokenExchange",
4
- "inputs": [
5
- {
6
- "name": "buyer",
7
- "type": "address",
8
- "indexed": true
9
- },
10
- {
11
- "name": "sold_id",
12
- "type": "uint256",
13
- "indexed": false
14
- },
15
- {
16
- "name": "tokens_sold",
17
- "type": "uint256",
18
- "indexed": false
19
- },
20
- {
21
- "name": "bought_id",
22
- "type": "uint256",
23
- "indexed": false
24
- },
25
- {
26
- "name": "tokens_bought",
27
- "type": "uint256",
28
- "indexed": false
29
- }
30
- ],
31
- "anonymous": false,
32
- "type": "event"
33
- },
34
- {
35
- "name": "AddLiquidity",
36
- "inputs": [
37
- {
38
- "name": "provider",
39
- "type": "address",
40
- "indexed": true
41
- },
42
- {
43
- "name": "token_amounts",
44
- "type": "uint256[3]",
45
- "indexed": false
46
- },
47
- {
48
- "name": "fee",
49
- "type": "uint256",
50
- "indexed": false
51
- },
52
- {
53
- "name": "token_supply",
54
- "type": "uint256",
55
- "indexed": false
56
- }
57
- ],
58
- "anonymous": false,
59
- "type": "event"
60
- },
61
- {
62
- "name": "RemoveLiquidity",
63
- "inputs": [
64
- {
65
- "name": "provider",
66
- "type": "address",
67
- "indexed": true
68
- },
69
- {
70
- "name": "token_amounts",
71
- "type": "uint256[3]",
72
- "indexed": false
73
- },
74
- {
75
- "name": "token_supply",
76
- "type": "uint256",
77
- "indexed": false
78
- }
79
- ],
80
- "anonymous": false,
81
- "type": "event"
82
- },
83
- {
84
- "name": "RemoveLiquidityOne",
85
- "inputs": [
86
- {
87
- "name": "provider",
88
- "type": "address",
89
- "indexed": true
90
- },
91
- {
92
- "name": "token_amount",
93
- "type": "uint256",
94
- "indexed": false
95
- },
96
- {
97
- "name": "coin_index",
98
- "type": "uint256",
99
- "indexed": false
100
- },
101
- {
102
- "name": "coin_amount",
103
- "type": "uint256",
104
- "indexed": false
105
- }
106
- ],
107
- "anonymous": false,
108
- "type": "event"
109
- },
110
- {
111
- "name": "CommitNewAdmin",
112
- "inputs": [
113
- {
114
- "name": "deadline",
115
- "type": "uint256",
116
- "indexed": true
117
- },
118
- {
119
- "name": "admin",
120
- "type": "address",
121
- "indexed": true
122
- }
123
- ],
124
- "anonymous": false,
125
- "type": "event"
126
- },
127
- {
128
- "name": "NewAdmin",
129
- "inputs": [
130
- {
131
- "name": "admin",
132
- "type": "address",
133
- "indexed": true
134
- }
135
- ],
136
- "anonymous": false,
137
- "type": "event"
138
- },
139
- {
140
- "name": "CommitNewParameters",
141
- "inputs": [
142
- {
143
- "name": "deadline",
144
- "type": "uint256",
145
- "indexed": true
146
- },
147
- {
148
- "name": "admin_fee",
149
- "type": "uint256",
150
- "indexed": false
151
- },
152
- {
153
- "name": "mid_fee",
154
- "type": "uint256",
155
- "indexed": false
156
- },
157
- {
158
- "name": "out_fee",
159
- "type": "uint256",
160
- "indexed": false
161
- },
162
- {
163
- "name": "fee_gamma",
164
- "type": "uint256",
165
- "indexed": false
166
- },
167
- {
168
- "name": "allowed_extra_profit",
169
- "type": "uint256",
170
- "indexed": false
171
- },
172
- {
173
- "name": "adjustment_step",
174
- "type": "uint256",
175
- "indexed": false
176
- },
177
- {
178
- "name": "ma_half_time",
179
- "type": "uint256",
180
- "indexed": false
181
- }
182
- ],
183
- "anonymous": false,
184
- "type": "event"
185
- },
186
- {
187
- "name": "NewParameters",
188
- "inputs": [
189
- {
190
- "name": "admin_fee",
191
- "type": "uint256",
192
- "indexed": false
193
- },
194
- {
195
- "name": "mid_fee",
196
- "type": "uint256",
197
- "indexed": false
198
- },
199
- {
200
- "name": "out_fee",
201
- "type": "uint256",
202
- "indexed": false
203
- },
204
- {
205
- "name": "fee_gamma",
206
- "type": "uint256",
207
- "indexed": false
208
- },
209
- {
210
- "name": "allowed_extra_profit",
211
- "type": "uint256",
212
- "indexed": false
213
- },
214
- {
215
- "name": "adjustment_step",
216
- "type": "uint256",
217
- "indexed": false
218
- },
219
- {
220
- "name": "ma_half_time",
221
- "type": "uint256",
222
- "indexed": false
223
- }
224
- ],
225
- "anonymous": false,
226
- "type": "event"
227
- },
228
- {
229
- "name": "RampAgamma",
230
- "inputs": [
231
- {
232
- "name": "initial_A",
233
- "type": "uint256",
234
- "indexed": false
235
- },
236
- {
237
- "name": "future_A",
238
- "type": "uint256",
239
- "indexed": false
240
- },
241
- {
242
- "name": "initial_gamma",
243
- "type": "uint256",
244
- "indexed": false
245
- },
246
- {
247
- "name": "future_gamma",
248
- "type": "uint256",
249
- "indexed": false
250
- },
251
- {
252
- "name": "initial_time",
253
- "type": "uint256",
254
- "indexed": false
255
- },
256
- {
257
- "name": "future_time",
258
- "type": "uint256",
259
- "indexed": false
260
- }
261
- ],
262
- "anonymous": false,
263
- "type": "event"
264
- },
265
- {
266
- "name": "StopRampA",
267
- "inputs": [
268
- {
269
- "name": "current_A",
270
- "type": "uint256",
271
- "indexed": false
272
- },
273
- {
274
- "name": "current_gamma",
275
- "type": "uint256",
276
- "indexed": false
277
- },
278
- {
279
- "name": "time",
280
- "type": "uint256",
281
- "indexed": false
282
- }
283
- ],
284
- "anonymous": false,
285
- "type": "event"
286
- },
287
- {
288
- "name": "ClaimAdminFee",
289
- "inputs": [
290
- {
291
- "name": "admin",
292
- "type": "address",
293
- "indexed": true
294
- },
295
- {
296
- "name": "tokens",
297
- "type": "uint256",
298
- "indexed": false
299
- }
300
- ],
301
- "anonymous": false,
302
- "type": "event"
303
- },
304
- {
305
- "stateMutability": "nonpayable",
306
- "type": "constructor",
307
- "inputs": [
308
- {
309
- "name": "owner",
310
- "type": "address"
311
- },
312
- {
313
- "name": "admin_fee_receiver",
314
- "type": "address"
315
- },
316
- {
317
- "name": "A",
318
- "type": "uint256"
319
- },
320
- {
321
- "name": "gamma",
322
- "type": "uint256"
323
- },
324
- {
325
- "name": "mid_fee",
326
- "type": "uint256"
327
- },
328
- {
329
- "name": "out_fee",
330
- "type": "uint256"
331
- },
332
- {
333
- "name": "allowed_extra_profit",
334
- "type": "uint256"
335
- },
336
- {
337
- "name": "fee_gamma",
338
- "type": "uint256"
339
- },
340
- {
341
- "name": "adjustment_step",
342
- "type": "uint256"
343
- },
344
- {
345
- "name": "admin_fee",
346
- "type": "uint256"
347
- },
348
- {
349
- "name": "ma_half_time",
350
- "type": "uint256"
351
- },
352
- {
353
- "name": "initial_prices",
354
- "type": "uint256[2]"
355
- }
356
- ],
357
- "outputs": [],
358
- "name": "constructor"
359
- },
360
- {
361
- "stateMutability": "payable",
362
- "type": "fallback"
363
- },
364
- {
365
- "stateMutability": "view",
366
- "type": "function",
367
- "name": "price_oracle",
368
- "inputs": [
369
- {
370
- "name": "k",
371
- "type": "uint256"
372
- }
373
- ],
374
- "outputs": [
375
- {
376
- "name": "",
377
- "type": "uint256"
378
- }
379
- ]
380
- },
381
- {
382
- "stateMutability": "view",
383
- "type": "function",
384
- "name": "price_scale",
385
- "inputs": [
386
- {
387
- "name": "k",
388
- "type": "uint256"
389
- }
390
- ],
391
- "outputs": [
392
- {
393
- "name": "",
394
- "type": "uint256"
395
- }
396
- ]
397
- },
398
- {
399
- "stateMutability": "view",
400
- "type": "function",
401
- "name": "last_prices",
402
- "inputs": [
403
- {
404
- "name": "k",
405
- "type": "uint256"
406
- }
407
- ],
408
- "outputs": [
409
- {
410
- "name": "",
411
- "type": "uint256"
412
- }
413
- ]
414
- },
415
- {
416
- "stateMutability": "view",
417
- "type": "function",
418
- "name": "token",
419
- "inputs": [],
420
- "outputs": [
421
- {
422
- "name": "",
423
- "type": "address"
424
- }
425
- ]
426
- },
427
- {
428
- "stateMutability": "view",
429
- "type": "function",
430
- "name": "coins",
431
- "inputs": [
432
- {
433
- "name": "i",
434
- "type": "uint256"
435
- }
436
- ],
437
- "outputs": [
438
- {
439
- "name": "",
440
- "type": "address"
441
- }
442
- ]
443
- },
444
- {
445
- "stateMutability": "view",
446
- "type": "function",
447
- "name": "A",
448
- "inputs": [],
449
- "outputs": [
450
- {
451
- "name": "",
452
- "type": "uint256"
453
- }
454
- ]
455
- },
456
- {
457
- "stateMutability": "view",
458
- "type": "function",
459
- "name": "gamma",
460
- "inputs": [],
461
- "outputs": [
462
- {
463
- "name": "",
464
- "type": "uint256"
465
- }
466
- ]
467
- },
468
- {
469
- "stateMutability": "view",
470
- "type": "function",
471
- "name": "fee",
472
- "inputs": [],
473
- "outputs": [
474
- {
475
- "name": "",
476
- "type": "uint256"
477
- }
478
- ]
479
- },
480
- {
481
- "stateMutability": "view",
482
- "type": "function",
483
- "name": "fee_calc",
484
- "inputs": [
485
- {
486
- "name": "xp",
487
- "type": "uint256[3]"
488
- }
489
- ],
490
- "outputs": [
491
- {
492
- "name": "",
493
- "type": "uint256"
494
- }
495
- ]
496
- },
497
- {
498
- "stateMutability": "view",
499
- "type": "function",
500
- "name": "get_virtual_price",
501
- "inputs": [],
502
- "outputs": [
503
- {
504
- "name": "",
505
- "type": "uint256"
506
- }
507
- ]
508
- },
509
- {
510
- "stateMutability": "payable",
511
- "type": "function",
512
- "name": "exchange",
513
- "inputs": [
514
- {
515
- "name": "i",
516
- "type": "uint256"
517
- },
518
- {
519
- "name": "j",
520
- "type": "uint256"
521
- },
522
- {
523
- "name": "dx",
524
- "type": "uint256"
525
- },
526
- {
527
- "name": "min_dy",
528
- "type": "uint256"
529
- },
530
- {
531
- "name": "use_eth",
532
- "type": "bool"
533
- }
534
- ],
535
- "outputs": [
536
- {
537
- "name": "",
538
- "type": "uint256"
539
- }
540
- ]
541
- },
542
- {
543
- "stateMutability": "view",
544
- "type": "function",
545
- "name": "get_dy",
546
- "inputs": [
547
- {
548
- "name": "i",
549
- "type": "uint256"
550
- },
551
- {
552
- "name": "j",
553
- "type": "uint256"
554
- },
555
- {
556
- "name": "dx",
557
- "type": "uint256"
558
- }
559
- ],
560
- "outputs": [
561
- {
562
- "name": "",
563
- "type": "uint256"
564
- }
565
- ]
566
- },
567
- {
568
- "stateMutability": "view",
569
- "type": "function",
570
- "name": "calc_token_fee",
571
- "inputs": [
572
- {
573
- "name": "amounts",
574
- "type": "uint256[3]"
575
- },
576
- {
577
- "name": "xp",
578
- "type": "uint256[3]"
579
- }
580
- ],
581
- "outputs": [
582
- {
583
- "name": "",
584
- "type": "uint256"
585
- }
586
- ]
587
- },
588
- {
589
- "stateMutability": "nonpayable",
590
- "type": "function",
591
- "name": "add_liquidity",
592
- "inputs": [
593
- {
594
- "name": "amounts",
595
- "type": "uint256[3]"
596
- },
597
- {
598
- "name": "min_mint_amount",
599
- "type": "uint256"
600
- }
601
- ],
602
- "outputs": []
603
- },
604
- {
605
- "stateMutability": "nonpayable",
606
- "type": "function",
607
- "name": "remove_liquidity",
608
- "inputs": [
609
- {
610
- "name": "_amount",
611
- "type": "uint256"
612
- },
613
- {
614
- "name": "min_amounts",
615
- "type": "uint256[3]"
616
- }
617
- ],
618
- "outputs": []
619
- },
620
- {
621
- "stateMutability": "view",
622
- "type": "function",
623
- "name": "calc_token_amount",
624
- "inputs": [
625
- {
626
- "name": "amounts",
627
- "type": "uint256[3]"
628
- },
629
- {
630
- "name": "deposit",
631
- "type": "bool"
632
- }
633
- ],
634
- "outputs": [
635
- {
636
- "name": "",
637
- "type": "uint256"
638
- }
639
- ]
640
- },
641
- {
642
- "stateMutability": "view",
643
- "type": "function",
644
- "name": "calc_withdraw_one_coin",
645
- "inputs": [
646
- {
647
- "name": "token_amount",
648
- "type": "uint256"
649
- },
650
- {
651
- "name": "i",
652
- "type": "uint256"
653
- }
654
- ],
655
- "outputs": [
656
- {
657
- "name": "",
658
- "type": "uint256"
659
- }
660
- ]
661
- },
662
- {
663
- "stateMutability": "nonpayable",
664
- "type": "function",
665
- "name": "remove_liquidity_one_coin",
666
- "inputs": [
667
- {
668
- "name": "token_amount",
669
- "type": "uint256"
670
- },
671
- {
672
- "name": "i",
673
- "type": "uint256"
674
- },
675
- {
676
- "name": "min_amount",
677
- "type": "uint256"
678
- }
679
- ],
680
- "outputs": []
681
- },
682
- {
683
- "stateMutability": "nonpayable",
684
- "type": "function",
685
- "name": "claim_admin_fees",
686
- "inputs": [],
687
- "outputs": []
688
- },
689
- {
690
- "stateMutability": "nonpayable",
691
- "type": "function",
692
- "name": "ramp_A_gamma",
693
- "inputs": [
694
- {
695
- "name": "future_A",
696
- "type": "uint256"
697
- },
698
- {
699
- "name": "future_gamma",
700
- "type": "uint256"
701
- },
702
- {
703
- "name": "future_time",
704
- "type": "uint256"
705
- }
706
- ],
707
- "outputs": []
708
- },
709
- {
710
- "stateMutability": "nonpayable",
711
- "type": "function",
712
- "name": "stop_ramp_A_gamma",
713
- "inputs": [],
714
- "outputs": []
715
- },
716
- {
717
- "stateMutability": "nonpayable",
718
- "type": "function",
719
- "name": "commit_new_parameters",
720
- "inputs": [
721
- {
722
- "name": "_new_mid_fee",
723
- "type": "uint256"
724
- },
725
- {
726
- "name": "_new_out_fee",
727
- "type": "uint256"
728
- },
729
- {
730
- "name": "_new_admin_fee",
731
- "type": "uint256"
732
- },
733
- {
734
- "name": "_new_fee_gamma",
735
- "type": "uint256"
736
- },
737
- {
738
- "name": "_new_allowed_extra_profit",
739
- "type": "uint256"
740
- },
741
- {
742
- "name": "_new_adjustment_step",
743
- "type": "uint256"
744
- },
745
- {
746
- "name": "_new_ma_half_time",
747
- "type": "uint256"
748
- }
749
- ],
750
- "outputs": []
751
- },
752
- {
753
- "stateMutability": "nonpayable",
754
- "type": "function",
755
- "name": "apply_new_parameters",
756
- "inputs": [],
757
- "outputs": []
758
- },
759
- {
760
- "stateMutability": "nonpayable",
761
- "type": "function",
762
- "name": "revert_new_parameters",
763
- "inputs": [],
764
- "outputs": []
765
- },
766
- {
767
- "stateMutability": "nonpayable",
768
- "type": "function",
769
- "name": "commit_transfer_ownership",
770
- "inputs": [
771
- {
772
- "name": "_owner",
773
- "type": "address"
774
- }
775
- ],
776
- "outputs": []
777
- },
778
- {
779
- "stateMutability": "nonpayable",
780
- "type": "function",
781
- "name": "apply_transfer_ownership",
782
- "inputs": [],
783
- "outputs": []
784
- },
785
- {
786
- "stateMutability": "nonpayable",
787
- "type": "function",
788
- "name": "revert_transfer_ownership",
789
- "inputs": [],
790
- "outputs": []
791
- },
792
- {
793
- "stateMutability": "nonpayable",
794
- "type": "function",
795
- "name": "kill_me",
796
- "inputs": [],
797
- "outputs": []
798
- },
799
- {
800
- "stateMutability": "nonpayable",
801
- "type": "function",
802
- "name": "unkill_me",
803
- "inputs": [],
804
- "outputs": []
805
- },
806
- {
807
- "stateMutability": "nonpayable",
808
- "type": "function",
809
- "name": "set_admin_fee_receiver",
810
- "inputs": [
811
- {
812
- "name": "_admin_fee_receiver",
813
- "type": "address"
814
- }
815
- ],
816
- "outputs": []
817
- },
818
- {
819
- "stateMutability": "view",
820
- "type": "function",
821
- "name": "last_prices_timestamp",
822
- "inputs": [],
823
- "outputs": [
824
- {
825
- "name": "",
826
- "type": "uint256"
827
- }
828
- ]
829
- },
830
- {
831
- "stateMutability": "view",
832
- "type": "function",
833
- "name": "initial_A_gamma",
834
- "inputs": [],
835
- "outputs": [
836
- {
837
- "name": "",
838
- "type": "uint256"
839
- }
840
- ]
841
- },
842
- {
843
- "stateMutability": "view",
844
- "type": "function",
845
- "name": "future_A_gamma",
846
- "inputs": [],
847
- "outputs": [
848
- {
849
- "name": "",
850
- "type": "uint256"
851
- }
852
- ]
853
- },
854
- {
855
- "stateMutability": "view",
856
- "type": "function",
857
- "name": "initial_A_gamma_time",
858
- "inputs": [],
859
- "outputs": [
860
- {
861
- "name": "",
862
- "type": "uint256"
863
- }
864
- ]
865
- },
866
- {
867
- "stateMutability": "view",
868
- "type": "function",
869
- "name": "future_A_gamma_time",
870
- "inputs": [],
871
- "outputs": [
872
- {
873
- "name": "",
874
- "type": "uint256"
875
- }
876
- ]
877
- },
878
- {
879
- "stateMutability": "view",
880
- "type": "function",
881
- "name": "allowed_extra_profit",
882
- "inputs": [],
883
- "outputs": [
884
- {
885
- "name": "",
886
- "type": "uint256"
887
- }
888
- ]
889
- },
890
- {
891
- "stateMutability": "view",
892
- "type": "function",
893
- "name": "future_allowed_extra_profit",
894
- "inputs": [],
895
- "outputs": [
896
- {
897
- "name": "",
898
- "type": "uint256"
899
- }
900
- ]
901
- },
902
- {
903
- "stateMutability": "view",
904
- "type": "function",
905
- "name": "fee_gamma",
906
- "inputs": [],
907
- "outputs": [
908
- {
909
- "name": "",
910
- "type": "uint256"
911
- }
912
- ]
913
- },
914
- {
915
- "stateMutability": "view",
916
- "type": "function",
917
- "name": "future_fee_gamma",
918
- "inputs": [],
919
- "outputs": [
920
- {
921
- "name": "",
922
- "type": "uint256"
923
- }
924
- ]
925
- },
926
- {
927
- "stateMutability": "view",
928
- "type": "function",
929
- "name": "adjustment_step",
930
- "inputs": [],
931
- "outputs": [
932
- {
933
- "name": "",
934
- "type": "uint256"
935
- }
936
- ]
937
- },
938
- {
939
- "stateMutability": "view",
940
- "type": "function",
941
- "name": "future_adjustment_step",
942
- "inputs": [],
943
- "outputs": [
944
- {
945
- "name": "",
946
- "type": "uint256"
947
- }
948
- ]
949
- },
950
- {
951
- "stateMutability": "view",
952
- "type": "function",
953
- "name": "ma_half_time",
954
- "inputs": [],
955
- "outputs": [
956
- {
957
- "name": "",
958
- "type": "uint256"
959
- }
960
- ]
961
- },
962
- {
963
- "stateMutability": "view",
964
- "type": "function",
965
- "name": "future_ma_half_time",
966
- "inputs": [],
967
- "outputs": [
968
- {
969
- "name": "",
970
- "type": "uint256"
971
- }
972
- ]
973
- },
974
- {
975
- "stateMutability": "view",
976
- "type": "function",
977
- "name": "mid_fee",
978
- "inputs": [],
979
- "outputs": [
980
- {
981
- "name": "",
982
- "type": "uint256"
983
- }
984
- ]
985
- },
986
- {
987
- "stateMutability": "view",
988
- "type": "function",
989
- "name": "out_fee",
990
- "inputs": [],
991
- "outputs": [
992
- {
993
- "name": "",
994
- "type": "uint256"
995
- }
996
- ]
997
- },
998
- {
999
- "stateMutability": "view",
1000
- "type": "function",
1001
- "name": "admin_fee",
1002
- "inputs": [],
1003
- "outputs": [
1004
- {
1005
- "name": "",
1006
- "type": "uint256"
1007
- }
1008
- ]
1009
- },
1010
- {
1011
- "stateMutability": "view",
1012
- "type": "function",
1013
- "name": "future_mid_fee",
1014
- "inputs": [],
1015
- "outputs": [
1016
- {
1017
- "name": "",
1018
- "type": "uint256"
1019
- }
1020
- ]
1021
- },
1022
- {
1023
- "stateMutability": "view",
1024
- "type": "function",
1025
- "name": "future_out_fee",
1026
- "inputs": [],
1027
- "outputs": [
1028
- {
1029
- "name": "",
1030
- "type": "uint256"
1031
- }
1032
- ]
1033
- },
1034
- {
1035
- "stateMutability": "view",
1036
- "type": "function",
1037
- "name": "future_admin_fee",
1038
- "inputs": [],
1039
- "outputs": [
1040
- {
1041
- "name": "",
1042
- "type": "uint256"
1043
- }
1044
- ]
1045
- },
1046
- {
1047
- "stateMutability": "view",
1048
- "type": "function",
1049
- "name": "balances",
1050
- "inputs": [
1051
- {
1052
- "name": "arg0",
1053
- "type": "uint256"
1054
- }
1055
- ],
1056
- "outputs": [
1057
- {
1058
- "name": "",
1059
- "type": "uint256"
1060
- }
1061
- ]
1062
- },
1063
- {
1064
- "stateMutability": "view",
1065
- "type": "function",
1066
- "name": "D",
1067
- "inputs": [],
1068
- "outputs": [
1069
- {
1070
- "name": "",
1071
- "type": "uint256"
1072
- }
1073
- ]
1074
- },
1075
- {
1076
- "stateMutability": "view",
1077
- "type": "function",
1078
- "name": "owner",
1079
- "inputs": [],
1080
- "outputs": [
1081
- {
1082
- "name": "",
1083
- "type": "address"
1084
- }
1085
- ]
1086
- },
1087
- {
1088
- "stateMutability": "view",
1089
- "type": "function",
1090
- "name": "future_owner",
1091
- "inputs": [],
1092
- "outputs": [
1093
- {
1094
- "name": "",
1095
- "type": "address"
1096
- }
1097
- ]
1098
- },
1099
- {
1100
- "stateMutability": "view",
1101
- "type": "function",
1102
- "name": "xcp_profit",
1103
- "inputs": [],
1104
- "outputs": [
1105
- {
1106
- "name": "",
1107
- "type": "uint256"
1108
- }
1109
- ]
1110
- },
1111
- {
1112
- "stateMutability": "view",
1113
- "type": "function",
1114
- "name": "xcp_profit_a",
1115
- "inputs": [],
1116
- "outputs": [
1117
- {
1118
- "name": "",
1119
- "type": "uint256"
1120
- }
1121
- ]
1122
- },
1123
- {
1124
- "stateMutability": "view",
1125
- "type": "function",
1126
- "name": "virtual_price",
1127
- "inputs": [],
1128
- "outputs": [
1129
- {
1130
- "name": "",
1131
- "type": "uint256"
1132
- }
1133
- ]
1134
- },
1135
- {
1136
- "stateMutability": "view",
1137
- "type": "function",
1138
- "name": "is_killed",
1139
- "inputs": [],
1140
- "outputs": [
1141
- {
1142
- "name": "",
1143
- "type": "bool"
1144
- }
1145
- ]
1146
- },
1147
- {
1148
- "stateMutability": "view",
1149
- "type": "function",
1150
- "name": "kill_deadline",
1151
- "inputs": [],
1152
- "outputs": [
1153
- {
1154
- "name": "",
1155
- "type": "uint256"
1156
- }
1157
- ]
1158
- },
1159
- {
1160
- "stateMutability": "view",
1161
- "type": "function",
1162
- "name": "transfer_ownership_deadline",
1163
- "inputs": [],
1164
- "outputs": [
1165
- {
1166
- "name": "",
1167
- "type": "uint256"
1168
- }
1169
- ]
1170
- },
1171
- {
1172
- "stateMutability": "view",
1173
- "type": "function",
1174
- "name": "admin_actions_deadline",
1175
- "inputs": [],
1176
- "outputs": [
1177
- {
1178
- "name": "",
1179
- "type": "uint256"
1180
- }
1181
- ]
1182
- },
1183
- {
1184
- "stateMutability": "view",
1185
- "type": "function",
1186
- "name": "admin_fee_receiver",
1187
- "inputs": [],
1188
- "outputs": [
1189
- {
1190
- "name": "",
1191
- "type": "address"
1192
- }
1193
- ]
1194
- }
1195
- ]