@vercora-protocol/sdk 0.0.19 → 0.0.21
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.
- package/CHANGELOG.md +16 -0
- package/README.md +87 -30
- package/agents/skill.md +16 -5
- package/dist/client.d.ts +25 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +157 -9
- package/dist/client.js.map +1 -1
- package/dist/generated/vercora.d.ts +1388 -137
- package/dist/generated/vercora.d.ts.map +1 -1
- package/dist/idl/vercora.json +1389 -138
- package/dist/pda.d.ts +5 -1
- package/dist/pda.d.ts.map +1 -1
- package/dist/pda.js +8 -2
- package/dist/pda.js.map +1 -1
- package/dist/types.d.ts +61 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -188,6 +188,149 @@ export type Vercora = {
|
|
|
188
188
|
];
|
|
189
189
|
"args": [];
|
|
190
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"name": "claimResolverStake";
|
|
193
|
+
"discriminator": [
|
|
194
|
+
136,
|
|
195
|
+
254,
|
|
196
|
+
179,
|
|
197
|
+
82,
|
|
198
|
+
41,
|
|
199
|
+
9,
|
|
200
|
+
90,
|
|
201
|
+
191
|
|
202
|
+
];
|
|
203
|
+
"accounts": [
|
|
204
|
+
{
|
|
205
|
+
"name": "resolverSigner";
|
|
206
|
+
"writable": true;
|
|
207
|
+
"signer": true;
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "market";
|
|
211
|
+
"writable": true;
|
|
212
|
+
"pda": {
|
|
213
|
+
"seeds": [
|
|
214
|
+
{
|
|
215
|
+
"kind": "const";
|
|
216
|
+
"value": [
|
|
217
|
+
109,
|
|
218
|
+
97,
|
|
219
|
+
114,
|
|
220
|
+
107,
|
|
221
|
+
101,
|
|
222
|
+
116
|
|
223
|
+
];
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"kind": "account";
|
|
227
|
+
"path": "market.creator";
|
|
228
|
+
"account": "market";
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "arg";
|
|
232
|
+
"path": "args.market_id";
|
|
233
|
+
}
|
|
234
|
+
];
|
|
235
|
+
};
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "resolverStakeVault";
|
|
239
|
+
"writable": true;
|
|
240
|
+
"pda": {
|
|
241
|
+
"seeds": [
|
|
242
|
+
{
|
|
243
|
+
"kind": "account";
|
|
244
|
+
"path": "market";
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"kind": "const";
|
|
248
|
+
"value": [
|
|
249
|
+
114,
|
|
250
|
+
101,
|
|
251
|
+
115,
|
|
252
|
+
45,
|
|
253
|
+
115,
|
|
254
|
+
116,
|
|
255
|
+
97,
|
|
256
|
+
107,
|
|
257
|
+
101,
|
|
258
|
+
45,
|
|
259
|
+
118,
|
|
260
|
+
97,
|
|
261
|
+
117,
|
|
262
|
+
108,
|
|
263
|
+
116
|
|
264
|
+
];
|
|
265
|
+
}
|
|
266
|
+
];
|
|
267
|
+
};
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "collateralMint";
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "resolverUserCollateral";
|
|
274
|
+
"writable": true;
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "resolver";
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "resolutionVote";
|
|
281
|
+
"writable": true;
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "globalConfig";
|
|
285
|
+
"pda": {
|
|
286
|
+
"seeds": [
|
|
287
|
+
{
|
|
288
|
+
"kind": "const";
|
|
289
|
+
"value": [
|
|
290
|
+
103,
|
|
291
|
+
108,
|
|
292
|
+
111,
|
|
293
|
+
98,
|
|
294
|
+
97,
|
|
295
|
+
108,
|
|
296
|
+
45,
|
|
297
|
+
99,
|
|
298
|
+
111,
|
|
299
|
+
110,
|
|
300
|
+
102,
|
|
301
|
+
105,
|
|
302
|
+
103
|
|
303
|
+
];
|
|
304
|
+
}
|
|
305
|
+
];
|
|
306
|
+
};
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "platformTreasuryWallet";
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "platformTreasuryAta";
|
|
313
|
+
"writable": true;
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "collateralTokenProgram";
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "systemProgram";
|
|
320
|
+
"address": "11111111111111111111111111111111";
|
|
321
|
+
}
|
|
322
|
+
];
|
|
323
|
+
"args": [
|
|
324
|
+
{
|
|
325
|
+
"name": "args";
|
|
326
|
+
"type": {
|
|
327
|
+
"defined": {
|
|
328
|
+
"name": "claimResolverStakeArgs";
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
];
|
|
333
|
+
},
|
|
191
334
|
{
|
|
192
335
|
"name": "claimVoidedParimutuelSurplus";
|
|
193
336
|
"discriminator": [
|
|
@@ -555,6 +698,150 @@ export type Vercora = {
|
|
|
555
698
|
];
|
|
556
699
|
"args": [];
|
|
557
700
|
},
|
|
701
|
+
{
|
|
702
|
+
"name": "confirmResolution";
|
|
703
|
+
"discriminator": [
|
|
704
|
+
46,
|
|
705
|
+
204,
|
|
706
|
+
148,
|
|
707
|
+
68,
|
|
708
|
+
212,
|
|
709
|
+
147,
|
|
710
|
+
158,
|
|
711
|
+
84
|
|
712
|
+
];
|
|
713
|
+
"accounts": [
|
|
714
|
+
{
|
|
715
|
+
"name": "market";
|
|
716
|
+
"writable": true;
|
|
717
|
+
"pda": {
|
|
718
|
+
"seeds": [
|
|
719
|
+
{
|
|
720
|
+
"kind": "const";
|
|
721
|
+
"value": [
|
|
722
|
+
109,
|
|
723
|
+
97,
|
|
724
|
+
114,
|
|
725
|
+
107,
|
|
726
|
+
101,
|
|
727
|
+
116
|
|
728
|
+
];
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"kind": "account";
|
|
732
|
+
"path": "market.creator";
|
|
733
|
+
"account": "market";
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"kind": "arg";
|
|
737
|
+
"path": "args.market_id";
|
|
738
|
+
}
|
|
739
|
+
];
|
|
740
|
+
};
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "platformProfile";
|
|
744
|
+
"pda": {
|
|
745
|
+
"seeds": [
|
|
746
|
+
{
|
|
747
|
+
"kind": "const";
|
|
748
|
+
"value": [
|
|
749
|
+
112,
|
|
750
|
+
108,
|
|
751
|
+
97,
|
|
752
|
+
116,
|
|
753
|
+
102,
|
|
754
|
+
111,
|
|
755
|
+
114,
|
|
756
|
+
109,
|
|
757
|
+
45,
|
|
758
|
+
112,
|
|
759
|
+
114,
|
|
760
|
+
111,
|
|
761
|
+
102,
|
|
762
|
+
105,
|
|
763
|
+
108,
|
|
764
|
+
101
|
|
765
|
+
];
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"kind": "account";
|
|
769
|
+
"path": "market.platform_id";
|
|
770
|
+
"account": "market";
|
|
771
|
+
}
|
|
772
|
+
];
|
|
773
|
+
};
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "resolutionState";
|
|
777
|
+
"pda": {
|
|
778
|
+
"seeds": [
|
|
779
|
+
{
|
|
780
|
+
"kind": "account";
|
|
781
|
+
"path": "market";
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"kind": "const";
|
|
785
|
+
"value": [
|
|
786
|
+
114,
|
|
787
|
+
101,
|
|
788
|
+
115,
|
|
789
|
+
111,
|
|
790
|
+
108,
|
|
791
|
+
117,
|
|
792
|
+
116,
|
|
793
|
+
105,
|
|
794
|
+
111,
|
|
795
|
+
110
|
|
796
|
+
];
|
|
797
|
+
}
|
|
798
|
+
];
|
|
799
|
+
};
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"name": "marketOutcome0";
|
|
803
|
+
"optional": true;
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"name": "marketOutcome1";
|
|
807
|
+
"optional": true;
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"name": "marketOutcome2";
|
|
811
|
+
"optional": true;
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "marketOutcome3";
|
|
815
|
+
"optional": true;
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"name": "marketOutcome4";
|
|
819
|
+
"optional": true;
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "marketOutcome5";
|
|
823
|
+
"optional": true;
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "marketOutcome6";
|
|
827
|
+
"optional": true;
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "marketOutcome7";
|
|
831
|
+
"optional": true;
|
|
832
|
+
}
|
|
833
|
+
];
|
|
834
|
+
"args": [
|
|
835
|
+
{
|
|
836
|
+
"name": "args";
|
|
837
|
+
"type": {
|
|
838
|
+
"defined": {
|
|
839
|
+
"name": "confirmResolutionArgs";
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
}
|
|
843
|
+
];
|
|
844
|
+
},
|
|
558
845
|
{
|
|
559
846
|
"name": "createMarket";
|
|
560
847
|
"discriminator": [
|
|
@@ -581,27 +868,81 @@ export type Vercora = {
|
|
|
581
868
|
{
|
|
582
869
|
"kind": "const";
|
|
583
870
|
"value": [
|
|
584
|
-
109,
|
|
585
|
-
97,
|
|
871
|
+
109,
|
|
872
|
+
97,
|
|
873
|
+
114,
|
|
874
|
+
107,
|
|
875
|
+
101,
|
|
876
|
+
116
|
|
877
|
+
];
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"kind": "account";
|
|
881
|
+
"path": "creator";
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"kind": "arg";
|
|
885
|
+
"path": "args.market_id";
|
|
886
|
+
}
|
|
887
|
+
];
|
|
888
|
+
};
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "vault";
|
|
892
|
+
"writable": true;
|
|
893
|
+
"pda": {
|
|
894
|
+
"seeds": [
|
|
895
|
+
{
|
|
896
|
+
"kind": "account";
|
|
897
|
+
"path": "market";
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"kind": "const";
|
|
901
|
+
"value": [
|
|
902
|
+
118,
|
|
903
|
+
97,
|
|
904
|
+
117,
|
|
905
|
+
108,
|
|
906
|
+
116
|
|
907
|
+
];
|
|
908
|
+
}
|
|
909
|
+
];
|
|
910
|
+
};
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "resolverStakeVault";
|
|
914
|
+
"writable": true;
|
|
915
|
+
"pda": {
|
|
916
|
+
"seeds": [
|
|
917
|
+
{
|
|
918
|
+
"kind": "account";
|
|
919
|
+
"path": "market";
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"kind": "const";
|
|
923
|
+
"value": [
|
|
586
924
|
114,
|
|
925
|
+
101,
|
|
926
|
+
115,
|
|
927
|
+
45,
|
|
928
|
+
115,
|
|
929
|
+
116,
|
|
930
|
+
97,
|
|
587
931
|
107,
|
|
588
932
|
101,
|
|
933
|
+
45,
|
|
934
|
+
118,
|
|
935
|
+
97,
|
|
936
|
+
117,
|
|
937
|
+
108,
|
|
589
938
|
116
|
|
590
939
|
];
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"kind": "account";
|
|
594
|
-
"path": "creator";
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"kind": "arg";
|
|
598
|
-
"path": "args.market_id";
|
|
599
940
|
}
|
|
600
941
|
];
|
|
601
942
|
};
|
|
602
943
|
},
|
|
603
944
|
{
|
|
604
|
-
"name": "
|
|
945
|
+
"name": "resolutionState";
|
|
605
946
|
"writable": true;
|
|
606
947
|
"pda": {
|
|
607
948
|
"seeds": [
|
|
@@ -612,11 +953,16 @@ export type Vercora = {
|
|
|
612
953
|
{
|
|
613
954
|
"kind": "const";
|
|
614
955
|
"value": [
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
956
|
+
114,
|
|
957
|
+
101,
|
|
958
|
+
115,
|
|
959
|
+
111,
|
|
618
960
|
108,
|
|
619
|
-
|
|
961
|
+
117,
|
|
962
|
+
116,
|
|
963
|
+
105,
|
|
964
|
+
111,
|
|
965
|
+
110
|
|
620
966
|
];
|
|
621
967
|
}
|
|
622
968
|
];
|
|
@@ -687,10 +1033,6 @@ export type Vercora = {
|
|
|
687
1033
|
},
|
|
688
1034
|
{
|
|
689
1035
|
"name": "platformRegistry";
|
|
690
|
-
"docs": [
|
|
691
|
-
"Pass when `args.platform_id > 0` (PDA `[\"platform\", platform_id]`)."
|
|
692
|
-
];
|
|
693
|
-
"optional": true;
|
|
694
1036
|
"pda": {
|
|
695
1037
|
"seeds": [
|
|
696
1038
|
{
|
|
@@ -713,6 +1055,38 @@ export type Vercora = {
|
|
|
713
1055
|
];
|
|
714
1056
|
};
|
|
715
1057
|
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "platformProfile";
|
|
1060
|
+
"pda": {
|
|
1061
|
+
"seeds": [
|
|
1062
|
+
{
|
|
1063
|
+
"kind": "const";
|
|
1064
|
+
"value": [
|
|
1065
|
+
112,
|
|
1066
|
+
108,
|
|
1067
|
+
97,
|
|
1068
|
+
116,
|
|
1069
|
+
102,
|
|
1070
|
+
111,
|
|
1071
|
+
114,
|
|
1072
|
+
109,
|
|
1073
|
+
45,
|
|
1074
|
+
112,
|
|
1075
|
+
114,
|
|
1076
|
+
111,
|
|
1077
|
+
102,
|
|
1078
|
+
105,
|
|
1079
|
+
108,
|
|
1080
|
+
101
|
|
1081
|
+
];
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"kind": "arg";
|
|
1085
|
+
"path": "args.platform_id";
|
|
1086
|
+
}
|
|
1087
|
+
];
|
|
1088
|
+
};
|
|
1089
|
+
},
|
|
716
1090
|
{
|
|
717
1091
|
"name": "marketCategory";
|
|
718
1092
|
"docs": [
|
|
@@ -940,6 +1314,33 @@ export type Vercora = {
|
|
|
940
1314
|
];
|
|
941
1315
|
};
|
|
942
1316
|
},
|
|
1317
|
+
{
|
|
1318
|
+
"name": "resolutionState";
|
|
1319
|
+
"writable": true;
|
|
1320
|
+
"pda": {
|
|
1321
|
+
"seeds": [
|
|
1322
|
+
{
|
|
1323
|
+
"kind": "account";
|
|
1324
|
+
"path": "market";
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"kind": "const";
|
|
1328
|
+
"value": [
|
|
1329
|
+
114,
|
|
1330
|
+
101,
|
|
1331
|
+
115,
|
|
1332
|
+
111,
|
|
1333
|
+
108,
|
|
1334
|
+
117,
|
|
1335
|
+
116,
|
|
1336
|
+
105,
|
|
1337
|
+
111,
|
|
1338
|
+
110
|
|
1339
|
+
];
|
|
1340
|
+
}
|
|
1341
|
+
];
|
|
1342
|
+
};
|
|
1343
|
+
},
|
|
943
1344
|
{
|
|
944
1345
|
"name": "marketOutcome0";
|
|
945
1346
|
"optional": true;
|
|
@@ -1063,6 +1464,10 @@ export type Vercora = {
|
|
|
1063
1464
|
{
|
|
1064
1465
|
"name": "parimutuelWithdrawPlatformFeeBps";
|
|
1065
1466
|
"type": "u16";
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "disputeResolutionAuthority";
|
|
1470
|
+
"type": "pubkey";
|
|
1066
1471
|
}
|
|
1067
1472
|
];
|
|
1068
1473
|
},
|
|
@@ -1548,14 +1953,174 @@ export type Vercora = {
|
|
|
1548
1953
|
},
|
|
1549
1954
|
{
|
|
1550
1955
|
"name": "collateralTokenProgram";
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
"name": "tokenProgram";
|
|
1554
|
-
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"name": "systemProgram";
|
|
1558
|
-
"address": "11111111111111111111111111111111";
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"name": "tokenProgram";
|
|
1959
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"name": "systemProgram";
|
|
1963
|
+
"address": "11111111111111111111111111111111";
|
|
1964
|
+
}
|
|
1965
|
+
];
|
|
1966
|
+
"args": [
|
|
1967
|
+
{
|
|
1968
|
+
"name": "args";
|
|
1969
|
+
"type": {
|
|
1970
|
+
"defined": {
|
|
1971
|
+
"name": "mintCompleteSetArgs";
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1974
|
+
}
|
|
1975
|
+
];
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
"name": "openRefute";
|
|
1979
|
+
"discriminator": [
|
|
1980
|
+
88,
|
|
1981
|
+
212,
|
|
1982
|
+
101,
|
|
1983
|
+
41,
|
|
1984
|
+
154,
|
|
1985
|
+
214,
|
|
1986
|
+
64,
|
|
1987
|
+
246
|
|
1988
|
+
];
|
|
1989
|
+
"accounts": [
|
|
1990
|
+
{
|
|
1991
|
+
"name": "refuter";
|
|
1992
|
+
"writable": true;
|
|
1993
|
+
"signer": true;
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
"name": "market";
|
|
1997
|
+
"writable": true;
|
|
1998
|
+
"pda": {
|
|
1999
|
+
"seeds": [
|
|
2000
|
+
{
|
|
2001
|
+
"kind": "const";
|
|
2002
|
+
"value": [
|
|
2003
|
+
109,
|
|
2004
|
+
97,
|
|
2005
|
+
114,
|
|
2006
|
+
107,
|
|
2007
|
+
101,
|
|
2008
|
+
116
|
|
2009
|
+
];
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"kind": "account";
|
|
2013
|
+
"path": "market.creator";
|
|
2014
|
+
"account": "market";
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"kind": "arg";
|
|
2018
|
+
"path": "args.market_id";
|
|
2019
|
+
}
|
|
2020
|
+
];
|
|
2021
|
+
};
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"name": "resolutionState";
|
|
2025
|
+
"writable": true;
|
|
2026
|
+
"pda": {
|
|
2027
|
+
"seeds": [
|
|
2028
|
+
{
|
|
2029
|
+
"kind": "account";
|
|
2030
|
+
"path": "market";
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"kind": "const";
|
|
2034
|
+
"value": [
|
|
2035
|
+
114,
|
|
2036
|
+
101,
|
|
2037
|
+
115,
|
|
2038
|
+
111,
|
|
2039
|
+
108,
|
|
2040
|
+
117,
|
|
2041
|
+
116,
|
|
2042
|
+
105,
|
|
2043
|
+
111,
|
|
2044
|
+
110
|
|
2045
|
+
];
|
|
2046
|
+
}
|
|
2047
|
+
];
|
|
2048
|
+
};
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"name": "resolverStakeVault";
|
|
2052
|
+
"writable": true;
|
|
2053
|
+
"pda": {
|
|
2054
|
+
"seeds": [
|
|
2055
|
+
{
|
|
2056
|
+
"kind": "account";
|
|
2057
|
+
"path": "market";
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"kind": "const";
|
|
2061
|
+
"value": [
|
|
2062
|
+
114,
|
|
2063
|
+
101,
|
|
2064
|
+
115,
|
|
2065
|
+
45,
|
|
2066
|
+
115,
|
|
2067
|
+
116,
|
|
2068
|
+
97,
|
|
2069
|
+
107,
|
|
2070
|
+
101,
|
|
2071
|
+
45,
|
|
2072
|
+
118,
|
|
2073
|
+
97,
|
|
2074
|
+
117,
|
|
2075
|
+
108,
|
|
2076
|
+
116
|
|
2077
|
+
];
|
|
2078
|
+
}
|
|
2079
|
+
];
|
|
2080
|
+
};
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
"name": "collateralMint";
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"name": "refuterCollateral";
|
|
2087
|
+
"writable": true;
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"name": "platformProfile";
|
|
2091
|
+
"pda": {
|
|
2092
|
+
"seeds": [
|
|
2093
|
+
{
|
|
2094
|
+
"kind": "const";
|
|
2095
|
+
"value": [
|
|
2096
|
+
112,
|
|
2097
|
+
108,
|
|
2098
|
+
97,
|
|
2099
|
+
116,
|
|
2100
|
+
102,
|
|
2101
|
+
111,
|
|
2102
|
+
114,
|
|
2103
|
+
109,
|
|
2104
|
+
45,
|
|
2105
|
+
112,
|
|
2106
|
+
114,
|
|
2107
|
+
111,
|
|
2108
|
+
102,
|
|
2109
|
+
105,
|
|
2110
|
+
108,
|
|
2111
|
+
101
|
|
2112
|
+
];
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
"kind": "account";
|
|
2116
|
+
"path": "market.platform_id";
|
|
2117
|
+
"account": "market";
|
|
2118
|
+
}
|
|
2119
|
+
];
|
|
2120
|
+
};
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"name": "collateralTokenProgram";
|
|
1559
2124
|
}
|
|
1560
2125
|
];
|
|
1561
2126
|
"args": [
|
|
@@ -1563,7 +2128,7 @@ export type Vercora = {
|
|
|
1563
2128
|
"name": "args";
|
|
1564
2129
|
"type": {
|
|
1565
2130
|
"defined": {
|
|
1566
|
-
"name": "
|
|
2131
|
+
"name": "openRefuteArgs";
|
|
1567
2132
|
};
|
|
1568
2133
|
};
|
|
1569
2134
|
}
|
|
@@ -2375,7 +2940,261 @@ export type Vercora = {
|
|
|
2375
2940
|
"accounts": [
|
|
2376
2941
|
{
|
|
2377
2942
|
"name": "globalConfig";
|
|
2378
|
-
"writable": true;
|
|
2943
|
+
"writable": true;
|
|
2944
|
+
"pda": {
|
|
2945
|
+
"seeds": [
|
|
2946
|
+
{
|
|
2947
|
+
"kind": "const";
|
|
2948
|
+
"value": [
|
|
2949
|
+
103,
|
|
2950
|
+
108,
|
|
2951
|
+
111,
|
|
2952
|
+
98,
|
|
2953
|
+
97,
|
|
2954
|
+
108,
|
|
2955
|
+
45,
|
|
2956
|
+
99,
|
|
2957
|
+
111,
|
|
2958
|
+
110,
|
|
2959
|
+
102,
|
|
2960
|
+
105,
|
|
2961
|
+
103
|
|
2962
|
+
];
|
|
2963
|
+
}
|
|
2964
|
+
];
|
|
2965
|
+
};
|
|
2966
|
+
},
|
|
2967
|
+
{
|
|
2968
|
+
"name": "platformRegistry";
|
|
2969
|
+
"writable": true;
|
|
2970
|
+
"pda": {
|
|
2971
|
+
"seeds": [
|
|
2972
|
+
{
|
|
2973
|
+
"kind": "const";
|
|
2974
|
+
"value": [
|
|
2975
|
+
112,
|
|
2976
|
+
108,
|
|
2977
|
+
97,
|
|
2978
|
+
116,
|
|
2979
|
+
102,
|
|
2980
|
+
111,
|
|
2981
|
+
114,
|
|
2982
|
+
109
|
|
2983
|
+
];
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
"kind": "account";
|
|
2987
|
+
"path": "global_config.next_platform_id";
|
|
2988
|
+
"account": "globalConfig";
|
|
2989
|
+
}
|
|
2990
|
+
];
|
|
2991
|
+
};
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"name": "authority";
|
|
2995
|
+
"writable": true;
|
|
2996
|
+
"signer": true;
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"name": "systemProgram";
|
|
3000
|
+
"address": "11111111111111111111111111111111";
|
|
3001
|
+
}
|
|
3002
|
+
];
|
|
3003
|
+
"args": [
|
|
3004
|
+
{
|
|
3005
|
+
"name": "profileAuthority";
|
|
3006
|
+
"type": "pubkey";
|
|
3007
|
+
}
|
|
3008
|
+
];
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
"name": "removeAllowedCollateralMint";
|
|
3012
|
+
"discriminator": [
|
|
3013
|
+
74,
|
|
3014
|
+
156,
|
|
3015
|
+
218,
|
|
3016
|
+
211,
|
|
3017
|
+
102,
|
|
3018
|
+
182,
|
|
3019
|
+
68,
|
|
3020
|
+
197
|
|
3021
|
+
];
|
|
3022
|
+
"accounts": [
|
|
3023
|
+
{
|
|
3024
|
+
"name": "allowedMint";
|
|
3025
|
+
"writable": true;
|
|
3026
|
+
"pda": {
|
|
3027
|
+
"seeds": [
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "const";
|
|
3030
|
+
"value": [
|
|
3031
|
+
97,
|
|
3032
|
+
108,
|
|
3033
|
+
108,
|
|
3034
|
+
111,
|
|
3035
|
+
119,
|
|
3036
|
+
101,
|
|
3037
|
+
100,
|
|
3038
|
+
45,
|
|
3039
|
+
109,
|
|
3040
|
+
105,
|
|
3041
|
+
110,
|
|
3042
|
+
116
|
|
3043
|
+
];
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"kind": "account";
|
|
3047
|
+
"path": "mint";
|
|
3048
|
+
}
|
|
3049
|
+
];
|
|
3050
|
+
};
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
"name": "globalConfig";
|
|
3054
|
+
"pda": {
|
|
3055
|
+
"seeds": [
|
|
3056
|
+
{
|
|
3057
|
+
"kind": "const";
|
|
3058
|
+
"value": [
|
|
3059
|
+
103,
|
|
3060
|
+
108,
|
|
3061
|
+
111,
|
|
3062
|
+
98,
|
|
3063
|
+
97,
|
|
3064
|
+
108,
|
|
3065
|
+
45,
|
|
3066
|
+
99,
|
|
3067
|
+
111,
|
|
3068
|
+
110,
|
|
3069
|
+
102,
|
|
3070
|
+
105,
|
|
3071
|
+
103
|
|
3072
|
+
];
|
|
3073
|
+
}
|
|
3074
|
+
];
|
|
3075
|
+
};
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
"name": "authority";
|
|
3079
|
+
"writable": true;
|
|
3080
|
+
"signer": true;
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"name": "mint";
|
|
3084
|
+
}
|
|
3085
|
+
];
|
|
3086
|
+
"args": [];
|
|
3087
|
+
},
|
|
3088
|
+
{
|
|
3089
|
+
"name": "resolveRefute";
|
|
3090
|
+
"discriminator": [
|
|
3091
|
+
239,
|
|
3092
|
+
109,
|
|
3093
|
+
229,
|
|
3094
|
+
193,
|
|
3095
|
+
192,
|
|
3096
|
+
164,
|
|
3097
|
+
8,
|
|
3098
|
+
171
|
|
3099
|
+
];
|
|
3100
|
+
"accounts": [
|
|
3101
|
+
{
|
|
3102
|
+
"name": "authority";
|
|
3103
|
+
"writable": true;
|
|
3104
|
+
"signer": true;
|
|
3105
|
+
},
|
|
3106
|
+
{
|
|
3107
|
+
"name": "market";
|
|
3108
|
+
"writable": true;
|
|
3109
|
+
"pda": {
|
|
3110
|
+
"seeds": [
|
|
3111
|
+
{
|
|
3112
|
+
"kind": "const";
|
|
3113
|
+
"value": [
|
|
3114
|
+
109,
|
|
3115
|
+
97,
|
|
3116
|
+
114,
|
|
3117
|
+
107,
|
|
3118
|
+
101,
|
|
3119
|
+
116
|
|
3120
|
+
];
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"kind": "account";
|
|
3124
|
+
"path": "market.creator";
|
|
3125
|
+
"account": "market";
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"kind": "arg";
|
|
3129
|
+
"path": "args.market_id";
|
|
3130
|
+
}
|
|
3131
|
+
];
|
|
3132
|
+
};
|
|
3133
|
+
},
|
|
3134
|
+
{
|
|
3135
|
+
"name": "resolutionState";
|
|
3136
|
+
"writable": true;
|
|
3137
|
+
"pda": {
|
|
3138
|
+
"seeds": [
|
|
3139
|
+
{
|
|
3140
|
+
"kind": "account";
|
|
3141
|
+
"path": "market";
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"kind": "const";
|
|
3145
|
+
"value": [
|
|
3146
|
+
114,
|
|
3147
|
+
101,
|
|
3148
|
+
115,
|
|
3149
|
+
111,
|
|
3150
|
+
108,
|
|
3151
|
+
117,
|
|
3152
|
+
116,
|
|
3153
|
+
105,
|
|
3154
|
+
111,
|
|
3155
|
+
110
|
|
3156
|
+
];
|
|
3157
|
+
}
|
|
3158
|
+
];
|
|
3159
|
+
};
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"name": "resolverStakeVault";
|
|
3163
|
+
"writable": true;
|
|
3164
|
+
"pda": {
|
|
3165
|
+
"seeds": [
|
|
3166
|
+
{
|
|
3167
|
+
"kind": "account";
|
|
3168
|
+
"path": "market";
|
|
3169
|
+
},
|
|
3170
|
+
{
|
|
3171
|
+
"kind": "const";
|
|
3172
|
+
"value": [
|
|
3173
|
+
114,
|
|
3174
|
+
101,
|
|
3175
|
+
115,
|
|
3176
|
+
45,
|
|
3177
|
+
115,
|
|
3178
|
+
116,
|
|
3179
|
+
97,
|
|
3180
|
+
107,
|
|
3181
|
+
101,
|
|
3182
|
+
45,
|
|
3183
|
+
118,
|
|
3184
|
+
97,
|
|
3185
|
+
117,
|
|
3186
|
+
108,
|
|
3187
|
+
116
|
|
3188
|
+
];
|
|
3189
|
+
}
|
|
3190
|
+
];
|
|
3191
|
+
};
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"name": "collateralMint";
|
|
3195
|
+
},
|
|
3196
|
+
{
|
|
3197
|
+
"name": "globalConfig";
|
|
2379
3198
|
"pda": {
|
|
2380
3199
|
"seeds": [
|
|
2381
3200
|
{
|
|
@@ -2401,7 +3220,6 @@ export type Vercora = {
|
|
|
2401
3220
|
},
|
|
2402
3221
|
{
|
|
2403
3222
|
"name": "platformRegistry";
|
|
2404
|
-
"writable": true;
|
|
2405
3223
|
"pda": {
|
|
2406
3224
|
"seeds": [
|
|
2407
3225
|
{
|
|
@@ -2419,16 +3237,21 @@ export type Vercora = {
|
|
|
2419
3237
|
},
|
|
2420
3238
|
{
|
|
2421
3239
|
"kind": "account";
|
|
2422
|
-
"path": "
|
|
2423
|
-
"account": "
|
|
3240
|
+
"path": "market.platform_id";
|
|
3241
|
+
"account": "market";
|
|
2424
3242
|
}
|
|
2425
3243
|
];
|
|
2426
3244
|
};
|
|
2427
3245
|
},
|
|
2428
3246
|
{
|
|
2429
|
-
"name": "
|
|
3247
|
+
"name": "platformTreasuryWallet";
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"name": "platformTreasuryAta";
|
|
2430
3251
|
"writable": true;
|
|
2431
|
-
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"name": "collateralTokenProgram";
|
|
2432
3255
|
},
|
|
2433
3256
|
{
|
|
2434
3257
|
"name": "systemProgram";
|
|
@@ -2437,135 +3260,127 @@ export type Vercora = {
|
|
|
2437
3260
|
];
|
|
2438
3261
|
"args": [
|
|
2439
3262
|
{
|
|
2440
|
-
"name": "
|
|
2441
|
-
"type":
|
|
3263
|
+
"name": "args";
|
|
3264
|
+
"type": {
|
|
3265
|
+
"defined": {
|
|
3266
|
+
"name": "resolveRefuteArgs";
|
|
3267
|
+
};
|
|
3268
|
+
};
|
|
2442
3269
|
}
|
|
2443
3270
|
];
|
|
2444
3271
|
},
|
|
2445
3272
|
{
|
|
2446
|
-
"name": "
|
|
3273
|
+
"name": "revokeResolutionVote";
|
|
2447
3274
|
"discriminator": [
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
3275
|
+
128,
|
|
3276
|
+
185,
|
|
3277
|
+
253,
|
|
3278
|
+
225,
|
|
3279
|
+
238,
|
|
3280
|
+
21,
|
|
3281
|
+
110,
|
|
3282
|
+
20
|
|
2456
3283
|
];
|
|
2457
3284
|
"accounts": [
|
|
2458
3285
|
{
|
|
2459
|
-
"name": "
|
|
3286
|
+
"name": "resolverSigner";
|
|
3287
|
+
"writable": true;
|
|
3288
|
+
"signer": true;
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
"name": "market";
|
|
2460
3292
|
"writable": true;
|
|
2461
3293
|
"pda": {
|
|
2462
3294
|
"seeds": [
|
|
2463
3295
|
{
|
|
2464
3296
|
"kind": "const";
|
|
2465
3297
|
"value": [
|
|
3298
|
+
109,
|
|
2466
3299
|
97,
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
111,
|
|
2470
|
-
119,
|
|
3300
|
+
114,
|
|
3301
|
+
107,
|
|
2471
3302
|
101,
|
|
2472
|
-
100,
|
|
2473
|
-
45,
|
|
2474
|
-
109,
|
|
2475
|
-
105,
|
|
2476
|
-
110,
|
|
2477
3303
|
116
|
|
2478
3304
|
];
|
|
2479
3305
|
},
|
|
2480
3306
|
{
|
|
2481
3307
|
"kind": "account";
|
|
2482
|
-
"path": "
|
|
3308
|
+
"path": "market.creator";
|
|
3309
|
+
"account": "market";
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"kind": "arg";
|
|
3313
|
+
"path": "args.market_id";
|
|
2483
3314
|
}
|
|
2484
3315
|
];
|
|
2485
3316
|
};
|
|
2486
3317
|
},
|
|
2487
3318
|
{
|
|
2488
|
-
"name": "
|
|
3319
|
+
"name": "resolutionState";
|
|
3320
|
+
"writable": true;
|
|
2489
3321
|
"pda": {
|
|
2490
3322
|
"seeds": [
|
|
3323
|
+
{
|
|
3324
|
+
"kind": "account";
|
|
3325
|
+
"path": "market";
|
|
3326
|
+
},
|
|
2491
3327
|
{
|
|
2492
3328
|
"kind": "const";
|
|
2493
3329
|
"value": [
|
|
2494
|
-
|
|
2495
|
-
|
|
3330
|
+
114,
|
|
3331
|
+
101,
|
|
3332
|
+
115,
|
|
2496
3333
|
111,
|
|
2497
|
-
98,
|
|
2498
|
-
97,
|
|
2499
3334
|
108,
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
111,
|
|
2503
|
-
110,
|
|
2504
|
-
102,
|
|
3335
|
+
117,
|
|
3336
|
+
116,
|
|
2505
3337
|
105,
|
|
2506
|
-
|
|
3338
|
+
111,
|
|
3339
|
+
110
|
|
2507
3340
|
];
|
|
2508
3341
|
}
|
|
2509
3342
|
];
|
|
2510
3343
|
};
|
|
2511
3344
|
},
|
|
2512
3345
|
{
|
|
2513
|
-
"name": "
|
|
2514
|
-
"writable": true;
|
|
2515
|
-
"signer": true;
|
|
2516
|
-
},
|
|
2517
|
-
{
|
|
2518
|
-
"name": "mint";
|
|
2519
|
-
}
|
|
2520
|
-
];
|
|
2521
|
-
"args": [];
|
|
2522
|
-
},
|
|
2523
|
-
{
|
|
2524
|
-
"name": "revokeResolutionVote";
|
|
2525
|
-
"discriminator": [
|
|
2526
|
-
128,
|
|
2527
|
-
185,
|
|
2528
|
-
253,
|
|
2529
|
-
225,
|
|
2530
|
-
238,
|
|
2531
|
-
21,
|
|
2532
|
-
110,
|
|
2533
|
-
20
|
|
2534
|
-
];
|
|
2535
|
-
"accounts": [
|
|
2536
|
-
{
|
|
2537
|
-
"name": "resolverSigner";
|
|
2538
|
-
"writable": true;
|
|
2539
|
-
"signer": true;
|
|
2540
|
-
},
|
|
2541
|
-
{
|
|
2542
|
-
"name": "market";
|
|
3346
|
+
"name": "resolverStakeVault";
|
|
2543
3347
|
"writable": true;
|
|
2544
3348
|
"pda": {
|
|
2545
3349
|
"seeds": [
|
|
3350
|
+
{
|
|
3351
|
+
"kind": "account";
|
|
3352
|
+
"path": "market";
|
|
3353
|
+
},
|
|
2546
3354
|
{
|
|
2547
3355
|
"kind": "const";
|
|
2548
3356
|
"value": [
|
|
2549
|
-
109,
|
|
2550
|
-
97,
|
|
2551
3357
|
114,
|
|
3358
|
+
101,
|
|
3359
|
+
115,
|
|
3360
|
+
45,
|
|
3361
|
+
115,
|
|
3362
|
+
116,
|
|
3363
|
+
97,
|
|
2552
3364
|
107,
|
|
2553
3365
|
101,
|
|
3366
|
+
45,
|
|
3367
|
+
118,
|
|
3368
|
+
97,
|
|
3369
|
+
117,
|
|
3370
|
+
108,
|
|
2554
3371
|
116
|
|
2555
3372
|
];
|
|
2556
|
-
},
|
|
2557
|
-
{
|
|
2558
|
-
"kind": "account";
|
|
2559
|
-
"path": "market.creator";
|
|
2560
|
-
"account": "market";
|
|
2561
|
-
},
|
|
2562
|
-
{
|
|
2563
|
-
"kind": "arg";
|
|
2564
|
-
"path": "args.market_id";
|
|
2565
3373
|
}
|
|
2566
3374
|
];
|
|
2567
3375
|
};
|
|
2568
3376
|
},
|
|
3377
|
+
{
|
|
3378
|
+
"name": "collateralMint";
|
|
3379
|
+
},
|
|
3380
|
+
{
|
|
3381
|
+
"name": "resolverUserCollateral";
|
|
3382
|
+
"writable": true;
|
|
3383
|
+
},
|
|
2569
3384
|
{
|
|
2570
3385
|
"name": "resolver";
|
|
2571
3386
|
},
|
|
@@ -2576,6 +3391,9 @@ export type Vercora = {
|
|
|
2576
3391
|
{
|
|
2577
3392
|
"name": "marketOutcome";
|
|
2578
3393
|
"writable": true;
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
"name": "collateralTokenProgram";
|
|
2579
3397
|
}
|
|
2580
3398
|
];
|
|
2581
3399
|
"args": [
|
|
@@ -2663,6 +3481,10 @@ export type Vercora = {
|
|
|
2663
3481
|
{
|
|
2664
3482
|
"name": "parimutuelWithdrawPlatformFeeBps";
|
|
2665
3483
|
"type": "u16";
|
|
3484
|
+
},
|
|
3485
|
+
{
|
|
3486
|
+
"name": "disputeResolutionAuthority";
|
|
3487
|
+
"type": "pubkey";
|
|
2666
3488
|
}
|
|
2667
3489
|
];
|
|
2668
3490
|
},
|
|
@@ -2941,6 +3763,14 @@ export type Vercora = {
|
|
|
2941
3763
|
{
|
|
2942
3764
|
"name": "url";
|
|
2943
3765
|
"type": "string";
|
|
3766
|
+
},
|
|
3767
|
+
{
|
|
3768
|
+
"name": "policy";
|
|
3769
|
+
"type": {
|
|
3770
|
+
"defined": {
|
|
3771
|
+
"name": "platformResolutionPolicyInput";
|
|
3772
|
+
};
|
|
3773
|
+
};
|
|
2944
3774
|
}
|
|
2945
3775
|
];
|
|
2946
3776
|
},
|
|
@@ -3330,19 +4160,118 @@ export type Vercora = {
|
|
|
3330
4160
|
101,
|
|
3331
4161
|
116
|
|
3332
4162
|
];
|
|
3333
|
-
},
|
|
3334
|
-
{
|
|
3335
|
-
"kind": "account";
|
|
3336
|
-
"path": "market.creator";
|
|
3337
|
-
"account": "market";
|
|
3338
|
-
},
|
|
3339
|
-
{
|
|
3340
|
-
"kind": "arg";
|
|
3341
|
-
"path": "args.market_id";
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
"kind": "account";
|
|
4166
|
+
"path": "market.creator";
|
|
4167
|
+
"account": "market";
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
"kind": "arg";
|
|
4171
|
+
"path": "args.market_id";
|
|
4172
|
+
}
|
|
4173
|
+
];
|
|
4174
|
+
};
|
|
4175
|
+
},
|
|
4176
|
+
{
|
|
4177
|
+
"name": "platformProfile";
|
|
4178
|
+
"pda": {
|
|
4179
|
+
"seeds": [
|
|
4180
|
+
{
|
|
4181
|
+
"kind": "const";
|
|
4182
|
+
"value": [
|
|
4183
|
+
112,
|
|
4184
|
+
108,
|
|
4185
|
+
97,
|
|
4186
|
+
116,
|
|
4187
|
+
102,
|
|
4188
|
+
111,
|
|
4189
|
+
114,
|
|
4190
|
+
109,
|
|
4191
|
+
45,
|
|
4192
|
+
112,
|
|
4193
|
+
114,
|
|
4194
|
+
111,
|
|
4195
|
+
102,
|
|
4196
|
+
105,
|
|
4197
|
+
108,
|
|
4198
|
+
101
|
|
4199
|
+
];
|
|
4200
|
+
},
|
|
4201
|
+
{
|
|
4202
|
+
"kind": "account";
|
|
4203
|
+
"path": "market.platform_id";
|
|
4204
|
+
"account": "market";
|
|
4205
|
+
}
|
|
4206
|
+
];
|
|
4207
|
+
};
|
|
4208
|
+
},
|
|
4209
|
+
{
|
|
4210
|
+
"name": "resolutionState";
|
|
4211
|
+
"writable": true;
|
|
4212
|
+
"pda": {
|
|
4213
|
+
"seeds": [
|
|
4214
|
+
{
|
|
4215
|
+
"kind": "account";
|
|
4216
|
+
"path": "market";
|
|
4217
|
+
},
|
|
4218
|
+
{
|
|
4219
|
+
"kind": "const";
|
|
4220
|
+
"value": [
|
|
4221
|
+
114,
|
|
4222
|
+
101,
|
|
4223
|
+
115,
|
|
4224
|
+
111,
|
|
4225
|
+
108,
|
|
4226
|
+
117,
|
|
4227
|
+
116,
|
|
4228
|
+
105,
|
|
4229
|
+
111,
|
|
4230
|
+
110
|
|
4231
|
+
];
|
|
4232
|
+
}
|
|
4233
|
+
];
|
|
4234
|
+
};
|
|
4235
|
+
},
|
|
4236
|
+
{
|
|
4237
|
+
"name": "resolverStakeVault";
|
|
4238
|
+
"writable": true;
|
|
4239
|
+
"pda": {
|
|
4240
|
+
"seeds": [
|
|
4241
|
+
{
|
|
4242
|
+
"kind": "account";
|
|
4243
|
+
"path": "market";
|
|
4244
|
+
},
|
|
4245
|
+
{
|
|
4246
|
+
"kind": "const";
|
|
4247
|
+
"value": [
|
|
4248
|
+
114,
|
|
4249
|
+
101,
|
|
4250
|
+
115,
|
|
4251
|
+
45,
|
|
4252
|
+
115,
|
|
4253
|
+
116,
|
|
4254
|
+
97,
|
|
4255
|
+
107,
|
|
4256
|
+
101,
|
|
4257
|
+
45,
|
|
4258
|
+
118,
|
|
4259
|
+
97,
|
|
4260
|
+
117,
|
|
4261
|
+
108,
|
|
4262
|
+
116
|
|
4263
|
+
];
|
|
3342
4264
|
}
|
|
3343
4265
|
];
|
|
3344
4266
|
};
|
|
3345
4267
|
},
|
|
4268
|
+
{
|
|
4269
|
+
"name": "collateralMint";
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
"name": "resolverUserCollateral";
|
|
4273
|
+
"writable": true;
|
|
4274
|
+
},
|
|
3346
4275
|
{
|
|
3347
4276
|
"name": "resolver";
|
|
3348
4277
|
},
|
|
@@ -3357,6 +4286,9 @@ export type Vercora = {
|
|
|
3357
4286
|
];
|
|
3358
4287
|
"writable": true;
|
|
3359
4288
|
},
|
|
4289
|
+
{
|
|
4290
|
+
"name": "collateralTokenProgram";
|
|
4291
|
+
},
|
|
3360
4292
|
{
|
|
3361
4293
|
"name": "systemProgram";
|
|
3362
4294
|
"address": "11111111111111111111111111111111";
|
|
@@ -3492,6 +4424,19 @@ export type Vercora = {
|
|
|
3492
4424
|
174
|
|
3493
4425
|
];
|
|
3494
4426
|
},
|
|
4427
|
+
{
|
|
4428
|
+
"name": "resolutionState";
|
|
4429
|
+
"discriminator": [
|
|
4430
|
+
79,
|
|
4431
|
+
128,
|
|
4432
|
+
50,
|
|
4433
|
+
21,
|
|
4434
|
+
72,
|
|
4435
|
+
199,
|
|
4436
|
+
254,
|
|
4437
|
+
128
|
|
4438
|
+
];
|
|
4439
|
+
},
|
|
3495
4440
|
{
|
|
3496
4441
|
"name": "resolutionVote";
|
|
3497
4442
|
"discriminator": [
|
|
@@ -3782,6 +4727,86 @@ export type Vercora = {
|
|
|
3782
4727
|
"code": 6049;
|
|
3783
4728
|
"name": "voidedSurplusOutcomePoolsNotZero";
|
|
3784
4729
|
"msg": "Cannot claim voided surplus while pari outcome pools are non-zero";
|
|
4730
|
+
},
|
|
4731
|
+
{
|
|
4732
|
+
"code": 6050;
|
|
4733
|
+
"name": "walletOutcomeInvestmentCapExceeded";
|
|
4734
|
+
"msg": "Stake would exceed max_wallet_outcome_investment for this wallet on this outcome";
|
|
4735
|
+
},
|
|
4736
|
+
{
|
|
4737
|
+
"code": 6051;
|
|
4738
|
+
"name": "invalidWalletOutcomeStakeExactConfig";
|
|
4739
|
+
"msg": "is_wallet_outcome_stake_exact requires parimutuel market and max_wallet_outcome_investment > 0";
|
|
4740
|
+
},
|
|
4741
|
+
{
|
|
4742
|
+
"code": 6052;
|
|
4743
|
+
"name": "walletOutcomeExactStakeMismatch";
|
|
4744
|
+
"msg": "Stake net must bring active_stake to exactly max_wallet_outcome_investment when exact mode is enabled";
|
|
4745
|
+
},
|
|
4746
|
+
{
|
|
4747
|
+
"code": 6053;
|
|
4748
|
+
"name": "platformRequired";
|
|
4749
|
+
"msg": "A registered platform is required — platform_id must be non-zero";
|
|
4750
|
+
},
|
|
4751
|
+
{
|
|
4752
|
+
"code": 6054;
|
|
4753
|
+
"name": "resolutionPolicyOutOfBounds";
|
|
4754
|
+
"msg": "Resolution policy values are outside the platform profile bounds";
|
|
4755
|
+
},
|
|
4756
|
+
{
|
|
4757
|
+
"code": 6055;
|
|
4758
|
+
"name": "cannotRevokeAfterProposal";
|
|
4759
|
+
"msg": "Cannot revoke a resolution vote after a proposal exists";
|
|
4760
|
+
},
|
|
4761
|
+
{
|
|
4762
|
+
"code": 6056;
|
|
4763
|
+
"name": "cannotVoteAfterProposal";
|
|
4764
|
+
"msg": "Cannot vote after a proposal exists";
|
|
4765
|
+
},
|
|
4766
|
+
{
|
|
4767
|
+
"code": 6057;
|
|
4768
|
+
"name": "noProposalToRefute";
|
|
4769
|
+
"msg": "No proposed resolution to refute";
|
|
4770
|
+
},
|
|
4771
|
+
{
|
|
4772
|
+
"code": 6058;
|
|
4773
|
+
"name": "refuteWindowClosed";
|
|
4774
|
+
"msg": "Refute window has closed";
|
|
4775
|
+
},
|
|
4776
|
+
{
|
|
4777
|
+
"code": 6059;
|
|
4778
|
+
"name": "disputeAlreadyOpen";
|
|
4779
|
+
"msg": "A dispute is already open for this market";
|
|
4780
|
+
},
|
|
4781
|
+
{
|
|
4782
|
+
"code": 6060;
|
|
4783
|
+
"name": "noOpenDispute";
|
|
4784
|
+
"msg": "No open dispute";
|
|
4785
|
+
},
|
|
4786
|
+
{
|
|
4787
|
+
"code": 6061;
|
|
4788
|
+
"name": "notDisputeResolver";
|
|
4789
|
+
"msg": "Signer cannot resolve this dispute";
|
|
4790
|
+
},
|
|
4791
|
+
{
|
|
4792
|
+
"code": 6062;
|
|
4793
|
+
"name": "challengeWindowNotElapsed";
|
|
4794
|
+
"msg": "Challenge window has not elapsed";
|
|
4795
|
+
},
|
|
4796
|
+
{
|
|
4797
|
+
"code": 6063;
|
|
4798
|
+
"name": "resolverStakeAlreadyClaimed";
|
|
4799
|
+
"msg": "Resolver stake has already been claimed";
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
"code": 6064;
|
|
4803
|
+
"name": "resolverStakeZero";
|
|
4804
|
+
"msg": "Resolver stake amount must be non-zero for this market";
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"code": 6065;
|
|
4808
|
+
"name": "resolveDisputeFirst";
|
|
4809
|
+
"msg": "Cannot confirm resolution while a dispute is open";
|
|
3785
4810
|
}
|
|
3786
4811
|
];
|
|
3787
4812
|
"types": [
|
|
@@ -3831,6 +4856,22 @@ export type Vercora = {
|
|
|
3831
4856
|
];
|
|
3832
4857
|
};
|
|
3833
4858
|
},
|
|
4859
|
+
{
|
|
4860
|
+
"name": "claimResolverStakeArgs";
|
|
4861
|
+
"type": {
|
|
4862
|
+
"kind": "struct";
|
|
4863
|
+
"fields": [
|
|
4864
|
+
{
|
|
4865
|
+
"name": "marketId";
|
|
4866
|
+
"type": "u64";
|
|
4867
|
+
},
|
|
4868
|
+
{
|
|
4869
|
+
"name": "resolverIndex";
|
|
4870
|
+
"type": "u8";
|
|
4871
|
+
}
|
|
4872
|
+
];
|
|
4873
|
+
};
|
|
4874
|
+
},
|
|
3834
4875
|
{
|
|
3835
4876
|
"name": "claimVoidedParimutuelSurplusArgs";
|
|
3836
4877
|
"docs": [
|
|
@@ -3865,6 +4906,21 @@ export type Vercora = {
|
|
|
3865
4906
|
];
|
|
3866
4907
|
};
|
|
3867
4908
|
},
|
|
4909
|
+
{
|
|
4910
|
+
"name": "confirmResolutionArgs";
|
|
4911
|
+
"docs": [
|
|
4912
|
+
"Finalize the proposed outcome after the challenge window and when no dispute is open."
|
|
4913
|
+
];
|
|
4914
|
+
"type": {
|
|
4915
|
+
"kind": "struct";
|
|
4916
|
+
"fields": [
|
|
4917
|
+
{
|
|
4918
|
+
"name": "marketId";
|
|
4919
|
+
"type": "u64";
|
|
4920
|
+
}
|
|
4921
|
+
];
|
|
4922
|
+
};
|
|
4923
|
+
},
|
|
3868
4924
|
{
|
|
3869
4925
|
"name": "createMarketArgs";
|
|
3870
4926
|
"type": {
|
|
@@ -3911,6 +4967,13 @@ export type Vercora = {
|
|
|
3911
4967
|
];
|
|
3912
4968
|
"type": "u64";
|
|
3913
4969
|
},
|
|
4970
|
+
{
|
|
4971
|
+
"name": "maxWalletOutcomeInvestment";
|
|
4972
|
+
"docs": [
|
|
4973
|
+
"Pari-mutuel: max net stake per wallet per outcome (`0` = unlimited). Ignored for complete-set."
|
|
4974
|
+
];
|
|
4975
|
+
"type": "u64";
|
|
4976
|
+
},
|
|
3914
4977
|
{
|
|
3915
4978
|
"name": "title";
|
|
3916
4979
|
"docs": [
|
|
@@ -3932,7 +4995,7 @@ export type Vercora = {
|
|
|
3932
4995
|
{
|
|
3933
4996
|
"name": "platformId";
|
|
3934
4997
|
"docs": [
|
|
3935
|
-
"
|
|
4998
|
+
"Must be a registered platform (`> 0`)."
|
|
3936
4999
|
];
|
|
3937
5000
|
"type": "u32";
|
|
3938
5001
|
},
|
|
@@ -3949,6 +5012,13 @@ export type Vercora = {
|
|
|
3949
5012
|
"When `false`, pari-mutuel early `parimutuel_withdraw` is disabled. Ignored for complete-set markets."
|
|
3950
5013
|
];
|
|
3951
5014
|
"type": "bool";
|
|
5015
|
+
},
|
|
5016
|
+
{
|
|
5017
|
+
"name": "isWalletOutcomeStakeExact";
|
|
5018
|
+
"docs": [
|
|
5019
|
+
"Pari-mutuel: when `true`, `max_wallet_outcome_investment` is the exact net stake per wallet per outcome."
|
|
5020
|
+
];
|
|
5021
|
+
"type": "bool";
|
|
3952
5022
|
}
|
|
3953
5023
|
];
|
|
3954
5024
|
};
|
|
@@ -3956,8 +5026,8 @@ export type Vercora = {
|
|
|
3956
5026
|
{
|
|
3957
5027
|
"name": "finalizeResolutionArgs";
|
|
3958
5028
|
"docs": [
|
|
3959
|
-
"
|
|
3960
|
-
"Anyone can call. No-op if already resolved or threshold not met."
|
|
5029
|
+
"When M-of-N tallies meet threshold, record a **proposal** on `ResolutionState` (not final payout).",
|
|
5030
|
+
"Anyone can call. No-op if already resolved, proposal already set, or threshold not met."
|
|
3961
5031
|
];
|
|
3962
5032
|
"type": {
|
|
3963
5033
|
"kind": "struct";
|
|
@@ -4028,12 +5098,19 @@ export type Vercora = {
|
|
|
4028
5098
|
];
|
|
4029
5099
|
"type": "u16";
|
|
4030
5100
|
},
|
|
5101
|
+
{
|
|
5102
|
+
"name": "disputeResolutionAuthority";
|
|
5103
|
+
"docs": [
|
|
5104
|
+
"May **`resolve_refute`** with global scope. `Pubkey::default()` = use primary/secondary authority only."
|
|
5105
|
+
];
|
|
5106
|
+
"type": "pubkey";
|
|
5107
|
+
},
|
|
4031
5108
|
{
|
|
4032
5109
|
"name": "padding";
|
|
4033
5110
|
"type": {
|
|
4034
5111
|
"array": [
|
|
4035
5112
|
"u8",
|
|
4036
|
-
|
|
5113
|
+
8
|
|
4037
5114
|
];
|
|
4038
5115
|
};
|
|
4039
5116
|
}
|
|
@@ -4261,6 +5338,15 @@ export type Vercora = {
|
|
|
4261
5338
|
];
|
|
4262
5339
|
"type": "u64";
|
|
4263
5340
|
},
|
|
5341
|
+
{
|
|
5342
|
+
"name": "maxWalletOutcomeInvestment";
|
|
5343
|
+
"docs": [
|
|
5344
|
+
"Pari-mutuel only: per-wallet per-outcome **net** stake limit (base units), see `is_wallet_outcome_stake_exact`.",
|
|
5345
|
+
"`0` = unlimited. Enforced against `ParimutuelPosition.active_stake` for `(market, user, outcome)`.",
|
|
5346
|
+
"Ignored for complete-set markets."
|
|
5347
|
+
];
|
|
5348
|
+
"type": "u64";
|
|
5349
|
+
},
|
|
4264
5350
|
{
|
|
4265
5351
|
"name": "completeSetPerOutcomeOutstanding";
|
|
4266
5352
|
"docs": [
|
|
@@ -4283,6 +5369,15 @@ export type Vercora = {
|
|
|
4283
5369
|
];
|
|
4284
5370
|
"type": "bool";
|
|
4285
5371
|
},
|
|
5372
|
+
{
|
|
5373
|
+
"name": "isWalletOutcomeStakeExact";
|
|
5374
|
+
"docs": [
|
|
5375
|
+
"Pari-mutuel only: when `true`, `max_wallet_outcome_investment` is the **exact** net `active_stake` each wallet",
|
|
5376
|
+
"must reach on an outcome (each stake must make `active_stake == max_wallet_outcome_investment`; no partial progress).",
|
|
5377
|
+
"When `false`, that field is a **maximum** (`active_stake <= max_wallet_outcome_investment`). Ignored if wallet cap is `0`."
|
|
5378
|
+
];
|
|
5379
|
+
"type": "bool";
|
|
5380
|
+
},
|
|
4286
5381
|
{
|
|
4287
5382
|
"name": "padding";
|
|
4288
5383
|
"type": {
|
|
@@ -4421,6 +5516,29 @@ export type Vercora = {
|
|
|
4421
5516
|
];
|
|
4422
5517
|
};
|
|
4423
5518
|
},
|
|
5519
|
+
{
|
|
5520
|
+
"name": "openRefuteArgs";
|
|
5521
|
+
"type": {
|
|
5522
|
+
"kind": "struct";
|
|
5523
|
+
"fields": [
|
|
5524
|
+
{
|
|
5525
|
+
"name": "marketId";
|
|
5526
|
+
"type": "u64";
|
|
5527
|
+
},
|
|
5528
|
+
{
|
|
5529
|
+
"name": "refuteBondAmount";
|
|
5530
|
+
"type": "u64";
|
|
5531
|
+
},
|
|
5532
|
+
{
|
|
5533
|
+
"name": "disputedOutcome";
|
|
5534
|
+
"docs": [
|
|
5535
|
+
"Outcome the refuter claims should win instead (must differ from the proposal)."
|
|
5536
|
+
];
|
|
5537
|
+
"type": "u8";
|
|
5538
|
+
}
|
|
5539
|
+
];
|
|
5540
|
+
};
|
|
5541
|
+
},
|
|
4424
5542
|
{
|
|
4425
5543
|
"name": "parimutuelClaimArgs";
|
|
4426
5544
|
"type": {
|
|
@@ -4624,7 +5742,10 @@ export type Vercora = {
|
|
|
4624
5742
|
"docs": [
|
|
4625
5743
|
"Site / partner metadata for a registered `platform_id` (from `register_platform`).",
|
|
4626
5744
|
"PDA seeds: `[b\"platform-profile\", platform_id.to_le_bytes()]`.",
|
|
4627
|
-
"Upserted/closed by `profile_authority` on [`PlatformRegistry`](super::platform_registry::PlatformRegistry); `verified` set by global authority in `verify_platform_profile`."
|
|
5745
|
+
"Upserted/closed by `profile_authority` on [`PlatformRegistry`](super::platform_registry::PlatformRegistry); `verified` set by global authority in `verify_platform_profile`.",
|
|
5746
|
+
"",
|
|
5747
|
+
"**Resolution policy** (single values; collateral base units; challenge window in seconds):",
|
|
5748
|
+
"Used by all markets on this platform — no per-market overrides."
|
|
4628
5749
|
];
|
|
4629
5750
|
"type": {
|
|
4630
5751
|
"kind": "struct";
|
|
@@ -4645,13 +5766,25 @@ export type Vercora = {
|
|
|
4645
5766
|
"type": "bool";
|
|
4646
5767
|
},
|
|
4647
5768
|
{
|
|
4648
|
-
"name": "
|
|
4649
|
-
"
|
|
4650
|
-
"
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
5769
|
+
"name": "resolverStake";
|
|
5770
|
+
"docs": [
|
|
5771
|
+
"Resolver collateral escrowed per `vote_resolution` (base units)."
|
|
5772
|
+
];
|
|
5773
|
+
"type": "u64";
|
|
5774
|
+
},
|
|
5775
|
+
{
|
|
5776
|
+
"name": "challengeWindowSecs";
|
|
5777
|
+
"docs": [
|
|
5778
|
+
"Seconds after `finalize_resolution` before `confirm_resolution` is allowed (if no dispute)."
|
|
5779
|
+
];
|
|
5780
|
+
"type": "u32";
|
|
5781
|
+
},
|
|
5782
|
+
{
|
|
5783
|
+
"name": "refuteBond";
|
|
5784
|
+
"docs": [
|
|
5785
|
+
"Exact bond amount required for `open_refute` (base units)."
|
|
5786
|
+
];
|
|
5787
|
+
"type": "u64";
|
|
4655
5788
|
}
|
|
4656
5789
|
];
|
|
4657
5790
|
};
|
|
@@ -4703,6 +5836,26 @@ export type Vercora = {
|
|
|
4703
5836
|
];
|
|
4704
5837
|
};
|
|
4705
5838
|
},
|
|
5839
|
+
{
|
|
5840
|
+
"name": "platformResolutionPolicyInput";
|
|
5841
|
+
"type": {
|
|
5842
|
+
"kind": "struct";
|
|
5843
|
+
"fields": [
|
|
5844
|
+
{
|
|
5845
|
+
"name": "resolverStake";
|
|
5846
|
+
"type": "u64";
|
|
5847
|
+
},
|
|
5848
|
+
{
|
|
5849
|
+
"name": "challengeWindowSecs";
|
|
5850
|
+
"type": "u32";
|
|
5851
|
+
},
|
|
5852
|
+
{
|
|
5853
|
+
"name": "refuteBond";
|
|
5854
|
+
"type": "u64";
|
|
5855
|
+
}
|
|
5856
|
+
];
|
|
5857
|
+
};
|
|
5858
|
+
},
|
|
4706
5859
|
{
|
|
4707
5860
|
"name": "redeemCompleteSetArgs";
|
|
4708
5861
|
"type": {
|
|
@@ -4731,6 +5884,63 @@ export type Vercora = {
|
|
|
4731
5884
|
];
|
|
4732
5885
|
};
|
|
4733
5886
|
},
|
|
5887
|
+
{
|
|
5888
|
+
"name": "resolutionState";
|
|
5889
|
+
"docs": [
|
|
5890
|
+
"Per-market resolution lifecycle: proposal, optional dispute, timing.",
|
|
5891
|
+
"PDA seeds: `[market.key(), b\"resolution\"]`.",
|
|
5892
|
+
"Resolver stake amount and challenge window duration live on [`PlatformProfile`](super::platform_profile::PlatformProfile)."
|
|
5893
|
+
];
|
|
5894
|
+
"type": {
|
|
5895
|
+
"kind": "struct";
|
|
5896
|
+
"fields": [
|
|
5897
|
+
{
|
|
5898
|
+
"name": "proposedOutcome";
|
|
5899
|
+
"type": {
|
|
5900
|
+
"option": "u8";
|
|
5901
|
+
};
|
|
5902
|
+
},
|
|
5903
|
+
{
|
|
5904
|
+
"name": "proposalTs";
|
|
5905
|
+
"type": "i64";
|
|
5906
|
+
},
|
|
5907
|
+
{
|
|
5908
|
+
"name": "disputeActive";
|
|
5909
|
+
"type": "bool";
|
|
5910
|
+
},
|
|
5911
|
+
{
|
|
5912
|
+
"name": "disputer";
|
|
5913
|
+
"type": "pubkey";
|
|
5914
|
+
},
|
|
5915
|
+
{
|
|
5916
|
+
"name": "disputedOutcome";
|
|
5917
|
+
"type": {
|
|
5918
|
+
"option": "u8";
|
|
5919
|
+
};
|
|
5920
|
+
},
|
|
5921
|
+
{
|
|
5922
|
+
"name": "refuteBondAmount";
|
|
5923
|
+
"docs": [
|
|
5924
|
+
"Collateral locked by `open_refute` (base units)."
|
|
5925
|
+
];
|
|
5926
|
+
"type": "u64";
|
|
5927
|
+
},
|
|
5928
|
+
{
|
|
5929
|
+
"name": "bump";
|
|
5930
|
+
"type": "u8";
|
|
5931
|
+
},
|
|
5932
|
+
{
|
|
5933
|
+
"name": "padding";
|
|
5934
|
+
"type": {
|
|
5935
|
+
"array": [
|
|
5936
|
+
"u8",
|
|
5937
|
+
32
|
|
5938
|
+
];
|
|
5939
|
+
};
|
|
5940
|
+
}
|
|
5941
|
+
];
|
|
5942
|
+
};
|
|
5943
|
+
},
|
|
4734
5944
|
{
|
|
4735
5945
|
"name": "resolutionVote";
|
|
4736
5946
|
"docs": [
|
|
@@ -4749,18 +5959,47 @@ export type Vercora = {
|
|
|
4749
5959
|
"name": "outcomeIndex";
|
|
4750
5960
|
"type": "u8";
|
|
4751
5961
|
},
|
|
5962
|
+
{
|
|
5963
|
+
"name": "stakeAmount";
|
|
5964
|
+
"docs": [
|
|
5965
|
+
"Collateral staked with this vote (base units); set on vote, cleared on revoke."
|
|
5966
|
+
];
|
|
5967
|
+
"type": "u64";
|
|
5968
|
+
},
|
|
5969
|
+
{
|
|
5970
|
+
"name": "claimed";
|
|
5971
|
+
"docs": [
|
|
5972
|
+
"After final resolution, set by `claim_resolver_stake`."
|
|
5973
|
+
];
|
|
5974
|
+
"type": "bool";
|
|
5975
|
+
},
|
|
4752
5976
|
{
|
|
4753
5977
|
"name": "padding";
|
|
4754
5978
|
"type": {
|
|
4755
5979
|
"array": [
|
|
4756
5980
|
"u8",
|
|
4757
|
-
|
|
5981
|
+
31
|
|
4758
5982
|
];
|
|
4759
5983
|
};
|
|
4760
5984
|
}
|
|
4761
5985
|
];
|
|
4762
5986
|
};
|
|
4763
5987
|
},
|
|
5988
|
+
{
|
|
5989
|
+
"name": "resolveRefuteArgs";
|
|
5990
|
+
"docs": [
|
|
5991
|
+
"Dismiss an open refute: slash the refuter's bond to the platform treasury token account."
|
|
5992
|
+
];
|
|
5993
|
+
"type": {
|
|
5994
|
+
"kind": "struct";
|
|
5995
|
+
"fields": [
|
|
5996
|
+
{
|
|
5997
|
+
"name": "marketId";
|
|
5998
|
+
"type": "u64";
|
|
5999
|
+
}
|
|
6000
|
+
];
|
|
6001
|
+
};
|
|
6002
|
+
},
|
|
4764
6003
|
{
|
|
4765
6004
|
"name": "resolver";
|
|
4766
6005
|
"docs": [
|
|
@@ -4790,8 +6029,7 @@ export type Vercora = {
|
|
|
4790
6029
|
{
|
|
4791
6030
|
"name": "revokeResolutionVoteArgs";
|
|
4792
6031
|
"docs": [
|
|
4793
|
-
"Clears a resolver's active vote
|
|
4794
|
-
"sets `has_voted` false. `outcome_index` must match the stored vote."
|
|
6032
|
+
"Clears a resolver's active vote and refunds the staked collateral."
|
|
4795
6033
|
];
|
|
4796
6034
|
"type": {
|
|
4797
6035
|
"kind": "struct";
|
|
@@ -4817,8 +6055,8 @@ export type Vercora = {
|
|
|
4817
6055
|
{
|
|
4818
6056
|
"name": "updateParimutuelStateArgs";
|
|
4819
6057
|
"docs": [
|
|
4820
|
-
"Update the penalty parameters of a pari-mutuel pool
|
|
4821
|
-
"is allowed. Only the market creator can call this.",
|
|
6058
|
+
"Update the penalty parameters of a pari-mutuel pool, whether early `parimutuel_withdraw`",
|
|
6059
|
+
"is allowed, and per-wallet per-outcome stake rules (`Market`). Only the market creator can call this.",
|
|
4822
6060
|
"The market must not be resolved or voided (post-resolution withdrawals are impossible anyway,",
|
|
4823
6061
|
"but we guard here to keep state changes predictable)."
|
|
4824
6062
|
];
|
|
@@ -4850,6 +6088,20 @@ export type Vercora = {
|
|
|
4850
6088
|
"When `false`, `parimutuel_withdraw` is rejected until close or resolution."
|
|
4851
6089
|
];
|
|
4852
6090
|
"type": "bool";
|
|
6091
|
+
},
|
|
6092
|
+
{
|
|
6093
|
+
"name": "maxWalletOutcomeInvestment";
|
|
6094
|
+
"docs": [
|
|
6095
|
+
"Pari-mutuel: per-wallet per-outcome net stake cap / exact target (base units); `0` = no cap."
|
|
6096
|
+
];
|
|
6097
|
+
"type": "u64";
|
|
6098
|
+
},
|
|
6099
|
+
{
|
|
6100
|
+
"name": "isWalletOutcomeStakeExact";
|
|
6101
|
+
"docs": [
|
|
6102
|
+
"Pari-mutuel: when `true`, `max_wallet_outcome_investment` is the exact required net stake per wallet per outcome."
|
|
6103
|
+
];
|
|
6104
|
+
"type": "bool";
|
|
4853
6105
|
}
|
|
4854
6106
|
];
|
|
4855
6107
|
};
|
|
@@ -4926,9 +6178,8 @@ export type Vercora = {
|
|
|
4926
6178
|
{
|
|
4927
6179
|
"name": "voteResolutionArgs";
|
|
4928
6180
|
"docs": [
|
|
4929
|
-
"A resolver casts a vote for an outcome.
|
|
4930
|
-
"
|
|
4931
|
-
"The `MarketOutcome` PDA must exist (`initialize_market_outcome`)."
|
|
6181
|
+
"A resolver casts a vote for an outcome. Transfers `platform_profile.resolver_stake`",
|
|
6182
|
+
"collateral into `resolver_stake_vault`. Requires `has_voted == false`."
|
|
4932
6183
|
];
|
|
4933
6184
|
"type": {
|
|
4934
6185
|
"kind": "struct";
|