@triadxyz/triad-protocol 4.3.3 → 4.3.4
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/dist/predictor.js
CHANGED
|
@@ -160,6 +160,7 @@ class Predictor {
|
|
|
160
160
|
.accounts({
|
|
161
161
|
signer: authority,
|
|
162
162
|
predictor: predictorPDA,
|
|
163
|
+
customer: (0, pda_1.getCustomerPDA)(this.program.programId, customerId),
|
|
163
164
|
predictorDeposit: depositId
|
|
164
165
|
? (0, pda_1.getPredictorDepositPDA)(this.program.programId, depositId)
|
|
165
166
|
: null
|
|
@@ -892,20 +892,7 @@
|
|
|
892
892
|
},
|
|
893
893
|
{
|
|
894
894
|
"name": "customer",
|
|
895
|
-
"writable": true
|
|
896
|
-
"pda": {
|
|
897
|
-
"seeds": [
|
|
898
|
-
{
|
|
899
|
-
"kind": "const",
|
|
900
|
-
"value": [99, 117, 115, 116, 111, 109, 101, 114]
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
"kind": "account",
|
|
904
|
-
"path": "predictor.customer_id",
|
|
905
|
-
"account": "Predictor"
|
|
906
|
-
}
|
|
907
|
-
]
|
|
908
|
-
}
|
|
895
|
+
"writable": true
|
|
909
896
|
},
|
|
910
897
|
{
|
|
911
898
|
"name": "predictor",
|
|
@@ -1107,19 +1107,6 @@ export type TriadProtocol = {
|
|
|
1107
1107
|
{
|
|
1108
1108
|
name: 'customer';
|
|
1109
1109
|
writable: true;
|
|
1110
|
-
pda: {
|
|
1111
|
-
seeds: [
|
|
1112
|
-
{
|
|
1113
|
-
kind: 'const';
|
|
1114
|
-
value: [99, 117, 115, 116, 111, 109, 101, 114];
|
|
1115
|
-
},
|
|
1116
|
-
{
|
|
1117
|
-
kind: 'account';
|
|
1118
|
-
path: 'predictor.customer_id';
|
|
1119
|
-
account: 'predictor';
|
|
1120
|
-
}
|
|
1121
|
-
];
|
|
1122
|
-
};
|
|
1123
1110
|
},
|
|
1124
1111
|
{
|
|
1125
1112
|
name: 'predictor';
|