@ghostspeak/sdk 2.0.7 → 2.0.10
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/.tsbuildinfo +1 -0
- package/dist/{GhostSpeakClient-CWmGaM9Q.d.ts → GhostSpeakClient-qdLGyuDp.d.ts} +11 -7
- package/dist/{StakingModule-C5rzuOWb.d.ts → StakingModule-CPhp_ZY0.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-D1TpjbjZ.d.ts +234 -0
- package/dist/browser.d.ts +4 -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-IHVDQ4YI.js → chunk-5QZVFUXB.js} +201 -256
- package/dist/chunk-5QZVFUXB.js.map +1 -0
- package/dist/{chunk-E3FD2CNY.js → chunk-5SS3OL4B.js} +20 -24
- package/dist/chunk-5SS3OL4B.js.map +1 -0
- package/dist/{chunk-SZGFSCNU.js → chunk-63A7F2YP.js} +504 -326
- package/dist/chunk-63A7F2YP.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-G7S6B6WB.js → chunk-EU6PHSM5.js} +7 -7
- package/dist/{chunk-G7S6B6WB.js.map → chunk-EU6PHSM5.js.map} +1 -1
- package/dist/{chunk-C5CDA3WX.js → chunk-HIDBANFS.js} +529 -4
- package/dist/chunk-HIDBANFS.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-KB6CKIUK.js → chunk-QLRWUHN2.js} +3 -3
- package/dist/{chunk-KB6CKIUK.js.map → chunk-QLRWUHN2.js.map} +1 -1
- package/dist/{chunk-BQDGRTVP.js → chunk-QWQTPTZ4.js} +39 -51
- package/dist/chunk-QWQTPTZ4.js.map +1 -0
- package/dist/client.d.ts +3 -4
- package/dist/client.js +10 -10
- 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 +345 -236
- package/dist/index.js +372 -537
- package/dist/index.js.map +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/minimal/core-minimal.d.ts +266 -189
- 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/{signature-verification-DGxR4aYQ.d.ts → signature-verification-BDzoR1MG.d.ts} +0 -5
- 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.d.ts +143 -2
- package/dist/utils.js +10 -10
- package/dist/utils.js.map +1 -1
- package/package.json +5 -3
- package/dist/chunk-AL3HQN73.js.map +0 -1
- package/dist/chunk-BQDGRTVP.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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getAgentVerificationDataEncoder, getAgentVerificationDataDecoder, getAuditConfigEncoder, getComplianceStatusEncoder, getAuditEntryEncoder, getAuditConfigDecoder, getComplianceStatusDecoder, getAuditEntryDecoder, getReportTypeEncoder, getReportDataEncoder, getReportStatusEncoder, getSubmissionDetailsEncoder, getReportTypeDecoder, getReportDataDecoder, getReportStatusDecoder, getSubmissionDetailsDecoder, getCredentialStatusEncoder, getCrossChainStatusEncoder, getCredentialStatusDecoder, getCrossChainStatusDecoder, getCredentialKindEncoder, getCredentialKindDecoder, getVerificationMethodEncoder, getServiceEndpointEncoder, getVerificationMethodDecoder, getServiceEndpointDecoder, getEscrowStatusEncoder, getArbitratorDecisionEncoder, getEscrowStatusDecoder, getArbitratorDecisionDecoder, getProposalTypeEncoder, getProposalStatusEncoder, getVotingResultsEncoder, getExecutionParamsEncoder, getQuorumRequirementsEncoder, getProposalMetadataEncoder, getProposalTypeDecoder, getProposalStatusDecoder, getVotingResultsDecoder, getExecutionParamsDecoder, getQuorumRequirementsDecoder, getProposalMetadataDecoder, getMultisigTypeEncoder, getMultisigConfigEncoder, getEmergencyConfigEncoder, getMultisigTypeConfigEncoder, getPendingTransactionEncoder, getMultisigTypeDecoder, getMultisigConfigDecoder, getEmergencyConfigDecoder, getMultisigTypeConfigDecoder, getPendingTransactionDecoder, getSecurityPoliciesEncoder, getAccessAuditConfigEncoder, getEmergencyAccessConfigEncoder, getRoleEncoder, getPermissionEncoder, getAccessPolicyEncoder, getSecurityPoliciesDecoder, getAccessAuditConfigDecoder, getEmergencyAccessConfigDecoder, getRoleDecoder, getPermissionDecoder, getAccessPolicyDecoder, getReentrancyStateEncoder, getReentrancyStateDecoder, getTagScoreEncoder, getSourceScoreEncoder, getTagScoreDecoder, getSourceScoreDecoder, getAccessTierEncoder, getAccessTierDecoder, getPricingModelEncoder, getPricingModelDecoder, getSlashReasonEncoder, getSlashReasonDecoder } from './chunk-
|
|
2
|
-
import { GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS, expectAddress, expectSome, getAccountMetaFactory } from './chunk-
|
|
1
|
+
import { getAgentVerificationDataEncoder, getAgentVerificationDataDecoder, getAuditConfigEncoder, getComplianceStatusEncoder, getAuditEntryEncoder, getAuditConfigDecoder, getComplianceStatusDecoder, getAuditEntryDecoder, getReportTypeEncoder, getReportDataEncoder, getReportStatusEncoder, getSubmissionDetailsEncoder, getReportTypeDecoder, getReportDataDecoder, getReportStatusDecoder, getSubmissionDetailsDecoder, getCredentialStatusEncoder, getCrossChainStatusEncoder, getCredentialStatusDecoder, getCrossChainStatusDecoder, getCredentialKindEncoder, getCredentialKindDecoder, getVerificationMethodEncoder, getServiceEndpointEncoder, getVerificationMethodDecoder, getServiceEndpointDecoder, getEscrowStatusEncoder, getArbitratorDecisionEncoder, getEscrowStatusDecoder, getArbitratorDecisionDecoder, getProposalTypeEncoder, getProposalStatusEncoder, getVotingResultsEncoder, getExecutionParamsEncoder, getQuorumRequirementsEncoder, getProposalMetadataEncoder, getProposalTypeDecoder, getProposalStatusDecoder, getVotingResultsDecoder, getExecutionParamsDecoder, getQuorumRequirementsDecoder, getProposalMetadataDecoder, getMultisigTypeEncoder, getMultisigConfigEncoder, getEmergencyConfigEncoder, getMultisigTypeConfigEncoder, getPendingTransactionEncoder, getMultisigTypeDecoder, getMultisigConfigDecoder, getEmergencyConfigDecoder, getMultisigTypeConfigDecoder, getPendingTransactionDecoder, getSecurityPoliciesEncoder, getAccessAuditConfigEncoder, getEmergencyAccessConfigEncoder, getRoleEncoder, getPermissionEncoder, getAccessPolicyEncoder, getSecurityPoliciesDecoder, getAccessAuditConfigDecoder, getEmergencyAccessConfigDecoder, getRoleDecoder, getPermissionDecoder, getAccessPolicyDecoder, getReentrancyStateEncoder, getReentrancyStateDecoder, getTagScoreEncoder, getSourceScoreEncoder, getTagScoreDecoder, getSourceScoreDecoder, getAccessTierEncoder, getAccessTierDecoder, getPricingModelEncoder, getPricingModelDecoder, getSlashReasonEncoder, getSlashReasonDecoder, getReputationComponentEncoder, getReputationComponentDecoder } from './chunk-5QZVFUXB.js';
|
|
2
|
+
import { GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS, expectAddress, expectSome, getAccountMetaFactory } from './chunk-AWMGX3OX.js';
|
|
3
3
|
import { fixEncoderSize, getBytesEncoder, transformEncoder, getStructEncoder, getAddressEncoder, getU64Encoder, getI64Encoder, getU8Encoder, getOptionEncoder, getBooleanEncoder, addEncoderSizePrefix, getUtf8Encoder, getU32Encoder, getStructDecoder, fixDecoderSize, getAddressDecoder, getU64Decoder, getI64Decoder, getU8Decoder, getOptionDecoder, getBooleanDecoder, getBytesDecoder, addDecoderSizePrefix, getUtf8Decoder, getU32Decoder, combineCodec, decodeAccount, assertAccountExists, fetchEncodedAccount, assertAccountsExist, fetchEncodedAccounts, getArrayEncoder, getArrayDecoder, getU16Encoder, getU16Decoder, isProgramError, getProgramDerivedAddress } from '@solana/kit';
|
|
4
4
|
|
|
5
5
|
var AGENT_REPUTATION_AUTH_DISCRIMINATOR = new Uint8Array([
|
|
@@ -875,6 +875,84 @@ async function fetchAllMaybeDidDocument(rpc, addresses, config) {
|
|
|
875
875
|
const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
|
|
876
876
|
return maybeAccounts.map((maybeAccount) => decodeDidDocument(maybeAccount));
|
|
877
877
|
}
|
|
878
|
+
var EXTERNAL_ID_MAPPING_DISCRIMINATOR = new Uint8Array([
|
|
879
|
+
180,
|
|
880
|
+
218,
|
|
881
|
+
64,
|
|
882
|
+
128,
|
|
883
|
+
181,
|
|
884
|
+
84,
|
|
885
|
+
116,
|
|
886
|
+
180
|
|
887
|
+
]);
|
|
888
|
+
function getExternalIdMappingDiscriminatorBytes() {
|
|
889
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
890
|
+
EXTERNAL_ID_MAPPING_DISCRIMINATOR
|
|
891
|
+
);
|
|
892
|
+
}
|
|
893
|
+
function getExternalIdMappingEncoder() {
|
|
894
|
+
return transformEncoder(
|
|
895
|
+
getStructEncoder([
|
|
896
|
+
["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
|
|
897
|
+
["ghostPubkey", getAddressEncoder()],
|
|
898
|
+
["platform", addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())],
|
|
899
|
+
["externalId", addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())],
|
|
900
|
+
["createdAt", getI64Encoder()],
|
|
901
|
+
["verified", getBooleanEncoder()],
|
|
902
|
+
["verifiedAt", getOptionEncoder(getI64Encoder())],
|
|
903
|
+
["bump", getU8Encoder()]
|
|
904
|
+
]),
|
|
905
|
+
(value) => ({ ...value, discriminator: EXTERNAL_ID_MAPPING_DISCRIMINATOR })
|
|
906
|
+
);
|
|
907
|
+
}
|
|
908
|
+
function getExternalIdMappingDecoder() {
|
|
909
|
+
return getStructDecoder([
|
|
910
|
+
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
911
|
+
["ghostPubkey", getAddressDecoder()],
|
|
912
|
+
["platform", addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())],
|
|
913
|
+
["externalId", addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())],
|
|
914
|
+
["createdAt", getI64Decoder()],
|
|
915
|
+
["verified", getBooleanDecoder()],
|
|
916
|
+
["verifiedAt", getOptionDecoder(getI64Decoder())],
|
|
917
|
+
["bump", getU8Decoder()]
|
|
918
|
+
]);
|
|
919
|
+
}
|
|
920
|
+
function getExternalIdMappingCodec() {
|
|
921
|
+
return combineCodec(
|
|
922
|
+
getExternalIdMappingEncoder(),
|
|
923
|
+
getExternalIdMappingDecoder()
|
|
924
|
+
);
|
|
925
|
+
}
|
|
926
|
+
function decodeExternalIdMapping(encodedAccount) {
|
|
927
|
+
return decodeAccount(
|
|
928
|
+
encodedAccount,
|
|
929
|
+
getExternalIdMappingDecoder()
|
|
930
|
+
);
|
|
931
|
+
}
|
|
932
|
+
async function fetchExternalIdMapping(rpc, address, config) {
|
|
933
|
+
const maybeAccount = await fetchMaybeExternalIdMapping(rpc, address, config);
|
|
934
|
+
assertAccountExists(maybeAccount);
|
|
935
|
+
return maybeAccount;
|
|
936
|
+
}
|
|
937
|
+
async function fetchMaybeExternalIdMapping(rpc, address, config) {
|
|
938
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address, config);
|
|
939
|
+
return decodeExternalIdMapping(maybeAccount);
|
|
940
|
+
}
|
|
941
|
+
async function fetchAllExternalIdMapping(rpc, addresses, config) {
|
|
942
|
+
const maybeAccounts = await fetchAllMaybeExternalIdMapping(
|
|
943
|
+
rpc,
|
|
944
|
+
addresses,
|
|
945
|
+
config
|
|
946
|
+
);
|
|
947
|
+
assertAccountsExist(maybeAccounts);
|
|
948
|
+
return maybeAccounts;
|
|
949
|
+
}
|
|
950
|
+
async function fetchAllMaybeExternalIdMapping(rpc, addresses, config) {
|
|
951
|
+
const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
|
|
952
|
+
return maybeAccounts.map(
|
|
953
|
+
(maybeAccount) => decodeExternalIdMapping(maybeAccount)
|
|
954
|
+
);
|
|
955
|
+
}
|
|
878
956
|
var GHOST_PROTECT_ESCROW_DISCRIMINATOR = new Uint8Array([
|
|
879
957
|
38,
|
|
880
958
|
0,
|
|
@@ -1804,29 +1882,19 @@ async function fetchAllMaybeUserRegistry(rpc, addresses, config) {
|
|
|
1804
1882
|
function getUserRegistrySize() {
|
|
1805
1883
|
return 138;
|
|
1806
1884
|
}
|
|
1807
|
-
var
|
|
1808
|
-
var
|
|
1809
|
-
var
|
|
1810
|
-
var
|
|
1811
|
-
var
|
|
1812
|
-
var GHOSTSPEAK_MARKETPLACE_ERROR__METHOD_NOT_FOUND = 6005;
|
|
1813
|
-
var GHOSTSPEAK_MARKETPLACE_ERROR__SERVICE_NOT_FOUND = 6006;
|
|
1814
|
-
var GHOSTSPEAK_MARKETPLACE_ERROR__INVALID_DID_FORMAT = 6007;
|
|
1815
|
-
var GHOSTSPEAK_MARKETPLACE_ERROR__UNAUTHORIZED_DID_OPERATION = 6008;
|
|
1816
|
-
var GHOSTSPEAK_MARKETPLACE_ERROR__DID_DEACTIVATED = 6009;
|
|
1885
|
+
var GHOSTSPEAK_MARKETPLACE_ERROR__SYSTEM_PROGRAM_AS_ADMIN = 6e3;
|
|
1886
|
+
var GHOSTSPEAK_MARKETPLACE_ERROR__DEFAULT_KEY_AS_ADMIN = 6001;
|
|
1887
|
+
var GHOSTSPEAK_MARKETPLACE_ERROR__UNAUTHORIZED_ADMIN = 6002;
|
|
1888
|
+
var GHOSTSPEAK_MARKETPLACE_ERROR__TEST_ADDRESS_ON_MAINNET = 6003;
|
|
1889
|
+
var GHOSTSPEAK_MARKETPLACE_ERROR__VALIDATION_FAILED = 6004;
|
|
1817
1890
|
var ghostspeakMarketplaceErrorMessages;
|
|
1818
1891
|
if (process.env.NODE_ENV !== "production") {
|
|
1819
1892
|
ghostspeakMarketplaceErrorMessages = {
|
|
1820
|
-
[
|
|
1821
|
-
[
|
|
1822
|
-
[
|
|
1823
|
-
[
|
|
1824
|
-
[
|
|
1825
|
-
[GHOSTSPEAK_MARKETPLACE_ERROR__METHOD_NOT_FOUND]: `Verification method not found`,
|
|
1826
|
-
[GHOSTSPEAK_MARKETPLACE_ERROR__SERVICE_NOT_FOUND]: `Service endpoint not found`,
|
|
1827
|
-
[GHOSTSPEAK_MARKETPLACE_ERROR__TOO_MANY_SERVICE_ENDPOINTS]: `Maximum number of service endpoints reached`,
|
|
1828
|
-
[GHOSTSPEAK_MARKETPLACE_ERROR__TOO_MANY_VERIFICATION_METHODS]: `Maximum number of verification methods reached`,
|
|
1829
|
-
[GHOSTSPEAK_MARKETPLACE_ERROR__UNAUTHORIZED_DID_OPERATION]: `Unauthorized DID operation`
|
|
1893
|
+
[GHOSTSPEAK_MARKETPLACE_ERROR__DEFAULT_KEY_AS_ADMIN]: `Default (null) public key cannot be used as admin`,
|
|
1894
|
+
[GHOSTSPEAK_MARKETPLACE_ERROR__SYSTEM_PROGRAM_AS_ADMIN]: `System program cannot be used as admin`,
|
|
1895
|
+
[GHOSTSPEAK_MARKETPLACE_ERROR__TEST_ADDRESS_ON_MAINNET]: `Test address cannot be used on mainnet`,
|
|
1896
|
+
[GHOSTSPEAK_MARKETPLACE_ERROR__UNAUTHORIZED_ADMIN]: `Unauthorized admin - key does not match protocol admin`,
|
|
1897
|
+
[GHOSTSPEAK_MARKETPLACE_ERROR__VALIDATION_FAILED]: `Admin validation failed - key failed security checks or is not properly configured`
|
|
1830
1898
|
};
|
|
1831
1899
|
}
|
|
1832
1900
|
function getGhostspeakMarketplaceErrorMessage(code) {
|
|
@@ -2141,6 +2209,238 @@ function parseArbitrateDisputeInstruction(instruction) {
|
|
|
2141
2209
|
data: getArbitrateDisputeInstructionDataDecoder().decode(instruction.data)
|
|
2142
2210
|
};
|
|
2143
2211
|
}
|
|
2212
|
+
var AUTO_CREATE_GHOST_DISCRIMINATOR = new Uint8Array([
|
|
2213
|
+
50,
|
|
2214
|
+
170,
|
|
2215
|
+
232,
|
|
2216
|
+
73,
|
|
2217
|
+
238,
|
|
2218
|
+
200,
|
|
2219
|
+
180,
|
|
2220
|
+
16
|
|
2221
|
+
]);
|
|
2222
|
+
function getAutoCreateGhostDiscriminatorBytes() {
|
|
2223
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
2224
|
+
AUTO_CREATE_GHOST_DISCRIMINATOR
|
|
2225
|
+
);
|
|
2226
|
+
}
|
|
2227
|
+
function getAutoCreateGhostInstructionDataEncoder() {
|
|
2228
|
+
return transformEncoder(
|
|
2229
|
+
getStructEncoder([
|
|
2230
|
+
["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
|
|
2231
|
+
["paymentAddress", getAddressEncoder()],
|
|
2232
|
+
[
|
|
2233
|
+
"firstTxSignature",
|
|
2234
|
+
addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())
|
|
2235
|
+
],
|
|
2236
|
+
[
|
|
2237
|
+
"discoverySource",
|
|
2238
|
+
addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())
|
|
2239
|
+
],
|
|
2240
|
+
["initialGhostScore", getOptionEncoder(getU64Encoder())]
|
|
2241
|
+
]),
|
|
2242
|
+
(value) => ({ ...value, discriminator: AUTO_CREATE_GHOST_DISCRIMINATOR })
|
|
2243
|
+
);
|
|
2244
|
+
}
|
|
2245
|
+
function getAutoCreateGhostInstructionDataDecoder() {
|
|
2246
|
+
return getStructDecoder([
|
|
2247
|
+
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
2248
|
+
["paymentAddress", getAddressDecoder()],
|
|
2249
|
+
[
|
|
2250
|
+
"firstTxSignature",
|
|
2251
|
+
addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())
|
|
2252
|
+
],
|
|
2253
|
+
[
|
|
2254
|
+
"discoverySource",
|
|
2255
|
+
addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())
|
|
2256
|
+
],
|
|
2257
|
+
["initialGhostScore", getOptionDecoder(getU64Decoder())]
|
|
2258
|
+
]);
|
|
2259
|
+
}
|
|
2260
|
+
function getAutoCreateGhostInstructionDataCodec() {
|
|
2261
|
+
return combineCodec(
|
|
2262
|
+
getAutoCreateGhostInstructionDataEncoder(),
|
|
2263
|
+
getAutoCreateGhostInstructionDataDecoder()
|
|
2264
|
+
);
|
|
2265
|
+
}
|
|
2266
|
+
async function getAutoCreateGhostInstructionAsync(input, config) {
|
|
2267
|
+
const programAddress = config?.programAddress ?? GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS;
|
|
2268
|
+
const originalAccounts = {
|
|
2269
|
+
agentAccount: { value: input.agentAccount ?? null, isWritable: true },
|
|
2270
|
+
authority: { value: input.authority ?? null, isWritable: true },
|
|
2271
|
+
systemProgram: { value: input.systemProgram ?? null, isWritable: false }
|
|
2272
|
+
};
|
|
2273
|
+
const accounts = originalAccounts;
|
|
2274
|
+
const args = { ...input };
|
|
2275
|
+
if (!accounts.agentAccount.value) {
|
|
2276
|
+
accounts.agentAccount.value = await getProgramDerivedAddress({
|
|
2277
|
+
programAddress,
|
|
2278
|
+
seeds: [
|
|
2279
|
+
getBytesEncoder().encode(new Uint8Array([97, 103, 101, 110, 116])),
|
|
2280
|
+
getAddressEncoder().encode(expectSome(args.paymentAddress))
|
|
2281
|
+
]
|
|
2282
|
+
});
|
|
2283
|
+
}
|
|
2284
|
+
if (!accounts.systemProgram.value) {
|
|
2285
|
+
accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
2286
|
+
}
|
|
2287
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
2288
|
+
return Object.freeze({
|
|
2289
|
+
accounts: [
|
|
2290
|
+
getAccountMeta(accounts.agentAccount),
|
|
2291
|
+
getAccountMeta(accounts.authority),
|
|
2292
|
+
getAccountMeta(accounts.systemProgram)
|
|
2293
|
+
],
|
|
2294
|
+
data: getAutoCreateGhostInstructionDataEncoder().encode(
|
|
2295
|
+
args
|
|
2296
|
+
),
|
|
2297
|
+
programAddress
|
|
2298
|
+
});
|
|
2299
|
+
}
|
|
2300
|
+
function getAutoCreateGhostInstruction(input, config) {
|
|
2301
|
+
const programAddress = config?.programAddress ?? GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS;
|
|
2302
|
+
const originalAccounts = {
|
|
2303
|
+
agentAccount: { value: input.agentAccount ?? null, isWritable: true },
|
|
2304
|
+
authority: { value: input.authority ?? null, isWritable: true },
|
|
2305
|
+
systemProgram: { value: input.systemProgram ?? null, isWritable: false }
|
|
2306
|
+
};
|
|
2307
|
+
const accounts = originalAccounts;
|
|
2308
|
+
const args = { ...input };
|
|
2309
|
+
if (!accounts.systemProgram.value) {
|
|
2310
|
+
accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
2311
|
+
}
|
|
2312
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
2313
|
+
return Object.freeze({
|
|
2314
|
+
accounts: [
|
|
2315
|
+
getAccountMeta(accounts.agentAccount),
|
|
2316
|
+
getAccountMeta(accounts.authority),
|
|
2317
|
+
getAccountMeta(accounts.systemProgram)
|
|
2318
|
+
],
|
|
2319
|
+
data: getAutoCreateGhostInstructionDataEncoder().encode(
|
|
2320
|
+
args
|
|
2321
|
+
),
|
|
2322
|
+
programAddress
|
|
2323
|
+
});
|
|
2324
|
+
}
|
|
2325
|
+
function parseAutoCreateGhostInstruction(instruction) {
|
|
2326
|
+
if (instruction.accounts.length < 3) {
|
|
2327
|
+
throw new Error("Not enough accounts");
|
|
2328
|
+
}
|
|
2329
|
+
let accountIndex = 0;
|
|
2330
|
+
const getNextAccount = () => {
|
|
2331
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
2332
|
+
accountIndex += 1;
|
|
2333
|
+
return accountMeta;
|
|
2334
|
+
};
|
|
2335
|
+
return {
|
|
2336
|
+
programAddress: instruction.programAddress,
|
|
2337
|
+
accounts: {
|
|
2338
|
+
agentAccount: getNextAccount(),
|
|
2339
|
+
authority: getNextAccount(),
|
|
2340
|
+
systemProgram: getNextAccount()
|
|
2341
|
+
},
|
|
2342
|
+
data: getAutoCreateGhostInstructionDataDecoder().decode(instruction.data)
|
|
2343
|
+
};
|
|
2344
|
+
}
|
|
2345
|
+
var CLAIM_GHOST_DISCRIMINATOR = new Uint8Array([
|
|
2346
|
+
149,
|
|
2347
|
+
107,
|
|
2348
|
+
35,
|
|
2349
|
+
233,
|
|
2350
|
+
252,
|
|
2351
|
+
101,
|
|
2352
|
+
148,
|
|
2353
|
+
225
|
|
2354
|
+
]);
|
|
2355
|
+
function getClaimGhostDiscriminatorBytes() {
|
|
2356
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(CLAIM_GHOST_DISCRIMINATOR);
|
|
2357
|
+
}
|
|
2358
|
+
function getClaimGhostInstructionDataEncoder() {
|
|
2359
|
+
return transformEncoder(
|
|
2360
|
+
getStructEncoder([
|
|
2361
|
+
["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
|
|
2362
|
+
["sasCredential", getAddressEncoder()],
|
|
2363
|
+
["sasSchema", getAddressEncoder()],
|
|
2364
|
+
[
|
|
2365
|
+
"ipfsMetadataUri",
|
|
2366
|
+
getOptionEncoder(
|
|
2367
|
+
addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())
|
|
2368
|
+
)
|
|
2369
|
+
],
|
|
2370
|
+
["network", addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())]
|
|
2371
|
+
]),
|
|
2372
|
+
(value) => ({ ...value, discriminator: CLAIM_GHOST_DISCRIMINATOR })
|
|
2373
|
+
);
|
|
2374
|
+
}
|
|
2375
|
+
function getClaimGhostInstructionDataDecoder() {
|
|
2376
|
+
return getStructDecoder([
|
|
2377
|
+
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
2378
|
+
["sasCredential", getAddressDecoder()],
|
|
2379
|
+
["sasSchema", getAddressDecoder()],
|
|
2380
|
+
[
|
|
2381
|
+
"ipfsMetadataUri",
|
|
2382
|
+
getOptionDecoder(addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder()))
|
|
2383
|
+
],
|
|
2384
|
+
["network", addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())]
|
|
2385
|
+
]);
|
|
2386
|
+
}
|
|
2387
|
+
function getClaimGhostInstructionDataCodec() {
|
|
2388
|
+
return combineCodec(
|
|
2389
|
+
getClaimGhostInstructionDataEncoder(),
|
|
2390
|
+
getClaimGhostInstructionDataDecoder()
|
|
2391
|
+
);
|
|
2392
|
+
}
|
|
2393
|
+
function getClaimGhostInstruction(input, config) {
|
|
2394
|
+
const programAddress = config?.programAddress ?? GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS;
|
|
2395
|
+
const originalAccounts = {
|
|
2396
|
+
agentAccount: { value: input.agentAccount ?? null, isWritable: true },
|
|
2397
|
+
didDocument: { value: input.didDocument ?? null, isWritable: true },
|
|
2398
|
+
sasAttestation: { value: input.sasAttestation ?? null, isWritable: false },
|
|
2399
|
+
claimer: { value: input.claimer ?? null, isWritable: true },
|
|
2400
|
+
systemProgram: { value: input.systemProgram ?? null, isWritable: false }
|
|
2401
|
+
};
|
|
2402
|
+
const accounts = originalAccounts;
|
|
2403
|
+
const args = { ...input };
|
|
2404
|
+
if (!accounts.systemProgram.value) {
|
|
2405
|
+
accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
2406
|
+
}
|
|
2407
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
2408
|
+
return Object.freeze({
|
|
2409
|
+
accounts: [
|
|
2410
|
+
getAccountMeta(accounts.agentAccount),
|
|
2411
|
+
getAccountMeta(accounts.didDocument),
|
|
2412
|
+
getAccountMeta(accounts.sasAttestation),
|
|
2413
|
+
getAccountMeta(accounts.claimer),
|
|
2414
|
+
getAccountMeta(accounts.systemProgram)
|
|
2415
|
+
],
|
|
2416
|
+
data: getClaimGhostInstructionDataEncoder().encode(
|
|
2417
|
+
args
|
|
2418
|
+
),
|
|
2419
|
+
programAddress
|
|
2420
|
+
});
|
|
2421
|
+
}
|
|
2422
|
+
function parseClaimGhostInstruction(instruction) {
|
|
2423
|
+
if (instruction.accounts.length < 5) {
|
|
2424
|
+
throw new Error("Not enough accounts");
|
|
2425
|
+
}
|
|
2426
|
+
let accountIndex = 0;
|
|
2427
|
+
const getNextAccount = () => {
|
|
2428
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
2429
|
+
accountIndex += 1;
|
|
2430
|
+
return accountMeta;
|
|
2431
|
+
};
|
|
2432
|
+
return {
|
|
2433
|
+
programAddress: instruction.programAddress,
|
|
2434
|
+
accounts: {
|
|
2435
|
+
agentAccount: getNextAccount(),
|
|
2436
|
+
didDocument: getNextAccount(),
|
|
2437
|
+
sasAttestation: getNextAccount(),
|
|
2438
|
+
claimer: getNextAccount(),
|
|
2439
|
+
systemProgram: getNextAccount()
|
|
2440
|
+
},
|
|
2441
|
+
data: getClaimGhostInstructionDataDecoder().decode(instruction.data)
|
|
2442
|
+
};
|
|
2443
|
+
}
|
|
2144
2444
|
var CREATE_CREDENTIAL_TEMPLATE_DISCRIMINATOR = new Uint8Array([
|
|
2145
2445
|
183,
|
|
2146
2446
|
109,
|
|
@@ -4738,6 +5038,139 @@ function parseIssueCredentialInstruction(instruction) {
|
|
|
4738
5038
|
data: getIssueCredentialInstructionDataDecoder().decode(instruction.data)
|
|
4739
5039
|
};
|
|
4740
5040
|
}
|
|
5041
|
+
var LINK_EXTERNAL_ID_DISCRIMINATOR = new Uint8Array([
|
|
5042
|
+
156,
|
|
5043
|
+
102,
|
|
5044
|
+
141,
|
|
5045
|
+
155,
|
|
5046
|
+
175,
|
|
5047
|
+
13,
|
|
5048
|
+
29,
|
|
5049
|
+
86
|
|
5050
|
+
]);
|
|
5051
|
+
function getLinkExternalIdDiscriminatorBytes() {
|
|
5052
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
5053
|
+
LINK_EXTERNAL_ID_DISCRIMINATOR
|
|
5054
|
+
);
|
|
5055
|
+
}
|
|
5056
|
+
function getLinkExternalIdInstructionDataEncoder() {
|
|
5057
|
+
return transformEncoder(
|
|
5058
|
+
getStructEncoder([
|
|
5059
|
+
["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
|
|
5060
|
+
["platform", addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())],
|
|
5061
|
+
["externalId", addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())],
|
|
5062
|
+
["verified", getBooleanEncoder()]
|
|
5063
|
+
]),
|
|
5064
|
+
(value) => ({ ...value, discriminator: LINK_EXTERNAL_ID_DISCRIMINATOR })
|
|
5065
|
+
);
|
|
5066
|
+
}
|
|
5067
|
+
function getLinkExternalIdInstructionDataDecoder() {
|
|
5068
|
+
return getStructDecoder([
|
|
5069
|
+
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
5070
|
+
["platform", addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())],
|
|
5071
|
+
["externalId", addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())],
|
|
5072
|
+
["verified", getBooleanDecoder()]
|
|
5073
|
+
]);
|
|
5074
|
+
}
|
|
5075
|
+
function getLinkExternalIdInstructionDataCodec() {
|
|
5076
|
+
return combineCodec(
|
|
5077
|
+
getLinkExternalIdInstructionDataEncoder(),
|
|
5078
|
+
getLinkExternalIdInstructionDataDecoder()
|
|
5079
|
+
);
|
|
5080
|
+
}
|
|
5081
|
+
async function getLinkExternalIdInstructionAsync(input, config) {
|
|
5082
|
+
const programAddress = config?.programAddress ?? GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS;
|
|
5083
|
+
const originalAccounts = {
|
|
5084
|
+
agentAccount: { value: input.agentAccount ?? null, isWritable: true },
|
|
5085
|
+
externalIdMapping: {
|
|
5086
|
+
value: input.externalIdMapping ?? null,
|
|
5087
|
+
isWritable: true
|
|
5088
|
+
},
|
|
5089
|
+
authority: { value: input.authority ?? null, isWritable: true },
|
|
5090
|
+
systemProgram: { value: input.systemProgram ?? null, isWritable: false }
|
|
5091
|
+
};
|
|
5092
|
+
const accounts = originalAccounts;
|
|
5093
|
+
const args = { ...input };
|
|
5094
|
+
if (!accounts.externalIdMapping.value) {
|
|
5095
|
+
accounts.externalIdMapping.value = await getProgramDerivedAddress({
|
|
5096
|
+
programAddress,
|
|
5097
|
+
seeds: [
|
|
5098
|
+
getBytesEncoder().encode(
|
|
5099
|
+
new Uint8Array([101, 120, 116, 101, 114, 110, 97, 108, 95, 105, 100])
|
|
5100
|
+
),
|
|
5101
|
+
getUtf8Encoder().encode(expectSome(args.platform)),
|
|
5102
|
+
getUtf8Encoder().encode(expectSome(args.externalId))
|
|
5103
|
+
]
|
|
5104
|
+
});
|
|
5105
|
+
}
|
|
5106
|
+
if (!accounts.systemProgram.value) {
|
|
5107
|
+
accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
5108
|
+
}
|
|
5109
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
5110
|
+
return Object.freeze({
|
|
5111
|
+
accounts: [
|
|
5112
|
+
getAccountMeta(accounts.agentAccount),
|
|
5113
|
+
getAccountMeta(accounts.externalIdMapping),
|
|
5114
|
+
getAccountMeta(accounts.authority),
|
|
5115
|
+
getAccountMeta(accounts.systemProgram)
|
|
5116
|
+
],
|
|
5117
|
+
data: getLinkExternalIdInstructionDataEncoder().encode(
|
|
5118
|
+
args
|
|
5119
|
+
),
|
|
5120
|
+
programAddress
|
|
5121
|
+
});
|
|
5122
|
+
}
|
|
5123
|
+
function getLinkExternalIdInstruction(input, config) {
|
|
5124
|
+
const programAddress = config?.programAddress ?? GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS;
|
|
5125
|
+
const originalAccounts = {
|
|
5126
|
+
agentAccount: { value: input.agentAccount ?? null, isWritable: true },
|
|
5127
|
+
externalIdMapping: {
|
|
5128
|
+
value: input.externalIdMapping ?? null,
|
|
5129
|
+
isWritable: true
|
|
5130
|
+
},
|
|
5131
|
+
authority: { value: input.authority ?? null, isWritable: true },
|
|
5132
|
+
systemProgram: { value: input.systemProgram ?? null, isWritable: false }
|
|
5133
|
+
};
|
|
5134
|
+
const accounts = originalAccounts;
|
|
5135
|
+
const args = { ...input };
|
|
5136
|
+
if (!accounts.systemProgram.value) {
|
|
5137
|
+
accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
5138
|
+
}
|
|
5139
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
5140
|
+
return Object.freeze({
|
|
5141
|
+
accounts: [
|
|
5142
|
+
getAccountMeta(accounts.agentAccount),
|
|
5143
|
+
getAccountMeta(accounts.externalIdMapping),
|
|
5144
|
+
getAccountMeta(accounts.authority),
|
|
5145
|
+
getAccountMeta(accounts.systemProgram)
|
|
5146
|
+
],
|
|
5147
|
+
data: getLinkExternalIdInstructionDataEncoder().encode(
|
|
5148
|
+
args
|
|
5149
|
+
),
|
|
5150
|
+
programAddress
|
|
5151
|
+
});
|
|
5152
|
+
}
|
|
5153
|
+
function parseLinkExternalIdInstruction(instruction) {
|
|
5154
|
+
if (instruction.accounts.length < 4) {
|
|
5155
|
+
throw new Error("Not enough accounts");
|
|
5156
|
+
}
|
|
5157
|
+
let accountIndex = 0;
|
|
5158
|
+
const getNextAccount = () => {
|
|
5159
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
5160
|
+
accountIndex += 1;
|
|
5161
|
+
return accountMeta;
|
|
5162
|
+
};
|
|
5163
|
+
return {
|
|
5164
|
+
programAddress: instruction.programAddress,
|
|
5165
|
+
accounts: {
|
|
5166
|
+
agentAccount: getNextAccount(),
|
|
5167
|
+
externalIdMapping: getNextAccount(),
|
|
5168
|
+
authority: getNextAccount(),
|
|
5169
|
+
systemProgram: getNextAccount()
|
|
5170
|
+
},
|
|
5171
|
+
data: getLinkExternalIdInstructionDataDecoder().decode(instruction.data)
|
|
5172
|
+
};
|
|
5173
|
+
}
|
|
4741
5174
|
var MANAGE_AGENT_STATUS_DISCRIMINATOR = new Uint8Array([
|
|
4742
5175
|
164,
|
|
4743
5176
|
219,
|
|
@@ -5394,6 +5827,105 @@ function parseRegisterAgentCompressedInstruction(instruction) {
|
|
|
5394
5827
|
)
|
|
5395
5828
|
};
|
|
5396
5829
|
}
|
|
5830
|
+
var REGISTER_GHOST_METADATA_DISCRIMINATOR = new Uint8Array([
|
|
5831
|
+
34,
|
|
5832
|
+
233,
|
|
5833
|
+
111,
|
|
5834
|
+
236,
|
|
5835
|
+
212,
|
|
5836
|
+
22,
|
|
5837
|
+
26,
|
|
5838
|
+
254
|
|
5839
|
+
]);
|
|
5840
|
+
function getRegisterGhostMetadataDiscriminatorBytes() {
|
|
5841
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
5842
|
+
REGISTER_GHOST_METADATA_DISCRIMINATOR
|
|
5843
|
+
);
|
|
5844
|
+
}
|
|
5845
|
+
function getRegisterGhostMetadataInstructionDataEncoder() {
|
|
5846
|
+
return transformEncoder(
|
|
5847
|
+
getStructEncoder([
|
|
5848
|
+
["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
|
|
5849
|
+
["name", addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())],
|
|
5850
|
+
["description", addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())],
|
|
5851
|
+
[
|
|
5852
|
+
"capabilities",
|
|
5853
|
+
getArrayEncoder(
|
|
5854
|
+
addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())
|
|
5855
|
+
)
|
|
5856
|
+
],
|
|
5857
|
+
[
|
|
5858
|
+
"serviceEndpoint",
|
|
5859
|
+
getOptionEncoder(
|
|
5860
|
+
addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())
|
|
5861
|
+
)
|
|
5862
|
+
]
|
|
5863
|
+
]),
|
|
5864
|
+
(value) => ({
|
|
5865
|
+
...value,
|
|
5866
|
+
discriminator: REGISTER_GHOST_METADATA_DISCRIMINATOR
|
|
5867
|
+
})
|
|
5868
|
+
);
|
|
5869
|
+
}
|
|
5870
|
+
function getRegisterGhostMetadataInstructionDataDecoder() {
|
|
5871
|
+
return getStructDecoder([
|
|
5872
|
+
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
5873
|
+
["name", addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())],
|
|
5874
|
+
["description", addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())],
|
|
5875
|
+
[
|
|
5876
|
+
"capabilities",
|
|
5877
|
+
getArrayDecoder(addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder()))
|
|
5878
|
+
],
|
|
5879
|
+
[
|
|
5880
|
+
"serviceEndpoint",
|
|
5881
|
+
getOptionDecoder(addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder()))
|
|
5882
|
+
]
|
|
5883
|
+
]);
|
|
5884
|
+
}
|
|
5885
|
+
function getRegisterGhostMetadataInstructionDataCodec() {
|
|
5886
|
+
return combineCodec(
|
|
5887
|
+
getRegisterGhostMetadataInstructionDataEncoder(),
|
|
5888
|
+
getRegisterGhostMetadataInstructionDataDecoder()
|
|
5889
|
+
);
|
|
5890
|
+
}
|
|
5891
|
+
function getRegisterGhostMetadataInstruction(input, config) {
|
|
5892
|
+
const programAddress = config?.programAddress ?? GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS;
|
|
5893
|
+
const originalAccounts = {
|
|
5894
|
+
agentAccount: { value: input.agentAccount ?? null, isWritable: true },
|
|
5895
|
+
authority: { value: input.authority ?? null, isWritable: true }
|
|
5896
|
+
};
|
|
5897
|
+
const accounts = originalAccounts;
|
|
5898
|
+
const args = { ...input };
|
|
5899
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
5900
|
+
return Object.freeze({
|
|
5901
|
+
accounts: [
|
|
5902
|
+
getAccountMeta(accounts.agentAccount),
|
|
5903
|
+
getAccountMeta(accounts.authority)
|
|
5904
|
+
],
|
|
5905
|
+
data: getRegisterGhostMetadataInstructionDataEncoder().encode(
|
|
5906
|
+
args
|
|
5907
|
+
),
|
|
5908
|
+
programAddress
|
|
5909
|
+
});
|
|
5910
|
+
}
|
|
5911
|
+
function parseRegisterGhostMetadataInstruction(instruction) {
|
|
5912
|
+
if (instruction.accounts.length < 2) {
|
|
5913
|
+
throw new Error("Not enough accounts");
|
|
5914
|
+
}
|
|
5915
|
+
let accountIndex = 0;
|
|
5916
|
+
const getNextAccount = () => {
|
|
5917
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
5918
|
+
accountIndex += 1;
|
|
5919
|
+
return accountMeta;
|
|
5920
|
+
};
|
|
5921
|
+
return {
|
|
5922
|
+
programAddress: instruction.programAddress,
|
|
5923
|
+
accounts: { agentAccount: getNextAccount(), authority: getNextAccount() },
|
|
5924
|
+
data: getRegisterGhostMetadataInstructionDataDecoder().decode(
|
|
5925
|
+
instruction.data
|
|
5926
|
+
)
|
|
5927
|
+
};
|
|
5928
|
+
}
|
|
5397
5929
|
var RESET_REENTRANCY_GUARD_DISCRIMINATOR = new Uint8Array([
|
|
5398
5930
|
93,
|
|
5399
5931
|
74,
|
|
@@ -7140,6 +7672,86 @@ function parseUpdateDidDocumentInstruction(instruction) {
|
|
|
7140
7672
|
data: getUpdateDidDocumentInstructionDataDecoder().decode(instruction.data)
|
|
7141
7673
|
};
|
|
7142
7674
|
}
|
|
7675
|
+
var UPDATE_GHOST_SCORE_DISCRIMINATOR = new Uint8Array([
|
|
7676
|
+
213,
|
|
7677
|
+
152,
|
|
7678
|
+
5,
|
|
7679
|
+
80,
|
|
7680
|
+
163,
|
|
7681
|
+
224,
|
|
7682
|
+
151,
|
|
7683
|
+
120
|
|
7684
|
+
]);
|
|
7685
|
+
function getUpdateGhostScoreDiscriminatorBytes() {
|
|
7686
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(
|
|
7687
|
+
UPDATE_GHOST_SCORE_DISCRIMINATOR
|
|
7688
|
+
);
|
|
7689
|
+
}
|
|
7690
|
+
function getUpdateGhostScoreInstructionDataEncoder() {
|
|
7691
|
+
return transformEncoder(
|
|
7692
|
+
getStructEncoder([
|
|
7693
|
+
["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
|
|
7694
|
+
["newScore", getU64Encoder()],
|
|
7695
|
+
[
|
|
7696
|
+
"components",
|
|
7697
|
+
getOptionEncoder(getArrayEncoder(getReputationComponentEncoder()))
|
|
7698
|
+
]
|
|
7699
|
+
]),
|
|
7700
|
+
(value) => ({ ...value, discriminator: UPDATE_GHOST_SCORE_DISCRIMINATOR })
|
|
7701
|
+
);
|
|
7702
|
+
}
|
|
7703
|
+
function getUpdateGhostScoreInstructionDataDecoder() {
|
|
7704
|
+
return getStructDecoder([
|
|
7705
|
+
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
7706
|
+
["newScore", getU64Decoder()],
|
|
7707
|
+
[
|
|
7708
|
+
"components",
|
|
7709
|
+
getOptionDecoder(getArrayDecoder(getReputationComponentDecoder()))
|
|
7710
|
+
]
|
|
7711
|
+
]);
|
|
7712
|
+
}
|
|
7713
|
+
function getUpdateGhostScoreInstructionDataCodec() {
|
|
7714
|
+
return combineCodec(
|
|
7715
|
+
getUpdateGhostScoreInstructionDataEncoder(),
|
|
7716
|
+
getUpdateGhostScoreInstructionDataDecoder()
|
|
7717
|
+
);
|
|
7718
|
+
}
|
|
7719
|
+
function getUpdateGhostScoreInstruction(input, config) {
|
|
7720
|
+
const programAddress = config?.programAddress ?? GHOSTSPEAK_MARKETPLACE_PROGRAM_ADDRESS;
|
|
7721
|
+
const originalAccounts = {
|
|
7722
|
+
agentAccount: { value: input.agentAccount ?? null, isWritable: true },
|
|
7723
|
+
authority: { value: input.authority ?? null, isWritable: false }
|
|
7724
|
+
};
|
|
7725
|
+
const accounts = originalAccounts;
|
|
7726
|
+
const args = { ...input };
|
|
7727
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
7728
|
+
return Object.freeze({
|
|
7729
|
+
accounts: [
|
|
7730
|
+
getAccountMeta(accounts.agentAccount),
|
|
7731
|
+
getAccountMeta(accounts.authority)
|
|
7732
|
+
],
|
|
7733
|
+
data: getUpdateGhostScoreInstructionDataEncoder().encode(
|
|
7734
|
+
args
|
|
7735
|
+
),
|
|
7736
|
+
programAddress
|
|
7737
|
+
});
|
|
7738
|
+
}
|
|
7739
|
+
function parseUpdateGhostScoreInstruction(instruction) {
|
|
7740
|
+
if (instruction.accounts.length < 2) {
|
|
7741
|
+
throw new Error("Not enough accounts");
|
|
7742
|
+
}
|
|
7743
|
+
let accountIndex = 0;
|
|
7744
|
+
const getNextAccount = () => {
|
|
7745
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
7746
|
+
accountIndex += 1;
|
|
7747
|
+
return accountMeta;
|
|
7748
|
+
};
|
|
7749
|
+
return {
|
|
7750
|
+
programAddress: instruction.programAddress,
|
|
7751
|
+
accounts: { agentAccount: getNextAccount(), authority: getNextAccount() },
|
|
7752
|
+
data: getUpdateGhostScoreInstructionDataDecoder().decode(instruction.data)
|
|
7753
|
+
};
|
|
7754
|
+
}
|
|
7143
7755
|
var UPDATE_PROTOCOL_CONFIG_DISCRIMINATOR = new Uint8Array([
|
|
7144
7756
|
197,
|
|
7145
7757
|
97,
|
|
@@ -7885,6 +8497,6 @@ function parseVerifyAuthorizationInstruction(instruction) {
|
|
|
7885
8497
|
};
|
|
7886
8498
|
}
|
|
7887
8499
|
|
|
7888
|
-
export { ACTIVATE_AGENT_DISCRIMINATOR, AGENT_REPUTATION_AUTH_DISCRIMINATOR, AGENT_TREE_CONFIG_DISCRIMINATOR, AGENT_VERIFICATION_DISCRIMINATOR, APPROVE_DELIVERY_DISCRIMINATOR, ARBITRATE_DISPUTE_DISCRIMINATOR, AUDIT_TRAIL_DISCRIMINATOR, AUTHORIZATION_USAGE_RECORD_DISCRIMINATOR, COMPLIANCE_REPORT_DISCRIMINATOR, CREATE_CREDENTIAL_TEMPLATE_DISCRIMINATOR, CREATE_CREDENTIAL_TYPE_DISCRIMINATOR, CREATE_DID_DOCUMENT_DISCRIMINATOR, CREATE_ESCROW_DISCRIMINATOR, CREATE_MULTISIG_DISCRIMINATOR, CREDENTIAL_DISCRIMINATOR, CREDENTIAL_TEMPLATE_DISCRIMINATOR, CREDENTIAL_TYPE_DISCRIMINATOR, DEACTIVATE_AGENT_DISCRIMINATOR, DEACTIVATE_CREDENTIAL_TEMPLATE_DISCRIMINATOR, DEACTIVATE_CREDENTIAL_TYPE_DISCRIMINATOR, DEACTIVATE_DID_DOCUMENT_DISCRIMINATOR, DID_DOCUMENT_DISCRIMINATOR, ENABLE_PROTOCOL_FEES_DISCRIMINATOR, FILE_DISPUTE_DISCRIMINATOR, GENERATE_COMPLIANCE_REPORT_DISCRIMINATOR, GHOSTSPEAK_MARKETPLACE_ERROR__ALREADY_DEACTIVATED, GHOSTSPEAK_MARKETPLACE_ERROR__DID_DEACTIVATED, GHOSTSPEAK_MARKETPLACE_ERROR__DUPLICATE_METHOD_ID, GHOSTSPEAK_MARKETPLACE_ERROR__DUPLICATE_SERVICE_ID, GHOSTSPEAK_MARKETPLACE_ERROR__INVALID_DID_FORMAT, GHOSTSPEAK_MARKETPLACE_ERROR__METHOD_NOT_FOUND, GHOSTSPEAK_MARKETPLACE_ERROR__SERVICE_NOT_FOUND, GHOSTSPEAK_MARKETPLACE_ERROR__TOO_MANY_SERVICE_ENDPOINTS, GHOSTSPEAK_MARKETPLACE_ERROR__TOO_MANY_VERIFICATION_METHODS, GHOSTSPEAK_MARKETPLACE_ERROR__UNAUTHORIZED_DID_OPERATION, GHOST_PROTECT_ESCROW_DISCRIMINATOR, GOVERNANCE_PROPOSAL_DISCRIMINATOR, INITIALIZE_AUDIT_TRAIL_DISCRIMINATOR, INITIALIZE_GOVERNANCE_PROPOSAL_DISCRIMINATOR, INITIALIZE_PROTOCOL_CONFIG_DISCRIMINATOR, INITIALIZE_RBAC_CONFIG_DISCRIMINATOR, INITIALIZE_REPUTATION_METRICS_DISCRIMINATOR, INITIALIZE_STAKING_CONFIG_DISCRIMINATOR, INIT_REENTRANCY_GUARD_DISCRIMINATOR, ISSUE_CREDENTIAL_DISCRIMINATOR, MANAGE_AGENT_STATUS_DISCRIMINATOR, MULTISIG_DISCRIMINATOR, PROTOCOL_CONFIG_DISCRIMINATOR, RBAC_CONFIG_DISCRIMINATOR, RECORD_PAYAI_PAYMENT_DISCRIMINATOR, REENTRANCY_GUARD_DISCRIMINATOR, REGISTER_AGENT_COMPRESSED_DISCRIMINATOR, REGISTER_AGENT_DISCRIMINATOR, REPUTATION_METRICS_DISCRIMINATOR, RESET_REENTRANCY_GUARD_DISCRIMINATOR, RESOLVE_DID_DOCUMENT_DISCRIMINATOR, REVOKE_CREDENTIAL_DISCRIMINATOR, SLASH_STAKE_DISCRIMINATOR, STAKE_GHOST_DISCRIMINATOR, STAKING_ACCOUNT_DISCRIMINATOR, STAKING_CONFIG_DISCRIMINATOR, SUBMIT_DELIVERY_DISCRIMINATOR, SUBMIT_SERVICE_RATING_DISCRIMINATOR, UNSTAKE_GHOST_DISCRIMINATOR, UPDATE_AGENT_DISCRIMINATOR, UPDATE_AGENT_REPUTATION_DISCRIMINATOR, UPDATE_AGENT_SERVICE_DISCRIMINATOR, UPDATE_CROSSCHAIN_STATUS_DISCRIMINATOR, UPDATE_DID_DOCUMENT_DISCRIMINATOR, UPDATE_PROTOCOL_CONFIG_DISCRIMINATOR, UPDATE_REPUTATION_TAGS_DISCRIMINATOR, UPDATE_SOURCE_REPUTATION_DISCRIMINATOR, USER_REGISTRY_DISCRIMINATOR, VERIFY_AGENT_DISCRIMINATOR, VERIFY_AUTHORIZATION_DISCRIMINATOR, decodeAgentReputationAuth, decodeAgentTreeConfig, decodeAgentVerification, decodeAuditTrail, decodeAuthorizationUsageRecord, decodeComplianceReport, decodeCredential, decodeCredentialTemplate, decodeCredentialType, decodeDidDocument, decodeGhostProtectEscrow, decodeGovernanceProposal, decodeMultisig, decodeProtocolConfig, decodeRbacConfig, decodeReentrancyGuard, decodeReputationMetrics, decodeStakingAccount, decodeStakingConfig, decodeUserRegistry, fetchAgentReputationAuth, fetchAgentTreeConfig, fetchAgentVerification, fetchAllAgentReputationAuth, fetchAllAgentTreeConfig, fetchAllAgentVerification, fetchAllAuditTrail, fetchAllAuthorizationUsageRecord, fetchAllComplianceReport, fetchAllCredential, fetchAllCredentialTemplate, fetchAllCredentialType, fetchAllDidDocument, fetchAllGhostProtectEscrow, fetchAllGovernanceProposal, fetchAllMaybeAgentReputationAuth, fetchAllMaybeAgentTreeConfig, fetchAllMaybeAgentVerification, fetchAllMaybeAuditTrail, fetchAllMaybeAuthorizationUsageRecord, fetchAllMaybeComplianceReport, fetchAllMaybeCredential, fetchAllMaybeCredentialTemplate, fetchAllMaybeCredentialType, fetchAllMaybeDidDocument, fetchAllMaybeGhostProtectEscrow, fetchAllMaybeGovernanceProposal, fetchAllMaybeMultisig, fetchAllMaybeProtocolConfig, fetchAllMaybeRbacConfig, fetchAllMaybeReentrancyGuard, fetchAllMaybeReputationMetrics, fetchAllMaybeStakingAccount, fetchAllMaybeStakingConfig, fetchAllMaybeUserRegistry, fetchAllMultisig, fetchAllProtocolConfig, fetchAllRbacConfig, fetchAllReentrancyGuard, fetchAllReputationMetrics, fetchAllStakingAccount, fetchAllStakingConfig, fetchAllUserRegistry, fetchAuditTrail, fetchAuthorizationUsageRecord, fetchComplianceReport, fetchCredential, fetchCredentialTemplate, fetchCredentialType, fetchDidDocument, fetchGhostProtectEscrow, fetchGovernanceProposal, fetchMaybeAgentReputationAuth, fetchMaybeAgentTreeConfig, fetchMaybeAgentVerification, fetchMaybeAuditTrail, fetchMaybeAuthorizationUsageRecord, fetchMaybeComplianceReport, fetchMaybeCredential, fetchMaybeCredentialTemplate, fetchMaybeCredentialType, fetchMaybeDidDocument, fetchMaybeGhostProtectEscrow, fetchMaybeGovernanceProposal, fetchMaybeMultisig, fetchMaybeProtocolConfig, fetchMaybeRbacConfig, fetchMaybeReentrancyGuard, fetchMaybeReputationMetrics, fetchMaybeStakingAccount, fetchMaybeStakingConfig, fetchMaybeUserRegistry, fetchMultisig, fetchProtocolConfig, fetchRbacConfig, fetchReentrancyGuard, fetchReputationMetrics, fetchStakingAccount, fetchStakingConfig, fetchUserRegistry, getActivateAgentDiscriminatorBytes, getActivateAgentInstruction, getActivateAgentInstructionAsync, getActivateAgentInstructionDataCodec, getActivateAgentInstructionDataDecoder, getActivateAgentInstructionDataEncoder, getAgentReputationAuthCodec, getAgentReputationAuthDecoder, getAgentReputationAuthDiscriminatorBytes, getAgentReputationAuthEncoder, getAgentTreeConfigCodec, getAgentTreeConfigDecoder, getAgentTreeConfigDiscriminatorBytes, getAgentTreeConfigEncoder, getAgentTreeConfigSize, getAgentVerificationCodec, getAgentVerificationDecoder, getAgentVerificationDiscriminatorBytes, getAgentVerificationEncoder, getApproveDeliveryDiscriminatorBytes, getApproveDeliveryInstruction, getApproveDeliveryInstructionDataCodec, getApproveDeliveryInstructionDataDecoder, getApproveDeliveryInstructionDataEncoder, getArbitrateDisputeDiscriminatorBytes, getArbitrateDisputeInstruction, getArbitrateDisputeInstructionDataCodec, getArbitrateDisputeInstructionDataDecoder, getArbitrateDisputeInstructionDataEncoder, getAuditTrailCodec, getAuditTrailDecoder, getAuditTrailDiscriminatorBytes, getAuditTrailEncoder, getAuthorizationUsageRecordCodec, getAuthorizationUsageRecordDecoder, getAuthorizationUsageRecordDiscriminatorBytes, getAuthorizationUsageRecordEncoder, getComplianceReportCodec, getComplianceReportDecoder, getComplianceReportDiscriminatorBytes, getComplianceReportEncoder, getCreateCredentialTemplateDiscriminatorBytes, getCreateCredentialTemplateInstruction, getCreateCredentialTemplateInstructionAsync, getCreateCredentialTemplateInstructionDataCodec, getCreateCredentialTemplateInstructionDataDecoder, getCreateCredentialTemplateInstructionDataEncoder, getCreateCredentialTypeDiscriminatorBytes, getCreateCredentialTypeInstruction, getCreateCredentialTypeInstructionAsync, getCreateCredentialTypeInstructionDataCodec, getCreateCredentialTypeInstructionDataDecoder, getCreateCredentialTypeInstructionDataEncoder, getCreateDidDocumentDiscriminatorBytes, getCreateDidDocumentInstruction, getCreateDidDocumentInstructionAsync, getCreateDidDocumentInstructionDataCodec, getCreateDidDocumentInstructionDataDecoder, getCreateDidDocumentInstructionDataEncoder, getCreateEscrowDiscriminatorBytes, getCreateEscrowInstruction, getCreateEscrowInstructionAsync, getCreateEscrowInstructionDataCodec, getCreateEscrowInstructionDataDecoder, getCreateEscrowInstructionDataEncoder, getCreateMultisigDiscriminatorBytes, getCreateMultisigInstruction, getCreateMultisigInstructionAsync, getCreateMultisigInstructionDataCodec, getCreateMultisigInstructionDataDecoder, getCreateMultisigInstructionDataEncoder, getCredentialCodec, getCredentialDecoder, getCredentialDiscriminatorBytes, getCredentialEncoder, getCredentialTemplateCodec, getCredentialTemplateDecoder, getCredentialTemplateDiscriminatorBytes, getCredentialTemplateEncoder, getCredentialTypeCodec, getCredentialTypeDecoder, getCredentialTypeDiscriminatorBytes, getCredentialTypeEncoder, getDeactivateAgentDiscriminatorBytes, getDeactivateAgentInstruction, getDeactivateAgentInstructionAsync, getDeactivateAgentInstructionDataCodec, getDeactivateAgentInstructionDataDecoder, getDeactivateAgentInstructionDataEncoder, getDeactivateCredentialTemplateDiscriminatorBytes, getDeactivateCredentialTemplateInstruction, getDeactivateCredentialTemplateInstructionDataCodec, getDeactivateCredentialTemplateInstructionDataDecoder, getDeactivateCredentialTemplateInstructionDataEncoder, getDeactivateCredentialTypeDiscriminatorBytes, getDeactivateCredentialTypeInstruction, getDeactivateCredentialTypeInstructionDataCodec, getDeactivateCredentialTypeInstructionDataDecoder, getDeactivateCredentialTypeInstructionDataEncoder, getDeactivateDidDocumentDiscriminatorBytes, getDeactivateDidDocumentInstruction, getDeactivateDidDocumentInstructionAsync, getDeactivateDidDocumentInstructionDataCodec, getDeactivateDidDocumentInstructionDataDecoder, getDeactivateDidDocumentInstructionDataEncoder, getDidDocumentCodec, getDidDocumentDecoder, getDidDocumentDiscriminatorBytes, getDidDocumentEncoder, getEnableProtocolFeesDiscriminatorBytes, getEnableProtocolFeesInstruction, getEnableProtocolFeesInstructionAsync, getEnableProtocolFeesInstructionDataCodec, getEnableProtocolFeesInstructionDataDecoder, getEnableProtocolFeesInstructionDataEncoder, getFileDisputeDiscriminatorBytes, getFileDisputeInstruction, getFileDisputeInstructionDataCodec, getFileDisputeInstructionDataDecoder, getFileDisputeInstructionDataEncoder, getGenerateComplianceReportDiscriminatorBytes, getGenerateComplianceReportInstruction, getGenerateComplianceReportInstructionAsync, getGenerateComplianceReportInstructionDataCodec, getGenerateComplianceReportInstructionDataDecoder, getGenerateComplianceReportInstructionDataEncoder, getGhostProtectEscrowCodec, getGhostProtectEscrowDecoder, getGhostProtectEscrowDiscriminatorBytes, getGhostProtectEscrowEncoder, getGhostspeakMarketplaceErrorMessage, getGovernanceProposalCodec, getGovernanceProposalDecoder, getGovernanceProposalDiscriminatorBytes, getGovernanceProposalEncoder, getInitReentrancyGuardDiscriminatorBytes, getInitReentrancyGuardInstruction, getInitReentrancyGuardInstructionAsync, getInitReentrancyGuardInstructionDataCodec, getInitReentrancyGuardInstructionDataDecoder, getInitReentrancyGuardInstructionDataEncoder, getInitializeAuditTrailDiscriminatorBytes, getInitializeAuditTrailInstruction, getInitializeAuditTrailInstructionAsync, getInitializeAuditTrailInstructionDataCodec, getInitializeAuditTrailInstructionDataDecoder, getInitializeAuditTrailInstructionDataEncoder, getInitializeGovernanceProposalDiscriminatorBytes, getInitializeGovernanceProposalInstruction, getInitializeGovernanceProposalInstructionAsync, getInitializeGovernanceProposalInstructionDataCodec, getInitializeGovernanceProposalInstructionDataDecoder, getInitializeGovernanceProposalInstructionDataEncoder, getInitializeProtocolConfigDiscriminatorBytes, getInitializeProtocolConfigInstruction, getInitializeProtocolConfigInstructionAsync, getInitializeProtocolConfigInstructionDataCodec, getInitializeProtocolConfigInstructionDataDecoder, getInitializeProtocolConfigInstructionDataEncoder, getInitializeRbacConfigDiscriminatorBytes, getInitializeRbacConfigInstruction, getInitializeRbacConfigInstructionAsync, getInitializeRbacConfigInstructionDataCodec, getInitializeRbacConfigInstructionDataDecoder, getInitializeRbacConfigInstructionDataEncoder, getInitializeReputationMetricsDiscriminatorBytes, getInitializeReputationMetricsInstruction, getInitializeReputationMetricsInstructionAsync, getInitializeReputationMetricsInstructionDataCodec, getInitializeReputationMetricsInstructionDataDecoder, getInitializeReputationMetricsInstructionDataEncoder, getInitializeStakingConfigDiscriminatorBytes, getInitializeStakingConfigInstruction, getInitializeStakingConfigInstructionAsync, getInitializeStakingConfigInstructionDataCodec, getInitializeStakingConfigInstructionDataDecoder, getInitializeStakingConfigInstructionDataEncoder, getIssueCredentialDiscriminatorBytes, getIssueCredentialInstruction, getIssueCredentialInstructionAsync, getIssueCredentialInstructionDataCodec, getIssueCredentialInstructionDataDecoder, getIssueCredentialInstructionDataEncoder, getManageAgentStatusDiscriminatorBytes, getManageAgentStatusInstruction, getManageAgentStatusInstructionAsync, getManageAgentStatusInstructionDataCodec, getManageAgentStatusInstructionDataDecoder, getManageAgentStatusInstructionDataEncoder, getMultisigCodec, getMultisigDecoder, getMultisigDiscriminatorBytes, getMultisigEncoder, getProtocolConfigCodec, getProtocolConfigDecoder, getProtocolConfigDiscriminatorBytes, getProtocolConfigEncoder, getProtocolConfigSize, getRbacConfigCodec, getRbacConfigDecoder, getRbacConfigDiscriminatorBytes, getRbacConfigEncoder, getRecordPayaiPaymentDiscriminatorBytes, getRecordPayaiPaymentInstruction, getRecordPayaiPaymentInstructionAsync, getRecordPayaiPaymentInstructionDataCodec, getRecordPayaiPaymentInstructionDataDecoder, getRecordPayaiPaymentInstructionDataEncoder, getReentrancyGuardCodec, getReentrancyGuardDecoder, getReentrancyGuardDiscriminatorBytes, getReentrancyGuardEncoder, getReentrancyGuardSize, getRegisterAgentCompressedDiscriminatorBytes, getRegisterAgentCompressedInstruction, getRegisterAgentCompressedInstructionAsync, getRegisterAgentCompressedInstructionDataCodec, getRegisterAgentCompressedInstructionDataDecoder, getRegisterAgentCompressedInstructionDataEncoder, getRegisterAgentDiscriminatorBytes, getRegisterAgentInstruction, getRegisterAgentInstructionAsync, getRegisterAgentInstructionDataCodec, getRegisterAgentInstructionDataDecoder, getRegisterAgentInstructionDataEncoder, getReputationMetricsCodec, getReputationMetricsDecoder, getReputationMetricsDiscriminatorBytes, getReputationMetricsEncoder, getResetReentrancyGuardDiscriminatorBytes, getResetReentrancyGuardInstruction, getResetReentrancyGuardInstructionAsync, getResetReentrancyGuardInstructionDataCodec, getResetReentrancyGuardInstructionDataDecoder, getResetReentrancyGuardInstructionDataEncoder, getResolveDidDocumentDiscriminatorBytes, getResolveDidDocumentInstruction, getResolveDidDocumentInstructionAsync, getResolveDidDocumentInstructionDataCodec, getResolveDidDocumentInstructionDataDecoder, getResolveDidDocumentInstructionDataEncoder, getRevokeCredentialDiscriminatorBytes, getRevokeCredentialInstruction, getRevokeCredentialInstructionDataCodec, getRevokeCredentialInstructionDataDecoder, getRevokeCredentialInstructionDataEncoder, getSlashStakeDiscriminatorBytes, getSlashStakeInstruction, getSlashStakeInstructionAsync, getSlashStakeInstructionDataCodec, getSlashStakeInstructionDataDecoder, getSlashStakeInstructionDataEncoder, getStakeGhostDiscriminatorBytes, getStakeGhostInstruction, getStakeGhostInstructionAsync, getStakeGhostInstructionDataCodec, getStakeGhostInstructionDataDecoder, getStakeGhostInstructionDataEncoder, getStakingAccountCodec, getStakingAccountDecoder, getStakingAccountDiscriminatorBytes, getStakingAccountEncoder, getStakingAccountSize, getStakingConfigCodec, getStakingConfigDecoder, getStakingConfigDiscriminatorBytes, getStakingConfigEncoder, getStakingConfigSize, getSubmitDeliveryDiscriminatorBytes, getSubmitDeliveryInstruction, getSubmitDeliveryInstructionDataCodec, getSubmitDeliveryInstructionDataDecoder, getSubmitDeliveryInstructionDataEncoder, getSubmitServiceRatingDiscriminatorBytes, getSubmitServiceRatingInstruction, getSubmitServiceRatingInstructionAsync, getSubmitServiceRatingInstructionDataCodec, getSubmitServiceRatingInstructionDataDecoder, getSubmitServiceRatingInstructionDataEncoder, getUnstakeGhostDiscriminatorBytes, getUnstakeGhostInstruction, getUnstakeGhostInstructionAsync, getUnstakeGhostInstructionDataCodec, getUnstakeGhostInstructionDataDecoder, getUnstakeGhostInstructionDataEncoder, getUpdateAgentDiscriminatorBytes, getUpdateAgentInstruction, getUpdateAgentInstructionAsync, getUpdateAgentInstructionDataCodec, getUpdateAgentInstructionDataDecoder, getUpdateAgentInstructionDataEncoder, getUpdateAgentReputationDiscriminatorBytes, getUpdateAgentReputationInstruction, getUpdateAgentReputationInstructionAsync, getUpdateAgentReputationInstructionDataCodec, getUpdateAgentReputationInstructionDataDecoder, getUpdateAgentReputationInstructionDataEncoder, getUpdateAgentServiceDiscriminatorBytes, getUpdateAgentServiceInstruction, getUpdateAgentServiceInstructionAsync, getUpdateAgentServiceInstructionDataCodec, getUpdateAgentServiceInstructionDataDecoder, getUpdateAgentServiceInstructionDataEncoder, getUpdateCrosschainStatusDiscriminatorBytes, getUpdateCrosschainStatusInstruction, getUpdateCrosschainStatusInstructionDataCodec, getUpdateCrosschainStatusInstructionDataDecoder, getUpdateCrosschainStatusInstructionDataEncoder, getUpdateDidDocumentDiscriminatorBytes, getUpdateDidDocumentInstruction, getUpdateDidDocumentInstructionAsync, getUpdateDidDocumentInstructionDataCodec, getUpdateDidDocumentInstructionDataDecoder, getUpdateDidDocumentInstructionDataEncoder, getUpdateProtocolConfigDiscriminatorBytes, getUpdateProtocolConfigInstruction, getUpdateProtocolConfigInstructionAsync, getUpdateProtocolConfigInstructionDataCodec, getUpdateProtocolConfigInstructionDataDecoder, getUpdateProtocolConfigInstructionDataEncoder, getUpdateReputationTagsDiscriminatorBytes, getUpdateReputationTagsInstruction, getUpdateReputationTagsInstructionAsync, getUpdateReputationTagsInstructionDataCodec, getUpdateReputationTagsInstructionDataDecoder, getUpdateReputationTagsInstructionDataEncoder, getUpdateSourceReputationDiscriminatorBytes, getUpdateSourceReputationInstruction, getUpdateSourceReputationInstructionAsync, getUpdateSourceReputationInstructionDataCodec, getUpdateSourceReputationInstructionDataDecoder, getUpdateSourceReputationInstructionDataEncoder, getUserRegistryCodec, getUserRegistryDecoder, getUserRegistryDiscriminatorBytes, getUserRegistryEncoder, getUserRegistrySize, getVerifyAgentDiscriminatorBytes, getVerifyAgentInstruction, getVerifyAgentInstructionAsync, getVerifyAgentInstructionDataCodec, getVerifyAgentInstructionDataDecoder, getVerifyAgentInstructionDataEncoder, getVerifyAuthorizationDiscriminatorBytes, getVerifyAuthorizationInstruction, getVerifyAuthorizationInstructionDataCodec, getVerifyAuthorizationInstructionDataDecoder, getVerifyAuthorizationInstructionDataEncoder, isGhostspeakMarketplaceError, parseActivateAgentInstruction, parseApproveDeliveryInstruction, parseArbitrateDisputeInstruction, parseCreateCredentialTemplateInstruction, parseCreateCredentialTypeInstruction, parseCreateDidDocumentInstruction, parseCreateEscrowInstruction, parseCreateMultisigInstruction, parseDeactivateAgentInstruction, parseDeactivateCredentialTemplateInstruction, parseDeactivateCredentialTypeInstruction, parseDeactivateDidDocumentInstruction, parseEnableProtocolFeesInstruction, parseFileDisputeInstruction, parseGenerateComplianceReportInstruction, parseInitReentrancyGuardInstruction, parseInitializeAuditTrailInstruction, parseInitializeGovernanceProposalInstruction, parseInitializeProtocolConfigInstruction, parseInitializeRbacConfigInstruction, parseInitializeReputationMetricsInstruction, parseInitializeStakingConfigInstruction, parseIssueCredentialInstruction, parseManageAgentStatusInstruction, parseRecordPayaiPaymentInstruction, parseRegisterAgentCompressedInstruction, parseRegisterAgentInstruction, parseResetReentrancyGuardInstruction, parseResolveDidDocumentInstruction, parseRevokeCredentialInstruction, parseSlashStakeInstruction, parseStakeGhostInstruction, parseSubmitDeliveryInstruction, parseSubmitServiceRatingInstruction, parseUnstakeGhostInstruction, parseUpdateAgentInstruction, parseUpdateAgentReputationInstruction, parseUpdateAgentServiceInstruction, parseUpdateCrosschainStatusInstruction, parseUpdateDidDocumentInstruction, parseUpdateProtocolConfigInstruction, parseUpdateReputationTagsInstruction, parseUpdateSourceReputationInstruction, parseVerifyAgentInstruction, parseVerifyAuthorizationInstruction };
|
|
7889
|
-
//# sourceMappingURL=chunk-
|
|
7890
|
-
//# sourceMappingURL=chunk-
|
|
8500
|
+
export { ACTIVATE_AGENT_DISCRIMINATOR, AGENT_REPUTATION_AUTH_DISCRIMINATOR, AGENT_TREE_CONFIG_DISCRIMINATOR, AGENT_VERIFICATION_DISCRIMINATOR, APPROVE_DELIVERY_DISCRIMINATOR, ARBITRATE_DISPUTE_DISCRIMINATOR, AUDIT_TRAIL_DISCRIMINATOR, AUTHORIZATION_USAGE_RECORD_DISCRIMINATOR, AUTO_CREATE_GHOST_DISCRIMINATOR, CLAIM_GHOST_DISCRIMINATOR, COMPLIANCE_REPORT_DISCRIMINATOR, CREATE_CREDENTIAL_TEMPLATE_DISCRIMINATOR, CREATE_CREDENTIAL_TYPE_DISCRIMINATOR, CREATE_DID_DOCUMENT_DISCRIMINATOR, CREATE_ESCROW_DISCRIMINATOR, CREATE_MULTISIG_DISCRIMINATOR, CREDENTIAL_DISCRIMINATOR, CREDENTIAL_TEMPLATE_DISCRIMINATOR, CREDENTIAL_TYPE_DISCRIMINATOR, DEACTIVATE_AGENT_DISCRIMINATOR, DEACTIVATE_CREDENTIAL_TEMPLATE_DISCRIMINATOR, DEACTIVATE_CREDENTIAL_TYPE_DISCRIMINATOR, DEACTIVATE_DID_DOCUMENT_DISCRIMINATOR, DID_DOCUMENT_DISCRIMINATOR, ENABLE_PROTOCOL_FEES_DISCRIMINATOR, EXTERNAL_ID_MAPPING_DISCRIMINATOR, FILE_DISPUTE_DISCRIMINATOR, GENERATE_COMPLIANCE_REPORT_DISCRIMINATOR, GHOSTSPEAK_MARKETPLACE_ERROR__DEFAULT_KEY_AS_ADMIN, GHOSTSPEAK_MARKETPLACE_ERROR__SYSTEM_PROGRAM_AS_ADMIN, GHOSTSPEAK_MARKETPLACE_ERROR__TEST_ADDRESS_ON_MAINNET, GHOSTSPEAK_MARKETPLACE_ERROR__UNAUTHORIZED_ADMIN, GHOSTSPEAK_MARKETPLACE_ERROR__VALIDATION_FAILED, GHOST_PROTECT_ESCROW_DISCRIMINATOR, GOVERNANCE_PROPOSAL_DISCRIMINATOR, INITIALIZE_AUDIT_TRAIL_DISCRIMINATOR, INITIALIZE_GOVERNANCE_PROPOSAL_DISCRIMINATOR, INITIALIZE_PROTOCOL_CONFIG_DISCRIMINATOR, INITIALIZE_RBAC_CONFIG_DISCRIMINATOR, INITIALIZE_REPUTATION_METRICS_DISCRIMINATOR, INITIALIZE_STAKING_CONFIG_DISCRIMINATOR, INIT_REENTRANCY_GUARD_DISCRIMINATOR, ISSUE_CREDENTIAL_DISCRIMINATOR, LINK_EXTERNAL_ID_DISCRIMINATOR, MANAGE_AGENT_STATUS_DISCRIMINATOR, MULTISIG_DISCRIMINATOR, PROTOCOL_CONFIG_DISCRIMINATOR, RBAC_CONFIG_DISCRIMINATOR, RECORD_PAYAI_PAYMENT_DISCRIMINATOR, REENTRANCY_GUARD_DISCRIMINATOR, REGISTER_AGENT_COMPRESSED_DISCRIMINATOR, REGISTER_AGENT_DISCRIMINATOR, REGISTER_GHOST_METADATA_DISCRIMINATOR, REPUTATION_METRICS_DISCRIMINATOR, RESET_REENTRANCY_GUARD_DISCRIMINATOR, RESOLVE_DID_DOCUMENT_DISCRIMINATOR, REVOKE_CREDENTIAL_DISCRIMINATOR, SLASH_STAKE_DISCRIMINATOR, STAKE_GHOST_DISCRIMINATOR, STAKING_ACCOUNT_DISCRIMINATOR, STAKING_CONFIG_DISCRIMINATOR, SUBMIT_DELIVERY_DISCRIMINATOR, SUBMIT_SERVICE_RATING_DISCRIMINATOR, UNSTAKE_GHOST_DISCRIMINATOR, UPDATE_AGENT_DISCRIMINATOR, UPDATE_AGENT_REPUTATION_DISCRIMINATOR, UPDATE_AGENT_SERVICE_DISCRIMINATOR, UPDATE_CROSSCHAIN_STATUS_DISCRIMINATOR, UPDATE_DID_DOCUMENT_DISCRIMINATOR, UPDATE_GHOST_SCORE_DISCRIMINATOR, UPDATE_PROTOCOL_CONFIG_DISCRIMINATOR, UPDATE_REPUTATION_TAGS_DISCRIMINATOR, UPDATE_SOURCE_REPUTATION_DISCRIMINATOR, USER_REGISTRY_DISCRIMINATOR, VERIFY_AGENT_DISCRIMINATOR, VERIFY_AUTHORIZATION_DISCRIMINATOR, decodeAgentReputationAuth, decodeAgentTreeConfig, decodeAgentVerification, decodeAuditTrail, decodeAuthorizationUsageRecord, decodeComplianceReport, decodeCredential, decodeCredentialTemplate, decodeCredentialType, decodeDidDocument, decodeExternalIdMapping, decodeGhostProtectEscrow, decodeGovernanceProposal, decodeMultisig, decodeProtocolConfig, decodeRbacConfig, decodeReentrancyGuard, decodeReputationMetrics, decodeStakingAccount, decodeStakingConfig, decodeUserRegistry, fetchAgentReputationAuth, fetchAgentTreeConfig, fetchAgentVerification, fetchAllAgentReputationAuth, fetchAllAgentTreeConfig, fetchAllAgentVerification, fetchAllAuditTrail, fetchAllAuthorizationUsageRecord, fetchAllComplianceReport, fetchAllCredential, fetchAllCredentialTemplate, fetchAllCredentialType, fetchAllDidDocument, fetchAllExternalIdMapping, fetchAllGhostProtectEscrow, fetchAllGovernanceProposal, fetchAllMaybeAgentReputationAuth, fetchAllMaybeAgentTreeConfig, fetchAllMaybeAgentVerification, fetchAllMaybeAuditTrail, fetchAllMaybeAuthorizationUsageRecord, fetchAllMaybeComplianceReport, fetchAllMaybeCredential, fetchAllMaybeCredentialTemplate, fetchAllMaybeCredentialType, fetchAllMaybeDidDocument, fetchAllMaybeExternalIdMapping, fetchAllMaybeGhostProtectEscrow, fetchAllMaybeGovernanceProposal, fetchAllMaybeMultisig, fetchAllMaybeProtocolConfig, fetchAllMaybeRbacConfig, fetchAllMaybeReentrancyGuard, fetchAllMaybeReputationMetrics, fetchAllMaybeStakingAccount, fetchAllMaybeStakingConfig, fetchAllMaybeUserRegistry, fetchAllMultisig, fetchAllProtocolConfig, fetchAllRbacConfig, fetchAllReentrancyGuard, fetchAllReputationMetrics, fetchAllStakingAccount, fetchAllStakingConfig, fetchAllUserRegistry, fetchAuditTrail, fetchAuthorizationUsageRecord, fetchComplianceReport, fetchCredential, fetchCredentialTemplate, fetchCredentialType, fetchDidDocument, fetchExternalIdMapping, fetchGhostProtectEscrow, fetchGovernanceProposal, fetchMaybeAgentReputationAuth, fetchMaybeAgentTreeConfig, fetchMaybeAgentVerification, fetchMaybeAuditTrail, fetchMaybeAuthorizationUsageRecord, fetchMaybeComplianceReport, fetchMaybeCredential, fetchMaybeCredentialTemplate, fetchMaybeCredentialType, fetchMaybeDidDocument, fetchMaybeExternalIdMapping, fetchMaybeGhostProtectEscrow, fetchMaybeGovernanceProposal, fetchMaybeMultisig, fetchMaybeProtocolConfig, fetchMaybeRbacConfig, fetchMaybeReentrancyGuard, fetchMaybeReputationMetrics, fetchMaybeStakingAccount, fetchMaybeStakingConfig, fetchMaybeUserRegistry, fetchMultisig, fetchProtocolConfig, fetchRbacConfig, fetchReentrancyGuard, fetchReputationMetrics, fetchStakingAccount, fetchStakingConfig, fetchUserRegistry, getActivateAgentDiscriminatorBytes, getActivateAgentInstruction, getActivateAgentInstructionAsync, getActivateAgentInstructionDataCodec, getActivateAgentInstructionDataDecoder, getActivateAgentInstructionDataEncoder, getAgentReputationAuthCodec, getAgentReputationAuthDecoder, getAgentReputationAuthDiscriminatorBytes, getAgentReputationAuthEncoder, getAgentTreeConfigCodec, getAgentTreeConfigDecoder, getAgentTreeConfigDiscriminatorBytes, getAgentTreeConfigEncoder, getAgentTreeConfigSize, getAgentVerificationCodec, getAgentVerificationDecoder, getAgentVerificationDiscriminatorBytes, getAgentVerificationEncoder, getApproveDeliveryDiscriminatorBytes, getApproveDeliveryInstruction, getApproveDeliveryInstructionDataCodec, getApproveDeliveryInstructionDataDecoder, getApproveDeliveryInstructionDataEncoder, getArbitrateDisputeDiscriminatorBytes, getArbitrateDisputeInstruction, getArbitrateDisputeInstructionDataCodec, getArbitrateDisputeInstructionDataDecoder, getArbitrateDisputeInstructionDataEncoder, getAuditTrailCodec, getAuditTrailDecoder, getAuditTrailDiscriminatorBytes, getAuditTrailEncoder, getAuthorizationUsageRecordCodec, getAuthorizationUsageRecordDecoder, getAuthorizationUsageRecordDiscriminatorBytes, getAuthorizationUsageRecordEncoder, getAutoCreateGhostDiscriminatorBytes, getAutoCreateGhostInstruction, getAutoCreateGhostInstructionAsync, getAutoCreateGhostInstructionDataCodec, getAutoCreateGhostInstructionDataDecoder, getAutoCreateGhostInstructionDataEncoder, getClaimGhostDiscriminatorBytes, getClaimGhostInstruction, getClaimGhostInstructionDataCodec, getClaimGhostInstructionDataDecoder, getClaimGhostInstructionDataEncoder, getComplianceReportCodec, getComplianceReportDecoder, getComplianceReportDiscriminatorBytes, getComplianceReportEncoder, getCreateCredentialTemplateDiscriminatorBytes, getCreateCredentialTemplateInstruction, getCreateCredentialTemplateInstructionAsync, getCreateCredentialTemplateInstructionDataCodec, getCreateCredentialTemplateInstructionDataDecoder, getCreateCredentialTemplateInstructionDataEncoder, getCreateCredentialTypeDiscriminatorBytes, getCreateCredentialTypeInstruction, getCreateCredentialTypeInstructionAsync, getCreateCredentialTypeInstructionDataCodec, getCreateCredentialTypeInstructionDataDecoder, getCreateCredentialTypeInstructionDataEncoder, getCreateDidDocumentDiscriminatorBytes, getCreateDidDocumentInstruction, getCreateDidDocumentInstructionAsync, getCreateDidDocumentInstructionDataCodec, getCreateDidDocumentInstructionDataDecoder, getCreateDidDocumentInstructionDataEncoder, getCreateEscrowDiscriminatorBytes, getCreateEscrowInstruction, getCreateEscrowInstructionAsync, getCreateEscrowInstructionDataCodec, getCreateEscrowInstructionDataDecoder, getCreateEscrowInstructionDataEncoder, getCreateMultisigDiscriminatorBytes, getCreateMultisigInstruction, getCreateMultisigInstructionAsync, getCreateMultisigInstructionDataCodec, getCreateMultisigInstructionDataDecoder, getCreateMultisigInstructionDataEncoder, getCredentialCodec, getCredentialDecoder, getCredentialDiscriminatorBytes, getCredentialEncoder, getCredentialTemplateCodec, getCredentialTemplateDecoder, getCredentialTemplateDiscriminatorBytes, getCredentialTemplateEncoder, getCredentialTypeCodec, getCredentialTypeDecoder, getCredentialTypeDiscriminatorBytes, getCredentialTypeEncoder, getDeactivateAgentDiscriminatorBytes, getDeactivateAgentInstruction, getDeactivateAgentInstructionAsync, getDeactivateAgentInstructionDataCodec, getDeactivateAgentInstructionDataDecoder, getDeactivateAgentInstructionDataEncoder, getDeactivateCredentialTemplateDiscriminatorBytes, getDeactivateCredentialTemplateInstruction, getDeactivateCredentialTemplateInstructionDataCodec, getDeactivateCredentialTemplateInstructionDataDecoder, getDeactivateCredentialTemplateInstructionDataEncoder, getDeactivateCredentialTypeDiscriminatorBytes, getDeactivateCredentialTypeInstruction, getDeactivateCredentialTypeInstructionDataCodec, getDeactivateCredentialTypeInstructionDataDecoder, getDeactivateCredentialTypeInstructionDataEncoder, getDeactivateDidDocumentDiscriminatorBytes, getDeactivateDidDocumentInstruction, getDeactivateDidDocumentInstructionAsync, getDeactivateDidDocumentInstructionDataCodec, getDeactivateDidDocumentInstructionDataDecoder, getDeactivateDidDocumentInstructionDataEncoder, getDidDocumentCodec, getDidDocumentDecoder, getDidDocumentDiscriminatorBytes, getDidDocumentEncoder, getEnableProtocolFeesDiscriminatorBytes, getEnableProtocolFeesInstruction, getEnableProtocolFeesInstructionAsync, getEnableProtocolFeesInstructionDataCodec, getEnableProtocolFeesInstructionDataDecoder, getEnableProtocolFeesInstructionDataEncoder, getExternalIdMappingCodec, getExternalIdMappingDecoder, getExternalIdMappingDiscriminatorBytes, getExternalIdMappingEncoder, getFileDisputeDiscriminatorBytes, getFileDisputeInstruction, getFileDisputeInstructionDataCodec, getFileDisputeInstructionDataDecoder, getFileDisputeInstructionDataEncoder, getGenerateComplianceReportDiscriminatorBytes, getGenerateComplianceReportInstruction, getGenerateComplianceReportInstructionAsync, getGenerateComplianceReportInstructionDataCodec, getGenerateComplianceReportInstructionDataDecoder, getGenerateComplianceReportInstructionDataEncoder, getGhostProtectEscrowCodec, getGhostProtectEscrowDecoder, getGhostProtectEscrowDiscriminatorBytes, getGhostProtectEscrowEncoder, getGhostspeakMarketplaceErrorMessage, getGovernanceProposalCodec, getGovernanceProposalDecoder, getGovernanceProposalDiscriminatorBytes, getGovernanceProposalEncoder, getInitReentrancyGuardDiscriminatorBytes, getInitReentrancyGuardInstruction, getInitReentrancyGuardInstructionAsync, getInitReentrancyGuardInstructionDataCodec, getInitReentrancyGuardInstructionDataDecoder, getInitReentrancyGuardInstructionDataEncoder, getInitializeAuditTrailDiscriminatorBytes, getInitializeAuditTrailInstruction, getInitializeAuditTrailInstructionAsync, getInitializeAuditTrailInstructionDataCodec, getInitializeAuditTrailInstructionDataDecoder, getInitializeAuditTrailInstructionDataEncoder, getInitializeGovernanceProposalDiscriminatorBytes, getInitializeGovernanceProposalInstruction, getInitializeGovernanceProposalInstructionAsync, getInitializeGovernanceProposalInstructionDataCodec, getInitializeGovernanceProposalInstructionDataDecoder, getInitializeGovernanceProposalInstructionDataEncoder, getInitializeProtocolConfigDiscriminatorBytes, getInitializeProtocolConfigInstruction, getInitializeProtocolConfigInstructionAsync, getInitializeProtocolConfigInstructionDataCodec, getInitializeProtocolConfigInstructionDataDecoder, getInitializeProtocolConfigInstructionDataEncoder, getInitializeRbacConfigDiscriminatorBytes, getInitializeRbacConfigInstruction, getInitializeRbacConfigInstructionAsync, getInitializeRbacConfigInstructionDataCodec, getInitializeRbacConfigInstructionDataDecoder, getInitializeRbacConfigInstructionDataEncoder, getInitializeReputationMetricsDiscriminatorBytes, getInitializeReputationMetricsInstruction, getInitializeReputationMetricsInstructionAsync, getInitializeReputationMetricsInstructionDataCodec, getInitializeReputationMetricsInstructionDataDecoder, getInitializeReputationMetricsInstructionDataEncoder, getInitializeStakingConfigDiscriminatorBytes, getInitializeStakingConfigInstruction, getInitializeStakingConfigInstructionAsync, getInitializeStakingConfigInstructionDataCodec, getInitializeStakingConfigInstructionDataDecoder, getInitializeStakingConfigInstructionDataEncoder, getIssueCredentialDiscriminatorBytes, getIssueCredentialInstruction, getIssueCredentialInstructionAsync, getIssueCredentialInstructionDataCodec, getIssueCredentialInstructionDataDecoder, getIssueCredentialInstructionDataEncoder, getLinkExternalIdDiscriminatorBytes, getLinkExternalIdInstruction, getLinkExternalIdInstructionAsync, getLinkExternalIdInstructionDataCodec, getLinkExternalIdInstructionDataDecoder, getLinkExternalIdInstructionDataEncoder, getManageAgentStatusDiscriminatorBytes, getManageAgentStatusInstruction, getManageAgentStatusInstructionAsync, getManageAgentStatusInstructionDataCodec, getManageAgentStatusInstructionDataDecoder, getManageAgentStatusInstructionDataEncoder, getMultisigCodec, getMultisigDecoder, getMultisigDiscriminatorBytes, getMultisigEncoder, getProtocolConfigCodec, getProtocolConfigDecoder, getProtocolConfigDiscriminatorBytes, getProtocolConfigEncoder, getProtocolConfigSize, getRbacConfigCodec, getRbacConfigDecoder, getRbacConfigDiscriminatorBytes, getRbacConfigEncoder, getRecordPayaiPaymentDiscriminatorBytes, getRecordPayaiPaymentInstruction, getRecordPayaiPaymentInstructionAsync, getRecordPayaiPaymentInstructionDataCodec, getRecordPayaiPaymentInstructionDataDecoder, getRecordPayaiPaymentInstructionDataEncoder, getReentrancyGuardCodec, getReentrancyGuardDecoder, getReentrancyGuardDiscriminatorBytes, getReentrancyGuardEncoder, getReentrancyGuardSize, getRegisterAgentCompressedDiscriminatorBytes, getRegisterAgentCompressedInstruction, getRegisterAgentCompressedInstructionAsync, getRegisterAgentCompressedInstructionDataCodec, getRegisterAgentCompressedInstructionDataDecoder, getRegisterAgentCompressedInstructionDataEncoder, getRegisterAgentDiscriminatorBytes, getRegisterAgentInstruction, getRegisterAgentInstructionAsync, getRegisterAgentInstructionDataCodec, getRegisterAgentInstructionDataDecoder, getRegisterAgentInstructionDataEncoder, getRegisterGhostMetadataDiscriminatorBytes, getRegisterGhostMetadataInstruction, getRegisterGhostMetadataInstructionDataCodec, getRegisterGhostMetadataInstructionDataDecoder, getRegisterGhostMetadataInstructionDataEncoder, getReputationMetricsCodec, getReputationMetricsDecoder, getReputationMetricsDiscriminatorBytes, getReputationMetricsEncoder, getResetReentrancyGuardDiscriminatorBytes, getResetReentrancyGuardInstruction, getResetReentrancyGuardInstructionAsync, getResetReentrancyGuardInstructionDataCodec, getResetReentrancyGuardInstructionDataDecoder, getResetReentrancyGuardInstructionDataEncoder, getResolveDidDocumentDiscriminatorBytes, getResolveDidDocumentInstruction, getResolveDidDocumentInstructionAsync, getResolveDidDocumentInstructionDataCodec, getResolveDidDocumentInstructionDataDecoder, getResolveDidDocumentInstructionDataEncoder, getRevokeCredentialDiscriminatorBytes, getRevokeCredentialInstruction, getRevokeCredentialInstructionDataCodec, getRevokeCredentialInstructionDataDecoder, getRevokeCredentialInstructionDataEncoder, getSlashStakeDiscriminatorBytes, getSlashStakeInstruction, getSlashStakeInstructionAsync, getSlashStakeInstructionDataCodec, getSlashStakeInstructionDataDecoder, getSlashStakeInstructionDataEncoder, getStakeGhostDiscriminatorBytes, getStakeGhostInstruction, getStakeGhostInstructionAsync, getStakeGhostInstructionDataCodec, getStakeGhostInstructionDataDecoder, getStakeGhostInstructionDataEncoder, getStakingAccountCodec, getStakingAccountDecoder, getStakingAccountDiscriminatorBytes, getStakingAccountEncoder, getStakingAccountSize, getStakingConfigCodec, getStakingConfigDecoder, getStakingConfigDiscriminatorBytes, getStakingConfigEncoder, getStakingConfigSize, getSubmitDeliveryDiscriminatorBytes, getSubmitDeliveryInstruction, getSubmitDeliveryInstructionDataCodec, getSubmitDeliveryInstructionDataDecoder, getSubmitDeliveryInstructionDataEncoder, getSubmitServiceRatingDiscriminatorBytes, getSubmitServiceRatingInstruction, getSubmitServiceRatingInstructionAsync, getSubmitServiceRatingInstructionDataCodec, getSubmitServiceRatingInstructionDataDecoder, getSubmitServiceRatingInstructionDataEncoder, getUnstakeGhostDiscriminatorBytes, getUnstakeGhostInstruction, getUnstakeGhostInstructionAsync, getUnstakeGhostInstructionDataCodec, getUnstakeGhostInstructionDataDecoder, getUnstakeGhostInstructionDataEncoder, getUpdateAgentDiscriminatorBytes, getUpdateAgentInstruction, getUpdateAgentInstructionAsync, getUpdateAgentInstructionDataCodec, getUpdateAgentInstructionDataDecoder, getUpdateAgentInstructionDataEncoder, getUpdateAgentReputationDiscriminatorBytes, getUpdateAgentReputationInstruction, getUpdateAgentReputationInstructionAsync, getUpdateAgentReputationInstructionDataCodec, getUpdateAgentReputationInstructionDataDecoder, getUpdateAgentReputationInstructionDataEncoder, getUpdateAgentServiceDiscriminatorBytes, getUpdateAgentServiceInstruction, getUpdateAgentServiceInstructionAsync, getUpdateAgentServiceInstructionDataCodec, getUpdateAgentServiceInstructionDataDecoder, getUpdateAgentServiceInstructionDataEncoder, getUpdateCrosschainStatusDiscriminatorBytes, getUpdateCrosschainStatusInstruction, getUpdateCrosschainStatusInstructionDataCodec, getUpdateCrosschainStatusInstructionDataDecoder, getUpdateCrosschainStatusInstructionDataEncoder, getUpdateDidDocumentDiscriminatorBytes, getUpdateDidDocumentInstruction, getUpdateDidDocumentInstructionAsync, getUpdateDidDocumentInstructionDataCodec, getUpdateDidDocumentInstructionDataDecoder, getUpdateDidDocumentInstructionDataEncoder, getUpdateGhostScoreDiscriminatorBytes, getUpdateGhostScoreInstruction, getUpdateGhostScoreInstructionDataCodec, getUpdateGhostScoreInstructionDataDecoder, getUpdateGhostScoreInstructionDataEncoder, getUpdateProtocolConfigDiscriminatorBytes, getUpdateProtocolConfigInstruction, getUpdateProtocolConfigInstructionAsync, getUpdateProtocolConfigInstructionDataCodec, getUpdateProtocolConfigInstructionDataDecoder, getUpdateProtocolConfigInstructionDataEncoder, getUpdateReputationTagsDiscriminatorBytes, getUpdateReputationTagsInstruction, getUpdateReputationTagsInstructionAsync, getUpdateReputationTagsInstructionDataCodec, getUpdateReputationTagsInstructionDataDecoder, getUpdateReputationTagsInstructionDataEncoder, getUpdateSourceReputationDiscriminatorBytes, getUpdateSourceReputationInstruction, getUpdateSourceReputationInstructionAsync, getUpdateSourceReputationInstructionDataCodec, getUpdateSourceReputationInstructionDataDecoder, getUpdateSourceReputationInstructionDataEncoder, getUserRegistryCodec, getUserRegistryDecoder, getUserRegistryDiscriminatorBytes, getUserRegistryEncoder, getUserRegistrySize, getVerifyAgentDiscriminatorBytes, getVerifyAgentInstruction, getVerifyAgentInstructionAsync, getVerifyAgentInstructionDataCodec, getVerifyAgentInstructionDataDecoder, getVerifyAgentInstructionDataEncoder, getVerifyAuthorizationDiscriminatorBytes, getVerifyAuthorizationInstruction, getVerifyAuthorizationInstructionDataCodec, getVerifyAuthorizationInstructionDataDecoder, getVerifyAuthorizationInstructionDataEncoder, isGhostspeakMarketplaceError, parseActivateAgentInstruction, parseApproveDeliveryInstruction, parseArbitrateDisputeInstruction, parseAutoCreateGhostInstruction, parseClaimGhostInstruction, parseCreateCredentialTemplateInstruction, parseCreateCredentialTypeInstruction, parseCreateDidDocumentInstruction, parseCreateEscrowInstruction, parseCreateMultisigInstruction, parseDeactivateAgentInstruction, parseDeactivateCredentialTemplateInstruction, parseDeactivateCredentialTypeInstruction, parseDeactivateDidDocumentInstruction, parseEnableProtocolFeesInstruction, parseFileDisputeInstruction, parseGenerateComplianceReportInstruction, parseInitReentrancyGuardInstruction, parseInitializeAuditTrailInstruction, parseInitializeGovernanceProposalInstruction, parseInitializeProtocolConfigInstruction, parseInitializeRbacConfigInstruction, parseInitializeReputationMetricsInstruction, parseInitializeStakingConfigInstruction, parseIssueCredentialInstruction, parseLinkExternalIdInstruction, parseManageAgentStatusInstruction, parseRecordPayaiPaymentInstruction, parseRegisterAgentCompressedInstruction, parseRegisterAgentInstruction, parseRegisterGhostMetadataInstruction, parseResetReentrancyGuardInstruction, parseResolveDidDocumentInstruction, parseRevokeCredentialInstruction, parseSlashStakeInstruction, parseStakeGhostInstruction, parseSubmitDeliveryInstruction, parseSubmitServiceRatingInstruction, parseUnstakeGhostInstruction, parseUpdateAgentInstruction, parseUpdateAgentReputationInstruction, parseUpdateAgentServiceInstruction, parseUpdateCrosschainStatusInstruction, parseUpdateDidDocumentInstruction, parseUpdateGhostScoreInstruction, parseUpdateProtocolConfigInstruction, parseUpdateReputationTagsInstruction, parseUpdateSourceReputationInstruction, parseVerifyAgentInstruction, parseVerifyAuthorizationInstruction };
|
|
8501
|
+
//# sourceMappingURL=chunk-IQM5RASO.js.map
|
|
8502
|
+
//# sourceMappingURL=chunk-IQM5RASO.js.map
|