polymarket-apis 0.2.2__py3-none-any.whl

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.

Potentially problematic release.


This version of polymarket-apis might be problematic. Click here for more details.

Files changed (40) hide show
  1. polymarket_apis/__init__.py +2 -0
  2. polymarket_apis/clients/__init__.py +0 -0
  3. polymarket_apis/clients/clob_client.py +730 -0
  4. polymarket_apis/clients/data_client.py +234 -0
  5. polymarket_apis/clients/gamma_client.py +311 -0
  6. polymarket_apis/clients/web3_client.py +261 -0
  7. polymarket_apis/clients/websockets_client.py +131 -0
  8. polymarket_apis/types/__init__.py +0 -0
  9. polymarket_apis/types/clob_types.py +494 -0
  10. polymarket_apis/types/common.py +49 -0
  11. polymarket_apis/types/data_types.py +161 -0
  12. polymarket_apis/types/gamma_types.py +313 -0
  13. polymarket_apis/types/websockets_types.py +191 -0
  14. polymarket_apis/utilities/__init__.py +0 -0
  15. polymarket_apis/utilities/config.py +36 -0
  16. polymarket_apis/utilities/constants.py +26 -0
  17. polymarket_apis/utilities/endpoints.py +37 -0
  18. polymarket_apis/utilities/exceptions.py +11 -0
  19. polymarket_apis/utilities/headers.py +54 -0
  20. polymarket_apis/utilities/order_builder/__init__.py +0 -0
  21. polymarket_apis/utilities/order_builder/builder.py +240 -0
  22. polymarket_apis/utilities/order_builder/helpers.py +61 -0
  23. polymarket_apis/utilities/signing/__init__.py +0 -0
  24. polymarket_apis/utilities/signing/eip712.py +28 -0
  25. polymarket_apis/utilities/signing/hmac.py +20 -0
  26. polymarket_apis/utilities/signing/model.py +8 -0
  27. polymarket_apis/utilities/signing/signer.py +25 -0
  28. polymarket_apis/utilities/web3/__init__.py +0 -0
  29. polymarket_apis/utilities/web3/abis/CTFExchange.json +1851 -0
  30. polymarket_apis/utilities/web3/abis/ConditionalTokens.json +705 -0
  31. polymarket_apis/utilities/web3/abis/NegRiskAdapter.json +999 -0
  32. polymarket_apis/utilities/web3/abis/NegRiskCtfExchange.json +1856 -0
  33. polymarket_apis/utilities/web3/abis/ProxyWalletFactory.json +319 -0
  34. polymarket_apis/utilities/web3/abis/UChildERC20Proxy.json +1438 -0
  35. polymarket_apis/utilities/web3/abis/__init__.py +0 -0
  36. polymarket_apis/utilities/web3/abis/custom_contract_errors.py +31 -0
  37. polymarket_apis/utilities/web3/helpers.py +8 -0
  38. polymarket_apis-0.2.2.dist-info/METADATA +18 -0
  39. polymarket_apis-0.2.2.dist-info/RECORD +40 -0
  40. polymarket_apis-0.2.2.dist-info/WHEEL +4 -0
@@ -0,0 +1,999 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_ctf",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_collateral",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "address",
16
+ "name": "_vault",
17
+ "type": "address"
18
+ }
19
+ ],
20
+ "stateMutability": "nonpayable",
21
+ "type": "constructor"
22
+ },
23
+ {
24
+ "inputs": [ ],
25
+ "name": "DeterminedFlagAlreadySet",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [ ],
30
+ "name": "FeeBipsOutOfBounds",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [ ],
35
+ "name": "IndexOutOfBounds",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [ ],
40
+ "name": "InvalidIndexSet",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [ ],
45
+ "name": "LengthMismatch",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [ ],
50
+ "name": "MarketAlreadyDetermined",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [ ],
55
+ "name": "MarketAlreadyPrepared",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [ ],
60
+ "name": "MarketNotPrepared",
61
+ "type": "error"
62
+ },
63
+ {
64
+ "inputs": [ ],
65
+ "name": "NoConvertiblePositions",
66
+ "type": "error"
67
+ },
68
+ {
69
+ "inputs": [ ],
70
+ "name": "NotAdmin",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "inputs": [ ],
75
+ "name": "NotApprovedForAll",
76
+ "type": "error"
77
+ },
78
+ {
79
+ "inputs": [ ],
80
+ "name": "OnlyOracle",
81
+ "type": "error"
82
+ },
83
+ {
84
+ "inputs": [ ],
85
+ "name": "UnexpectedCollateralToken",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "anonymous": false,
90
+ "inputs": [
91
+ {
92
+ "indexed": true,
93
+ "internalType": "bytes32",
94
+ "name": "marketId",
95
+ "type": "bytes32"
96
+ },
97
+ {
98
+ "indexed": true,
99
+ "internalType": "address",
100
+ "name": "oracle",
101
+ "type": "address"
102
+ },
103
+ {
104
+ "indexed": false,
105
+ "internalType": "uint256",
106
+ "name": "feeBips",
107
+ "type": "uint256"
108
+ },
109
+ {
110
+ "indexed": false,
111
+ "internalType": "bytes",
112
+ "name": "data",
113
+ "type": "bytes"
114
+ }
115
+ ],
116
+ "name": "MarketPrepared",
117
+ "type": "event"
118
+ },
119
+ {
120
+ "anonymous": false,
121
+ "inputs": [
122
+ {
123
+ "indexed": true,
124
+ "internalType": "address",
125
+ "name": "admin",
126
+ "type": "address"
127
+ },
128
+ {
129
+ "indexed": true,
130
+ "internalType": "address",
131
+ "name": "newAdminAddress",
132
+ "type": "address"
133
+ }
134
+ ],
135
+ "name": "NewAdmin",
136
+ "type": "event"
137
+ },
138
+ {
139
+ "anonymous": false,
140
+ "inputs": [
141
+ {
142
+ "indexed": true,
143
+ "internalType": "bytes32",
144
+ "name": "marketId",
145
+ "type": "bytes32"
146
+ },
147
+ {
148
+ "indexed": true,
149
+ "internalType": "bytes32",
150
+ "name": "questionId",
151
+ "type": "bytes32"
152
+ },
153
+ {
154
+ "indexed": false,
155
+ "internalType": "bool",
156
+ "name": "outcome",
157
+ "type": "bool"
158
+ }
159
+ ],
160
+ "name": "OutcomeReported",
161
+ "type": "event"
162
+ },
163
+ {
164
+ "anonymous": false,
165
+ "inputs": [
166
+ {
167
+ "indexed": true,
168
+ "internalType": "address",
169
+ "name": "redeemer",
170
+ "type": "address"
171
+ },
172
+ {
173
+ "indexed": true,
174
+ "internalType": "bytes32",
175
+ "name": "conditionId",
176
+ "type": "bytes32"
177
+ },
178
+ {
179
+ "indexed": false,
180
+ "internalType": "uint256[]",
181
+ "name": "amounts",
182
+ "type": "uint256[]"
183
+ },
184
+ {
185
+ "indexed": false,
186
+ "internalType": "uint256",
187
+ "name": "payout",
188
+ "type": "uint256"
189
+ }
190
+ ],
191
+ "name": "PayoutRedemption",
192
+ "type": "event"
193
+ },
194
+ {
195
+ "anonymous": false,
196
+ "inputs": [
197
+ {
198
+ "indexed": true,
199
+ "internalType": "address",
200
+ "name": "stakeholder",
201
+ "type": "address"
202
+ },
203
+ {
204
+ "indexed": true,
205
+ "internalType": "bytes32",
206
+ "name": "conditionId",
207
+ "type": "bytes32"
208
+ },
209
+ {
210
+ "indexed": false,
211
+ "internalType": "uint256",
212
+ "name": "amount",
213
+ "type": "uint256"
214
+ }
215
+ ],
216
+ "name": "PositionSplit",
217
+ "type": "event"
218
+ },
219
+ {
220
+ "anonymous": false,
221
+ "inputs": [
222
+ {
223
+ "indexed": true,
224
+ "internalType": "address",
225
+ "name": "stakeholder",
226
+ "type": "address"
227
+ },
228
+ {
229
+ "indexed": true,
230
+ "internalType": "bytes32",
231
+ "name": "marketId",
232
+ "type": "bytes32"
233
+ },
234
+ {
235
+ "indexed": true,
236
+ "internalType": "uint256",
237
+ "name": "indexSet",
238
+ "type": "uint256"
239
+ },
240
+ {
241
+ "indexed": false,
242
+ "internalType": "uint256",
243
+ "name": "amount",
244
+ "type": "uint256"
245
+ }
246
+ ],
247
+ "name": "PositionsConverted",
248
+ "type": "event"
249
+ },
250
+ {
251
+ "anonymous": false,
252
+ "inputs": [
253
+ {
254
+ "indexed": true,
255
+ "internalType": "address",
256
+ "name": "stakeholder",
257
+ "type": "address"
258
+ },
259
+ {
260
+ "indexed": true,
261
+ "internalType": "bytes32",
262
+ "name": "conditionId",
263
+ "type": "bytes32"
264
+ },
265
+ {
266
+ "indexed": false,
267
+ "internalType": "uint256",
268
+ "name": "amount",
269
+ "type": "uint256"
270
+ }
271
+ ],
272
+ "name": "PositionsMerge",
273
+ "type": "event"
274
+ },
275
+ {
276
+ "anonymous": false,
277
+ "inputs": [
278
+ {
279
+ "indexed": true,
280
+ "internalType": "bytes32",
281
+ "name": "marketId",
282
+ "type": "bytes32"
283
+ },
284
+ {
285
+ "indexed": true,
286
+ "internalType": "bytes32",
287
+ "name": "questionId",
288
+ "type": "bytes32"
289
+ },
290
+ {
291
+ "indexed": false,
292
+ "internalType": "uint256",
293
+ "name": "index",
294
+ "type": "uint256"
295
+ },
296
+ {
297
+ "indexed": false,
298
+ "internalType": "bytes",
299
+ "name": "data",
300
+ "type": "bytes"
301
+ }
302
+ ],
303
+ "name": "QuestionPrepared",
304
+ "type": "event"
305
+ },
306
+ {
307
+ "anonymous": false,
308
+ "inputs": [
309
+ {
310
+ "indexed": true,
311
+ "internalType": "address",
312
+ "name": "admin",
313
+ "type": "address"
314
+ },
315
+ {
316
+ "indexed": true,
317
+ "internalType": "address",
318
+ "name": "removedAdmin",
319
+ "type": "address"
320
+ }
321
+ ],
322
+ "name": "RemovedAdmin",
323
+ "type": "event"
324
+ },
325
+ {
326
+ "inputs": [ ],
327
+ "name": "FEE_DENOMINATOR",
328
+ "outputs": [
329
+ {
330
+ "internalType": "uint256",
331
+ "name": "",
332
+ "type": "uint256"
333
+ }
334
+ ],
335
+ "stateMutability": "view",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "inputs": [ ],
340
+ "name": "NO_TOKEN_BURN_ADDRESS",
341
+ "outputs": [
342
+ {
343
+ "internalType": "address",
344
+ "name": "",
345
+ "type": "address"
346
+ }
347
+ ],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [
353
+ {
354
+ "internalType": "address",
355
+ "name": "admin",
356
+ "type": "address"
357
+ }
358
+ ],
359
+ "name": "addAdmin",
360
+ "outputs": [ ],
361
+ "stateMutability": "nonpayable",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [
366
+ {
367
+ "internalType": "address",
368
+ "name": "",
369
+ "type": "address"
370
+ }
371
+ ],
372
+ "name": "admins",
373
+ "outputs": [
374
+ {
375
+ "internalType": "uint256",
376
+ "name": "",
377
+ "type": "uint256"
378
+ }
379
+ ],
380
+ "stateMutability": "view",
381
+ "type": "function"
382
+ },
383
+ {
384
+ "inputs": [
385
+ {
386
+ "internalType": "address",
387
+ "name": "_owner",
388
+ "type": "address"
389
+ },
390
+ {
391
+ "internalType": "uint256",
392
+ "name": "_id",
393
+ "type": "uint256"
394
+ }
395
+ ],
396
+ "name": "balanceOf",
397
+ "outputs": [
398
+ {
399
+ "internalType": "uint256",
400
+ "name": "",
401
+ "type": "uint256"
402
+ }
403
+ ],
404
+ "stateMutability": "view",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "internalType": "address[]",
411
+ "name": "_owners",
412
+ "type": "address[]"
413
+ },
414
+ {
415
+ "internalType": "uint256[]",
416
+ "name": "_ids",
417
+ "type": "uint256[]"
418
+ }
419
+ ],
420
+ "name": "balanceOfBatch",
421
+ "outputs": [
422
+ {
423
+ "internalType": "uint256[]",
424
+ "name": "",
425
+ "type": "uint256[]"
426
+ }
427
+ ],
428
+ "stateMutability": "view",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [ ],
433
+ "name": "col",
434
+ "outputs": [
435
+ {
436
+ "internalType": "contract ERC20",
437
+ "name": "",
438
+ "type": "address"
439
+ }
440
+ ],
441
+ "stateMutability": "view",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [
446
+ {
447
+ "internalType": "bytes32",
448
+ "name": "_marketId",
449
+ "type": "bytes32"
450
+ },
451
+ {
452
+ "internalType": "uint256",
453
+ "name": "_indexSet",
454
+ "type": "uint256"
455
+ },
456
+ {
457
+ "internalType": "uint256",
458
+ "name": "_amount",
459
+ "type": "uint256"
460
+ }
461
+ ],
462
+ "name": "convertPositions",
463
+ "outputs": [ ],
464
+ "stateMutability": "nonpayable",
465
+ "type": "function"
466
+ },
467
+ {
468
+ "inputs": [ ],
469
+ "name": "ctf",
470
+ "outputs": [
471
+ {
472
+ "internalType": "contract IConditionalTokens",
473
+ "name": "",
474
+ "type": "address"
475
+ }
476
+ ],
477
+ "stateMutability": "view",
478
+ "type": "function"
479
+ },
480
+ {
481
+ "inputs": [
482
+ {
483
+ "internalType": "bytes32",
484
+ "name": "_questionId",
485
+ "type": "bytes32"
486
+ }
487
+ ],
488
+ "name": "getConditionId",
489
+ "outputs": [
490
+ {
491
+ "internalType": "bytes32",
492
+ "name": "",
493
+ "type": "bytes32"
494
+ }
495
+ ],
496
+ "stateMutability": "view",
497
+ "type": "function"
498
+ },
499
+ {
500
+ "inputs": [
501
+ {
502
+ "internalType": "bytes32",
503
+ "name": "_marketId",
504
+ "type": "bytes32"
505
+ }
506
+ ],
507
+ "name": "getDetermined",
508
+ "outputs": [
509
+ {
510
+ "internalType": "bool",
511
+ "name": "",
512
+ "type": "bool"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "bytes32",
522
+ "name": "_marketId",
523
+ "type": "bytes32"
524
+ }
525
+ ],
526
+ "name": "getFeeBips",
527
+ "outputs": [
528
+ {
529
+ "internalType": "uint256",
530
+ "name": "",
531
+ "type": "uint256"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [
539
+ {
540
+ "internalType": "bytes32",
541
+ "name": "_marketId",
542
+ "type": "bytes32"
543
+ }
544
+ ],
545
+ "name": "getMarketData",
546
+ "outputs": [
547
+ {
548
+ "internalType": "MarketData",
549
+ "name": "",
550
+ "type": "bytes32"
551
+ }
552
+ ],
553
+ "stateMutability": "view",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [
558
+ {
559
+ "internalType": "bytes32",
560
+ "name": "_marketId",
561
+ "type": "bytes32"
562
+ }
563
+ ],
564
+ "name": "getOracle",
565
+ "outputs": [
566
+ {
567
+ "internalType": "address",
568
+ "name": "",
569
+ "type": "address"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
577
+ {
578
+ "internalType": "bytes32",
579
+ "name": "_questionId",
580
+ "type": "bytes32"
581
+ },
582
+ {
583
+ "internalType": "bool",
584
+ "name": "_outcome",
585
+ "type": "bool"
586
+ }
587
+ ],
588
+ "name": "getPositionId",
589
+ "outputs": [
590
+ {
591
+ "internalType": "uint256",
592
+ "name": "",
593
+ "type": "uint256"
594
+ }
595
+ ],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "bytes32",
603
+ "name": "_marketId",
604
+ "type": "bytes32"
605
+ }
606
+ ],
607
+ "name": "getQuestionCount",
608
+ "outputs": [
609
+ {
610
+ "internalType": "uint256",
611
+ "name": "",
612
+ "type": "uint256"
613
+ }
614
+ ],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "bytes32",
622
+ "name": "_marketId",
623
+ "type": "bytes32"
624
+ }
625
+ ],
626
+ "name": "getResult",
627
+ "outputs": [
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "",
631
+ "type": "uint256"
632
+ }
633
+ ],
634
+ "stateMutability": "view",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [
639
+ {
640
+ "internalType": "address",
641
+ "name": "addr",
642
+ "type": "address"
643
+ }
644
+ ],
645
+ "name": "isAdmin",
646
+ "outputs": [
647
+ {
648
+ "internalType": "bool",
649
+ "name": "",
650
+ "type": "bool"
651
+ }
652
+ ],
653
+ "stateMutability": "view",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [
658
+ {
659
+ "internalType": "address",
660
+ "name": "_collateralToken",
661
+ "type": "address"
662
+ },
663
+ {
664
+ "internalType": "bytes32",
665
+ "name": "",
666
+ "type": "bytes32"
667
+ },
668
+ {
669
+ "internalType": "bytes32",
670
+ "name": "_conditionId",
671
+ "type": "bytes32"
672
+ },
673
+ {
674
+ "internalType": "uint256[]",
675
+ "name": "",
676
+ "type": "uint256[]"
677
+ },
678
+ {
679
+ "internalType": "uint256",
680
+ "name": "_amount",
681
+ "type": "uint256"
682
+ }
683
+ ],
684
+ "name": "mergePositions",
685
+ "outputs": [ ],
686
+ "stateMutability": "nonpayable",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "inputs": [
691
+ {
692
+ "internalType": "bytes32",
693
+ "name": "_conditionId",
694
+ "type": "bytes32"
695
+ },
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "_amount",
699
+ "type": "uint256"
700
+ }
701
+ ],
702
+ "name": "mergePositions",
703
+ "outputs": [ ],
704
+ "stateMutability": "nonpayable",
705
+ "type": "function"
706
+ },
707
+ {
708
+ "inputs": [
709
+ {
710
+ "internalType": "address",
711
+ "name": "",
712
+ "type": "address"
713
+ },
714
+ {
715
+ "internalType": "address",
716
+ "name": "",
717
+ "type": "address"
718
+ },
719
+ {
720
+ "internalType": "uint256[]",
721
+ "name": "",
722
+ "type": "uint256[]"
723
+ },
724
+ {
725
+ "internalType": "uint256[]",
726
+ "name": "",
727
+ "type": "uint256[]"
728
+ },
729
+ {
730
+ "internalType": "bytes",
731
+ "name": "",
732
+ "type": "bytes"
733
+ }
734
+ ],
735
+ "name": "onERC1155BatchReceived",
736
+ "outputs": [
737
+ {
738
+ "internalType": "bytes4",
739
+ "name": "",
740
+ "type": "bytes4"
741
+ }
742
+ ],
743
+ "stateMutability": "nonpayable",
744
+ "type": "function"
745
+ },
746
+ {
747
+ "inputs": [
748
+ {
749
+ "internalType": "address",
750
+ "name": "",
751
+ "type": "address"
752
+ },
753
+ {
754
+ "internalType": "address",
755
+ "name": "",
756
+ "type": "address"
757
+ },
758
+ {
759
+ "internalType": "uint256",
760
+ "name": "",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "",
766
+ "type": "uint256"
767
+ },
768
+ {
769
+ "internalType": "bytes",
770
+ "name": "",
771
+ "type": "bytes"
772
+ }
773
+ ],
774
+ "name": "onERC1155Received",
775
+ "outputs": [
776
+ {
777
+ "internalType": "bytes4",
778
+ "name": "",
779
+ "type": "bytes4"
780
+ }
781
+ ],
782
+ "stateMutability": "nonpayable",
783
+ "type": "function"
784
+ },
785
+ {
786
+ "inputs": [
787
+ {
788
+ "internalType": "uint256",
789
+ "name": "_feeBips",
790
+ "type": "uint256"
791
+ },
792
+ {
793
+ "internalType": "bytes",
794
+ "name": "_metadata",
795
+ "type": "bytes"
796
+ }
797
+ ],
798
+ "name": "prepareMarket",
799
+ "outputs": [
800
+ {
801
+ "internalType": "bytes32",
802
+ "name": "",
803
+ "type": "bytes32"
804
+ }
805
+ ],
806
+ "stateMutability": "nonpayable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [
811
+ {
812
+ "internalType": "bytes32",
813
+ "name": "_marketId",
814
+ "type": "bytes32"
815
+ },
816
+ {
817
+ "internalType": "bytes",
818
+ "name": "_metadata",
819
+ "type": "bytes"
820
+ }
821
+ ],
822
+ "name": "prepareQuestion",
823
+ "outputs": [
824
+ {
825
+ "internalType": "bytes32",
826
+ "name": "",
827
+ "type": "bytes32"
828
+ }
829
+ ],
830
+ "stateMutability": "nonpayable",
831
+ "type": "function"
832
+ },
833
+ {
834
+ "inputs": [
835
+ {
836
+ "internalType": "bytes32",
837
+ "name": "_conditionId",
838
+ "type": "bytes32"
839
+ },
840
+ {
841
+ "internalType": "uint256[]",
842
+ "name": "_amounts",
843
+ "type": "uint256[]"
844
+ }
845
+ ],
846
+ "name": "redeemPositions",
847
+ "outputs": [ ],
848
+ "stateMutability": "nonpayable",
849
+ "type": "function"
850
+ },
851
+ {
852
+ "inputs": [
853
+ {
854
+ "internalType": "address",
855
+ "name": "admin",
856
+ "type": "address"
857
+ }
858
+ ],
859
+ "name": "removeAdmin",
860
+ "outputs": [ ],
861
+ "stateMutability": "nonpayable",
862
+ "type": "function"
863
+ },
864
+ {
865
+ "inputs": [ ],
866
+ "name": "renounceAdmin",
867
+ "outputs": [ ],
868
+ "stateMutability": "nonpayable",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [
873
+ {
874
+ "internalType": "bytes32",
875
+ "name": "_questionId",
876
+ "type": "bytes32"
877
+ },
878
+ {
879
+ "internalType": "bool",
880
+ "name": "_outcome",
881
+ "type": "bool"
882
+ }
883
+ ],
884
+ "name": "reportOutcome",
885
+ "outputs": [ ],
886
+ "stateMutability": "nonpayable",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [
891
+ {
892
+ "internalType": "address",
893
+ "name": "_from",
894
+ "type": "address"
895
+ },
896
+ {
897
+ "internalType": "address",
898
+ "name": "_to",
899
+ "type": "address"
900
+ },
901
+ {
902
+ "internalType": "uint256",
903
+ "name": "_id",
904
+ "type": "uint256"
905
+ },
906
+ {
907
+ "internalType": "uint256",
908
+ "name": "_value",
909
+ "type": "uint256"
910
+ },
911
+ {
912
+ "internalType": "bytes",
913
+ "name": "_data",
914
+ "type": "bytes"
915
+ }
916
+ ],
917
+ "name": "safeTransferFrom",
918
+ "outputs": [ ],
919
+ "stateMutability": "nonpayable",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [
924
+ {
925
+ "internalType": "address",
926
+ "name": "_collateralToken",
927
+ "type": "address"
928
+ },
929
+ {
930
+ "internalType": "bytes32",
931
+ "name": "",
932
+ "type": "bytes32"
933
+ },
934
+ {
935
+ "internalType": "bytes32",
936
+ "name": "_conditionId",
937
+ "type": "bytes32"
938
+ },
939
+ {
940
+ "internalType": "uint256[]",
941
+ "name": "",
942
+ "type": "uint256[]"
943
+ },
944
+ {
945
+ "internalType": "uint256",
946
+ "name": "_amount",
947
+ "type": "uint256"
948
+ }
949
+ ],
950
+ "name": "splitPosition",
951
+ "outputs": [ ],
952
+ "stateMutability": "nonpayable",
953
+ "type": "function"
954
+ },
955
+ {
956
+ "inputs": [
957
+ {
958
+ "internalType": "bytes32",
959
+ "name": "_conditionId",
960
+ "type": "bytes32"
961
+ },
962
+ {
963
+ "internalType": "uint256",
964
+ "name": "_amount",
965
+ "type": "uint256"
966
+ }
967
+ ],
968
+ "name": "splitPosition",
969
+ "outputs": [ ],
970
+ "stateMutability": "nonpayable",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [ ],
975
+ "name": "vault",
976
+ "outputs": [
977
+ {
978
+ "internalType": "address",
979
+ "name": "",
980
+ "type": "address"
981
+ }
982
+ ],
983
+ "stateMutability": "view",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [ ],
988
+ "name": "wcol",
989
+ "outputs": [
990
+ {
991
+ "internalType": "contract WrappedCollateral",
992
+ "name": "",
993
+ "type": "address"
994
+ }
995
+ ],
996
+ "stateMutability": "view",
997
+ "type": "function"
998
+ }
999
+ ]