@triadxyz/triad-protocol 4.3.6 → 4.3.8
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.
|
@@ -901,7 +901,6 @@
|
|
|
901
901
|
{
|
|
902
902
|
"name": "predictor_deposit",
|
|
903
903
|
"writable": true,
|
|
904
|
-
"signer": true,
|
|
905
904
|
"optional": true
|
|
906
905
|
},
|
|
907
906
|
{
|
|
@@ -1086,11 +1085,59 @@
|
|
|
1086
1085
|
},
|
|
1087
1086
|
{
|
|
1088
1087
|
"name": "predictor_order",
|
|
1089
|
-
"writable": true
|
|
1088
|
+
"writable": true,
|
|
1089
|
+
"pda": {
|
|
1090
|
+
"seeds": [
|
|
1091
|
+
{
|
|
1092
|
+
"kind": "const",
|
|
1093
|
+
"value": [
|
|
1094
|
+
112, 114, 101, 100, 105, 99, 116, 111, 114, 95, 111, 114, 100,
|
|
1095
|
+
101, 114
|
|
1096
|
+
]
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"kind": "account",
|
|
1100
|
+
"path": "predictor"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"kind": "account",
|
|
1104
|
+
"path": "market.market_id",
|
|
1105
|
+
"account": "MarketV2"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "arg",
|
|
1109
|
+
"path": "args.order_direction"
|
|
1110
|
+
}
|
|
1111
|
+
]
|
|
1112
|
+
}
|
|
1090
1113
|
},
|
|
1091
1114
|
{
|
|
1092
1115
|
"name": "opposite_predictor_order",
|
|
1093
|
-
"writable": true
|
|
1116
|
+
"writable": true,
|
|
1117
|
+
"pda": {
|
|
1118
|
+
"seeds": [
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "const",
|
|
1121
|
+
"value": [
|
|
1122
|
+
112, 114, 101, 100, 105, 99, 116, 111, 114, 95, 111, 114, 100,
|
|
1123
|
+
101, 114
|
|
1124
|
+
]
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "account",
|
|
1128
|
+
"path": "opposite_predictor"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"kind": "account",
|
|
1132
|
+
"path": "market.market_id",
|
|
1133
|
+
"account": "MarketV2"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"kind": "arg",
|
|
1137
|
+
"path": "args.opposite_order_direction"
|
|
1138
|
+
}
|
|
1139
|
+
]
|
|
1140
|
+
}
|
|
1094
1141
|
},
|
|
1095
1142
|
{
|
|
1096
1143
|
"name": "system_program",
|
|
@@ -1385,7 +1432,30 @@
|
|
|
1385
1432
|
},
|
|
1386
1433
|
{
|
|
1387
1434
|
"name": "predictor_order",
|
|
1388
|
-
"writable": true
|
|
1435
|
+
"writable": true,
|
|
1436
|
+
"pda": {
|
|
1437
|
+
"seeds": [
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "const",
|
|
1440
|
+
"value": [
|
|
1441
|
+
112, 114, 101, 100, 105, 99, 116, 111, 114, 95, 111, 114, 100,
|
|
1442
|
+
101, 114
|
|
1443
|
+
]
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"kind": "account",
|
|
1447
|
+
"path": "predictor"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"kind": "arg",
|
|
1451
|
+
"path": "args.market_id"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"kind": "arg",
|
|
1455
|
+
"path": "args.order_direction"
|
|
1456
|
+
}
|
|
1457
|
+
]
|
|
1458
|
+
}
|
|
1389
1459
|
},
|
|
1390
1460
|
{
|
|
1391
1461
|
"name": "system_program",
|