@ghostspeak/sdk 2.0.7 → 2.0.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.
- package/README.md +145 -2
- package/dist/{GhostSpeakClient-CWmGaM9Q.d.ts → GhostSpeakClient-bnXwUPHI.d.ts} +10 -6
- package/dist/{StakingModule-C5rzuOWb.d.ts → StakingModule-DunDShLq.d.ts} +263 -343
- package/dist/{agent-5YLZ7DAC.js → agent-S42FIMR7.js} +3 -3
- package/dist/{agent-5YLZ7DAC.js.map → agent-S42FIMR7.js.map} +1 -1
- package/dist/browser-CI5_6Gzk.d.ts +234 -0
- package/dist/browser.d.ts +3 -64
- package/dist/browser.js +9 -9
- package/dist/{chunk-SFTSZ3LC.js → chunk-46QWY3MG.js} +3 -3
- package/dist/{chunk-SFTSZ3LC.js.map → chunk-46QWY3MG.js.map} +1 -1
- package/dist/{chunk-G7S6B6WB.js → chunk-5QBSC4T4.js} +7 -7
- package/dist/{chunk-G7S6B6WB.js.map → chunk-5QBSC4T4.js.map} +1 -1
- package/dist/{chunk-IHVDQ4YI.js → chunk-5QZVFUXB.js} +201 -256
- package/dist/chunk-5QZVFUXB.js.map +1 -0
- package/dist/{chunk-E3FD2CNY.js → chunk-6XCCMJ6M.js} +19 -23
- package/dist/chunk-6XCCMJ6M.js.map +1 -0
- package/dist/{chunk-JV2SWONF.js → chunk-A7ALCVUI.js} +3 -3
- package/dist/{chunk-JV2SWONF.js.map → chunk-A7ALCVUI.js.map} +1 -1
- package/dist/{chunk-AL3HQN73.js → chunk-AWMGX3OX.js} +172 -112
- package/dist/chunk-AWMGX3OX.js.map +1 -0
- package/dist/{chunk-S74EH3KD.js → chunk-IQM5RASO.js} +637 -25
- package/dist/chunk-IQM5RASO.js.map +1 -0
- package/dist/{chunk-SZGFSCNU.js → chunk-JYXSOXCP.js} +467 -299
- package/dist/chunk-JYXSOXCP.js.map +1 -0
- package/dist/{chunk-C5CDA3WX.js → chunk-OXA7MECJ.js} +476 -3
- package/dist/chunk-OXA7MECJ.js.map +1 -0
- package/dist/{chunk-KB6CKIUK.js → chunk-QLRWUHN2.js} +3 -3
- package/dist/{chunk-KB6CKIUK.js.map → chunk-QLRWUHN2.js.map} +1 -1
- package/dist/client.d.ts +2 -3
- package/dist/client.js +9 -9
- package/dist/{createAgentAuthorization-ULG47ZJI.js → createAgentAuthorization-KGZNXZBT.js} +4 -4
- package/dist/{createAgentAuthorization-ULG47ZJI.js.map → createAgentAuthorization-KGZNXZBT.js.map} +1 -1
- package/dist/generated-QJREJQ2C.js +9 -0
- package/dist/{generated-EG5USUFG.js.map → generated-QJREJQ2C.js.map} +1 -1
- package/dist/index.d.ts +209 -231
- package/dist/index.js +231 -521
- package/dist/index.js.map +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/minimal/core-minimal.d.ts +266 -184
- package/dist/minimal/core-minimal.js +6 -6
- package/dist/minimal/core-minimal.js.map +1 -1
- package/dist/{revokeAuthorization-OK7E7OK3.js → revokeAuthorization-2ZRO6GUZ.js} +4 -4
- package/dist/{revokeAuthorization-OK7E7OK3.js.map → revokeAuthorization-2ZRO6GUZ.js.map} +1 -1
- package/dist/{updateReputationWithAuth-Y4ONEVSP.js → updateReputationWithAuth-PCEUOCFV.js} +4 -4
- package/dist/{updateReputationWithAuth-Y4ONEVSP.js.map → updateReputationWithAuth-PCEUOCFV.js.map} +1 -1
- package/dist/utils.js +9 -9
- package/package.json +4 -4
- package/dist/chunk-AL3HQN73.js.map +0 -1
- package/dist/chunk-C5CDA3WX.js.map +0 -1
- package/dist/chunk-E3FD2CNY.js.map +0 -1
- package/dist/chunk-IHVDQ4YI.js.map +0 -1
- package/dist/chunk-S74EH3KD.js.map +0 -1
- package/dist/chunk-SZGFSCNU.js.map +0 -1
- package/dist/generated-EG5USUFG.js +0 -9
|
@@ -14,16 +14,17 @@ var GhostspeakMarketplaceAccount = /* @__PURE__ */ ((GhostspeakMarketplaceAccoun
|
|
|
14
14
|
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["CredentialTemplate"] = 8] = "CredentialTemplate";
|
|
15
15
|
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["CredentialType"] = 9] = "CredentialType";
|
|
16
16
|
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["DidDocument"] = 10] = "DidDocument";
|
|
17
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
18
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
19
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
20
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
21
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
22
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
23
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
24
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
25
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
26
|
-
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["
|
|
17
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["ExternalIdMapping"] = 11] = "ExternalIdMapping";
|
|
18
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["GhostProtectEscrow"] = 12] = "GhostProtectEscrow";
|
|
19
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["GovernanceProposal"] = 13] = "GovernanceProposal";
|
|
20
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["Multisig"] = 14] = "Multisig";
|
|
21
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["ProtocolConfig"] = 15] = "ProtocolConfig";
|
|
22
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["RbacConfig"] = 16] = "RbacConfig";
|
|
23
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["ReentrancyGuard"] = 17] = "ReentrancyGuard";
|
|
24
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["ReputationMetrics"] = 18] = "ReputationMetrics";
|
|
25
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["StakingAccount"] = 19] = "StakingAccount";
|
|
26
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["StakingConfig"] = 20] = "StakingConfig";
|
|
27
|
+
GhostspeakMarketplaceAccount2[GhostspeakMarketplaceAccount2["UserRegistry"] = 21] = "UserRegistry";
|
|
27
28
|
return GhostspeakMarketplaceAccount2;
|
|
28
29
|
})(GhostspeakMarketplaceAccount || {});
|
|
29
30
|
function identifyGhostspeakMarketplaceAccount(account) {
|
|
@@ -127,6 +128,15 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
127
128
|
)) {
|
|
128
129
|
return 10 /* DidDocument */;
|
|
129
130
|
}
|
|
131
|
+
if (containsBytes(
|
|
132
|
+
data,
|
|
133
|
+
fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
134
|
+
new Uint8Array([180, 218, 64, 128, 181, 84, 116, 180])
|
|
135
|
+
),
|
|
136
|
+
0
|
|
137
|
+
)) {
|
|
138
|
+
return 11 /* ExternalIdMapping */;
|
|
139
|
+
}
|
|
130
140
|
if (containsBytes(
|
|
131
141
|
data,
|
|
132
142
|
fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
@@ -134,7 +144,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
134
144
|
),
|
|
135
145
|
0
|
|
136
146
|
)) {
|
|
137
|
-
return
|
|
147
|
+
return 12 /* GhostProtectEscrow */;
|
|
138
148
|
}
|
|
139
149
|
if (containsBytes(
|
|
140
150
|
data,
|
|
@@ -143,7 +153,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
143
153
|
),
|
|
144
154
|
0
|
|
145
155
|
)) {
|
|
146
|
-
return
|
|
156
|
+
return 13 /* GovernanceProposal */;
|
|
147
157
|
}
|
|
148
158
|
if (containsBytes(
|
|
149
159
|
data,
|
|
@@ -152,7 +162,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
152
162
|
),
|
|
153
163
|
0
|
|
154
164
|
)) {
|
|
155
|
-
return
|
|
165
|
+
return 14 /* Multisig */;
|
|
156
166
|
}
|
|
157
167
|
if (containsBytes(
|
|
158
168
|
data,
|
|
@@ -161,7 +171,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
161
171
|
),
|
|
162
172
|
0
|
|
163
173
|
)) {
|
|
164
|
-
return
|
|
174
|
+
return 15 /* ProtocolConfig */;
|
|
165
175
|
}
|
|
166
176
|
if (containsBytes(
|
|
167
177
|
data,
|
|
@@ -170,7 +180,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
170
180
|
),
|
|
171
181
|
0
|
|
172
182
|
)) {
|
|
173
|
-
return
|
|
183
|
+
return 16 /* RbacConfig */;
|
|
174
184
|
}
|
|
175
185
|
if (containsBytes(
|
|
176
186
|
data,
|
|
@@ -179,7 +189,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
179
189
|
),
|
|
180
190
|
0
|
|
181
191
|
)) {
|
|
182
|
-
return
|
|
192
|
+
return 17 /* ReentrancyGuard */;
|
|
183
193
|
}
|
|
184
194
|
if (containsBytes(
|
|
185
195
|
data,
|
|
@@ -188,7 +198,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
188
198
|
),
|
|
189
199
|
0
|
|
190
200
|
)) {
|
|
191
|
-
return
|
|
201
|
+
return 18 /* ReputationMetrics */;
|
|
192
202
|
}
|
|
193
203
|
if (containsBytes(
|
|
194
204
|
data,
|
|
@@ -197,7 +207,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
197
207
|
),
|
|
198
208
|
0
|
|
199
209
|
)) {
|
|
200
|
-
return
|
|
210
|
+
return 19 /* StakingAccount */;
|
|
201
211
|
}
|
|
202
212
|
if (containsBytes(
|
|
203
213
|
data,
|
|
@@ -206,7 +216,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
206
216
|
),
|
|
207
217
|
0
|
|
208
218
|
)) {
|
|
209
|
-
return
|
|
219
|
+
return 20 /* StakingConfig */;
|
|
210
220
|
}
|
|
211
221
|
if (containsBytes(
|
|
212
222
|
data,
|
|
@@ -215,7 +225,7 @@ function identifyGhostspeakMarketplaceAccount(account) {
|
|
|
215
225
|
),
|
|
216
226
|
0
|
|
217
227
|
)) {
|
|
218
|
-
return
|
|
228
|
+
return 21 /* UserRegistry */;
|
|
219
229
|
}
|
|
220
230
|
throw new Error(
|
|
221
231
|
"The provided account could not be identified as a ghostspeakMarketplace account."
|
|
@@ -225,51 +235,56 @@ var GhostspeakMarketplaceInstruction = /* @__PURE__ */ ((GhostspeakMarketplaceIn
|
|
|
225
235
|
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["ActivateAgent"] = 0] = "ActivateAgent";
|
|
226
236
|
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["ApproveDelivery"] = 1] = "ApproveDelivery";
|
|
227
237
|
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["ArbitrateDispute"] = 2] = "ArbitrateDispute";
|
|
228
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
229
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
230
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
231
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
232
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
233
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
234
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
235
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
236
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
237
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
238
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
239
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
240
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
241
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
242
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
243
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
244
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
245
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
246
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
247
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
248
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
249
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
250
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
251
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
252
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
253
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
254
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
255
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
256
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
257
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
258
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
259
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
260
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
261
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
262
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
263
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
264
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
265
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
266
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
267
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
268
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
269
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
270
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
271
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
272
|
-
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["
|
|
238
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["AutoCreateGhost"] = 3] = "AutoCreateGhost";
|
|
239
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["ClaimGhost"] = 4] = "ClaimGhost";
|
|
240
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["CreateAgentAuthorization"] = 5] = "CreateAgentAuthorization";
|
|
241
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["CreateCredentialTemplate"] = 6] = "CreateCredentialTemplate";
|
|
242
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["CreateCredentialType"] = 7] = "CreateCredentialType";
|
|
243
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["CreateDidDocument"] = 8] = "CreateDidDocument";
|
|
244
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["CreateEscrow"] = 9] = "CreateEscrow";
|
|
245
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["CreateMultisig"] = 10] = "CreateMultisig";
|
|
246
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["DeactivateAgent"] = 11] = "DeactivateAgent";
|
|
247
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["DeactivateCredentialTemplate"] = 12] = "DeactivateCredentialTemplate";
|
|
248
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["DeactivateCredentialType"] = 13] = "DeactivateCredentialType";
|
|
249
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["DeactivateDidDocument"] = 14] = "DeactivateDidDocument";
|
|
250
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["EnableProtocolFees"] = 15] = "EnableProtocolFees";
|
|
251
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["FileDispute"] = 16] = "FileDispute";
|
|
252
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["GenerateComplianceReport"] = 17] = "GenerateComplianceReport";
|
|
253
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["InitReentrancyGuard"] = 18] = "InitReentrancyGuard";
|
|
254
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["InitializeAuditTrail"] = 19] = "InitializeAuditTrail";
|
|
255
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["InitializeGovernanceProposal"] = 20] = "InitializeGovernanceProposal";
|
|
256
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["InitializeProtocolConfig"] = 21] = "InitializeProtocolConfig";
|
|
257
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["InitializeRbacConfig"] = 22] = "InitializeRbacConfig";
|
|
258
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["InitializeReputationMetrics"] = 23] = "InitializeReputationMetrics";
|
|
259
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["InitializeStakingConfig"] = 24] = "InitializeStakingConfig";
|
|
260
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["IssueCredential"] = 25] = "IssueCredential";
|
|
261
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["LinkExternalId"] = 26] = "LinkExternalId";
|
|
262
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["ManageAgentStatus"] = 27] = "ManageAgentStatus";
|
|
263
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["RecordPayaiPayment"] = 28] = "RecordPayaiPayment";
|
|
264
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["RegisterAgent"] = 29] = "RegisterAgent";
|
|
265
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["RegisterAgentCompressed"] = 30] = "RegisterAgentCompressed";
|
|
266
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["RegisterGhostMetadata"] = 31] = "RegisterGhostMetadata";
|
|
267
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["ResetReentrancyGuard"] = 32] = "ResetReentrancyGuard";
|
|
268
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["ResolveDidDocument"] = 33] = "ResolveDidDocument";
|
|
269
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["RevokeAuthorization"] = 34] = "RevokeAuthorization";
|
|
270
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["RevokeCredential"] = 35] = "RevokeCredential";
|
|
271
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["SlashStake"] = 36] = "SlashStake";
|
|
272
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["StakeGhost"] = 37] = "StakeGhost";
|
|
273
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["SubmitDelivery"] = 38] = "SubmitDelivery";
|
|
274
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["SubmitServiceRating"] = 39] = "SubmitServiceRating";
|
|
275
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UnstakeGhost"] = 40] = "UnstakeGhost";
|
|
276
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateAgent"] = 41] = "UpdateAgent";
|
|
277
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateAgentReputation"] = 42] = "UpdateAgentReputation";
|
|
278
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateAgentService"] = 43] = "UpdateAgentService";
|
|
279
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateCrosschainStatus"] = 44] = "UpdateCrosschainStatus";
|
|
280
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateDidDocument"] = 45] = "UpdateDidDocument";
|
|
281
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateGhostScore"] = 46] = "UpdateGhostScore";
|
|
282
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateProtocolConfig"] = 47] = "UpdateProtocolConfig";
|
|
283
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateReputationTags"] = 48] = "UpdateReputationTags";
|
|
284
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateReputationWithAuth"] = 49] = "UpdateReputationWithAuth";
|
|
285
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["UpdateSourceReputation"] = 50] = "UpdateSourceReputation";
|
|
286
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["VerifyAgent"] = 51] = "VerifyAgent";
|
|
287
|
+
GhostspeakMarketplaceInstruction2[GhostspeakMarketplaceInstruction2["VerifyAuthorization"] = 52] = "VerifyAuthorization";
|
|
273
288
|
return GhostspeakMarketplaceInstruction2;
|
|
274
289
|
})(GhostspeakMarketplaceInstruction || {});
|
|
275
290
|
function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
@@ -301,6 +316,24 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
301
316
|
)) {
|
|
302
317
|
return 2 /* ArbitrateDispute */;
|
|
303
318
|
}
|
|
319
|
+
if (containsBytes(
|
|
320
|
+
data,
|
|
321
|
+
fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
322
|
+
new Uint8Array([50, 170, 232, 73, 238, 200, 180, 16])
|
|
323
|
+
),
|
|
324
|
+
0
|
|
325
|
+
)) {
|
|
326
|
+
return 3 /* AutoCreateGhost */;
|
|
327
|
+
}
|
|
328
|
+
if (containsBytes(
|
|
329
|
+
data,
|
|
330
|
+
fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
331
|
+
new Uint8Array([149, 107, 35, 233, 252, 101, 148, 225])
|
|
332
|
+
),
|
|
333
|
+
0
|
|
334
|
+
)) {
|
|
335
|
+
return 4 /* ClaimGhost */;
|
|
336
|
+
}
|
|
304
337
|
if (containsBytes(
|
|
305
338
|
data,
|
|
306
339
|
fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
@@ -308,7 +341,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
308
341
|
),
|
|
309
342
|
0
|
|
310
343
|
)) {
|
|
311
|
-
return
|
|
344
|
+
return 5 /* CreateAgentAuthorization */;
|
|
312
345
|
}
|
|
313
346
|
if (containsBytes(
|
|
314
347
|
data,
|
|
@@ -317,7 +350,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
317
350
|
),
|
|
318
351
|
0
|
|
319
352
|
)) {
|
|
320
|
-
return
|
|
353
|
+
return 6 /* CreateCredentialTemplate */;
|
|
321
354
|
}
|
|
322
355
|
if (containsBytes(
|
|
323
356
|
data,
|
|
@@ -326,7 +359,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
326
359
|
),
|
|
327
360
|
0
|
|
328
361
|
)) {
|
|
329
|
-
return
|
|
362
|
+
return 7 /* CreateCredentialType */;
|
|
330
363
|
}
|
|
331
364
|
if (containsBytes(
|
|
332
365
|
data,
|
|
@@ -335,7 +368,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
335
368
|
),
|
|
336
369
|
0
|
|
337
370
|
)) {
|
|
338
|
-
return
|
|
371
|
+
return 8 /* CreateDidDocument */;
|
|
339
372
|
}
|
|
340
373
|
if (containsBytes(
|
|
341
374
|
data,
|
|
@@ -344,7 +377,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
344
377
|
),
|
|
345
378
|
0
|
|
346
379
|
)) {
|
|
347
|
-
return
|
|
380
|
+
return 9 /* CreateEscrow */;
|
|
348
381
|
}
|
|
349
382
|
if (containsBytes(
|
|
350
383
|
data,
|
|
@@ -353,7 +386,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
353
386
|
),
|
|
354
387
|
0
|
|
355
388
|
)) {
|
|
356
|
-
return
|
|
389
|
+
return 10 /* CreateMultisig */;
|
|
357
390
|
}
|
|
358
391
|
if (containsBytes(
|
|
359
392
|
data,
|
|
@@ -362,7 +395,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
362
395
|
),
|
|
363
396
|
0
|
|
364
397
|
)) {
|
|
365
|
-
return
|
|
398
|
+
return 11 /* DeactivateAgent */;
|
|
366
399
|
}
|
|
367
400
|
if (containsBytes(
|
|
368
401
|
data,
|
|
@@ -371,7 +404,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
371
404
|
),
|
|
372
405
|
0
|
|
373
406
|
)) {
|
|
374
|
-
return
|
|
407
|
+
return 12 /* DeactivateCredentialTemplate */;
|
|
375
408
|
}
|
|
376
409
|
if (containsBytes(
|
|
377
410
|
data,
|
|
@@ -380,7 +413,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
380
413
|
),
|
|
381
414
|
0
|
|
382
415
|
)) {
|
|
383
|
-
return
|
|
416
|
+
return 13 /* DeactivateCredentialType */;
|
|
384
417
|
}
|
|
385
418
|
if (containsBytes(
|
|
386
419
|
data,
|
|
@@ -389,7 +422,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
389
422
|
),
|
|
390
423
|
0
|
|
391
424
|
)) {
|
|
392
|
-
return
|
|
425
|
+
return 14 /* DeactivateDidDocument */;
|
|
393
426
|
}
|
|
394
427
|
if (containsBytes(
|
|
395
428
|
data,
|
|
@@ -398,7 +431,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
398
431
|
),
|
|
399
432
|
0
|
|
400
433
|
)) {
|
|
401
|
-
return
|
|
434
|
+
return 15 /* EnableProtocolFees */;
|
|
402
435
|
}
|
|
403
436
|
if (containsBytes(
|
|
404
437
|
data,
|
|
@@ -407,7 +440,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
407
440
|
),
|
|
408
441
|
0
|
|
409
442
|
)) {
|
|
410
|
-
return
|
|
443
|
+
return 16 /* FileDispute */;
|
|
411
444
|
}
|
|
412
445
|
if (containsBytes(
|
|
413
446
|
data,
|
|
@@ -416,7 +449,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
416
449
|
),
|
|
417
450
|
0
|
|
418
451
|
)) {
|
|
419
|
-
return
|
|
452
|
+
return 17 /* GenerateComplianceReport */;
|
|
420
453
|
}
|
|
421
454
|
if (containsBytes(
|
|
422
455
|
data,
|
|
@@ -425,7 +458,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
425
458
|
),
|
|
426
459
|
0
|
|
427
460
|
)) {
|
|
428
|
-
return
|
|
461
|
+
return 18 /* InitReentrancyGuard */;
|
|
429
462
|
}
|
|
430
463
|
if (containsBytes(
|
|
431
464
|
data,
|
|
@@ -434,7 +467,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
434
467
|
),
|
|
435
468
|
0
|
|
436
469
|
)) {
|
|
437
|
-
return
|
|
470
|
+
return 19 /* InitializeAuditTrail */;
|
|
438
471
|
}
|
|
439
472
|
if (containsBytes(
|
|
440
473
|
data,
|
|
@@ -443,7 +476,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
443
476
|
),
|
|
444
477
|
0
|
|
445
478
|
)) {
|
|
446
|
-
return
|
|
479
|
+
return 20 /* InitializeGovernanceProposal */;
|
|
447
480
|
}
|
|
448
481
|
if (containsBytes(
|
|
449
482
|
data,
|
|
@@ -452,7 +485,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
452
485
|
),
|
|
453
486
|
0
|
|
454
487
|
)) {
|
|
455
|
-
return
|
|
488
|
+
return 21 /* InitializeProtocolConfig */;
|
|
456
489
|
}
|
|
457
490
|
if (containsBytes(
|
|
458
491
|
data,
|
|
@@ -461,7 +494,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
461
494
|
),
|
|
462
495
|
0
|
|
463
496
|
)) {
|
|
464
|
-
return
|
|
497
|
+
return 22 /* InitializeRbacConfig */;
|
|
465
498
|
}
|
|
466
499
|
if (containsBytes(
|
|
467
500
|
data,
|
|
@@ -470,7 +503,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
470
503
|
),
|
|
471
504
|
0
|
|
472
505
|
)) {
|
|
473
|
-
return
|
|
506
|
+
return 23 /* InitializeReputationMetrics */;
|
|
474
507
|
}
|
|
475
508
|
if (containsBytes(
|
|
476
509
|
data,
|
|
@@ -479,7 +512,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
479
512
|
),
|
|
480
513
|
0
|
|
481
514
|
)) {
|
|
482
|
-
return
|
|
515
|
+
return 24 /* InitializeStakingConfig */;
|
|
483
516
|
}
|
|
484
517
|
if (containsBytes(
|
|
485
518
|
data,
|
|
@@ -488,7 +521,16 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
488
521
|
),
|
|
489
522
|
0
|
|
490
523
|
)) {
|
|
491
|
-
return
|
|
524
|
+
return 25 /* IssueCredential */;
|
|
525
|
+
}
|
|
526
|
+
if (containsBytes(
|
|
527
|
+
data,
|
|
528
|
+
fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
529
|
+
new Uint8Array([156, 102, 141, 155, 175, 13, 29, 86])
|
|
530
|
+
),
|
|
531
|
+
0
|
|
532
|
+
)) {
|
|
533
|
+
return 26 /* LinkExternalId */;
|
|
492
534
|
}
|
|
493
535
|
if (containsBytes(
|
|
494
536
|
data,
|
|
@@ -497,7 +539,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
497
539
|
),
|
|
498
540
|
0
|
|
499
541
|
)) {
|
|
500
|
-
return
|
|
542
|
+
return 27 /* ManageAgentStatus */;
|
|
501
543
|
}
|
|
502
544
|
if (containsBytes(
|
|
503
545
|
data,
|
|
@@ -506,7 +548,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
506
548
|
),
|
|
507
549
|
0
|
|
508
550
|
)) {
|
|
509
|
-
return
|
|
551
|
+
return 28 /* RecordPayaiPayment */;
|
|
510
552
|
}
|
|
511
553
|
if (containsBytes(
|
|
512
554
|
data,
|
|
@@ -515,7 +557,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
515
557
|
),
|
|
516
558
|
0
|
|
517
559
|
)) {
|
|
518
|
-
return
|
|
560
|
+
return 29 /* RegisterAgent */;
|
|
519
561
|
}
|
|
520
562
|
if (containsBytes(
|
|
521
563
|
data,
|
|
@@ -524,7 +566,16 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
524
566
|
),
|
|
525
567
|
0
|
|
526
568
|
)) {
|
|
527
|
-
return
|
|
569
|
+
return 30 /* RegisterAgentCompressed */;
|
|
570
|
+
}
|
|
571
|
+
if (containsBytes(
|
|
572
|
+
data,
|
|
573
|
+
fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
574
|
+
new Uint8Array([34, 233, 111, 236, 212, 22, 26, 254])
|
|
575
|
+
),
|
|
576
|
+
0
|
|
577
|
+
)) {
|
|
578
|
+
return 31 /* RegisterGhostMetadata */;
|
|
528
579
|
}
|
|
529
580
|
if (containsBytes(
|
|
530
581
|
data,
|
|
@@ -533,7 +584,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
533
584
|
),
|
|
534
585
|
0
|
|
535
586
|
)) {
|
|
536
|
-
return
|
|
587
|
+
return 32 /* ResetReentrancyGuard */;
|
|
537
588
|
}
|
|
538
589
|
if (containsBytes(
|
|
539
590
|
data,
|
|
@@ -542,7 +593,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
542
593
|
),
|
|
543
594
|
0
|
|
544
595
|
)) {
|
|
545
|
-
return
|
|
596
|
+
return 33 /* ResolveDidDocument */;
|
|
546
597
|
}
|
|
547
598
|
if (containsBytes(
|
|
548
599
|
data,
|
|
@@ -551,7 +602,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
551
602
|
),
|
|
552
603
|
0
|
|
553
604
|
)) {
|
|
554
|
-
return
|
|
605
|
+
return 34 /* RevokeAuthorization */;
|
|
555
606
|
}
|
|
556
607
|
if (containsBytes(
|
|
557
608
|
data,
|
|
@@ -560,7 +611,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
560
611
|
),
|
|
561
612
|
0
|
|
562
613
|
)) {
|
|
563
|
-
return
|
|
614
|
+
return 35 /* RevokeCredential */;
|
|
564
615
|
}
|
|
565
616
|
if (containsBytes(
|
|
566
617
|
data,
|
|
@@ -569,7 +620,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
569
620
|
),
|
|
570
621
|
0
|
|
571
622
|
)) {
|
|
572
|
-
return
|
|
623
|
+
return 36 /* SlashStake */;
|
|
573
624
|
}
|
|
574
625
|
if (containsBytes(
|
|
575
626
|
data,
|
|
@@ -578,7 +629,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
578
629
|
),
|
|
579
630
|
0
|
|
580
631
|
)) {
|
|
581
|
-
return
|
|
632
|
+
return 37 /* StakeGhost */;
|
|
582
633
|
}
|
|
583
634
|
if (containsBytes(
|
|
584
635
|
data,
|
|
@@ -587,7 +638,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
587
638
|
),
|
|
588
639
|
0
|
|
589
640
|
)) {
|
|
590
|
-
return
|
|
641
|
+
return 38 /* SubmitDelivery */;
|
|
591
642
|
}
|
|
592
643
|
if (containsBytes(
|
|
593
644
|
data,
|
|
@@ -596,7 +647,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
596
647
|
),
|
|
597
648
|
0
|
|
598
649
|
)) {
|
|
599
|
-
return
|
|
650
|
+
return 39 /* SubmitServiceRating */;
|
|
600
651
|
}
|
|
601
652
|
if (containsBytes(
|
|
602
653
|
data,
|
|
@@ -605,7 +656,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
605
656
|
),
|
|
606
657
|
0
|
|
607
658
|
)) {
|
|
608
|
-
return
|
|
659
|
+
return 40 /* UnstakeGhost */;
|
|
609
660
|
}
|
|
610
661
|
if (containsBytes(
|
|
611
662
|
data,
|
|
@@ -614,7 +665,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
614
665
|
),
|
|
615
666
|
0
|
|
616
667
|
)) {
|
|
617
|
-
return
|
|
668
|
+
return 41 /* UpdateAgent */;
|
|
618
669
|
}
|
|
619
670
|
if (containsBytes(
|
|
620
671
|
data,
|
|
@@ -623,7 +674,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
623
674
|
),
|
|
624
675
|
0
|
|
625
676
|
)) {
|
|
626
|
-
return
|
|
677
|
+
return 42 /* UpdateAgentReputation */;
|
|
627
678
|
}
|
|
628
679
|
if (containsBytes(
|
|
629
680
|
data,
|
|
@@ -632,7 +683,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
632
683
|
),
|
|
633
684
|
0
|
|
634
685
|
)) {
|
|
635
|
-
return
|
|
686
|
+
return 43 /* UpdateAgentService */;
|
|
636
687
|
}
|
|
637
688
|
if (containsBytes(
|
|
638
689
|
data,
|
|
@@ -641,7 +692,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
641
692
|
),
|
|
642
693
|
0
|
|
643
694
|
)) {
|
|
644
|
-
return
|
|
695
|
+
return 44 /* UpdateCrosschainStatus */;
|
|
645
696
|
}
|
|
646
697
|
if (containsBytes(
|
|
647
698
|
data,
|
|
@@ -650,7 +701,16 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
650
701
|
),
|
|
651
702
|
0
|
|
652
703
|
)) {
|
|
653
|
-
return
|
|
704
|
+
return 45 /* UpdateDidDocument */;
|
|
705
|
+
}
|
|
706
|
+
if (containsBytes(
|
|
707
|
+
data,
|
|
708
|
+
fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
709
|
+
new Uint8Array([213, 152, 5, 80, 163, 224, 151, 120])
|
|
710
|
+
),
|
|
711
|
+
0
|
|
712
|
+
)) {
|
|
713
|
+
return 46 /* UpdateGhostScore */;
|
|
654
714
|
}
|
|
655
715
|
if (containsBytes(
|
|
656
716
|
data,
|
|
@@ -659,7 +719,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
659
719
|
),
|
|
660
720
|
0
|
|
661
721
|
)) {
|
|
662
|
-
return
|
|
722
|
+
return 47 /* UpdateProtocolConfig */;
|
|
663
723
|
}
|
|
664
724
|
if (containsBytes(
|
|
665
725
|
data,
|
|
@@ -668,7 +728,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
668
728
|
),
|
|
669
729
|
0
|
|
670
730
|
)) {
|
|
671
|
-
return
|
|
731
|
+
return 48 /* UpdateReputationTags */;
|
|
672
732
|
}
|
|
673
733
|
if (containsBytes(
|
|
674
734
|
data,
|
|
@@ -677,7 +737,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
677
737
|
),
|
|
678
738
|
0
|
|
679
739
|
)) {
|
|
680
|
-
return
|
|
740
|
+
return 49 /* UpdateReputationWithAuth */;
|
|
681
741
|
}
|
|
682
742
|
if (containsBytes(
|
|
683
743
|
data,
|
|
@@ -686,7 +746,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
686
746
|
),
|
|
687
747
|
0
|
|
688
748
|
)) {
|
|
689
|
-
return
|
|
749
|
+
return 50 /* UpdateSourceReputation */;
|
|
690
750
|
}
|
|
691
751
|
if (containsBytes(
|
|
692
752
|
data,
|
|
@@ -695,7 +755,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
695
755
|
),
|
|
696
756
|
0
|
|
697
757
|
)) {
|
|
698
|
-
return
|
|
758
|
+
return 51 /* VerifyAgent */;
|
|
699
759
|
}
|
|
700
760
|
if (containsBytes(
|
|
701
761
|
data,
|
|
@@ -704,7 +764,7 @@ function identifyGhostspeakMarketplaceInstruction(instruction) {
|
|
|
704
764
|
),
|
|
705
765
|
0
|
|
706
766
|
)) {
|
|
707
|
-
return
|
|
767
|
+
return 52 /* VerifyAuthorization */;
|
|
708
768
|
}
|
|
709
769
|
throw new Error(
|
|
710
770
|
"The provided instruction could not be identified as a ghostspeakMarketplace instruction."
|
|
@@ -750,5 +810,5 @@ function isTransactionSigner(value) {
|
|
|
750
810
|
}
|
|
751
811
|
|
|
752
812
|
export { GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS, GhostspeakMarketplaceAccount, GhostspeakMarketplaceInstruction, expectAddress, expectSome, getAccountMetaFactory, identifyGhostspeakMarketplaceAccount, identifyGhostspeakMarketplaceInstruction };
|
|
753
|
-
//# sourceMappingURL=chunk-
|
|
754
|
-
//# sourceMappingURL=chunk-
|
|
813
|
+
//# sourceMappingURL=chunk-AWMGX3OX.js.map
|
|
814
|
+
//# sourceMappingURL=chunk-AWMGX3OX.js.map
|