Pairs ABI
Pairs ABI to easily copy and paste
1
[
2
{
3
"anonymous": false,
4
"inputs": [
5
{
6
"indexed": false,
7
"internalType": "bool",
8
"name": "_cashCloseOn",
9
"type": "bool"
10
}
11
],
12
"name": "AMMUpdate",
13
"type": "event"
14
},
15
{
16
"anonymous": false,
17
"inputs": [
18
{
19
"indexed": false,
20
"internalType": "uint256",
21
"name": "_i",
22
"type": "uint256"
23
},
24
{
25
"indexed": false,
26
"internalType": "uint256",
27
"name": "_assetAmt",
28
"type": "uint256"
29
},
30
{
31
"indexed": false,
32
"internalType": "uint256",
33
"name": "_strike",
34
"type": "uint256"
35
},
36
{
37
"indexed": false,
38
"internalType": "uint256",
39
"name": "_price",
40
"type": "uint256"
41
},
42
{
43
"indexed": false,
44
"internalType": "uint256",
45
"name": "_expiry",
46
"type": "uint256"
47
}
48
],
49
"name": "NewAsk",
50
"type": "event"
51
},
52
{
53
"anonymous": false,
54
"inputs": [
55
{
56
"indexed": false,
57
"internalType": "uint256",
58
"name": "_i",
59
"type": "uint256"
60
},
61
{
62
"indexed": false,
63
"internalType": "uint256",
64
"name": "_assetAmt",
65
"type": "uint256"
66
},
67
{
68
"indexed": false,
69
"internalType": "uint256",
70
"name": "_strike",
71
"type": "uint256"
72
},
73
{
74
"indexed": false,
75
"internalType": "uint256",
76
"name": "_price",
77
"type": "uint256"
78
},
79
{
80
"indexed": false,
81
"internalType": "uint256",
82
"name": "_expiry",
83
"type": "uint256"
84
}
85
],
86
"name": "NewBid",
87
"type": "event"
88
},
89
{
90
"anonymous": false,
91
"inputs": [
92
{
93
"indexed": false,
94
"internalType": "uint256",
95
"name": "_i",
96
"type": "uint256"
97
}
98
],
99
"name": "NewOptionBought",
100
"type": "event"
101
},
102
{
103
"anonymous": false,
104
"inputs": [
105
{
106
"indexed": false,
107
"internalType": "uint256",
108
"name": "_i",
109
"type": "uint256"
110
}
111
],
112
"name": "NewOptionSold",
113
"type": "event"
114
},
115
{
116
"anonymous": false,
117
"inputs": [
118
{
119
"indexed": false,
120
"internalType": "uint256",
121
"name": "_i",
122
"type": "uint256"
123
}
124
],
125
"name": "OpenOptionPurchased",
126
"type": "event"
127
},
128
{
129
"anonymous": false,
130
"inputs": [
131
{
132
"indexed": false,
133
"internalType": "uint256",
134
"name": "_i",
135
"type": "uint256"
136
},
137
{
138
"indexed": false,
139
"internalType": "uint256",
140
"name": "_j",
141
"type": "uint256"
142
},
143
{
144
"indexed": false,
145
"internalType": "address",
146
"name": "_long",
147
"type": "address"
148
},
149
{
150
"indexed": false,
151
"internalType": "uint256",
152
"name": "_price",
153
"type": "uint256"
154
}
155
],
156
"name": "OpenOptionSold",
157
"type": "event"
158
},
159
{
160
"anonymous": false,
161
"inputs": [
162
{
163
"indexed": false,
164
"internalType": "uint256",
165
"name": "_i",
166
"type": "uint256"
167
},
168
{
169
"indexed": false,
170
"internalType": "uint256",
171
"name": "_j",
172
"type": "uint256"
173
},
174
{
175
"indexed": false,
176
"internalType": "address",
177
"name": "_short",
178
"type": "address"
179
},
180
{
181
"indexed": false,
182
"internalType": "uint256",
183
"name": "_price",
184
"type": "uint256"
185
}
186
],
187
"name": "OpenShortRePurchased",
188
"type": "event"
189
},
190
{
191
"anonymous": false,
192
"inputs": [
193
{
194
"indexed": false,
195
"internalType": "uint256",
196
"name": "_i",
197
"type": "uint256"
198
}
199
],
200
"name": "OptionCancelled",
201
"type": "event"
202
},
203
{
204
"anonymous": false,
205
"inputs": [
206
{
207
"indexed": false,
208
"internalType": "uint256",
209
"name": "_i",
210
"type": "uint256"
211
},
212
{
213
"indexed": false,
214
"internalType": "uint256",
215
"name": "_assetAmt",
216
"type": "uint256"
217
},
218
{
219
"indexed": false,
220
"internalType": "uint256",
221
"name": "_strike",
222
"type": "uint256"
223
},
224
{
225
"indexed": false,
226
"internalType": "uint256",
227
"name": "_price",
228
"type": "uint256"
229
},
230
{
231
"indexed": false,
232
"internalType": "uint256",
233
"name": "_expiry",
234
"type": "uint256"
235
}
236
],
237
"name": "OptionChanged",
238
"type": "event"
239
},
240
{
241
"anonymous": false,
242
"inputs": [
243
{
244
"indexed": false,
245
"internalType": "uint256",
246
"name": "_i",
247
"type": "uint256"
248
},
249
{
250
"indexed": false,
251
"internalType": "bool",
252
"name": "cashClosed",
253
"type": "bool"
254
}
255
],
256
"name": "OptionExercised",
257
"type": "event"
258
},
259
{
260
"anonymous": false,
261
"inputs": [
262
{
263
"indexed": false,
264
"internalType": "uint256",
265
"name": "_i",
266
"type": "uint256"
267
}
268
],
269
"name": "OptionReturned",
270
"type": "event"
271
},
272
{
273
"anonymous": false,
274
"inputs": [
275
{
276
"indexed": false,
277
"internalType": "uint256",
278
"name": "_i",
279
"type": "uint256"
280
},
281
{
282
"indexed": false,
283
"internalType": "uint256",
284
"name": "_j",
285
"type": "uint256"
286
},
287
{
288
"indexed": false,
289
"internalType": "uint256",
290
"name": "_assetAmt",
291
"type": "uint256"
292
},
293
{
294
"indexed": false,
295
"internalType": "uint256",
296
"name": "_strike",
297
"type": "uint256"
298
},
299
{
300
"indexed": false,
301
"internalType": "uint256",
302
"name": "_price",
303
"type": "uint256"
304
},
305
{
306
"indexed": false,
307
"internalType": "uint256",
308
"name": "_expiry",
309
"type": "uint256"
310
}
311
],
312
"name": "OptionRolled",
313
"type": "event"
314
},
315
{
316
"anonymous": false,
317
"inputs": [
318
{
319
"indexed": false,
320
"internalType": "uint256",
321
"name": "_i",
322
"type": "uint256"
323
},
324
{
325
"indexed": false,
326
"internalType": "uint256",
327
"name": "_price",
328
"type": "uint256"
329
},
330
{
331
"indexed": false,
332
"internalType": "bool",
333
"name": "_tradeable",
334
"type": "bool"
335
}
336
],
337
"name": "PriceSet",
338
"type": "event"
339
},
340
{
341
"inputs": [
342
{
343
"internalType": "uint256",
344
"name": "_c",
345
"type": "uint256"
346
},
347
{
348
"internalType": "uint256",
349
"name": "_assetAmt",
350
"type": "uint256"
351
},
352
{
353
"internalType": "uint256",
354
"name": "_strike",
355
"type": "uint256"
356
},
357
{
358
"internalType": "uint256",
359
"name": "_price",
360
"type": "uint256"
361
},
362
{
363
"internalType": "uint256",
364
"name": "_expiry",
365
"type": "uint256"
366
}
367
],
368
"name": "buyNewOption",
369
"outputs": [],
370
"stateMutability": "payable",
371
"type": "function"
372
},
373
{
374
"inputs": [
375
{
376
"internalType": "uint256",
377
"name": "_c",
378
"type": "uint256"
379
},
380
{
381
"internalType": "uint256",
382
"name": "_assetAmt",
383
"type": "uint256"
384
},
385
{
386
"internalType": "uint256",
387
"name": "_strike",
388
"type": "uint256"
389
},
390
{
391
"internalType": "uint256",
392
"name": "_price",
393
"type": "uint256"
394
},
395
{
396
"internalType": "uint256",
397
"name": "_expiry",
398
"type": "uint256"
399
}
400
],
401
"name": "buyOpenOption",
402
"outputs": [],
403
"stateMutability": "payable",
404
"type": "function"
405
},
406
{
407
"inputs": [
408
{
409
"internalType": "uint256",
410
"name": "_c",
411
"type": "uint256"
412
},
413
{
414
"internalType": "uint256",
415
"name": "_d",
416
"type": "uint256"
417
},
418
{
419
"internalType": "uint256",
420
"name": "_price",
421
"type": "uint256"
422
}
423
],
424
"name": "buyOptionFromAsk",
425
"outputs": [],
426
"stateMutability": "payable",
427
"type": "function"
428
},
429
{
430
"inputs": [
431
{
432
"internalType": "uint256",
433
"name": "_c",
434
"type": "uint256"
435
}
436
],
437
"name": "cancelNewAsk",
438
"outputs": [],
439
"stateMutability": "nonpayable",
440
"type": "function"
441
},
442
{
443
"inputs": [
444
{
445
"internalType": "uint256",
446
"name": "_c",
447
"type": "uint256"
448
}
449
],
450
"name": "cancelNewBid",
451
"outputs": [],
452
"stateMutability": "nonpayable",
453
"type": "function"
454
},
455
{
456
"inputs": [
457
{
458
"internalType": "uint256",
459
"name": "_c",
460
"type": "uint256"
461
},
462
{
463
"internalType": "bool",
464
"name": "cashBack",
465
"type": "bool"
466
}
467
],
468
"name": "cashClose",
469
"outputs": [],
470
"stateMutability": "payable",
471
"type": "function"
472
},
473
{
474
"inputs": [
475
{
476
"internalType": "address payable",
477
"name": "_collector",
478
"type": "address"
479
},
480
{
481
"internalType": "bool",
482
"name": "_set",
483
"type": "bool"
484
}
485
],
486
"name": "changeCollector",
487
"outputs": [
488
{
489
"internalType": "bool",
490
"name": "",
491
"type": "bool"
492
}
493
],
494
"stateMutability": "nonpayable",
495
"type": "function"
496
},
497
{
498
"inputs": [
499
{
500
"internalType": "uint256",
501
"name": "_fee",
502
"type": "uint256"
503
}
504
],
505
"name": "changeFee",
506
"outputs": [],
507
"stateMutability": "nonpayable",
508
"type": "function"
509
},
510
{
511
"inputs": [
512
{
513
"internalType": "uint256",
514
"name": "_c",
515
"type": "uint256"
516
},
517
{
518
"internalType": "uint256",
519
"name": "_assetAmt",
520
"type": "uint256"
521
},
522
{
523
"internalType": "uint256",
524
"name": "_strike",
525
"type": "uint256"
526
},
527
{
528
"internalType": "uint256",
529
"name": "_price",
530
"type": "uint256"
531
},
532
{
533
"internalType": "uint256",
534
"name": "_expiry",
535
"type": "uint256"
536
}
537
],
538
"name": "changeNewOption",
539
"outputs": [],
540
"stateMutability": "payable",
541
"type": "function"
542
},
543
{
544
"inputs": [
545
{
546
"internalType": "uint256",
547
"name": "_c",
548
"type": "uint256"
549
}
550
],
551
"name": "exercise",
552
"outputs": [],
553
"stateMutability": "payable",
554
"type": "function"
555
},
556
{
557
"inputs": [
558
{
559
"internalType": "uint256",
560
"name": "_assetAmt",
561
"type": "uint256"
562
},
563
{
564
"internalType": "uint256",
565
"name": "_strike",
566
"type": "uint256"
567
},
568
{
569
"internalType": "uint256",
570
"name": "_price",
571
"type": "uint256"
572
},
573
{
574
"internalType": "uint256",
575
"name": "_expiry",
576
"type": "uint256"
577
}
578
],
579
"name": "newAsk",
580
"outputs": [],
581
"stateMutability": "payable",
582
"type": "function"
583
},
584
{
585
"inputs": [
586
{
587
"internalType": "uint256",
588
"name": "_assetAmt",
589
"type": "uint256"
590
},
591
{
592
"internalType": "uint256",
593
"name": "_strike",
594
"type": "uint256"
595
},
596
{
597
"internalType": "uint256",
598
"name": "_price",
599
"type": "uint256"
600
},
601
{
602
"internalType": "uint256",
603
"name": "_expiry",
604
"type": "uint256"
605
}
606
],
607
"name": "newBid",
608
"outputs": [],
609
"stateMutability": "payable",
610
"type": "function"
611
},
612
{
613
"inputs": [
614
{
615
"internalType": "uint256",
616
"name": "_c",
617
"type": "uint256"
618
}
619
],
620
"name": "returnExpired",
621
"outputs": [],
622
"stateMutability": "nonpayable",
623
"type": "function"
624
},
625
{
626
"inputs": [
627
{
628
"internalType": "uint256",
629
"name": "_c",
630
"type": "uint256"
631
},
632
{
633
"internalType": "uint256",
634
"name": "_assetAmt",
635
"type": "uint256"
636
},
637
{
638
"internalType": "uint256",
639
"name": "_newStrike",
640
"type": "uint256"
641
},
642
{
643
"internalType": "uint256",
644
"name": "_price",
645
"type": "uint256"
646
},
647
{
648
"internalType": "uint256",
649
"name": "_newExpiry",
650
"type": "uint256"
651
}
652
],
653
"name": "rollExpired",
654
"outputs": [],
655
"stateMutability": "payable",
656
"type": "function"
657
},
658
{
659
"inputs": [
660
{
661
"internalType": "uint256",
662
"name": "_c",
663
"type": "uint256"
664
},
665
{
666
"internalType": "uint256",
667
"name": "_assetAmt",
668
"type": "uint256"
669
},
670
{
671
"internalType": "uint256",
672
"name": "_strike",
673
"type": "uint256"
674
},
675
{
676
"internalType": "uint256",
677
"name": "_price",
678
"type": "uint256"
679
},
680
{
681
"internalType": "uint256",
682
"name": "_expiry",
683
"type": "uint256"
684
}
685
],
686
"name": "sellNewOption",
687
"outputs": [],
688
"stateMutability": "payable",
689
"type": "function"
690
},
691
{
692
"inputs": [
693
{
694
"internalType": "uint256",
695
"name": "_c",
696
"type": "uint256"
697
},
698
{
699
"internalType": "uint256",
700
"name": "_d",
701
"type": "uint256"
702
},
703
{
704
"internalType": "uint256",
705
"name": "_price",
706
"type": "uint256"
707
}
708
],
709
"name": "sellOpenOptionToNewBid",
710
"outputs": [],
711
"stateMutability": "payable",
712
"type": "function"
713
},
714
{
715
"inputs": [
716
{
717
"internalType": "uint256",
718
"name": "_c",
719
"type": "uint256"
720
},
721
{
722
"internalType": "uint256",
723
"name": "_price",
724
"type": "uint256"
725
},
726
{
727
"internalType": "bool",
728
"name": "_tradeable",
729
"type": "bool"
730
}
731
],
732
"name": "setPrice",
733
"outputs": [],
734
"stateMutability": "nonpayable",
735
"type": "function"
736
},
737
{
738
"stateMutability": "payable",
739
"type": "receive"
740
},
741
{
742
"inputs": [],
743
"name": "updateAMM",
744
"outputs": [],
745
"stateMutability": "nonpayable",
746
"type": "function"
747
},
748
{
749
"inputs": [
750
{
751
"internalType": "address",
752
"name": "_asset",
753
"type": "address"
754
},
755
{
756
"internalType": "address",
757
"name": "_pymtCurrency",
758
"type": "address"
759
},
760
{
761
"internalType": "address payable",
762
"name": "_feeCollector",
763
"type": "address"
764
},
765
{
766
"internalType": "uint256",
767
"name": "_fee",
768
"type": "uint256"
769
},
770
{
771
"internalType": "bool",
772
"name": "_feeCollectorSet",
773
"type": "bool"
774
}
775
],
776
"stateMutability": "nonpayable",
777
"type": "constructor"
778
},
779
{
780
"inputs": [],
781
"name": "asset",
782
"outputs": [
783
{
784
"internalType": "address",
785
"name": "",
786
"type": "address"
787
}
788
],
789
"stateMutability": "view",
790
"type": "function"
791
},
792
{
793
"inputs": [],
794
"name": "assetDecimals",
795
"outputs": [
796
{
797
"internalType": "uint256",
798
"name": "",
799
"type": "uint256"
800
}
801
],
802
"stateMutability": "view",
803
"type": "function"
804
},
805
{
806
"inputs": [],
807
"name": "c",
808
"outputs": [
809
{
810
"internalType": "uint256",
811
"name": "",
812
"type": "uint256"
813
}
814
],
815
"stateMutability": "view",
816
"type": "function"
817
},
818
{
819
"inputs": [
820
{
821
"internalType": "uint256",
822
"name": "",
823
"type": "uint256"
824
}
825
],
826
"name": "calls",
827
"outputs": [
828
{
829
"internalType": "address payable",
830
"name": "short",
831
"type": "address"
832
},
833
{
834
"internalType": "uint256",
835
"name": "assetAmt",
836
"type": "uint256"
837
},
838
{
839
"internalType": "uint256",
840
"name": "strike",
841
"type": "uint256"
842
},
843
{
844
"internalType": "uint256",
845
"name": "totalPurch",
846
"type": "uint256"
847
},
848
{
849
"internalType": "uint256",
850
"name": "price",
851
"type": "uint256"
852
},
853
{
854
"internalType": "uint256",
855
"name": "expiry",
856
"type": "uint256"
857
},
858
{
859
"internalType": "bool",
860
"name": "open",
861
"type": "bool"
862
},
863
{
864
"internalType": "bool",
865
"name": "tradeable",
866
"type": "bool"
867
},
868
{
869
"internalType": "address payable",
870
"name": "long",
871
"type": "address"
872
},
873
{
874
"internalType": "bool",
875
"name": "exercised",
876
"type": "bool"
877
}
878
],
879
"stateMutability": "view",
880
"type": "function"
881
},
882
{
883
"inputs": [],
884
"name": "cashCloseOn",
885
"outputs": [
886
{
887
"internalType": "bool",
888
"name": "",
889
"type": "bool"
890
}
891
],
892
"stateMutability": "view",
893
"type": "function"
894
},
895
{
896
"inputs": [
897
{
898
"internalType": "uint256",
899
"name": "_assetAmt",
900
"type": "uint256"
901
}
902
],
903
"name": "estCashOut",
904
"outputs": [
905
{
906
"internalType": "uint256",
907
"name": "cash",
908
"type": "uint256"
909
}
910
],
911
"stateMutability": "view",
912
"type": "function"
913
},
914
{
915
"inputs": [
916
{
917
"internalType": "uint256",
918
"name": "_pymtAmt",
919
"type": "uint256"
920
}
921
],
922
"name": "estIn",
923
"outputs": [
924
{
925
"internalType": "uint256",
926
"name": "_assetIn",
927
"type": "uint256"
928
}
929
],
930
"stateMutability": "view",
931
"type": "function"
932
},
933
{
934
"inputs": [],
935
"name": "fee",
936
"outputs": [
937
{
938
"internalType": "uint256",
939
"name": "",
940
"type": "uint256"
941
}
942
],
943
"stateMutability": "view",
944
"type": "function"
945
},
946
{
947
"inputs": [],
948
"name": "feeCollector",
949
"outputs": [
950
{
951
"internalType": "address payable",
952
"name": "",
953
"type": "address"
954
}
955
],
956
"stateMutability": "view",
957
"type": "function"
958
},
959
{
960
"inputs": [],
961
"name": "feeCollectorSet",
962
"outputs": [
963
{
964
"internalType": "bool",
965
"name": "",
966
"type": "bool"
967
}
968
],
969
"stateMutability": "view",
970
"type": "function"
971
},
972
{
973
"inputs": [],
974
"name": "pymtCurrency",
975
"outputs": [
976
{
977
"internalType": "address",
978
"name": "",
979
"type": "address"
980
}
981
],
982
"stateMutability": "view",
983
"type": "function"
984
},
985
{
986
"inputs": [],
987
"name": "uniFactory",
988
"outputs": [
989
{
990
"internalType": "address",
991
"name": "",
992
"type": "address"
993
}
994
],
995
"stateMutability": "view",
996
"type": "function"
997
},
998
{
999
"inputs": [],
1000
"name": "unindex0",
1001
"outputs": [
1002
{
1003
"internalType": "address",
1004
"name": "",
1005
"type": "address"
1006
}
1007
],
1008
"stateMutability": "view",
1009
"type": "function"
1010
},
1011
{
1012
"inputs": [],
1013
"name": "unindex1",
1014
"outputs": [
1015
{
1016
"internalType": "address",
1017
"name": "",
1018
"type": "address"
1019
}
1020
],
1021
"stateMutability": "view",
1022
"type": "function"
1023
},
1024
{
1025
"inputs": [],
1026
"name": "uniPair",
1027
"outputs": [
1028
{
1029
"internalType": "address",
1030
"name": "",
1031
"type": "address"
1032
}
1033
],
1034
"stateMutability": "view",
1035
"type": "function"
1036
},
1037
{
1038
"inputs": [],
1039
"name": "weth",
1040
"outputs": [
1041
{
1042
"internalType": "address payable",
1043
"name": "",
1044
"type": "address"
1045
}
1046
],
1047
"stateMutability": "view",
1048
"type": "function"
1049
}
1050
]
Copied!
Last modified 2mo ago
Copy link