@curvefi/api 2.4.3 → 2.6.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.
Files changed (37) hide show
  1. package/lib/constants/abis/eursusd2/swap.json +1199 -0
  2. package/lib/constants/abis/eursusd2/zap.json +270 -0
  3. package/lib/constants/abis/factory-v2/DepositZapFantom.json +164 -0
  4. package/lib/constants/abis/factory-v2/DepositZapMetaUsd2Fantom.json +197 -0
  5. package/lib/constants/abis/factory-v2/MetaUSDGeist.json +932 -0
  6. package/lib/constants/abis/fusdt/swap.json +1221 -0
  7. package/lib/constants/abis/fusdt/zap.json +215 -0
  8. package/lib/constants/abis/gauge_child.json +0 -100
  9. package/lib/constants/abis/gauge_rewards_only.json +649 -0
  10. package/lib/constants/abis/ren-arbitrum/swap.json +1069 -0
  11. package/lib/constants/abis/ren-fantom/swap.json +868 -0
  12. package/lib/constants/abis/tricrypto/swapNoZap.json +1250 -0
  13. package/lib/constants/aliases.d.ts +2 -0
  14. package/lib/constants/aliases.js +25 -1
  15. package/lib/constants/coins/arbitrum.d.ts +7 -0
  16. package/lib/constants/coins/arbitrum.js +23 -0
  17. package/lib/constants/coins/fantom.d.ts +7 -0
  18. package/lib/constants/coins/fantom.js +36 -0
  19. package/lib/constants/pools/arbitrum.d.ts +4 -0
  20. package/lib/constants/pools/arbitrum.js +125 -0
  21. package/lib/constants/pools/fantom.d.ts +4 -0
  22. package/lib/constants/pools/fantom.js +191 -0
  23. package/lib/constants/pools/index.d.ts +3 -1
  24. package/lib/constants/pools/index.js +5 -1
  25. package/lib/constants/pools/polygon.js +30 -0
  26. package/lib/curve.js +42 -10
  27. package/lib/factory/common.js +31 -0
  28. package/lib/factory/constants.d.ts +6 -0
  29. package/lib/factory/constants.js +85 -3
  30. package/lib/factory/factory-crypto.js +4 -0
  31. package/lib/factory/factory.js +6 -0
  32. package/lib/pools/PoolTemplate.d.ts +2 -1
  33. package/lib/pools/PoolTemplate.js +30 -25
  34. package/lib/pools/poolConstructor.js +3 -3
  35. package/lib/router.js +6 -6
  36. package/lib/utils.js +6 -0
  37. package/package.json +1 -1
@@ -0,0 +1,1199 @@
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[2]",
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[2]",
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_price",
354
+ "type": "uint256"
355
+ }
356
+ ],
357
+ "outputs": [],
358
+ "name": "constructor"
359
+ },
360
+ {
361
+ "stateMutability": "view",
362
+ "type": "function",
363
+ "name": "token",
364
+ "inputs": [],
365
+ "outputs": [
366
+ {
367
+ "name": "",
368
+ "type": "address"
369
+ }
370
+ ],
371
+ "gas": 426
372
+ },
373
+ {
374
+ "stateMutability": "view",
375
+ "type": "function",
376
+ "name": "coins",
377
+ "inputs": [
378
+ {
379
+ "name": "i",
380
+ "type": "uint256"
381
+ }
382
+ ],
383
+ "outputs": [
384
+ {
385
+ "name": "",
386
+ "type": "address"
387
+ }
388
+ ],
389
+ "gas": 558
390
+ },
391
+ {
392
+ "stateMutability": "view",
393
+ "type": "function",
394
+ "name": "A",
395
+ "inputs": [],
396
+ "outputs": [
397
+ {
398
+ "name": "",
399
+ "type": "uint256"
400
+ }
401
+ ],
402
+ "gas": 595
403
+ },
404
+ {
405
+ "stateMutability": "view",
406
+ "type": "function",
407
+ "name": "gamma",
408
+ "inputs": [],
409
+ "outputs": [
410
+ {
411
+ "name": "",
412
+ "type": "uint256"
413
+ }
414
+ ],
415
+ "gas": 6499
416
+ },
417
+ {
418
+ "stateMutability": "view",
419
+ "type": "function",
420
+ "name": "fee",
421
+ "inputs": [],
422
+ "outputs": [
423
+ {
424
+ "name": "",
425
+ "type": "uint256"
426
+ }
427
+ ],
428
+ "gas": 9743
429
+ },
430
+ {
431
+ "stateMutability": "view",
432
+ "type": "function",
433
+ "name": "get_virtual_price",
434
+ "inputs": [],
435
+ "outputs": [
436
+ {
437
+ "name": "",
438
+ "type": "uint256"
439
+ }
440
+ ],
441
+ "gas": 360707
442
+ },
443
+ {
444
+ "stateMutability": "nonpayable",
445
+ "type": "function",
446
+ "name": "exchange",
447
+ "inputs": [
448
+ {
449
+ "name": "i",
450
+ "type": "uint256"
451
+ },
452
+ {
453
+ "name": "j",
454
+ "type": "uint256"
455
+ },
456
+ {
457
+ "name": "dx",
458
+ "type": "uint256"
459
+ },
460
+ {
461
+ "name": "min_dy",
462
+ "type": "uint256"
463
+ }
464
+ ],
465
+ "outputs": [
466
+ {
467
+ "name": "",
468
+ "type": "uint256"
469
+ }
470
+ ],
471
+ "gas": 16670379
472
+ },
473
+ {
474
+ "stateMutability": "view",
475
+ "type": "function",
476
+ "name": "get_dy",
477
+ "inputs": [
478
+ {
479
+ "name": "i",
480
+ "type": "uint256"
481
+ },
482
+ {
483
+ "name": "j",
484
+ "type": "uint256"
485
+ },
486
+ {
487
+ "name": "dx",
488
+ "type": "uint256"
489
+ }
490
+ ],
491
+ "outputs": [
492
+ {
493
+ "name": "",
494
+ "type": "uint256"
495
+ }
496
+ ],
497
+ "gas": 4557895
498
+ },
499
+ {
500
+ "stateMutability": "nonpayable",
501
+ "type": "function",
502
+ "name": "add_liquidity",
503
+ "inputs": [
504
+ {
505
+ "name": "amounts",
506
+ "type": "uint256[2]"
507
+ },
508
+ {
509
+ "name": "min_mint_amount",
510
+ "type": "uint256"
511
+ }
512
+ ],
513
+ "outputs": [
514
+ {
515
+ "name": "",
516
+ "type": "uint256"
517
+ }
518
+ ],
519
+ "gas": 17621237
520
+ },
521
+ {
522
+ "stateMutability": "nonpayable",
523
+ "type": "function",
524
+ "name": "remove_liquidity",
525
+ "inputs": [
526
+ {
527
+ "name": "_amount",
528
+ "type": "uint256"
529
+ },
530
+ {
531
+ "name": "min_amounts",
532
+ "type": "uint256[2]"
533
+ }
534
+ ],
535
+ "outputs": [],
536
+ "gas": 174292
537
+ },
538
+ {
539
+ "stateMutability": "view",
540
+ "type": "function",
541
+ "name": "calc_token_amount",
542
+ "inputs": [
543
+ {
544
+ "name": "amounts",
545
+ "type": "uint256[2]"
546
+ }
547
+ ],
548
+ "outputs": [
549
+ {
550
+ "name": "",
551
+ "type": "uint256"
552
+ }
553
+ ],
554
+ "gas": 5182497
555
+ },
556
+ {
557
+ "stateMutability": "view",
558
+ "type": "function",
559
+ "name": "calc_withdraw_one_coin",
560
+ "inputs": [
561
+ {
562
+ "name": "token_amount",
563
+ "type": "uint256"
564
+ },
565
+ {
566
+ "name": "i",
567
+ "type": "uint256"
568
+ }
569
+ ],
570
+ "outputs": [
571
+ {
572
+ "name": "",
573
+ "type": "uint256"
574
+ }
575
+ ],
576
+ "gas": 7264
577
+ },
578
+ {
579
+ "stateMutability": "nonpayable",
580
+ "type": "function",
581
+ "name": "remove_liquidity_one_coin",
582
+ "inputs": [
583
+ {
584
+ "name": "token_amount",
585
+ "type": "uint256"
586
+ },
587
+ {
588
+ "name": "i",
589
+ "type": "uint256"
590
+ },
591
+ {
592
+ "name": "min_amount",
593
+ "type": "uint256"
594
+ }
595
+ ],
596
+ "outputs": [
597
+ {
598
+ "name": "",
599
+ "type": "uint256"
600
+ }
601
+ ],
602
+ "gas": 16601846
603
+ },
604
+ {
605
+ "stateMutability": "nonpayable",
606
+ "type": "function",
607
+ "name": "claim_admin_fees",
608
+ "inputs": [],
609
+ "outputs": [],
610
+ "gas": 3226971
611
+ },
612
+ {
613
+ "stateMutability": "nonpayable",
614
+ "type": "function",
615
+ "name": "ramp_A_gamma",
616
+ "inputs": [
617
+ {
618
+ "name": "future_A",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "name": "future_gamma",
623
+ "type": "uint256"
624
+ },
625
+ {
626
+ "name": "future_time",
627
+ "type": "uint256"
628
+ }
629
+ ],
630
+ "outputs": [],
631
+ "gas": 153778
632
+ },
633
+ {
634
+ "stateMutability": "nonpayable",
635
+ "type": "function",
636
+ "name": "stop_ramp_A_gamma",
637
+ "inputs": [],
638
+ "outputs": [],
639
+ "gas": 150123
640
+ },
641
+ {
642
+ "stateMutability": "nonpayable",
643
+ "type": "function",
644
+ "name": "commit_new_parameters",
645
+ "inputs": [
646
+ {
647
+ "name": "_new_mid_fee",
648
+ "type": "uint256"
649
+ },
650
+ {
651
+ "name": "_new_out_fee",
652
+ "type": "uint256"
653
+ },
654
+ {
655
+ "name": "_new_admin_fee",
656
+ "type": "uint256"
657
+ },
658
+ {
659
+ "name": "_new_fee_gamma",
660
+ "type": "uint256"
661
+ },
662
+ {
663
+ "name": "_new_allowed_extra_profit",
664
+ "type": "uint256"
665
+ },
666
+ {
667
+ "name": "_new_adjustment_step",
668
+ "type": "uint256"
669
+ },
670
+ {
671
+ "name": "_new_ma_half_time",
672
+ "type": "uint256"
673
+ }
674
+ ],
675
+ "outputs": [],
676
+ "gas": 293264
677
+ },
678
+ {
679
+ "stateMutability": "nonpayable",
680
+ "type": "function",
681
+ "name": "apply_new_parameters",
682
+ "inputs": [],
683
+ "outputs": [],
684
+ "gas": 3504861
685
+ },
686
+ {
687
+ "stateMutability": "nonpayable",
688
+ "type": "function",
689
+ "name": "revert_new_parameters",
690
+ "inputs": [],
691
+ "outputs": [],
692
+ "gas": 21722
693
+ },
694
+ {
695
+ "stateMutability": "nonpayable",
696
+ "type": "function",
697
+ "name": "commit_transfer_ownership",
698
+ "inputs": [
699
+ {
700
+ "name": "_owner",
701
+ "type": "address"
702
+ }
703
+ ],
704
+ "outputs": [],
705
+ "gas": 76107
706
+ },
707
+ {
708
+ "stateMutability": "nonpayable",
709
+ "type": "function",
710
+ "name": "apply_transfer_ownership",
711
+ "inputs": [],
712
+ "outputs": [],
713
+ "gas": 61722
714
+ },
715
+ {
716
+ "stateMutability": "nonpayable",
717
+ "type": "function",
718
+ "name": "revert_transfer_ownership",
719
+ "inputs": [],
720
+ "outputs": [],
721
+ "gas": 21812
722
+ },
723
+ {
724
+ "stateMutability": "nonpayable",
725
+ "type": "function",
726
+ "name": "kill_me",
727
+ "inputs": [],
728
+ "outputs": [],
729
+ "gas": 37735
730
+ },
731
+ {
732
+ "stateMutability": "nonpayable",
733
+ "type": "function",
734
+ "name": "unkill_me",
735
+ "inputs": [],
736
+ "outputs": [],
737
+ "gas": 21872
738
+ },
739
+ {
740
+ "stateMutability": "nonpayable",
741
+ "type": "function",
742
+ "name": "set_admin_fee_receiver",
743
+ "inputs": [
744
+ {
745
+ "name": "_admin_fee_receiver",
746
+ "type": "address"
747
+ }
748
+ ],
749
+ "outputs": [],
750
+ "gas": 37062
751
+ },
752
+ {
753
+ "stateMutability": "view",
754
+ "type": "function",
755
+ "name": "price_scale",
756
+ "inputs": [],
757
+ "outputs": [
758
+ {
759
+ "name": "",
760
+ "type": "uint256"
761
+ }
762
+ ],
763
+ "gas": 1976
764
+ },
765
+ {
766
+ "stateMutability": "view",
767
+ "type": "function",
768
+ "name": "price_oracle",
769
+ "inputs": [],
770
+ "outputs": [
771
+ {
772
+ "name": "",
773
+ "type": "uint256"
774
+ }
775
+ ],
776
+ "gas": 2006
777
+ },
778
+ {
779
+ "stateMutability": "view",
780
+ "type": "function",
781
+ "name": "last_prices",
782
+ "inputs": [],
783
+ "outputs": [
784
+ {
785
+ "name": "",
786
+ "type": "uint256"
787
+ }
788
+ ],
789
+ "gas": 2036
790
+ },
791
+ {
792
+ "stateMutability": "view",
793
+ "type": "function",
794
+ "name": "last_prices_timestamp",
795
+ "inputs": [],
796
+ "outputs": [
797
+ {
798
+ "name": "",
799
+ "type": "uint256"
800
+ }
801
+ ],
802
+ "gas": 2066
803
+ },
804
+ {
805
+ "stateMutability": "view",
806
+ "type": "function",
807
+ "name": "initial_A_gamma",
808
+ "inputs": [],
809
+ "outputs": [
810
+ {
811
+ "name": "",
812
+ "type": "uint256"
813
+ }
814
+ ],
815
+ "gas": 2096
816
+ },
817
+ {
818
+ "stateMutability": "view",
819
+ "type": "function",
820
+ "name": "future_A_gamma",
821
+ "inputs": [],
822
+ "outputs": [
823
+ {
824
+ "name": "",
825
+ "type": "uint256"
826
+ }
827
+ ],
828
+ "gas": 2126
829
+ },
830
+ {
831
+ "stateMutability": "view",
832
+ "type": "function",
833
+ "name": "initial_A_gamma_time",
834
+ "inputs": [],
835
+ "outputs": [
836
+ {
837
+ "name": "",
838
+ "type": "uint256"
839
+ }
840
+ ],
841
+ "gas": 2156
842
+ },
843
+ {
844
+ "stateMutability": "view",
845
+ "type": "function",
846
+ "name": "future_A_gamma_time",
847
+ "inputs": [],
848
+ "outputs": [
849
+ {
850
+ "name": "",
851
+ "type": "uint256"
852
+ }
853
+ ],
854
+ "gas": 2186
855
+ },
856
+ {
857
+ "stateMutability": "view",
858
+ "type": "function",
859
+ "name": "allowed_extra_profit",
860
+ "inputs": [],
861
+ "outputs": [
862
+ {
863
+ "name": "",
864
+ "type": "uint256"
865
+ }
866
+ ],
867
+ "gas": 2216
868
+ },
869
+ {
870
+ "stateMutability": "view",
871
+ "type": "function",
872
+ "name": "future_allowed_extra_profit",
873
+ "inputs": [],
874
+ "outputs": [
875
+ {
876
+ "name": "",
877
+ "type": "uint256"
878
+ }
879
+ ],
880
+ "gas": 2246
881
+ },
882
+ {
883
+ "stateMutability": "view",
884
+ "type": "function",
885
+ "name": "fee_gamma",
886
+ "inputs": [],
887
+ "outputs": [
888
+ {
889
+ "name": "",
890
+ "type": "uint256"
891
+ }
892
+ ],
893
+ "gas": 2276
894
+ },
895
+ {
896
+ "stateMutability": "view",
897
+ "type": "function",
898
+ "name": "future_fee_gamma",
899
+ "inputs": [],
900
+ "outputs": [
901
+ {
902
+ "name": "",
903
+ "type": "uint256"
904
+ }
905
+ ],
906
+ "gas": 2306
907
+ },
908
+ {
909
+ "stateMutability": "view",
910
+ "type": "function",
911
+ "name": "adjustment_step",
912
+ "inputs": [],
913
+ "outputs": [
914
+ {
915
+ "name": "",
916
+ "type": "uint256"
917
+ }
918
+ ],
919
+ "gas": 2336
920
+ },
921
+ {
922
+ "stateMutability": "view",
923
+ "type": "function",
924
+ "name": "future_adjustment_step",
925
+ "inputs": [],
926
+ "outputs": [
927
+ {
928
+ "name": "",
929
+ "type": "uint256"
930
+ }
931
+ ],
932
+ "gas": 2366
933
+ },
934
+ {
935
+ "stateMutability": "view",
936
+ "type": "function",
937
+ "name": "ma_half_time",
938
+ "inputs": [],
939
+ "outputs": [
940
+ {
941
+ "name": "",
942
+ "type": "uint256"
943
+ }
944
+ ],
945
+ "gas": 2396
946
+ },
947
+ {
948
+ "stateMutability": "view",
949
+ "type": "function",
950
+ "name": "future_ma_half_time",
951
+ "inputs": [],
952
+ "outputs": [
953
+ {
954
+ "name": "",
955
+ "type": "uint256"
956
+ }
957
+ ],
958
+ "gas": 2426
959
+ },
960
+ {
961
+ "stateMutability": "view",
962
+ "type": "function",
963
+ "name": "mid_fee",
964
+ "inputs": [],
965
+ "outputs": [
966
+ {
967
+ "name": "",
968
+ "type": "uint256"
969
+ }
970
+ ],
971
+ "gas": 2456
972
+ },
973
+ {
974
+ "stateMutability": "view",
975
+ "type": "function",
976
+ "name": "out_fee",
977
+ "inputs": [],
978
+ "outputs": [
979
+ {
980
+ "name": "",
981
+ "type": "uint256"
982
+ }
983
+ ],
984
+ "gas": 2486
985
+ },
986
+ {
987
+ "stateMutability": "view",
988
+ "type": "function",
989
+ "name": "admin_fee",
990
+ "inputs": [],
991
+ "outputs": [
992
+ {
993
+ "name": "",
994
+ "type": "uint256"
995
+ }
996
+ ],
997
+ "gas": 2516
998
+ },
999
+ {
1000
+ "stateMutability": "view",
1001
+ "type": "function",
1002
+ "name": "future_mid_fee",
1003
+ "inputs": [],
1004
+ "outputs": [
1005
+ {
1006
+ "name": "",
1007
+ "type": "uint256"
1008
+ }
1009
+ ],
1010
+ "gas": 2546
1011
+ },
1012
+ {
1013
+ "stateMutability": "view",
1014
+ "type": "function",
1015
+ "name": "future_out_fee",
1016
+ "inputs": [],
1017
+ "outputs": [
1018
+ {
1019
+ "name": "",
1020
+ "type": "uint256"
1021
+ }
1022
+ ],
1023
+ "gas": 2576
1024
+ },
1025
+ {
1026
+ "stateMutability": "view",
1027
+ "type": "function",
1028
+ "name": "future_admin_fee",
1029
+ "inputs": [],
1030
+ "outputs": [
1031
+ {
1032
+ "name": "",
1033
+ "type": "uint256"
1034
+ }
1035
+ ],
1036
+ "gas": 2606
1037
+ },
1038
+ {
1039
+ "stateMutability": "view",
1040
+ "type": "function",
1041
+ "name": "balances",
1042
+ "inputs": [
1043
+ {
1044
+ "name": "arg0",
1045
+ "type": "uint256"
1046
+ }
1047
+ ],
1048
+ "outputs": [
1049
+ {
1050
+ "name": "",
1051
+ "type": "uint256"
1052
+ }
1053
+ ],
1054
+ "gas": 2681
1055
+ },
1056
+ {
1057
+ "stateMutability": "view",
1058
+ "type": "function",
1059
+ "name": "D",
1060
+ "inputs": [],
1061
+ "outputs": [
1062
+ {
1063
+ "name": "",
1064
+ "type": "uint256"
1065
+ }
1066
+ ],
1067
+ "gas": 2666
1068
+ },
1069
+ {
1070
+ "stateMutability": "view",
1071
+ "type": "function",
1072
+ "name": "owner",
1073
+ "inputs": [],
1074
+ "outputs": [
1075
+ {
1076
+ "name": "",
1077
+ "type": "address"
1078
+ }
1079
+ ],
1080
+ "gas": 2696
1081
+ },
1082
+ {
1083
+ "stateMutability": "view",
1084
+ "type": "function",
1085
+ "name": "future_owner",
1086
+ "inputs": [],
1087
+ "outputs": [
1088
+ {
1089
+ "name": "",
1090
+ "type": "address"
1091
+ }
1092
+ ],
1093
+ "gas": 2726
1094
+ },
1095
+ {
1096
+ "stateMutability": "view",
1097
+ "type": "function",
1098
+ "name": "xcp_profit",
1099
+ "inputs": [],
1100
+ "outputs": [
1101
+ {
1102
+ "name": "",
1103
+ "type": "uint256"
1104
+ }
1105
+ ],
1106
+ "gas": 2756
1107
+ },
1108
+ {
1109
+ "stateMutability": "view",
1110
+ "type": "function",
1111
+ "name": "xcp_profit_a",
1112
+ "inputs": [],
1113
+ "outputs": [
1114
+ {
1115
+ "name": "",
1116
+ "type": "uint256"
1117
+ }
1118
+ ],
1119
+ "gas": 2786
1120
+ },
1121
+ {
1122
+ "stateMutability": "view",
1123
+ "type": "function",
1124
+ "name": "virtual_price",
1125
+ "inputs": [],
1126
+ "outputs": [
1127
+ {
1128
+ "name": "",
1129
+ "type": "uint256"
1130
+ }
1131
+ ],
1132
+ "gas": 2816
1133
+ },
1134
+ {
1135
+ "stateMutability": "view",
1136
+ "type": "function",
1137
+ "name": "is_killed",
1138
+ "inputs": [],
1139
+ "outputs": [
1140
+ {
1141
+ "name": "",
1142
+ "type": "bool"
1143
+ }
1144
+ ],
1145
+ "gas": 2846
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
+ "gas": 2876
1159
+ },
1160
+ {
1161
+ "stateMutability": "view",
1162
+ "type": "function",
1163
+ "name": "transfer_ownership_deadline",
1164
+ "inputs": [],
1165
+ "outputs": [
1166
+ {
1167
+ "name": "",
1168
+ "type": "uint256"
1169
+ }
1170
+ ],
1171
+ "gas": 2906
1172
+ },
1173
+ {
1174
+ "stateMutability": "view",
1175
+ "type": "function",
1176
+ "name": "admin_actions_deadline",
1177
+ "inputs": [],
1178
+ "outputs": [
1179
+ {
1180
+ "name": "",
1181
+ "type": "uint256"
1182
+ }
1183
+ ],
1184
+ "gas": 2936
1185
+ },
1186
+ {
1187
+ "stateMutability": "view",
1188
+ "type": "function",
1189
+ "name": "admin_fee_receiver",
1190
+ "inputs": [],
1191
+ "outputs": [
1192
+ {
1193
+ "name": "",
1194
+ "type": "address"
1195
+ }
1196
+ ],
1197
+ "gas": 2966
1198
+ }
1199
+ ]