@triadxyz/triad-protocol 3.5.3-beta → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -617,678 +617,26 @@ export type TriadProtocol = {
617
617
  args: [];
618
618
  },
619
619
  {
620
- name: 'claimToken';
621
- discriminator: [116, 206, 27, 191, 166, 19, 0, 73];
622
- accounts: [
623
- {
624
- name: 'signer';
625
- writable: true;
626
- signer: true;
627
- },
628
- {
629
- name: 'payer';
630
- writable: true;
631
- signer: true;
632
- },
633
- {
634
- name: 'claimVault';
635
- writable: true;
636
- },
637
- {
638
- name: 'claimedUser';
639
- writable: true;
640
- pda: {
641
- seeds: [
642
- {
643
- kind: 'const';
644
- value: [99, 108, 97, 105, 109, 101, 100, 95, 117, 115, 101, 114];
645
- },
646
- {
647
- kind: 'account';
648
- path: 'claimVault';
649
- },
650
- {
651
- kind: 'account';
652
- path: 'signer';
653
- }
654
- ];
655
- };
656
- },
657
- {
658
- name: 'mint';
659
- writable: true;
660
- },
661
- {
662
- name: 'claimVaultAta';
663
- writable: true;
664
- pda: {
665
- seeds: [
666
- {
667
- kind: 'account';
668
- path: 'claimVault';
669
- },
670
- {
671
- kind: 'account';
672
- path: 'tokenProgram';
673
- },
674
- {
675
- kind: 'account';
676
- path: 'mint';
677
- }
678
- ];
679
- program: {
680
- kind: 'const';
681
- value: [
682
- 140,
683
- 151,
684
- 37,
685
- 143,
686
- 78,
687
- 36,
688
- 137,
689
- 241,
690
- 187,
691
- 61,
692
- 16,
693
- 41,
694
- 20,
695
- 142,
696
- 13,
697
- 131,
698
- 11,
699
- 90,
700
- 19,
701
- 153,
702
- 218,
703
- 255,
704
- 16,
705
- 132,
706
- 4,
707
- 142,
708
- 123,
709
- 216,
710
- 219,
711
- 233,
712
- 248,
713
- 89
714
- ];
715
- };
716
- };
717
- },
718
- {
719
- name: 'userAta';
720
- writable: true;
721
- pda: {
722
- seeds: [
723
- {
724
- kind: 'account';
725
- path: 'signer';
726
- },
727
- {
728
- kind: 'account';
729
- path: 'tokenProgram';
730
- },
731
- {
732
- kind: 'account';
733
- path: 'mint';
734
- }
735
- ];
736
- program: {
737
- kind: 'const';
738
- value: [
739
- 140,
740
- 151,
741
- 37,
742
- 143,
743
- 78,
744
- 36,
745
- 137,
746
- 241,
747
- 187,
748
- 61,
749
- 16,
750
- 41,
751
- 20,
752
- 142,
753
- 13,
754
- 131,
755
- 11,
756
- 90,
757
- 19,
758
- 153,
759
- 218,
760
- 255,
761
- 16,
762
- 132,
763
- 4,
764
- 142,
765
- 123,
766
- 216,
767
- 219,
768
- 233,
769
- 248,
770
- 89
771
- ];
772
- };
773
- };
774
- },
775
- {
776
- name: 'tokenProgram';
777
- },
778
- {
779
- name: 'associatedTokenProgram';
780
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
781
- },
782
- {
783
- name: 'systemProgram';
784
- address: '11111111111111111111111111111111';
785
- }
786
- ];
787
- args: [
788
- {
789
- name: 'args';
790
- type: {
791
- defined: {
792
- name: 'claimTokenArgs';
793
- };
794
- };
795
- }
796
- ];
797
- },
798
- {
799
- name: 'closeOrder';
800
- discriminator: [90, 103, 209, 28, 7, 63, 168, 4];
801
- accounts: [
802
- {
803
- name: 'signer';
804
- writable: true;
805
- signer: true;
806
- },
807
- {
808
- name: 'payer';
809
- writable: true;
810
- signer: true;
811
- },
812
- {
813
- name: 'squads';
814
- writable: true;
815
- address: 'Hk1r2NUL4LbUhx1agg1w44tyZiNr72mbeLsg6suF5MA4';
816
- },
817
- {
818
- name: 'market';
819
- writable: true;
820
- },
821
- {
822
- name: 'order';
823
- writable: true;
824
- },
825
- {
826
- name: 'mint';
827
- writable: true;
828
- },
829
- {
830
- name: 'userAta';
831
- writable: true;
832
- pda: {
833
- seeds: [
834
- {
835
- kind: 'account';
836
- path: 'signer';
837
- },
838
- {
839
- kind: 'account';
840
- path: 'tokenProgram';
841
- },
842
- {
843
- kind: 'account';
844
- path: 'mint';
845
- }
846
- ];
847
- program: {
848
- kind: 'const';
849
- value: [
850
- 140,
851
- 151,
852
- 37,
853
- 143,
854
- 78,
855
- 36,
856
- 137,
857
- 241,
858
- 187,
859
- 61,
860
- 16,
861
- 41,
862
- 20,
863
- 142,
864
- 13,
865
- 131,
866
- 11,
867
- 90,
868
- 19,
869
- 153,
870
- 218,
871
- 255,
872
- 16,
873
- 132,
874
- 4,
875
- 142,
876
- 123,
877
- 216,
878
- 219,
879
- 233,
880
- 248,
881
- 89
882
- ];
883
- };
884
- };
885
- },
886
- {
887
- name: 'marketVault';
888
- writable: true;
889
- pda: {
890
- seeds: [
891
- {
892
- kind: 'account';
893
- path: 'market';
894
- },
895
- {
896
- kind: 'account';
897
- path: 'tokenProgram';
898
- },
899
- {
900
- kind: 'account';
901
- path: 'mint';
902
- }
903
- ];
904
- program: {
905
- kind: 'const';
906
- value: [
907
- 140,
908
- 151,
909
- 37,
910
- 143,
911
- 78,
912
- 36,
913
- 137,
914
- 241,
915
- 187,
916
- 61,
917
- 16,
918
- 41,
919
- 20,
920
- 142,
921
- 13,
922
- 131,
923
- 11,
924
- 90,
925
- 19,
926
- 153,
927
- 218,
928
- 255,
929
- 16,
930
- 132,
931
- 4,
932
- 142,
933
- 123,
934
- 216,
935
- 219,
936
- 233,
937
- 248,
938
- 89
939
- ];
940
- };
941
- };
942
- },
943
- {
944
- name: 'tokenProgram';
945
- address: 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb';
946
- },
947
- {
948
- name: 'associatedTokenProgram';
949
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
950
- },
951
- {
952
- name: 'systemProgram';
953
- address: '11111111111111111111111111111111';
954
- }
955
- ];
956
- args: [
957
- {
958
- name: 'orderDirection';
959
- type: {
960
- defined: {
961
- name: 'orderDirection';
962
- };
963
- };
964
- }
965
- ];
966
- },
967
- {
968
- name: 'closeOrderBook';
969
- discriminator: [219, 134, 73, 219, 180, 7, 94, 206];
970
- accounts: [
971
- {
972
- name: 'signer';
973
- writable: true;
974
- signer: true;
975
- },
976
- {
977
- name: 'squads';
978
- writable: true;
979
- address: 'Hk1r2NUL4LbUhx1agg1w44tyZiNr72mbeLsg6suF5MA4';
980
- },
981
- {
982
- name: 'market';
983
- writable: true;
984
- },
985
- {
986
- name: 'orderBook';
987
- writable: true;
988
- },
989
- {
990
- name: 'systemProgram';
991
- address: '11111111111111111111111111111111';
992
- }
993
- ];
994
- args: [];
995
- },
996
- {
997
- name: 'collectMarketFee';
998
- discriminator: [139, 4, 96, 182, 216, 250, 122, 79];
999
- accounts: [
1000
- {
1001
- name: 'signer';
1002
- writable: true;
1003
- signer: true;
1004
- },
1005
- {
1006
- name: 'squads';
1007
- writable: true;
1008
- address: 'Hk1r2NUL4LbUhx1agg1w44tyZiNr72mbeLsg6suF5MA4';
1009
- },
1010
- {
1011
- name: 'market';
1012
- writable: true;
1013
- },
1014
- {
1015
- name: 'stakeVault';
1016
- writable: true;
1017
- pda: {
1018
- seeds: [
1019
- {
1020
- kind: 'const';
1021
- value: [115, 116, 97, 107, 101, 95, 118, 97, 117, 108, 116];
1022
- },
1023
- {
1024
- kind: 'const';
1025
- value: [
1026
- 84,
1027
- 114,
1028
- 105,
1029
- 97,
1030
- 100,
1031
- 32,
1032
- 83,
1033
- 104,
1034
- 97,
1035
- 114,
1036
- 101,
1037
- 32,
1038
- 49
1039
- ];
1040
- }
1041
- ];
1042
- };
1043
- },
1044
- {
1045
- name: 'customerFeeRecipient';
1046
- writable: true;
1047
- },
1048
- {
1049
- name: 'customer';
1050
- writable: true;
1051
- },
1052
- {
1053
- name: 'mint';
1054
- writable: true;
1055
- address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
1056
- },
1057
- {
1058
- name: 'marketAta';
1059
- writable: true;
1060
- pda: {
1061
- seeds: [
1062
- {
1063
- kind: 'account';
1064
- path: 'market';
1065
- },
1066
- {
1067
- kind: 'account';
1068
- path: 'tokenProgram';
1069
- },
1070
- {
1071
- kind: 'account';
1072
- path: 'mint';
1073
- }
1074
- ];
1075
- program: {
1076
- kind: 'const';
1077
- value: [
1078
- 140,
1079
- 151,
1080
- 37,
1081
- 143,
1082
- 78,
1083
- 36,
1084
- 137,
1085
- 241,
1086
- 187,
1087
- 61,
1088
- 16,
1089
- 41,
1090
- 20,
1091
- 142,
1092
- 13,
1093
- 131,
1094
- 11,
1095
- 90,
1096
- 19,
1097
- 153,
1098
- 218,
1099
- 255,
1100
- 16,
1101
- 132,
1102
- 4,
1103
- 142,
1104
- 123,
1105
- 216,
1106
- 219,
1107
- 233,
1108
- 248,
1109
- 89
1110
- ];
1111
- };
1112
- };
1113
- },
1114
- {
1115
- name: 'squadsAta';
1116
- writable: true;
1117
- pda: {
1118
- seeds: [
1119
- {
1120
- kind: 'account';
1121
- path: 'squads';
1122
- },
1123
- {
1124
- kind: 'account';
1125
- path: 'tokenProgram';
1126
- },
1127
- {
1128
- kind: 'account';
1129
- path: 'mint';
1130
- }
1131
- ];
1132
- program: {
1133
- kind: 'const';
1134
- value: [
1135
- 140,
1136
- 151,
1137
- 37,
1138
- 143,
1139
- 78,
1140
- 36,
1141
- 137,
1142
- 241,
1143
- 187,
1144
- 61,
1145
- 16,
1146
- 41,
1147
- 20,
1148
- 142,
1149
- 13,
1150
- 131,
1151
- 11,
1152
- 90,
1153
- 19,
1154
- 153,
1155
- 218,
1156
- 255,
1157
- 16,
1158
- 132,
1159
- 4,
1160
- 142,
1161
- 123,
1162
- 216,
1163
- 219,
1164
- 233,
1165
- 248,
1166
- 89
1167
- ];
1168
- };
1169
- };
1170
- },
1171
- {
1172
- name: 'customerFeeRecipientAta';
1173
- writable: true;
1174
- pda: {
1175
- seeds: [
1176
- {
1177
- kind: 'account';
1178
- path: 'customerFeeRecipient';
1179
- },
1180
- {
1181
- kind: 'account';
1182
- path: 'tokenProgram';
1183
- },
1184
- {
1185
- kind: 'account';
1186
- path: 'mint';
1187
- }
1188
- ];
1189
- program: {
1190
- kind: 'const';
1191
- value: [
1192
- 140,
1193
- 151,
1194
- 37,
1195
- 143,
1196
- 78,
1197
- 36,
1198
- 137,
1199
- 241,
1200
- 187,
1201
- 61,
1202
- 16,
1203
- 41,
1204
- 20,
1205
- 142,
1206
- 13,
1207
- 131,
1208
- 11,
1209
- 90,
1210
- 19,
1211
- 153,
1212
- 218,
1213
- 255,
1214
- 16,
1215
- 132,
1216
- 4,
1217
- 142,
1218
- 123,
1219
- 216,
1220
- 219,
1221
- 233,
1222
- 248,
1223
- 89
1224
- ];
1225
- };
1226
- };
1227
- },
1228
- {
1229
- name: 'stakeVaultAta';
1230
- writable: true;
1231
- pda: {
1232
- seeds: [
1233
- {
1234
- kind: 'account';
1235
- path: 'stakeVault';
1236
- },
1237
- {
1238
- kind: 'account';
1239
- path: 'tokenProgram';
1240
- },
1241
- {
1242
- kind: 'account';
1243
- path: 'mint';
1244
- }
1245
- ];
1246
- program: {
1247
- kind: 'const';
1248
- value: [
1249
- 140,
1250
- 151,
1251
- 37,
1252
- 143,
1253
- 78,
1254
- 36,
1255
- 137,
1256
- 241,
1257
- 187,
1258
- 61,
1259
- 16,
1260
- 41,
1261
- 20,
1262
- 142,
1263
- 13,
1264
- 131,
1265
- 11,
1266
- 90,
1267
- 19,
1268
- 153,
1269
- 218,
1270
- 255,
1271
- 16,
1272
- 132,
1273
- 4,
1274
- 142,
1275
- 123,
1276
- 216,
1277
- 219,
1278
- 233,
1279
- 248,
1280
- 89
1281
- ];
1282
- };
1283
- };
620
+ name: 'closeOrderBook';
621
+ discriminator: [219, 134, 73, 219, 180, 7, 94, 206];
622
+ accounts: [
623
+ {
624
+ name: 'signer';
625
+ writable: true;
626
+ signer: true;
1284
627
  },
1285
628
  {
1286
- name: 'tokenProgram';
1287
- address: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
629
+ name: 'squads';
630
+ writable: true;
631
+ address: 'Hk1r2NUL4LbUhx1agg1w44tyZiNr72mbeLsg6suF5MA4';
1288
632
  },
1289
633
  {
1290
- name: 'associatedTokenProgram';
1291
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
634
+ name: 'market';
635
+ writable: true;
636
+ },
637
+ {
638
+ name: 'orderBook';
639
+ writable: true;
1292
640
  },
1293
641
  {
1294
642
  name: 'systemProgram';
@@ -1298,87 +646,44 @@ export type TriadProtocol = {
1298
646
  args: [];
1299
647
  },
1300
648
  {
1301
- name: 'collectRemainingLiquidity';
1302
- discriminator: [153, 107, 201, 83, 183, 195, 59, 186];
649
+ name: 'collectMarketFee';
650
+ discriminator: [139, 4, 96, 182, 216, 250, 122, 79];
1303
651
  accounts: [
1304
652
  {
1305
653
  name: 'signer';
1306
654
  writable: true;
1307
655
  signer: true;
1308
656
  },
657
+ {
658
+ name: 'squads';
659
+ writable: true;
660
+ address: 'Hk1r2NUL4LbUhx1agg1w44tyZiNr72mbeLsg6suF5MA4';
661
+ },
1309
662
  {
1310
663
  name: 'market';
1311
664
  writable: true;
1312
665
  },
1313
666
  {
1314
- name: 'mint';
667
+ name: 'customerFeeRecipient';
1315
668
  writable: true;
1316
669
  },
1317
670
  {
1318
- name: 'marketAta';
671
+ name: 'customer';
1319
672
  writable: true;
1320
- pda: {
1321
- seeds: [
1322
- {
1323
- kind: 'account';
1324
- path: 'market';
1325
- },
1326
- {
1327
- kind: 'account';
1328
- path: 'tokenProgram';
1329
- },
1330
- {
1331
- kind: 'account';
1332
- path: 'mint';
1333
- }
1334
- ];
1335
- program: {
1336
- kind: 'const';
1337
- value: [
1338
- 140,
1339
- 151,
1340
- 37,
1341
- 143,
1342
- 78,
1343
- 36,
1344
- 137,
1345
- 241,
1346
- 187,
1347
- 61,
1348
- 16,
1349
- 41,
1350
- 20,
1351
- 142,
1352
- 13,
1353
- 131,
1354
- 11,
1355
- 90,
1356
- 19,
1357
- 153,
1358
- 218,
1359
- 255,
1360
- 16,
1361
- 132,
1362
- 4,
1363
- 142,
1364
- 123,
1365
- 216,
1366
- 219,
1367
- 233,
1368
- 248,
1369
- 89
1370
- ];
1371
- };
1372
- };
1373
673
  },
1374
674
  {
1375
- name: 'signerAta';
675
+ name: 'mint';
676
+ writable: true;
677
+ address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
678
+ },
679
+ {
680
+ name: 'marketAta';
1376
681
  writable: true;
1377
682
  pda: {
1378
683
  seeds: [
1379
684
  {
1380
685
  kind: 'account';
1381
- path: 'signer';
686
+ path: 'market';
1382
687
  },
1383
688
  {
1384
689
  kind: 'account';
@@ -1429,82 +734,13 @@ export type TriadProtocol = {
1429
734
  };
1430
735
  },
1431
736
  {
1432
- name: 'tokenProgram';
1433
- address: 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb';
1434
- },
1435
- {
1436
- name: 'associatedTokenProgram';
1437
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
1438
- },
1439
- {
1440
- name: 'systemProgram';
1441
- address: '11111111111111111111111111111111';
1442
- }
1443
- ];
1444
- args: [];
1445
- },
1446
- {
1447
- name: 'collectRoyalty';
1448
- discriminator: [189, 235, 7, 168, 255, 50, 30, 75];
1449
- accounts: [
1450
- {
1451
- name: 'signer';
1452
- writable: true;
1453
- signer: true;
1454
- },
1455
- {
1456
- name: 'poseidonFeeWallet';
1457
- writable: true;
1458
- address: '6fcSf6qfwPNR9AUUNC1UWYZDy5cQ4TzTb2aaipN2zFdq';
1459
- },
1460
- {
1461
- name: 'collection';
1462
- writable: true;
1463
- },
1464
- {
1465
- name: 'systemProgram';
1466
- address: '11111111111111111111111111111111';
1467
- }
1468
- ];
1469
- args: [];
1470
- },
1471
- {
1472
- name: 'createClaimVault';
1473
- discriminator: [16, 216, 88, 237, 77, 170, 154, 66];
1474
- accounts: [
1475
- {
1476
- name: 'signer';
1477
- writable: true;
1478
- signer: true;
1479
- },
1480
- {
1481
- name: 'claimVault';
1482
- writable: true;
1483
- pda: {
1484
- seeds: [
1485
- {
1486
- kind: 'const';
1487
- value: [99, 108, 97, 105, 109, 95, 118, 97, 117, 108, 116];
1488
- },
1489
- {
1490
- kind: 'arg';
1491
- path: 'args.name';
1492
- }
1493
- ];
1494
- };
1495
- },
1496
- {
1497
- name: 'mint';
1498
- writable: true;
1499
- },
1500
- {
1501
- name: 'signerAta';
737
+ name: 'squadsAta';
1502
738
  writable: true;
1503
739
  pda: {
1504
740
  seeds: [
1505
741
  {
1506
742
  kind: 'account';
1507
- path: 'signer';
743
+ path: 'squads';
1508
744
  },
1509
745
  {
1510
746
  kind: 'account';
@@ -1555,13 +791,13 @@ export type TriadProtocol = {
1555
791
  };
1556
792
  },
1557
793
  {
1558
- name: 'claimVaultAta';
794
+ name: 'customerFeeRecipientAta';
1559
795
  writable: true;
1560
796
  pda: {
1561
797
  seeds: [
1562
798
  {
1563
799
  kind: 'account';
1564
- path: 'claimVault';
800
+ path: 'customerFeeRecipient';
1565
801
  },
1566
802
  {
1567
803
  kind: 'account';
@@ -1613,6 +849,7 @@ export type TriadProtocol = {
1613
849
  },
1614
850
  {
1615
851
  name: 'tokenProgram';
852
+ address: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
1616
853
  },
1617
854
  {
1618
855
  name: 'associatedTokenProgram';
@@ -1623,16 +860,32 @@ export type TriadProtocol = {
1623
860
  address: '11111111111111111111111111111111';
1624
861
  }
1625
862
  ];
1626
- args: [
863
+ args: [];
864
+ },
865
+ {
866
+ name: 'collectRoyalty';
867
+ discriminator: [189, 235, 7, 168, 255, 50, 30, 75];
868
+ accounts: [
1627
869
  {
1628
- name: 'args';
1629
- type: {
1630
- defined: {
1631
- name: 'createClaimVaultArgs';
1632
- };
1633
- };
870
+ name: 'signer';
871
+ writable: true;
872
+ signer: true;
873
+ },
874
+ {
875
+ name: 'poseidonFeeWallet';
876
+ writable: true;
877
+ address: '6fcSf6qfwPNR9AUUNC1UWYZDy5cQ4TzTb2aaipN2zFdq';
878
+ },
879
+ {
880
+ name: 'collection';
881
+ writable: true;
882
+ },
883
+ {
884
+ name: 'systemProgram';
885
+ address: '11111111111111111111111111111111';
1634
886
  }
1635
887
  ];
888
+ args: [];
1636
889
  },
1637
890
  {
1638
891
  name: 'createCustomer';
@@ -1659,23 +912,6 @@ export type TriadProtocol = {
1659
912
  ];
1660
913
  };
1661
914
  },
1662
- {
1663
- name: 'stake';
1664
- writable: true;
1665
- optional: true;
1666
- pda: {
1667
- seeds: [
1668
- {
1669
- kind: 'const';
1670
- value: [115, 116, 97, 107, 101, 95, 118, 51];
1671
- },
1672
- {
1673
- kind: 'account';
1674
- path: 'signer';
1675
- }
1676
- ];
1677
- };
1678
- },
1679
915
  {
1680
916
  name: 'systemProgram';
1681
917
  address: '11111111111111111111111111111111';
@@ -1903,8 +1139,8 @@ export type TriadProtocol = {
1903
1139
  ];
1904
1140
  },
1905
1141
  {
1906
- name: 'marketAskOrder';
1907
- discriminator: [189, 66, 162, 254, 3, 85, 152, 54];
1142
+ name: 'createPredictor';
1143
+ discriminator: [53, 24, 4, 123, 101, 28, 27, 45];
1908
1144
  accounts: [
1909
1145
  {
1910
1146
  name: 'signer';
@@ -1917,32 +1153,100 @@ export type TriadProtocol = {
1917
1153
  signer: true;
1918
1154
  },
1919
1155
  {
1920
- name: 'market';
1156
+ name: 'predictor';
1157
+ writable: true;
1158
+ pda: {
1159
+ seeds: [
1160
+ {
1161
+ kind: 'const';
1162
+ value: [112, 114, 101, 100, 105, 99, 116, 111, 114];
1163
+ },
1164
+ {
1165
+ kind: 'account';
1166
+ path: 'signer';
1167
+ },
1168
+ {
1169
+ kind: 'arg';
1170
+ path: 'args.customer';
1171
+ }
1172
+ ];
1173
+ };
1174
+ },
1175
+ {
1176
+ name: 'systemProgram';
1177
+ address: '11111111111111111111111111111111';
1178
+ }
1179
+ ];
1180
+ args: [
1181
+ {
1182
+ name: 'args';
1183
+ type: {
1184
+ defined: {
1185
+ name: 'createPredictorArgs';
1186
+ };
1187
+ };
1188
+ }
1189
+ ];
1190
+ },
1191
+ {
1192
+ name: 'deposit';
1193
+ discriminator: [242, 35, 198, 137, 82, 225, 242, 182];
1194
+ accounts: [
1195
+ {
1196
+ name: 'signer';
1921
1197
  writable: true;
1198
+ signer: true;
1922
1199
  },
1923
1200
  {
1924
- name: 'orderBook';
1201
+ name: 'payer';
1925
1202
  writable: true;
1203
+ signer: true;
1926
1204
  },
1927
1205
  {
1928
- name: 'askOrder';
1206
+ name: 'central';
1929
1207
  writable: true;
1208
+ pda: {
1209
+ seeds: [
1210
+ {
1211
+ kind: 'const';
1212
+ value: [99, 101, 110, 116, 114, 97, 108];
1213
+ },
1214
+ {
1215
+ kind: 'const';
1216
+ value: [
1217
+ 116,
1218
+ 114,
1219
+ 105,
1220
+ 97,
1221
+ 100,
1222
+ 109,
1223
+ 97,
1224
+ 114,
1225
+ 107,
1226
+ 101,
1227
+ 116,
1228
+ 115
1229
+ ];
1230
+ }
1231
+ ];
1232
+ };
1930
1233
  },
1931
1234
  {
1932
- name: 'bidOrder';
1235
+ name: 'predictor';
1933
1236
  writable: true;
1934
1237
  },
1935
1238
  {
1936
- name: 'buyerAuthority';
1239
+ name: 'usdcMint';
1937
1240
  writable: true;
1241
+ address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
1938
1242
  },
1939
1243
  {
1940
- name: 'mint';
1244
+ name: 'usdtmMint';
1941
1245
  writable: true;
1942
- address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
1246
+ address: '75wzVU6j9U6oZVJjQYLtiN7Z5Ah97it1UyWZN29HgE4m';
1943
1247
  },
1944
1248
  {
1945
- name: 'sellerAta';
1249
+ name: 'userAta';
1946
1250
  writable: true;
1947
1251
  pda: {
1948
1252
  seeds: [
@@ -1956,7 +1260,7 @@ export type TriadProtocol = {
1956
1260
  },
1957
1261
  {
1958
1262
  kind: 'account';
1959
- path: 'mint';
1263
+ path: 'usdcMint';
1960
1264
  }
1961
1265
  ];
1962
1266
  program: {
@@ -1999,80 +1303,13 @@ export type TriadProtocol = {
1999
1303
  };
2000
1304
  },
2001
1305
  {
2002
- name: 'marketAta';
2003
- writable: true;
2004
- },
2005
- {
2006
- name: 'tokenProgram';
2007
- address: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
2008
- },
2009
- {
2010
- name: 'associatedTokenProgram';
2011
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
2012
- },
2013
- {
2014
- name: 'systemProgram';
2015
- address: '11111111111111111111111111111111';
2016
- }
2017
- ];
2018
- args: [
2019
- {
2020
- name: 'args';
2021
- type: {
2022
- defined: {
2023
- name: 'marketAskOrderArgs';
2024
- };
2025
- };
2026
- }
2027
- ];
2028
- },
2029
- {
2030
- name: 'marketBidOrder';
2031
- discriminator: [145, 89, 7, 166, 85, 59, 48, 149];
2032
- accounts: [
2033
- {
2034
- name: 'signer';
2035
- writable: true;
2036
- signer: true;
2037
- },
2038
- {
2039
- name: 'payer';
2040
- writable: true;
2041
- signer: true;
2042
- },
2043
- {
2044
- name: 'market';
2045
- writable: true;
2046
- },
2047
- {
2048
- name: 'orderBook';
2049
- writable: true;
2050
- },
2051
- {
2052
- name: 'order';
2053
- writable: true;
2054
- },
2055
- {
2056
- name: 'oppositeOrder';
2057
- writable: true;
2058
- },
2059
- {
2060
- name: 'bookOrderAskAuthority';
2061
- writable: true;
2062
- },
2063
- {
2064
- name: 'mint';
2065
- writable: true;
2066
- address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
2067
- },
2068
- {
2069
- name: 'buyerAta';
1306
+ name: 'predictorAta';
2070
1307
  writable: true;
2071
1308
  pda: {
2072
1309
  seeds: [
2073
1310
  {
2074
1311
  kind: 'account';
2075
- path: 'signer';
1312
+ path: 'predictor';
2076
1313
  },
2077
1314
  {
2078
1315
  kind: 'account';
@@ -2080,7 +1317,7 @@ export type TriadProtocol = {
2080
1317
  },
2081
1318
  {
2082
1319
  kind: 'account';
2083
- path: 'mint';
1320
+ path: 'usdtmMint';
2084
1321
  }
2085
1322
  ];
2086
1323
  program: {
@@ -2123,13 +1360,13 @@ export type TriadProtocol = {
2123
1360
  };
2124
1361
  },
2125
1362
  {
2126
- name: 'sellerAta';
1363
+ name: 'centralAta';
2127
1364
  writable: true;
2128
1365
  pda: {
2129
1366
  seeds: [
2130
1367
  {
2131
1368
  kind: 'account';
2132
- path: 'bookOrderAskAuthority';
1369
+ path: 'central';
2133
1370
  },
2134
1371
  {
2135
1372
  kind: 'account';
@@ -2137,7 +1374,7 @@ export type TriadProtocol = {
2137
1374
  },
2138
1375
  {
2139
1376
  kind: 'account';
2140
- path: 'mint';
1377
+ path: 'usdcMint';
2141
1378
  }
2142
1379
  ];
2143
1380
  program: {
@@ -2180,13 +1417,72 @@ export type TriadProtocol = {
2180
1417
  };
2181
1418
  },
2182
1419
  {
2183
- name: 'marketAta';
1420
+ name: 'tokenProgram';
1421
+ address: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
1422
+ },
1423
+ {
1424
+ name: 'associatedTokenProgram';
1425
+ address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
1426
+ },
1427
+ {
1428
+ name: 'systemProgram';
1429
+ address: '11111111111111111111111111111111';
1430
+ }
1431
+ ];
1432
+ args: [
1433
+ {
1434
+ name: 'amount';
1435
+ type: 'u64';
1436
+ }
1437
+ ];
1438
+ },
1439
+ {
1440
+ name: 'marketAskOrder';
1441
+ discriminator: [189, 66, 162, 254, 3, 85, 152, 54];
1442
+ accounts: [
1443
+ {
1444
+ name: 'signer';
1445
+ writable: true;
1446
+ signer: true;
1447
+ },
1448
+ {
1449
+ name: 'payer';
1450
+ writable: true;
1451
+ signer: true;
1452
+ },
1453
+ {
1454
+ name: 'market';
1455
+ writable: true;
1456
+ },
1457
+ {
1458
+ name: 'orderBook';
1459
+ writable: true;
1460
+ },
1461
+ {
1462
+ name: 'askOrder';
1463
+ writable: true;
1464
+ },
1465
+ {
1466
+ name: 'bidOrder';
1467
+ writable: true;
1468
+ },
1469
+ {
1470
+ name: 'buyerAuthority';
1471
+ writable: true;
1472
+ },
1473
+ {
1474
+ name: 'mint';
1475
+ writable: true;
1476
+ address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
1477
+ },
1478
+ {
1479
+ name: 'sellerAta';
2184
1480
  writable: true;
2185
1481
  pda: {
2186
1482
  seeds: [
2187
1483
  {
2188
1484
  kind: 'account';
2189
- path: 'market';
1485
+ path: 'signer';
2190
1486
  },
2191
1487
  {
2192
1488
  kind: 'account';
@@ -2236,6 +1532,10 @@ export type TriadProtocol = {
2236
1532
  };
2237
1533
  };
2238
1534
  },
1535
+ {
1536
+ name: 'marketAta';
1537
+ writable: true;
1538
+ },
2239
1539
  {
2240
1540
  name: 'tokenProgram';
2241
1541
  address: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
@@ -2254,15 +1554,15 @@ export type TriadProtocol = {
2254
1554
  name: 'args';
2255
1555
  type: {
2256
1556
  defined: {
2257
- name: 'marketBidOrderArgs';
1557
+ name: 'marketAskOrderArgs';
2258
1558
  };
2259
1559
  };
2260
1560
  }
2261
1561
  ];
2262
1562
  },
2263
1563
  {
2264
- name: 'openOrder';
2265
- discriminator: [206, 88, 88, 143, 38, 136, 50, 224];
1564
+ name: 'marketBidOrder';
1565
+ discriminator: [145, 89, 7, 166, 85, 59, 48, 149];
2266
1566
  accounts: [
2267
1567
  {
2268
1568
  name: 'signer';
@@ -2275,24 +1575,32 @@ export type TriadProtocol = {
2275
1575
  signer: true;
2276
1576
  },
2277
1577
  {
2278
- name: 'squads';
1578
+ name: 'market';
2279
1579
  writable: true;
2280
- address: 'Hk1r2NUL4LbUhx1agg1w44tyZiNr72mbeLsg6suF5MA4';
2281
1580
  },
2282
1581
  {
2283
- name: 'market';
1582
+ name: 'orderBook';
2284
1583
  writable: true;
2285
1584
  },
2286
1585
  {
2287
1586
  name: 'order';
2288
1587
  writable: true;
2289
1588
  },
1589
+ {
1590
+ name: 'oppositeOrder';
1591
+ writable: true;
1592
+ },
1593
+ {
1594
+ name: 'bookOrderAskAuthority';
1595
+ writable: true;
1596
+ },
2290
1597
  {
2291
1598
  name: 'mint';
2292
1599
  writable: true;
1600
+ address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
2293
1601
  },
2294
1602
  {
2295
- name: 'userFromAta';
1603
+ name: 'buyerAta';
2296
1604
  writable: true;
2297
1605
  pda: {
2298
1606
  seeds: [
@@ -2349,13 +1657,13 @@ export type TriadProtocol = {
2349
1657
  };
2350
1658
  },
2351
1659
  {
2352
- name: 'marketToAta';
1660
+ name: 'sellerAta';
2353
1661
  writable: true;
2354
1662
  pda: {
2355
1663
  seeds: [
2356
1664
  {
2357
1665
  kind: 'account';
2358
- path: 'market';
1666
+ path: 'bookOrderAskAuthority';
2359
1667
  },
2360
1668
  {
2361
1669
  kind: 'account';
@@ -2406,45 +1714,69 @@ export type TriadProtocol = {
2406
1714
  };
2407
1715
  },
2408
1716
  {
2409
- name: 'tokenProgram';
2410
- address: 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb';
2411
- },
2412
- {
2413
- name: 'associatedTokenProgram';
2414
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
2415
- },
2416
- {
2417
- name: 'systemProgram';
2418
- address: '11111111111111111111111111111111';
2419
- }
2420
- ];
2421
- args: [
2422
- {
2423
- name: 'args';
2424
- type: {
2425
- defined: {
2426
- name: 'openOrderArgs';
1717
+ name: 'marketAta';
1718
+ writable: true;
1719
+ pda: {
1720
+ seeds: [
1721
+ {
1722
+ kind: 'account';
1723
+ path: 'market';
1724
+ },
1725
+ {
1726
+ kind: 'account';
1727
+ path: 'tokenProgram';
1728
+ },
1729
+ {
1730
+ kind: 'account';
1731
+ path: 'mint';
1732
+ }
1733
+ ];
1734
+ program: {
1735
+ kind: 'const';
1736
+ value: [
1737
+ 140,
1738
+ 151,
1739
+ 37,
1740
+ 143,
1741
+ 78,
1742
+ 36,
1743
+ 137,
1744
+ 241,
1745
+ 187,
1746
+ 61,
1747
+ 16,
1748
+ 41,
1749
+ 20,
1750
+ 142,
1751
+ 13,
1752
+ 131,
1753
+ 11,
1754
+ 90,
1755
+ 19,
1756
+ 153,
1757
+ 218,
1758
+ 255,
1759
+ 16,
1760
+ 132,
1761
+ 4,
1762
+ 142,
1763
+ 123,
1764
+ 216,
1765
+ 219,
1766
+ 233,
1767
+ 248,
1768
+ 89
1769
+ ];
2427
1770
  };
2428
1771
  };
2429
- }
2430
- ];
2431
- },
2432
- {
2433
- name: 'orderAuthority';
2434
- discriminator: [173, 133, 92, 45, 165, 23, 172, 187];
2435
- accounts: [
2436
- {
2437
- name: 'signer';
2438
- writable: true;
2439
1772
  },
2440
1773
  {
2441
- name: 'payer';
2442
- writable: true;
2443
- signer: true;
1774
+ name: 'tokenProgram';
1775
+ address: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
2444
1776
  },
2445
1777
  {
2446
- name: 'order';
2447
- writable: true;
1778
+ name: 'associatedTokenProgram';
1779
+ address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
2448
1780
  },
2449
1781
  {
2450
1782
  name: 'systemProgram';
@@ -2456,7 +1788,7 @@ export type TriadProtocol = {
2456
1788
  name: 'args';
2457
1789
  type: {
2458
1790
  defined: {
2459
- name: 'orderAuthorityArgs';
1791
+ name: 'marketBidOrderArgs';
2460
1792
  };
2461
1793
  };
2462
1794
  }
@@ -2491,6 +1823,7 @@ export type TriadProtocol = {
2491
1823
  {
2492
1824
  name: 'mint';
2493
1825
  writable: true;
1826
+ address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
2494
1827
  },
2495
1828
  {
2496
1829
  name: 'userAta';
@@ -2977,240 +2310,25 @@ export type TriadProtocol = {
2977
2310
  value: [115, 116, 97, 107, 101, 95, 118, 97, 117, 108, 116];
2978
2311
  },
2979
2312
  {
2980
- kind: 'const';
2981
- value: [
2982
- 84,
2983
- 114,
2984
- 105,
2985
- 97,
2986
- 100,
2987
- 32,
2988
- 83,
2989
- 104,
2990
- 97,
2991
- 114,
2992
- 101,
2993
- 32,
2994
- 49
2995
- ];
2996
- }
2997
- ];
2998
- };
2999
- },
3000
- {
3001
- name: 'stake';
3002
- writable: true;
3003
- pda: {
3004
- seeds: [
3005
- {
3006
- kind: 'const';
3007
- value: [115, 116, 97, 107, 101, 95, 118, 51];
3008
- },
3009
- {
3010
- kind: 'account';
3011
- path: 'signer';
3012
- }
3013
- ];
3014
- };
3015
- },
3016
- {
3017
- name: 'mint';
3018
- writable: true;
3019
- },
3020
- {
3021
- name: 'userAta';
3022
- writable: true;
3023
- pda: {
3024
- seeds: [
3025
- {
3026
- kind: 'account';
3027
- path: 'signer';
3028
- },
3029
- {
3030
- kind: 'account';
3031
- path: 'tokenProgram';
3032
- },
3033
- {
3034
- kind: 'account';
3035
- path: 'mint';
3036
- }
3037
- ];
3038
- program: {
3039
- kind: 'const';
3040
- value: [
3041
- 140,
3042
- 151,
3043
- 37,
3044
- 143,
3045
- 78,
3046
- 36,
3047
- 137,
3048
- 241,
3049
- 187,
3050
- 61,
3051
- 16,
3052
- 41,
3053
- 20,
3054
- 142,
3055
- 13,
3056
- 131,
3057
- 11,
3058
- 90,
3059
- 19,
3060
- 153,
3061
- 218,
3062
- 255,
3063
- 16,
3064
- 132,
3065
- 4,
3066
- 142,
3067
- 123,
3068
- 216,
3069
- 219,
3070
- 233,
3071
- 248,
3072
- 89
3073
- ];
3074
- };
3075
- };
3076
- },
3077
- {
3078
- name: 'stakeAta';
3079
- writable: true;
3080
- pda: {
3081
- seeds: [
3082
- {
3083
- kind: 'account';
3084
- path: 'stake';
3085
- },
3086
- {
3087
- kind: 'account';
3088
- path: 'tokenProgram';
3089
- },
3090
- {
3091
- kind: 'account';
3092
- path: 'mint';
3093
- }
3094
- ];
3095
- program: {
3096
- kind: 'const';
3097
- value: [
3098
- 140,
3099
- 151,
3100
- 37,
3101
- 143,
3102
- 78,
3103
- 36,
3104
- 137,
3105
- 241,
3106
- 187,
3107
- 61,
3108
- 16,
3109
- 41,
3110
- 20,
3111
- 142,
3112
- 13,
3113
- 131,
3114
- 11,
3115
- 90,
3116
- 19,
3117
- 153,
3118
- 218,
3119
- 255,
3120
- 16,
3121
- 132,
3122
- 4,
3123
- 142,
3124
- 123,
3125
- 216,
3126
- 219,
3127
- 233,
3128
- 248,
3129
- 89
3130
- ];
3131
- };
3132
- };
3133
- },
3134
- {
3135
- name: 'tokenProgram';
3136
- address: 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb';
3137
- },
3138
- {
3139
- name: 'associatedTokenProgram';
3140
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
3141
- },
3142
- {
3143
- name: 'systemProgram';
3144
- address: '11111111111111111111111111111111';
3145
- }
3146
- ];
3147
- args: [
3148
- {
3149
- name: 'args';
3150
- type: {
3151
- defined: {
3152
- name: 'stakeTokenArgs';
3153
- };
3154
- };
3155
- }
3156
- ];
3157
- },
3158
- {
3159
- name: 'transferPoseidon';
3160
- discriminator: [57, 144, 113, 75, 97, 81, 3, 98];
3161
- accounts: [
3162
- {
3163
- name: 'signer';
3164
- writable: true;
3165
- signer: true;
3166
- },
3167
- {
3168
- name: 'nft';
3169
- writable: true;
3170
- },
3171
- {
3172
- name: 'ticketAsset';
3173
- writable: true;
3174
- },
3175
- {
3176
- name: 'poseidonAsset';
3177
- writable: true;
3178
- },
3179
- {
3180
- name: 'ticketCollection';
3181
- writable: true;
3182
- },
3183
- {
3184
- name: 'coreTicketCollection';
3185
- writable: true;
3186
- },
3187
- {
3188
- name: 'poseidonCollection';
3189
- writable: true;
3190
- },
3191
- {
3192
- name: 'corePoseidonCollection';
3193
- writable: true;
3194
- },
3195
- {
3196
- name: 'metaplexProgram';
3197
- address: 'CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d';
3198
- },
3199
- {
3200
- name: 'systemProgram';
3201
- address: '11111111111111111111111111111111';
3202
- }
3203
- ];
3204
- args: [];
3205
- },
3206
- {
3207
- name: 'unstakeToken';
3208
- discriminator: [165, 130, 39, 20, 80, 43, 116, 186];
3209
- accounts: [
3210
- {
3211
- name: 'signer';
3212
- writable: true;
3213
- signer: true;
2313
+ kind: 'const';
2314
+ value: [
2315
+ 84,
2316
+ 114,
2317
+ 105,
2318
+ 97,
2319
+ 100,
2320
+ 32,
2321
+ 83,
2322
+ 104,
2323
+ 97,
2324
+ 114,
2325
+ 101,
2326
+ 32,
2327
+ 49
2328
+ ];
2329
+ }
2330
+ ];
2331
+ };
3214
2332
  },
3215
2333
  {
3216
2334
  name: 'stake';
@@ -3228,22 +2346,18 @@ export type TriadProtocol = {
3228
2346
  ];
3229
2347
  };
3230
2348
  },
3231
- {
3232
- name: 'unstake';
3233
- writable: true;
3234
- },
3235
2349
  {
3236
2350
  name: 'mint';
3237
2351
  writable: true;
3238
2352
  },
3239
2353
  {
3240
- name: 'stakeAta';
2354
+ name: 'userAta';
3241
2355
  writable: true;
3242
2356
  pda: {
3243
2357
  seeds: [
3244
2358
  {
3245
2359
  kind: 'account';
3246
- path: 'stake';
2360
+ path: 'signer';
3247
2361
  },
3248
2362
  {
3249
2363
  kind: 'account';
@@ -3294,13 +2408,13 @@ export type TriadProtocol = {
3294
2408
  };
3295
2409
  },
3296
2410
  {
3297
- name: 'userAta';
2411
+ name: 'stakeAta';
3298
2412
  writable: true;
3299
2413
  pda: {
3300
2414
  seeds: [
3301
2415
  {
3302
2416
  kind: 'account';
3303
- path: 'signer';
2417
+ path: 'stake';
3304
2418
  },
3305
2419
  {
3306
2420
  kind: 'account';
@@ -3363,11 +2477,68 @@ export type TriadProtocol = {
3363
2477
  address: '11111111111111111111111111111111';
3364
2478
  }
3365
2479
  ];
2480
+ args: [
2481
+ {
2482
+ name: 'args';
2483
+ type: {
2484
+ defined: {
2485
+ name: 'stakeTokenArgs';
2486
+ };
2487
+ };
2488
+ }
2489
+ ];
2490
+ },
2491
+ {
2492
+ name: 'transferPoseidon';
2493
+ discriminator: [57, 144, 113, 75, 97, 81, 3, 98];
2494
+ accounts: [
2495
+ {
2496
+ name: 'signer';
2497
+ writable: true;
2498
+ signer: true;
2499
+ },
2500
+ {
2501
+ name: 'nft';
2502
+ writable: true;
2503
+ },
2504
+ {
2505
+ name: 'ticketAsset';
2506
+ writable: true;
2507
+ },
2508
+ {
2509
+ name: 'poseidonAsset';
2510
+ writable: true;
2511
+ },
2512
+ {
2513
+ name: 'ticketCollection';
2514
+ writable: true;
2515
+ },
2516
+ {
2517
+ name: 'coreTicketCollection';
2518
+ writable: true;
2519
+ },
2520
+ {
2521
+ name: 'poseidonCollection';
2522
+ writable: true;
2523
+ },
2524
+ {
2525
+ name: 'corePoseidonCollection';
2526
+ writable: true;
2527
+ },
2528
+ {
2529
+ name: 'metaplexProgram';
2530
+ address: 'CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d';
2531
+ },
2532
+ {
2533
+ name: 'systemProgram';
2534
+ address: '11111111111111111111111111111111';
2535
+ }
2536
+ ];
3366
2537
  args: [];
3367
2538
  },
3368
2539
  {
3369
- name: 'updateClaimVaultAmount';
3370
- discriminator: [97, 2, 93, 198, 31, 248, 174, 52];
2540
+ name: 'unstakeToken';
2541
+ discriminator: [165, 130, 39, 20, 80, 43, 116, 186];
3371
2542
  accounts: [
3372
2543
  {
3373
2544
  name: 'signer';
@@ -3375,7 +2546,23 @@ export type TriadProtocol = {
3375
2546
  signer: true;
3376
2547
  },
3377
2548
  {
3378
- name: 'claimVault';
2549
+ name: 'stake';
2550
+ writable: true;
2551
+ pda: {
2552
+ seeds: [
2553
+ {
2554
+ kind: 'const';
2555
+ value: [115, 116, 97, 107, 101, 95, 118, 51];
2556
+ },
2557
+ {
2558
+ kind: 'account';
2559
+ path: 'signer';
2560
+ }
2561
+ ];
2562
+ };
2563
+ },
2564
+ {
2565
+ name: 'unstake';
3379
2566
  writable: true;
3380
2567
  },
3381
2568
  {
@@ -3383,13 +2570,13 @@ export type TriadProtocol = {
3383
2570
  writable: true;
3384
2571
  },
3385
2572
  {
3386
- name: 'signerAta';
2573
+ name: 'stakeAta';
3387
2574
  writable: true;
3388
2575
  pda: {
3389
2576
  seeds: [
3390
2577
  {
3391
2578
  kind: 'account';
3392
- path: 'signer';
2579
+ path: 'stake';
3393
2580
  },
3394
2581
  {
3395
2582
  kind: 'account';
@@ -3440,13 +2627,13 @@ export type TriadProtocol = {
3440
2627
  };
3441
2628
  },
3442
2629
  {
3443
- name: 'claimVaultAta';
2630
+ name: 'userAta';
3444
2631
  writable: true;
3445
2632
  pda: {
3446
2633
  seeds: [
3447
2634
  {
3448
2635
  kind: 'account';
3449
- path: 'claimVault';
2636
+ path: 'signer';
3450
2637
  },
3451
2638
  {
3452
2639
  kind: 'account';
@@ -3498,6 +2685,7 @@ export type TriadProtocol = {
3498
2685
  },
3499
2686
  {
3500
2687
  name: 'tokenProgram';
2688
+ address: 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb';
3501
2689
  },
3502
2690
  {
3503
2691
  name: 'associatedTokenProgram';
@@ -3508,58 +2696,7 @@ export type TriadProtocol = {
3508
2696
  address: '11111111111111111111111111111111';
3509
2697
  }
3510
2698
  ];
3511
- args: [
3512
- {
3513
- name: 'args';
3514
- type: {
3515
- defined: {
3516
- name: 'updateClaimVaultAmountArgs';
3517
- };
3518
- };
3519
- }
3520
- ];
3521
- },
3522
- {
3523
- name: 'updateClaimVaultEndTs';
3524
- discriminator: [69, 164, 251, 168, 155, 22, 198, 189];
3525
- accounts: [
3526
- {
3527
- name: 'signer';
3528
- writable: true;
3529
- signer: true;
3530
- },
3531
- {
3532
- name: 'claimVault';
3533
- writable: true;
3534
- }
3535
- ];
3536
- args: [
3537
- {
3538
- name: 'endTs';
3539
- type: 'i64';
3540
- }
3541
- ];
3542
- },
3543
- {
3544
- name: 'updateClaimVaultIsActive';
3545
- discriminator: [122, 240, 207, 89, 71, 29, 176, 103];
3546
- accounts: [
3547
- {
3548
- name: 'signer';
3549
- writable: true;
3550
- signer: true;
3551
- },
3552
- {
3553
- name: 'claimVault';
3554
- writable: true;
3555
- }
3556
- ];
3557
- args: [
3558
- {
3559
- name: 'isActive';
3560
- type: 'bool';
3561
- }
3562
- ];
2699
+ args: [];
3563
2700
  },
3564
2701
  {
3565
2702
  name: 'updateCustomerFee';
@@ -3692,11 +2829,6 @@ export type TriadProtocol = {
3692
2829
  name: 'market';
3693
2830
  writable: true;
3694
2831
  },
3695
- {
3696
- name: 'pool';
3697
- writable: true;
3698
- optional: true;
3699
- },
3700
2832
  {
3701
2833
  name: 'systemProgram';
3702
2834
  address: '11111111111111111111111111111111';
@@ -3760,62 +2892,259 @@ export type TriadProtocol = {
3760
2892
  signer: true;
3761
2893
  },
3762
2894
  {
3763
- name: 'pool';
2895
+ name: 'pool';
2896
+ writable: true;
2897
+ },
2898
+ {
2899
+ name: 'systemProgram';
2900
+ address: '11111111111111111111111111111111';
2901
+ }
2902
+ ];
2903
+ args: [
2904
+ {
2905
+ name: 'question';
2906
+ type: {
2907
+ array: ['u8', 80];
2908
+ };
2909
+ }
2910
+ ];
2911
+ },
2912
+ {
2913
+ name: 'withdraw';
2914
+ discriminator: [183, 18, 70, 156, 148, 109, 161, 34];
2915
+ accounts: [
2916
+ {
2917
+ name: 'signer';
2918
+ writable: true;
2919
+ signer: true;
2920
+ },
2921
+ {
2922
+ name: 'payer';
2923
+ writable: true;
2924
+ signer: true;
2925
+ },
2926
+ {
2927
+ name: 'central';
2928
+ writable: true;
2929
+ pda: {
2930
+ seeds: [
2931
+ {
2932
+ kind: 'const';
2933
+ value: [99, 101, 110, 116, 114, 97, 108];
2934
+ },
2935
+ {
2936
+ kind: 'const';
2937
+ value: [
2938
+ 116,
2939
+ 114,
2940
+ 105,
2941
+ 97,
2942
+ 100,
2943
+ 109,
2944
+ 97,
2945
+ 114,
2946
+ 107,
2947
+ 101,
2948
+ 116,
2949
+ 115
2950
+ ];
2951
+ }
2952
+ ];
2953
+ };
2954
+ },
2955
+ {
2956
+ name: 'predictor';
2957
+ writable: true;
2958
+ },
2959
+ {
2960
+ name: 'usdcMint';
2961
+ writable: true;
2962
+ address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
2963
+ },
2964
+ {
2965
+ name: 'usdtmMint';
2966
+ writable: true;
2967
+ address: '75wzVU6j9U6oZVJjQYLtiN7Z5Ah97it1UyWZN29HgE4m';
2968
+ },
2969
+ {
2970
+ name: 'userAta';
2971
+ writable: true;
2972
+ pda: {
2973
+ seeds: [
2974
+ {
2975
+ kind: 'account';
2976
+ path: 'signer';
2977
+ },
2978
+ {
2979
+ kind: 'account';
2980
+ path: 'tokenProgram';
2981
+ },
2982
+ {
2983
+ kind: 'account';
2984
+ path: 'usdcMint';
2985
+ }
2986
+ ];
2987
+ program: {
2988
+ kind: 'const';
2989
+ value: [
2990
+ 140,
2991
+ 151,
2992
+ 37,
2993
+ 143,
2994
+ 78,
2995
+ 36,
2996
+ 137,
2997
+ 241,
2998
+ 187,
2999
+ 61,
3000
+ 16,
3001
+ 41,
3002
+ 20,
3003
+ 142,
3004
+ 13,
3005
+ 131,
3006
+ 11,
3007
+ 90,
3008
+ 19,
3009
+ 153,
3010
+ 218,
3011
+ 255,
3012
+ 16,
3013
+ 132,
3014
+ 4,
3015
+ 142,
3016
+ 123,
3017
+ 216,
3018
+ 219,
3019
+ 233,
3020
+ 248,
3021
+ 89
3022
+ ];
3023
+ };
3024
+ };
3025
+ },
3026
+ {
3027
+ name: 'predictorAta';
3764
3028
  writable: true;
3765
- },
3766
- {
3767
- name: 'systemProgram';
3768
- address: '11111111111111111111111111111111';
3769
- }
3770
- ];
3771
- args: [
3772
- {
3773
- name: 'question';
3774
- type: {
3775
- array: ['u8', 80];
3029
+ pda: {
3030
+ seeds: [
3031
+ {
3032
+ kind: 'account';
3033
+ path: 'predictor';
3034
+ },
3035
+ {
3036
+ kind: 'account';
3037
+ path: 'tokenProgram';
3038
+ },
3039
+ {
3040
+ kind: 'account';
3041
+ path: 'usdtmMint';
3042
+ }
3043
+ ];
3044
+ program: {
3045
+ kind: 'const';
3046
+ value: [
3047
+ 140,
3048
+ 151,
3049
+ 37,
3050
+ 143,
3051
+ 78,
3052
+ 36,
3053
+ 137,
3054
+ 241,
3055
+ 187,
3056
+ 61,
3057
+ 16,
3058
+ 41,
3059
+ 20,
3060
+ 142,
3061
+ 13,
3062
+ 131,
3063
+ 11,
3064
+ 90,
3065
+ 19,
3066
+ 153,
3067
+ 218,
3068
+ 255,
3069
+ 16,
3070
+ 132,
3071
+ 4,
3072
+ 142,
3073
+ 123,
3074
+ 216,
3075
+ 219,
3076
+ 233,
3077
+ 248,
3078
+ 89
3079
+ ];
3080
+ };
3776
3081
  };
3777
- }
3778
- ];
3779
- },
3780
- {
3781
- name: 'updateStakeVaultIsLocked';
3782
- discriminator: [239, 65, 219, 190, 157, 173, 139, 226];
3783
- accounts: [
3784
- {
3785
- name: 'signer';
3786
- writable: true;
3787
- signer: true;
3788
3082
  },
3789
3083
  {
3790
- name: 'stakeVault';
3084
+ name: 'centralAta';
3791
3085
  writable: true;
3792
3086
  pda: {
3793
3087
  seeds: [
3794
3088
  {
3795
- kind: 'const';
3796
- value: [115, 116, 97, 107, 101, 95, 118, 97, 117, 108, 116];
3089
+ kind: 'account';
3090
+ path: 'central';
3797
3091
  },
3798
3092
  {
3799
- kind: 'const';
3800
- value: [
3801
- 84,
3802
- 114,
3803
- 105,
3804
- 97,
3805
- 100,
3806
- 32,
3807
- 83,
3808
- 104,
3809
- 97,
3810
- 114,
3811
- 101,
3812
- 32,
3813
- 49
3814
- ];
3093
+ kind: 'account';
3094
+ path: 'tokenProgram';
3095
+ },
3096
+ {
3097
+ kind: 'account';
3098
+ path: 'usdcMint';
3815
3099
  }
3816
3100
  ];
3101
+ program: {
3102
+ kind: 'const';
3103
+ value: [
3104
+ 140,
3105
+ 151,
3106
+ 37,
3107
+ 143,
3108
+ 78,
3109
+ 36,
3110
+ 137,
3111
+ 241,
3112
+ 187,
3113
+ 61,
3114
+ 16,
3115
+ 41,
3116
+ 20,
3117
+ 142,
3118
+ 13,
3119
+ 131,
3120
+ 11,
3121
+ 90,
3122
+ 19,
3123
+ 153,
3124
+ 218,
3125
+ 255,
3126
+ 16,
3127
+ 132,
3128
+ 4,
3129
+ 142,
3130
+ 123,
3131
+ 216,
3132
+ 219,
3133
+ 233,
3134
+ 248,
3135
+ 89
3136
+ ];
3137
+ };
3817
3138
  };
3818
3139
  },
3140
+ {
3141
+ name: 'tokenProgram';
3142
+ address: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
3143
+ },
3144
+ {
3145
+ name: 'associatedTokenProgram';
3146
+ address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
3147
+ },
3819
3148
  {
3820
3149
  name: 'systemProgram';
3821
3150
  address: '11111111111111111111111111111111';
@@ -3823,8 +3152,8 @@ export type TriadProtocol = {
3823
3152
  ];
3824
3153
  args: [
3825
3154
  {
3826
- name: 'isLocked';
3827
- type: 'bool';
3155
+ name: 'amount';
3156
+ type: 'u64';
3828
3157
  }
3829
3158
  ];
3830
3159
  },
@@ -3875,12 +3204,8 @@ export type TriadProtocol = {
3875
3204
  discriminator: [0, 0, 0, 0, 0, 0, 0, 0];
3876
3205
  },
3877
3206
  {
3878
- name: 'claimVault';
3879
- discriminator: [154, 74, 122, 191, 197, 171, 227, 248];
3880
- },
3881
- {
3882
- name: 'claimedUser';
3883
- discriminator: [160, 7, 160, 134, 104, 87, 137, 13];
3207
+ name: 'central';
3208
+ discriminator: [100, 179, 89, 248, 1, 82, 133, 24];
3884
3209
  },
3885
3210
  {
3886
3211
  name: 'collection';
@@ -3910,6 +3235,10 @@ export type TriadProtocol = {
3910
3235
  name: 'pool';
3911
3236
  discriminator: [241, 154, 109, 4, 17, 177, 109, 188];
3912
3237
  },
3238
+ {
3239
+ name: 'predictor';
3240
+ discriminator: [220, 240, 153, 14, 72, 188, 37, 21];
3241
+ },
3913
3242
  {
3914
3243
  name: 'stakeV3';
3915
3244
  discriminator: [33, 54, 166, 108, 88, 184, 96, 190];
@@ -3944,6 +3273,10 @@ export type TriadProtocol = {
3944
3273
  name: 'collectMarketFeeEvent';
3945
3274
  discriminator: [210, 147, 203, 216, 158, 111, 59, 143];
3946
3275
  },
3276
+ {
3277
+ name: 'depositEvent';
3278
+ discriminator: [120, 248, 61, 83, 31, 142, 107, 144];
3279
+ },
3947
3280
  {
3948
3281
  name: 'marketEvent';
3949
3282
  discriminator: [212, 67, 145, 23, 58, 104, 52, 83];
@@ -3963,6 +3296,10 @@ export type TriadProtocol = {
3963
3296
  {
3964
3297
  name: 'stakeRewardsEvent';
3965
3298
  discriminator: [23, 37, 255, 130, 102, 26, 140, 94];
3299
+ },
3300
+ {
3301
+ name: 'withdrawEvent';
3302
+ discriminator: [22, 9, 133, 26, 160, 44, 71, 192];
3966
3303
  }
3967
3304
  ];
3968
3305
  errors: [
@@ -4380,20 +3717,18 @@ export type TriadProtocol = {
4380
3717
  };
4381
3718
  },
4382
3719
  {
4383
- name: 'claimTokenArgs';
3720
+ name: 'central';
4384
3721
  type: {
4385
3722
  kind: 'struct';
4386
3723
  fields: [
4387
3724
  {
4388
- name: 'amount';
4389
- type: 'u64';
3725
+ name: 'bump';
3726
+ type: 'u8';
4390
3727
  },
4391
3728
  {
4392
- name: 'merkleProof';
3729
+ name: 'padding';
4393
3730
  type: {
4394
- vec: {
4395
- array: ['u8', 32];
4396
- };
3731
+ array: ['u8', 320];
4397
3732
  };
4398
3733
  }
4399
3734
  ];
@@ -4414,91 +3749,15 @@ export type TriadProtocol = {
4414
3749
  },
4415
3750
  {
4416
3751
  name: 'mint';
4417
- type: 'pubkey';
4418
- },
4419
- {
4420
- name: 'amount';
4421
- type: 'u64';
4422
- },
4423
- {
4424
- name: 'timestamp';
4425
- type: 'i64';
4426
- }
4427
- ];
4428
- };
4429
- },
4430
- {
4431
- name: 'claimVault';
4432
- type: {
4433
- kind: 'struct';
4434
- fields: [
4435
- {
4436
- name: 'bump';
4437
- type: 'u8';
4438
- },
4439
- {
4440
- name: 'authority';
4441
- type: 'pubkey';
4442
- },
4443
- {
4444
- name: 'initTs';
4445
- type: 'i64';
4446
- },
4447
- {
4448
- name: 'endTs';
4449
- type: 'i64';
4450
- },
4451
- {
4452
- name: 'totalAmount';
4453
- type: 'u64';
4454
- },
4455
- {
4456
- name: 'totalClaimed';
4457
- type: 'u64';
4458
- },
4459
- {
4460
- name: 'totalUsers';
4461
- type: 'u64';
4462
- },
4463
- {
4464
- name: 'claimedUsers';
4465
- type: 'u64';
4466
- },
4467
- {
4468
- name: 'tokenPerUser';
4469
- type: 'u64';
4470
- },
4471
- {
4472
- name: 'mint';
4473
- type: 'pubkey';
4474
- },
4475
- {
4476
- name: 'isActive';
4477
- type: 'bool';
4478
- },
4479
- {
4480
- name: 'name';
4481
- type: 'string';
4482
- },
4483
- {
4484
- name: 'isFirstComeFirstServed';
4485
- type: 'bool';
4486
- },
4487
- {
4488
- name: 'merkleRoot';
4489
- type: {
4490
- array: ['u8', 32];
4491
- };
3752
+ type: 'pubkey';
4492
3753
  },
4493
3754
  {
4494
- name: 'ts';
4495
- type: 'i64';
3755
+ name: 'amount';
3756
+ type: 'u64';
4496
3757
  },
4497
3758
  {
4498
- name: 'padding';
4499
- type: {
4500
- array: ['u8', 24];
4501
- };
3759
+ name: 'timestamp';
3760
+ type: 'i64';
4502
3761
  }
4503
3762
  ];
4504
3763
  };
@@ -4569,30 +3828,6 @@ export type TriadProtocol = {
4569
3828
  ];
4570
3829
  };
4571
3830
  },
4572
- {
4573
- name: 'claimedUser';
4574
- type: {
4575
- kind: 'struct';
4576
- fields: [
4577
- {
4578
- name: 'user';
4579
- type: 'pubkey';
4580
- },
4581
- {
4582
- name: 'claimVault';
4583
- type: 'pubkey';
4584
- },
4585
- {
4586
- name: 'amount';
4587
- type: 'u64';
4588
- },
4589
- {
4590
- name: 'ts';
4591
- type: 'i64';
4592
- }
4593
- ];
4594
- };
4595
- },
4596
3831
  {
4597
3832
  name: 'collectMarketFeeEvent';
4598
3833
  type: {
@@ -4606,10 +3841,6 @@ export type TriadProtocol = {
4606
3841
  name: 'triadFee';
4607
3842
  type: 'u64';
4608
3843
  },
4609
- {
4610
- name: 'revShareFee';
4611
- type: 'u64';
4612
- },
4613
3844
  {
4614
3845
  name: 'customerId';
4615
3846
  type: 'u16';
@@ -4663,42 +3894,6 @@ export type TriadProtocol = {
4663
3894
  ];
4664
3895
  };
4665
3896
  },
4666
- {
4667
- name: 'createClaimVaultArgs';
4668
- type: {
4669
- kind: 'struct';
4670
- fields: [
4671
- {
4672
- name: 'totalAmount';
4673
- type: 'u64';
4674
- },
4675
- {
4676
- name: 'totalUsers';
4677
- type: 'u64';
4678
- },
4679
- {
4680
- name: 'name';
4681
- type: 'string';
4682
- },
4683
- {
4684
- name: 'isFirstComeFirstServed';
4685
- type: 'bool';
4686
- },
4687
- {
4688
- name: 'endTs';
4689
- type: 'i64';
4690
- },
4691
- {
4692
- name: 'merkleRoot';
4693
- type: {
4694
- option: {
4695
- array: ['u8', 32];
4696
- };
4697
- };
4698
- }
4699
- ];
4700
- };
4701
- },
4702
3897
  {
4703
3898
  name: 'createCustomerArgs';
4704
3899
  type: {
@@ -4753,6 +3948,14 @@ export type TriadProtocol = {
4753
3948
  {
4754
3949
  name: 'payoutFee';
4755
3950
  type: 'u16';
3951
+ },
3952
+ {
3953
+ name: 'preOrdersAvailable';
3954
+ type: 'u64';
3955
+ },
3956
+ {
3957
+ name: 'preMarketEndTs';
3958
+ type: 'i64';
4756
3959
  }
4757
3960
  ];
4758
3961
  };
@@ -4781,6 +3984,22 @@ export type TriadProtocol = {
4781
3984
  ];
4782
3985
  };
4783
3986
  },
3987
+ {
3988
+ name: 'createPredictorArgs';
3989
+ type: {
3990
+ kind: 'struct';
3991
+ fields: [
3992
+ {
3993
+ name: 'refer';
3994
+ type: 'pubkey';
3995
+ },
3996
+ {
3997
+ name: 'customer';
3998
+ type: 'u16';
3999
+ }
4000
+ ];
4001
+ };
4002
+ },
4784
4003
  {
4785
4004
  name: 'customer';
4786
4005
  type: {
@@ -4824,6 +4043,34 @@ export type TriadProtocol = {
4824
4043
  ];
4825
4044
  };
4826
4045
  },
4046
+ {
4047
+ name: 'depositEvent';
4048
+ type: {
4049
+ kind: 'struct';
4050
+ fields: [
4051
+ {
4052
+ name: 'authority';
4053
+ type: 'pubkey';
4054
+ },
4055
+ {
4056
+ name: 'predictor';
4057
+ type: 'pubkey';
4058
+ },
4059
+ {
4060
+ name: 'amount';
4061
+ type: 'u64';
4062
+ },
4063
+ {
4064
+ name: 'mint';
4065
+ type: 'pubkey';
4066
+ },
4067
+ {
4068
+ name: 'timestamp';
4069
+ type: 'i64';
4070
+ }
4071
+ ];
4072
+ };
4073
+ },
4827
4074
  {
4828
4075
  name: 'key';
4829
4076
  type: {
@@ -5184,75 +4431,31 @@ export type TriadProtocol = {
5184
4431
  type: 'u64';
5185
4432
  },
5186
4433
  {
5187
- name: 'padding1';
5188
- type: {
5189
- array: ['u8', 8];
5190
- };
5191
- },
5192
- {
5193
- name: 'padding2';
5194
- type: {
5195
- array: ['u8', 8];
5196
- };
4434
+ name: 'preOrdersAvailable';
4435
+ type: 'u64';
5197
4436
  },
5198
4437
  {
5199
- name: 'padding';
5200
- type: {
5201
- array: ['u8', 32];
5202
- };
5203
- }
5204
- ];
5205
- };
5206
- },
5207
- {
5208
- name: 'nft';
5209
- type: {
5210
- kind: 'struct';
5211
- fields: [];
5212
- };
5213
- },
5214
- {
5215
- name: 'openOrderArgs';
5216
- type: {
5217
- kind: 'struct';
5218
- fields: [
5219
- {
5220
- name: 'amount';
4438
+ name: 'preOrdersClaimed';
5221
4439
  type: 'u64';
5222
4440
  },
5223
4441
  {
5224
- name: 'marketId';
5225
- type: 'u64';
4442
+ name: 'preMarketEndTs';
4443
+ type: 'i64';
5226
4444
  },
5227
4445
  {
5228
- name: 'orderDirection';
4446
+ name: 'padding';
5229
4447
  type: {
5230
- defined: {
5231
- name: 'orderDirection';
5232
- };
4448
+ array: ['u8', 24];
5233
4449
  };
5234
4450
  }
5235
4451
  ];
5236
4452
  };
5237
4453
  },
5238
4454
  {
5239
- name: 'orderAuthorityArgs';
4455
+ name: 'nft';
5240
4456
  type: {
5241
4457
  kind: 'struct';
5242
- fields: [
5243
- {
5244
- name: 'marketId';
5245
- type: 'u64';
5246
- },
5247
- {
5248
- name: 'orderDirection';
5249
- type: {
5250
- defined: {
5251
- name: 'orderDirection';
5252
- };
5253
- };
5254
- }
5255
- ];
4458
+ fields: [];
5256
4459
  };
5257
4460
  },
5258
4461
  {
@@ -5515,12 +4718,16 @@ export type TriadProtocol = {
5515
4718
  type: 'pubkey';
5516
4719
  },
5517
4720
  {
5518
- name: 'isFast';
5519
- type: 'bool';
4721
+ name: 'padding1';
4722
+ type: {
4723
+ array: ['u8', 1];
4724
+ };
5520
4725
  },
5521
4726
  {
5522
- name: 'isFastMarketActive';
5523
- type: 'bool';
4727
+ name: 'padding2';
4728
+ type: {
4729
+ array: ['u8', 1];
4730
+ };
5524
4731
  },
5525
4732
  {
5526
4733
  name: 'padding';
@@ -5546,17 +4753,39 @@ export type TriadProtocol = {
5546
4753
  array: ['u8', 80];
5547
4754
  };
5548
4755
  },
4756
+ {
4757
+ name: 'authority';
4758
+ type: 'pubkey';
4759
+ }
4760
+ ];
4761
+ };
4762
+ },
4763
+ {
4764
+ name: 'predictor';
4765
+ type: {
4766
+ kind: 'struct';
4767
+ fields: [
5549
4768
  {
5550
4769
  name: 'authority';
5551
4770
  type: 'pubkey';
5552
4771
  },
5553
4772
  {
5554
- name: 'isFast';
5555
- type: 'bool';
4773
+ name: 'refer';
4774
+ type: 'pubkey';
5556
4775
  },
5557
4776
  {
5558
- name: 'isFastMarketActive';
5559
- type: 'bool';
4777
+ name: 'customer';
4778
+ type: 'u16';
4779
+ },
4780
+ {
4781
+ name: 'bump';
4782
+ type: 'u8';
4783
+ },
4784
+ {
4785
+ name: 'padding';
4786
+ type: {
4787
+ array: ['u8', 63];
4788
+ };
5560
4789
  }
5561
4790
  ];
5562
4791
  };
@@ -5817,35 +5046,19 @@ export type TriadProtocol = {
5817
5046
  };
5818
5047
  },
5819
5048
  {
5820
- name: 'updateClaimVaultAmountArgs';
5049
+ name: 'updateCustomerFeeArgs';
5821
5050
  type: {
5822
5051
  kind: 'struct';
5823
5052
  fields: [
5824
5053
  {
5825
- name: 'amount';
5826
- type: 'u64';
5827
- },
5828
- {
5829
- name: 'newUsers';
5830
- type: 'u64';
5054
+ name: 'id';
5055
+ type: 'u16';
5831
5056
  },
5832
5057
  {
5833
- name: 'merkleRoot';
5058
+ name: 'feeRecipient';
5834
5059
  type: {
5835
- array: ['u8', 32];
5060
+ option: 'pubkey';
5836
5061
  };
5837
- }
5838
- ];
5839
- };
5840
- },
5841
- {
5842
- name: 'updateCustomerFeeArgs';
5843
- type: {
5844
- kind: 'struct';
5845
- fields: [
5846
- {
5847
- name: 'id';
5848
- type: 'u16';
5849
5062
  },
5850
5063
  {
5851
5064
  name: 'feeBps';
@@ -5873,6 +5086,34 @@ export type TriadProtocol = {
5873
5086
  }
5874
5087
  ];
5875
5088
  };
5089
+ },
5090
+ {
5091
+ name: 'withdrawEvent';
5092
+ type: {
5093
+ kind: 'struct';
5094
+ fields: [
5095
+ {
5096
+ name: 'authority';
5097
+ type: 'pubkey';
5098
+ },
5099
+ {
5100
+ name: 'predictor';
5101
+ type: 'pubkey';
5102
+ },
5103
+ {
5104
+ name: 'amount';
5105
+ type: 'u64';
5106
+ },
5107
+ {
5108
+ name: 'mint';
5109
+ type: 'pubkey';
5110
+ },
5111
+ {
5112
+ name: 'timestamp';
5113
+ type: 'i64';
5114
+ }
5115
+ ];
5116
+ };
5876
5117
  }
5877
5118
  ];
5878
5119
  };