@curvefi/api 2.54.9 → 2.55.1

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