@curvefi/api 2.56.2 → 2.56.4

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,1370 @@
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[3]",
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[3]",
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[3]",
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[3]"
312
+ },
313
+ {
314
+ "name": "_math",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "name": "_weth",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "name": "_salt",
323
+ "type": "bytes32"
324
+ },
325
+ {
326
+ "name": "__packed_precisions",
327
+ "type": "uint256"
328
+ },
329
+ {
330
+ "name": "packed_A_gamma",
331
+ "type": "uint256"
332
+ },
333
+ {
334
+ "name": "packed_fee_params",
335
+ "type": "uint256"
336
+ },
337
+ {
338
+ "name": "packed_rebalancing_params",
339
+ "type": "uint256"
340
+ },
341
+ {
342
+ "name": "packed_prices",
343
+ "type": "uint256"
344
+ }
345
+ ],
346
+ "outputs": []
347
+ },
348
+ {
349
+ "stateMutability": "nonpayable",
350
+ "type": "function",
351
+ "name": "exchange",
352
+ "inputs": [
353
+ {
354
+ "name": "i",
355
+ "type": "uint256"
356
+ },
357
+ {
358
+ "name": "j",
359
+ "type": "uint256"
360
+ },
361
+ {
362
+ "name": "dx",
363
+ "type": "uint256"
364
+ },
365
+ {
366
+ "name": "min_dy",
367
+ "type": "uint256"
368
+ }
369
+ ],
370
+ "outputs": [
371
+ {
372
+ "name": "",
373
+ "type": "uint256"
374
+ }
375
+ ]
376
+ },
377
+ {
378
+ "stateMutability": "nonpayable",
379
+ "type": "function",
380
+ "name": "exchange_received",
381
+ "inputs": [
382
+ {
383
+ "name": "i",
384
+ "type": "uint256"
385
+ },
386
+ {
387
+ "name": "j",
388
+ "type": "uint256"
389
+ },
390
+ {
391
+ "name": "dx",
392
+ "type": "uint256"
393
+ },
394
+ {
395
+ "name": "min_dy",
396
+ "type": "uint256"
397
+ }
398
+ ],
399
+ "outputs": [
400
+ {
401
+ "name": "",
402
+ "type": "uint256"
403
+ }
404
+ ]
405
+ },
406
+ {
407
+ "stateMutability": "nonpayable",
408
+ "type": "function",
409
+ "name": "add_liquidity",
410
+ "inputs": [
411
+ {
412
+ "name": "amounts",
413
+ "type": "uint256[3]"
414
+ },
415
+ {
416
+ "name": "min_mint_amount",
417
+ "type": "uint256"
418
+ }
419
+ ],
420
+ "outputs": [
421
+ {
422
+ "name": "",
423
+ "type": "uint256"
424
+ }
425
+ ]
426
+ },
427
+ {
428
+ "stateMutability": "nonpayable",
429
+ "type": "function",
430
+ "name": "remove_liquidity",
431
+ "inputs": [
432
+ {
433
+ "name": "_amount",
434
+ "type": "uint256"
435
+ },
436
+ {
437
+ "name": "min_amounts",
438
+ "type": "uint256[3]"
439
+ }
440
+ ],
441
+ "outputs": [
442
+ {
443
+ "name": "",
444
+ "type": "uint256[3]"
445
+ }
446
+ ]
447
+ },
448
+ {
449
+ "stateMutability": "nonpayable",
450
+ "type": "function",
451
+ "name": "remove_liquidity_one_coin",
452
+ "inputs": [
453
+ {
454
+ "name": "token_amount",
455
+ "type": "uint256"
456
+ },
457
+ {
458
+ "name": "i",
459
+ "type": "uint256"
460
+ },
461
+ {
462
+ "name": "min_amount",
463
+ "type": "uint256"
464
+ }
465
+ ],
466
+ "outputs": [
467
+ {
468
+ "name": "",
469
+ "type": "uint256"
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ "stateMutability": "nonpayable",
475
+ "type": "function",
476
+ "name": "transferFrom",
477
+ "inputs": [
478
+ {
479
+ "name": "_from",
480
+ "type": "address"
481
+ },
482
+ {
483
+ "name": "_to",
484
+ "type": "address"
485
+ },
486
+ {
487
+ "name": "_value",
488
+ "type": "uint256"
489
+ }
490
+ ],
491
+ "outputs": [
492
+ {
493
+ "name": "",
494
+ "type": "bool"
495
+ }
496
+ ]
497
+ },
498
+ {
499
+ "stateMutability": "nonpayable",
500
+ "type": "function",
501
+ "name": "transfer",
502
+ "inputs": [
503
+ {
504
+ "name": "_to",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "name": "_value",
509
+ "type": "uint256"
510
+ }
511
+ ],
512
+ "outputs": [
513
+ {
514
+ "name": "",
515
+ "type": "bool"
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ "stateMutability": "nonpayable",
521
+ "type": "function",
522
+ "name": "approve",
523
+ "inputs": [
524
+ {
525
+ "name": "_spender",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "name": "_value",
530
+ "type": "uint256"
531
+ }
532
+ ],
533
+ "outputs": [
534
+ {
535
+ "name": "",
536
+ "type": "bool"
537
+ }
538
+ ]
539
+ },
540
+ {
541
+ "stateMutability": "nonpayable",
542
+ "type": "function",
543
+ "name": "permit",
544
+ "inputs": [
545
+ {
546
+ "name": "_owner",
547
+ "type": "address"
548
+ },
549
+ {
550
+ "name": "_spender",
551
+ "type": "address"
552
+ },
553
+ {
554
+ "name": "_value",
555
+ "type": "uint256"
556
+ },
557
+ {
558
+ "name": "_deadline",
559
+ "type": "uint256"
560
+ },
561
+ {
562
+ "name": "_v",
563
+ "type": "uint8"
564
+ },
565
+ {
566
+ "name": "_r",
567
+ "type": "bytes32"
568
+ },
569
+ {
570
+ "name": "_s",
571
+ "type": "bytes32"
572
+ }
573
+ ],
574
+ "outputs": [
575
+ {
576
+ "name": "",
577
+ "type": "bool"
578
+ }
579
+ ]
580
+ },
581
+ {
582
+ "stateMutability": "view",
583
+ "type": "function",
584
+ "name": "fee_receiver",
585
+ "inputs": [],
586
+ "outputs": [
587
+ {
588
+ "name": "",
589
+ "type": "address"
590
+ }
591
+ ]
592
+ },
593
+ {
594
+ "stateMutability": "view",
595
+ "type": "function",
596
+ "name": "admin",
597
+ "inputs": [],
598
+ "outputs": [
599
+ {
600
+ "name": "",
601
+ "type": "address"
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "stateMutability": "view",
607
+ "type": "function",
608
+ "name": "calc_token_amount",
609
+ "inputs": [
610
+ {
611
+ "name": "amounts",
612
+ "type": "uint256[3]"
613
+ },
614
+ {
615
+ "name": "deposit",
616
+ "type": "bool"
617
+ }
618
+ ],
619
+ "outputs": [
620
+ {
621
+ "name": "",
622
+ "type": "uint256"
623
+ }
624
+ ]
625
+ },
626
+ {
627
+ "stateMutability": "view",
628
+ "type": "function",
629
+ "name": "get_dy",
630
+ "inputs": [
631
+ {
632
+ "name": "i",
633
+ "type": "uint256"
634
+ },
635
+ {
636
+ "name": "j",
637
+ "type": "uint256"
638
+ },
639
+ {
640
+ "name": "dx",
641
+ "type": "uint256"
642
+ }
643
+ ],
644
+ "outputs": [
645
+ {
646
+ "name": "",
647
+ "type": "uint256"
648
+ }
649
+ ]
650
+ },
651
+ {
652
+ "stateMutability": "view",
653
+ "type": "function",
654
+ "name": "get_dx",
655
+ "inputs": [
656
+ {
657
+ "name": "i",
658
+ "type": "uint256"
659
+ },
660
+ {
661
+ "name": "j",
662
+ "type": "uint256"
663
+ },
664
+ {
665
+ "name": "dy",
666
+ "type": "uint256"
667
+ }
668
+ ],
669
+ "outputs": [
670
+ {
671
+ "name": "",
672
+ "type": "uint256"
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "stateMutability": "view",
678
+ "type": "function",
679
+ "name": "lp_price",
680
+ "inputs": [],
681
+ "outputs": [
682
+ {
683
+ "name": "",
684
+ "type": "uint256"
685
+ }
686
+ ]
687
+ },
688
+ {
689
+ "stateMutability": "view",
690
+ "type": "function",
691
+ "name": "get_virtual_price",
692
+ "inputs": [],
693
+ "outputs": [
694
+ {
695
+ "name": "",
696
+ "type": "uint256"
697
+ }
698
+ ]
699
+ },
700
+ {
701
+ "stateMutability": "view",
702
+ "type": "function",
703
+ "name": "price_oracle",
704
+ "inputs": [
705
+ {
706
+ "name": "k",
707
+ "type": "uint256"
708
+ }
709
+ ],
710
+ "outputs": [
711
+ {
712
+ "name": "",
713
+ "type": "uint256"
714
+ }
715
+ ]
716
+ },
717
+ {
718
+ "stateMutability": "view",
719
+ "type": "function",
720
+ "name": "xcp_oracle",
721
+ "inputs": [],
722
+ "outputs": [
723
+ {
724
+ "name": "",
725
+ "type": "uint256"
726
+ }
727
+ ]
728
+ },
729
+ {
730
+ "stateMutability": "view",
731
+ "type": "function",
732
+ "name": "last_prices",
733
+ "inputs": [
734
+ {
735
+ "name": "k",
736
+ "type": "uint256"
737
+ }
738
+ ],
739
+ "outputs": [
740
+ {
741
+ "name": "",
742
+ "type": "uint256"
743
+ }
744
+ ]
745
+ },
746
+ {
747
+ "stateMutability": "view",
748
+ "type": "function",
749
+ "name": "price_scale",
750
+ "inputs": [
751
+ {
752
+ "name": "k",
753
+ "type": "uint256"
754
+ }
755
+ ],
756
+ "outputs": [
757
+ {
758
+ "name": "",
759
+ "type": "uint256"
760
+ }
761
+ ]
762
+ },
763
+ {
764
+ "stateMutability": "view",
765
+ "type": "function",
766
+ "name": "fee",
767
+ "inputs": [],
768
+ "outputs": [
769
+ {
770
+ "name": "",
771
+ "type": "uint256"
772
+ }
773
+ ]
774
+ },
775
+ {
776
+ "stateMutability": "view",
777
+ "type": "function",
778
+ "name": "calc_withdraw_one_coin",
779
+ "inputs": [
780
+ {
781
+ "name": "token_amount",
782
+ "type": "uint256"
783
+ },
784
+ {
785
+ "name": "i",
786
+ "type": "uint256"
787
+ }
788
+ ],
789
+ "outputs": [
790
+ {
791
+ "name": "",
792
+ "type": "uint256"
793
+ }
794
+ ]
795
+ },
796
+ {
797
+ "stateMutability": "view",
798
+ "type": "function",
799
+ "name": "calc_token_fee",
800
+ "inputs": [
801
+ {
802
+ "name": "amounts",
803
+ "type": "uint256[3]"
804
+ },
805
+ {
806
+ "name": "xp",
807
+ "type": "uint256[3]"
808
+ }
809
+ ],
810
+ "outputs": [
811
+ {
812
+ "name": "",
813
+ "type": "uint256"
814
+ }
815
+ ]
816
+ },
817
+ {
818
+ "stateMutability": "view",
819
+ "type": "function",
820
+ "name": "A",
821
+ "inputs": [],
822
+ "outputs": [
823
+ {
824
+ "name": "",
825
+ "type": "uint256"
826
+ }
827
+ ]
828
+ },
829
+ {
830
+ "stateMutability": "view",
831
+ "type": "function",
832
+ "name": "gamma",
833
+ "inputs": [],
834
+ "outputs": [
835
+ {
836
+ "name": "",
837
+ "type": "uint256"
838
+ }
839
+ ]
840
+ },
841
+ {
842
+ "stateMutability": "view",
843
+ "type": "function",
844
+ "name": "mid_fee",
845
+ "inputs": [],
846
+ "outputs": [
847
+ {
848
+ "name": "",
849
+ "type": "uint256"
850
+ }
851
+ ]
852
+ },
853
+ {
854
+ "stateMutability": "view",
855
+ "type": "function",
856
+ "name": "out_fee",
857
+ "inputs": [],
858
+ "outputs": [
859
+ {
860
+ "name": "",
861
+ "type": "uint256"
862
+ }
863
+ ]
864
+ },
865
+ {
866
+ "stateMutability": "view",
867
+ "type": "function",
868
+ "name": "fee_gamma",
869
+ "inputs": [],
870
+ "outputs": [
871
+ {
872
+ "name": "",
873
+ "type": "uint256"
874
+ }
875
+ ]
876
+ },
877
+ {
878
+ "stateMutability": "view",
879
+ "type": "function",
880
+ "name": "allowed_extra_profit",
881
+ "inputs": [],
882
+ "outputs": [
883
+ {
884
+ "name": "",
885
+ "type": "uint256"
886
+ }
887
+ ]
888
+ },
889
+ {
890
+ "stateMutability": "view",
891
+ "type": "function",
892
+ "name": "adjustment_step",
893
+ "inputs": [],
894
+ "outputs": [
895
+ {
896
+ "name": "",
897
+ "type": "uint256"
898
+ }
899
+ ]
900
+ },
901
+ {
902
+ "stateMutability": "view",
903
+ "type": "function",
904
+ "name": "ma_time",
905
+ "inputs": [],
906
+ "outputs": [
907
+ {
908
+ "name": "",
909
+ "type": "uint256"
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ "stateMutability": "view",
915
+ "type": "function",
916
+ "name": "precisions",
917
+ "inputs": [],
918
+ "outputs": [
919
+ {
920
+ "name": "",
921
+ "type": "uint256[3]"
922
+ }
923
+ ]
924
+ },
925
+ {
926
+ "stateMutability": "view",
927
+ "type": "function",
928
+ "name": "fee_calc",
929
+ "inputs": [
930
+ {
931
+ "name": "xp",
932
+ "type": "uint256[3]"
933
+ }
934
+ ],
935
+ "outputs": [
936
+ {
937
+ "name": "",
938
+ "type": "uint256"
939
+ }
940
+ ]
941
+ },
942
+ {
943
+ "stateMutability": "view",
944
+ "type": "function",
945
+ "name": "DOMAIN_SEPARATOR",
946
+ "inputs": [],
947
+ "outputs": [
948
+ {
949
+ "name": "",
950
+ "type": "bytes32"
951
+ }
952
+ ]
953
+ },
954
+ {
955
+ "stateMutability": "nonpayable",
956
+ "type": "function",
957
+ "name": "ramp_A_gamma",
958
+ "inputs": [
959
+ {
960
+ "name": "future_A",
961
+ "type": "uint256"
962
+ },
963
+ {
964
+ "name": "future_gamma",
965
+ "type": "uint256"
966
+ },
967
+ {
968
+ "name": "future_time",
969
+ "type": "uint256"
970
+ }
971
+ ],
972
+ "outputs": []
973
+ },
974
+ {
975
+ "stateMutability": "nonpayable",
976
+ "type": "function",
977
+ "name": "stop_ramp_A_gamma",
978
+ "inputs": [],
979
+ "outputs": []
980
+ },
981
+ {
982
+ "stateMutability": "nonpayable",
983
+ "type": "function",
984
+ "name": "apply_new_parameters",
985
+ "inputs": [
986
+ {
987
+ "name": "_new_mid_fee",
988
+ "type": "uint256"
989
+ },
990
+ {
991
+ "name": "_new_out_fee",
992
+ "type": "uint256"
993
+ },
994
+ {
995
+ "name": "_new_fee_gamma",
996
+ "type": "uint256"
997
+ },
998
+ {
999
+ "name": "_new_allowed_extra_profit",
1000
+ "type": "uint256"
1001
+ },
1002
+ {
1003
+ "name": "_new_adjustment_step",
1004
+ "type": "uint256"
1005
+ },
1006
+ {
1007
+ "name": "_new_ma_time",
1008
+ "type": "uint256"
1009
+ },
1010
+ {
1011
+ "name": "_new_xcp_ma_time",
1012
+ "type": "uint256"
1013
+ }
1014
+ ],
1015
+ "outputs": []
1016
+ },
1017
+ {
1018
+ "stateMutability": "view",
1019
+ "type": "function",
1020
+ "name": "MATH",
1021
+ "inputs": [],
1022
+ "outputs": [
1023
+ {
1024
+ "name": "",
1025
+ "type": "address"
1026
+ }
1027
+ ]
1028
+ },
1029
+ {
1030
+ "stateMutability": "view",
1031
+ "type": "function",
1032
+ "name": "coins",
1033
+ "inputs": [
1034
+ {
1035
+ "name": "arg0",
1036
+ "type": "uint256"
1037
+ }
1038
+ ],
1039
+ "outputs": [
1040
+ {
1041
+ "name": "",
1042
+ "type": "address"
1043
+ }
1044
+ ]
1045
+ },
1046
+ {
1047
+ "stateMutability": "view",
1048
+ "type": "function",
1049
+ "name": "factory",
1050
+ "inputs": [],
1051
+ "outputs": [
1052
+ {
1053
+ "name": "",
1054
+ "type": "address"
1055
+ }
1056
+ ]
1057
+ },
1058
+ {
1059
+ "stateMutability": "view",
1060
+ "type": "function",
1061
+ "name": "last_timestamp",
1062
+ "inputs": [],
1063
+ "outputs": [
1064
+ {
1065
+ "name": "",
1066
+ "type": "uint256"
1067
+ }
1068
+ ]
1069
+ },
1070
+ {
1071
+ "stateMutability": "view",
1072
+ "type": "function",
1073
+ "name": "last_xcp",
1074
+ "inputs": [],
1075
+ "outputs": [
1076
+ {
1077
+ "name": "",
1078
+ "type": "uint256"
1079
+ }
1080
+ ]
1081
+ },
1082
+ {
1083
+ "stateMutability": "view",
1084
+ "type": "function",
1085
+ "name": "xcp_ma_time",
1086
+ "inputs": [],
1087
+ "outputs": [
1088
+ {
1089
+ "name": "",
1090
+ "type": "uint256"
1091
+ }
1092
+ ]
1093
+ },
1094
+ {
1095
+ "stateMutability": "view",
1096
+ "type": "function",
1097
+ "name": "initial_A_gamma",
1098
+ "inputs": [],
1099
+ "outputs": [
1100
+ {
1101
+ "name": "",
1102
+ "type": "uint256"
1103
+ }
1104
+ ]
1105
+ },
1106
+ {
1107
+ "stateMutability": "view",
1108
+ "type": "function",
1109
+ "name": "initial_A_gamma_time",
1110
+ "inputs": [],
1111
+ "outputs": [
1112
+ {
1113
+ "name": "",
1114
+ "type": "uint256"
1115
+ }
1116
+ ]
1117
+ },
1118
+ {
1119
+ "stateMutability": "view",
1120
+ "type": "function",
1121
+ "name": "future_A_gamma",
1122
+ "inputs": [],
1123
+ "outputs": [
1124
+ {
1125
+ "name": "",
1126
+ "type": "uint256"
1127
+ }
1128
+ ]
1129
+ },
1130
+ {
1131
+ "stateMutability": "view",
1132
+ "type": "function",
1133
+ "name": "future_A_gamma_time",
1134
+ "inputs": [],
1135
+ "outputs": [
1136
+ {
1137
+ "name": "",
1138
+ "type": "uint256"
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ "stateMutability": "view",
1144
+ "type": "function",
1145
+ "name": "balances",
1146
+ "inputs": [
1147
+ {
1148
+ "name": "arg0",
1149
+ "type": "uint256"
1150
+ }
1151
+ ],
1152
+ "outputs": [
1153
+ {
1154
+ "name": "",
1155
+ "type": "uint256"
1156
+ }
1157
+ ]
1158
+ },
1159
+ {
1160
+ "stateMutability": "view",
1161
+ "type": "function",
1162
+ "name": "D",
1163
+ "inputs": [],
1164
+ "outputs": [
1165
+ {
1166
+ "name": "",
1167
+ "type": "uint256"
1168
+ }
1169
+ ]
1170
+ },
1171
+ {
1172
+ "stateMutability": "view",
1173
+ "type": "function",
1174
+ "name": "xcp_profit",
1175
+ "inputs": [],
1176
+ "outputs": [
1177
+ {
1178
+ "name": "",
1179
+ "type": "uint256"
1180
+ }
1181
+ ]
1182
+ },
1183
+ {
1184
+ "stateMutability": "view",
1185
+ "type": "function",
1186
+ "name": "xcp_profit_a",
1187
+ "inputs": [],
1188
+ "outputs": [
1189
+ {
1190
+ "name": "",
1191
+ "type": "uint256"
1192
+ }
1193
+ ]
1194
+ },
1195
+ {
1196
+ "stateMutability": "view",
1197
+ "type": "function",
1198
+ "name": "virtual_price",
1199
+ "inputs": [],
1200
+ "outputs": [
1201
+ {
1202
+ "name": "",
1203
+ "type": "uint256"
1204
+ }
1205
+ ]
1206
+ },
1207
+ {
1208
+ "stateMutability": "view",
1209
+ "type": "function",
1210
+ "name": "packed_rebalancing_params",
1211
+ "inputs": [],
1212
+ "outputs": [
1213
+ {
1214
+ "name": "",
1215
+ "type": "uint256"
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ "stateMutability": "view",
1221
+ "type": "function",
1222
+ "name": "packed_fee_params",
1223
+ "inputs": [],
1224
+ "outputs": [
1225
+ {
1226
+ "name": "",
1227
+ "type": "uint256"
1228
+ }
1229
+ ]
1230
+ },
1231
+ {
1232
+ "stateMutability": "view",
1233
+ "type": "function",
1234
+ "name": "ADMIN_FEE",
1235
+ "inputs": [],
1236
+ "outputs": [
1237
+ {
1238
+ "name": "",
1239
+ "type": "uint256"
1240
+ }
1241
+ ]
1242
+ },
1243
+ {
1244
+ "stateMutability": "view",
1245
+ "type": "function",
1246
+ "name": "name",
1247
+ "inputs": [],
1248
+ "outputs": [
1249
+ {
1250
+ "name": "",
1251
+ "type": "string"
1252
+ }
1253
+ ]
1254
+ },
1255
+ {
1256
+ "stateMutability": "view",
1257
+ "type": "function",
1258
+ "name": "symbol",
1259
+ "inputs": [],
1260
+ "outputs": [
1261
+ {
1262
+ "name": "",
1263
+ "type": "string"
1264
+ }
1265
+ ]
1266
+ },
1267
+ {
1268
+ "stateMutability": "view",
1269
+ "type": "function",
1270
+ "name": "decimals",
1271
+ "inputs": [],
1272
+ "outputs": [
1273
+ {
1274
+ "name": "",
1275
+ "type": "uint8"
1276
+ }
1277
+ ]
1278
+ },
1279
+ {
1280
+ "stateMutability": "view",
1281
+ "type": "function",
1282
+ "name": "version",
1283
+ "inputs": [],
1284
+ "outputs": [
1285
+ {
1286
+ "name": "",
1287
+ "type": "string"
1288
+ }
1289
+ ]
1290
+ },
1291
+ {
1292
+ "stateMutability": "view",
1293
+ "type": "function",
1294
+ "name": "balanceOf",
1295
+ "inputs": [
1296
+ {
1297
+ "name": "arg0",
1298
+ "type": "address"
1299
+ }
1300
+ ],
1301
+ "outputs": [
1302
+ {
1303
+ "name": "",
1304
+ "type": "uint256"
1305
+ }
1306
+ ]
1307
+ },
1308
+ {
1309
+ "stateMutability": "view",
1310
+ "type": "function",
1311
+ "name": "allowance",
1312
+ "inputs": [
1313
+ {
1314
+ "name": "arg0",
1315
+ "type": "address"
1316
+ },
1317
+ {
1318
+ "name": "arg1",
1319
+ "type": "address"
1320
+ }
1321
+ ],
1322
+ "outputs": [
1323
+ {
1324
+ "name": "",
1325
+ "type": "uint256"
1326
+ }
1327
+ ]
1328
+ },
1329
+ {
1330
+ "stateMutability": "view",
1331
+ "type": "function",
1332
+ "name": "totalSupply",
1333
+ "inputs": [],
1334
+ "outputs": [
1335
+ {
1336
+ "name": "",
1337
+ "type": "uint256"
1338
+ }
1339
+ ]
1340
+ },
1341
+ {
1342
+ "stateMutability": "view",
1343
+ "type": "function",
1344
+ "name": "nonces",
1345
+ "inputs": [
1346
+ {
1347
+ "name": "arg0",
1348
+ "type": "address"
1349
+ }
1350
+ ],
1351
+ "outputs": [
1352
+ {
1353
+ "name": "",
1354
+ "type": "uint256"
1355
+ }
1356
+ ]
1357
+ },
1358
+ {
1359
+ "stateMutability": "view",
1360
+ "type": "function",
1361
+ "name": "salt",
1362
+ "inputs": [],
1363
+ "outputs": [
1364
+ {
1365
+ "name": "",
1366
+ "type": "bytes32"
1367
+ }
1368
+ ]
1369
+ }
1370
+ ]