@intent-engine/core 0.1.23 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/accounts/claimBoard.d.ts +50 -0
- package/dist/generated/client/accounts/claimBoard.js +77 -0
- package/dist/generated/client/accounts/claimBoard.js.map +1 -0
- package/dist/generated/client/accounts/committee.d.ts +48 -0
- package/dist/generated/client/accounts/committee.js +75 -0
- package/dist/generated/client/accounts/committee.js.map +1 -0
- package/dist/generated/client/accounts/config.d.ts +2 -0
- package/dist/generated/client/accounts/config.js +4 -2
- package/dist/generated/client/accounts/config.js.map +1 -1
- package/dist/generated/client/accounts/index.d.ts +4 -0
- package/dist/generated/client/accounts/index.js +4 -0
- package/dist/generated/client/accounts/index.js.map +1 -1
- package/dist/generated/client/accounts/intent.d.ts +2 -0
- package/dist/generated/client/accounts/intent.js +4 -2
- package/dist/generated/client/accounts/intent.js.map +1 -1
- package/dist/generated/client/accounts/mintCap.d.ts +48 -0
- package/dist/generated/client/accounts/mintCap.js +75 -0
- package/dist/generated/client/accounts/mintCap.js.map +1 -0
- package/dist/generated/client/accounts/profile.d.ts +48 -0
- package/dist/generated/client/accounts/profile.js +81 -0
- package/dist/generated/client/accounts/profile.js.map +1 -0
- package/dist/generated/client/errors/intentEngine.d.ts +31 -1
- package/dist/generated/client/errors/intentEngine.js +45 -0
- package/dist/generated/client/errors/intentEngine.js.map +1 -1
- package/dist/generated/client/events/capsRequiredSet.d.ts +22 -0
- package/dist/generated/client/events/capsRequiredSet.js +32 -0
- package/dist/generated/client/events/capsRequiredSet.js.map +1 -0
- package/dist/generated/client/events/claimDropped.d.ts +28 -0
- package/dist/generated/client/events/claimDropped.js +40 -0
- package/dist/generated/client/events/claimDropped.js.map +1 -0
- package/dist/generated/client/events/claimsClosed.d.ts +23 -0
- package/dist/generated/client/events/claimsClosed.js +38 -0
- package/dist/generated/client/events/claimsClosed.js.map +1 -0
- package/dist/generated/client/events/claimsOpened.d.ts +30 -0
- package/dist/generated/client/events/claimsOpened.js +42 -0
- package/dist/generated/client/events/claimsOpened.js.map +1 -0
- package/dist/generated/client/events/committeeAttested.d.ts +24 -0
- package/dist/generated/client/events/committeeAttested.js +40 -0
- package/dist/generated/client/events/committeeAttested.js.map +1 -0
- package/dist/generated/client/events/committeeCreated.d.ts +25 -0
- package/dist/generated/client/events/committeeCreated.js +42 -0
- package/dist/generated/client/events/committeeCreated.js.map +1 -0
- package/dist/generated/client/events/index.d.ts +11 -0
- package/dist/generated/client/events/index.js +11 -0
- package/dist/generated/client/events/index.js.map +1 -1
- package/dist/generated/client/events/jobClaimed.d.ts +30 -0
- package/dist/generated/client/events/jobClaimed.js +42 -0
- package/dist/generated/client/events/jobClaimed.js.map +1 -0
- package/dist/generated/client/events/mintCapSet.d.ts +36 -0
- package/dist/generated/client/events/mintCapSet.js +48 -0
- package/dist/generated/client/events/mintCapSet.js.map +1 -0
- package/dist/generated/client/events/profileClosed.d.ts +22 -0
- package/dist/generated/client/events/profileClosed.js +32 -0
- package/dist/generated/client/events/profileClosed.js.map +1 -0
- package/dist/generated/client/events/profileSet.d.ts +26 -0
- package/dist/generated/client/events/profileSet.js +50 -0
- package/dist/generated/client/events/profileSet.js.map +1 -0
- package/dist/generated/client/events/stakeMoved.d.ts +32 -0
- package/dist/generated/client/events/stakeMoved.js +44 -0
- package/dist/generated/client/events/stakeMoved.js.map +1 -0
- package/dist/generated/client/instructions/claimJob.d.ts +72 -0
- package/dist/generated/client/instructions/claimJob.js +163 -0
- package/dist/generated/client/instructions/claimJob.js.map +1 -0
- package/dist/generated/client/instructions/closeProfile.d.ts +55 -0
- package/dist/generated/client/instructions/closeProfile.js +131 -0
- package/dist/generated/client/instructions/closeProfile.js.map +1 -0
- package/dist/generated/client/instructions/createCommittee.d.ts +76 -0
- package/dist/generated/client/instructions/createCommittee.js +163 -0
- package/dist/generated/client/instructions/createCommittee.js.map +1 -0
- package/dist/generated/client/instructions/createIntent.d.ts +13 -9
- package/dist/generated/client/instructions/createIntent.js +21 -2
- package/dist/generated/client/instructions/createIntent.js.map +1 -1
- package/dist/generated/client/instructions/createIntentByAgent.d.ts +13 -9
- package/dist/generated/client/instructions/createIntentByAgent.js +21 -2
- package/dist/generated/client/instructions/createIntentByAgent.js.map +1 -1
- package/dist/generated/client/instructions/createIntentSigned.d.ts +13 -9
- package/dist/generated/client/instructions/createIntentSigned.js +15 -2
- package/dist/generated/client/instructions/createIntentSigned.js.map +1 -1
- package/dist/generated/client/instructions/createProfile.d.ts +65 -0
- package/dist/generated/client/instructions/createProfile.js +162 -0
- package/dist/generated/client/instructions/createProfile.js.map +1 -0
- package/dist/generated/client/instructions/dropClaim.d.ts +59 -0
- package/dist/generated/client/instructions/dropClaim.js +128 -0
- package/dist/generated/client/instructions/dropClaim.js.map +1 -0
- package/dist/generated/client/instructions/fillAttested.d.ts +17 -9
- package/dist/generated/client/instructions/fillAttested.js +20 -2
- package/dist/generated/client/instructions/fillAttested.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedCommittee.d.ts +124 -0
- package/dist/generated/client/instructions/fillAttestedCommittee.js +271 -0
- package/dist/generated/client/instructions/fillAttestedCommittee.js.map +1 -0
- package/dist/generated/client/instructions/fillAttestedSplit.d.ts +22 -17
- package/dist/generated/client/instructions/fillAttestedSplit.js +24 -7
- package/dist/generated/client/instructions/fillAttestedSplit.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.d.ts +157 -0
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.js +373 -0
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.js.map +1 -0
- package/dist/generated/client/instructions/index.d.ts +12 -0
- package/dist/generated/client/instructions/index.js +12 -0
- package/dist/generated/client/instructions/index.js.map +1 -1
- package/dist/generated/client/instructions/openClaims.d.ts +72 -0
- package/dist/generated/client/instructions/openClaims.js +160 -0
- package/dist/generated/client/instructions/openClaims.js.map +1 -0
- package/dist/generated/client/instructions/setCapsRequired.d.ts +50 -0
- package/dist/generated/client/instructions/setCapsRequired.js +93 -0
- package/dist/generated/client/instructions/setCapsRequired.js.map +1 -0
- package/dist/generated/client/instructions/setMintCap.d.ts +84 -0
- package/dist/generated/client/instructions/setMintCap.js +188 -0
- package/dist/generated/client/instructions/setMintCap.js.map +1 -0
- package/dist/generated/client/instructions/settleClaims.d.ts +63 -0
- package/dist/generated/client/instructions/settleClaims.js +139 -0
- package/dist/generated/client/instructions/settleClaims.js.map +1 -0
- package/dist/generated/client/instructions/updateProfile.d.ts +61 -0
- package/dist/generated/client/instructions/updateProfile.js +140 -0
- package/dist/generated/client/instructions/updateProfile.js.map +1 -0
- package/dist/generated/client/pdas/board.d.ts +14 -0
- package/dist/generated/client/pdas/board.js +19 -0
- package/dist/generated/client/pdas/board.js.map +1 -0
- package/dist/generated/client/pdas/committee.d.ts +14 -0
- package/dist/generated/client/pdas/committee.js +19 -0
- package/dist/generated/client/pdas/committee.js.map +1 -0
- package/dist/generated/client/pdas/index.d.ts +4 -0
- package/dist/generated/client/pdas/index.js +4 -0
- package/dist/generated/client/pdas/index.js.map +1 -1
- package/dist/generated/client/pdas/mintCap.d.ts +14 -0
- package/dist/generated/client/pdas/mintCap.js +19 -0
- package/dist/generated/client/pdas/mintCap.js.map +1 -0
- package/dist/generated/client/pdas/profile.d.ts +14 -0
- package/dist/generated/client/pdas/profile.js +19 -0
- package/dist/generated/client/pdas/profile.js.map +1 -0
- package/dist/generated/client/programs/intentEngine.d.ts +190 -92
- package/dist/generated/client/programs/intentEngine.js +336 -91
- package/dist/generated/client/programs/intentEngine.js.map +1 -1
- package/dist/generated/client/types/index.d.ts +2 -0
- package/dist/generated/client/types/index.js +2 -0
- package/dist/generated/client/types/index.js.map +1 -1
- package/dist/generated/client/types/profileFields.d.ts +18 -0
- package/dist/generated/client/types/profileFields.js +34 -0
- package/dist/generated/client/types/profileFields.js.map +1 -0
- package/dist/generated/client/types/splitClaim.d.ts +16 -0
- package/dist/generated/client/types/splitClaim.js +24 -0
- package/dist/generated/client/types/splitClaim.js.map +1 -0
- package/dist/src/admin-builders.d.ts +49 -0
- package/dist/src/admin-builders.js +52 -0
- package/dist/src/admin-builders.js.map +1 -0
- package/dist/src/bounty.d.ts +3 -1
- package/dist/src/bounty.js +6 -2
- package/dist/src/bounty.js.map +1 -1
- package/dist/src/builder-accounts.d.ts +62 -0
- package/dist/src/builder-accounts.js +64 -0
- package/dist/src/builder-accounts.js.map +1 -0
- package/dist/src/builders.d.ts +5 -213
- package/dist/src/builders.js +5 -493
- package/dist/src/builders.js.map +1 -1
- package/dist/src/claims.d.ts +47 -0
- package/dist/src/claims.js +69 -0
- package/dist/src/claims.js.map +1 -0
- package/dist/src/committee.d.ts +40 -0
- package/dist/src/committee.js +145 -0
- package/dist/src/committee.js.map +1 -0
- package/dist/src/describe.d.ts +6 -1
- package/dist/src/describe.js +25 -3
- package/dist/src/describe.js.map +1 -1
- package/dist/src/errors.d.ts +2 -1
- package/dist/src/errors.js +44 -0
- package/dist/src/errors.js.map +1 -1
- package/dist/src/events.d.ts +12 -1
- package/dist/src/events.js +15 -1
- package/dist/src/events.js.map +1 -1
- package/dist/src/fee.d.ts +1 -0
- package/dist/src/fee.js +13 -5
- package/dist/src/fee.js.map +1 -1
- package/dist/src/fill-builders.d.ts +63 -0
- package/dist/src/fill-builders.js +151 -0
- package/dist/src/fill-builders.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/intent-builders.d.ts +65 -0
- package/dist/src/intent-builders.js +159 -0
- package/dist/src/intent-builders.js.map +1 -0
- package/dist/src/mandate.js +2 -2
- package/dist/src/mandate.js.map +1 -1
- package/dist/src/math.d.ts +1 -0
- package/dist/src/math.js +9 -0
- package/dist/src/math.js.map +1 -1
- package/dist/src/memo.d.ts +11 -1
- package/dist/src/memo.js +40 -4
- package/dist/src/memo.js.map +1 -1
- package/dist/src/mint-caps.d.ts +31 -0
- package/dist/src/mint-caps.js +73 -0
- package/dist/src/mint-caps.js.map +1 -0
- package/dist/src/owner-builders.d.ts +52 -0
- package/dist/src/owner-builders.js +83 -0
- package/dist/src/owner-builders.js.map +1 -0
- package/dist/src/sig.d.ts +1 -0
- package/dist/src/sig.js +4 -0
- package/dist/src/sig.js.map +1 -1
- package/dist/src/state.d.ts +3 -0
- package/dist/src/state.js +5 -0
- package/dist/src/state.js.map +1 -1
- package/dist/src/validate.d.ts +2 -0
- package/dist/src/validate.js +15 -0
- package/dist/src/validate.js.map +1 -1
- package/generated/idl.json +1990 -63
- package/package.json +19 -6
- package/dist/generated/client/types/configSettings.d.ts +0 -25
- package/dist/generated/client/types/configSettings.js +0 -30
- package/dist/generated/client/types/configSettings.js.map +0 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getArrayDecoder, getArrayEncoder, getBytesDecoder, getBytesEncoder, getI64Decoder, getI64Encoder, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, } from "@solana/kit";
|
|
9
|
+
export const PROFILE_DISCRIMINATOR = new Uint8Array([
|
|
10
|
+
184, 101, 165, 188, 95, 63, 127, 188,
|
|
11
|
+
]);
|
|
12
|
+
export function getProfileDiscriminatorBytes() {
|
|
13
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(PROFILE_DISCRIMINATOR);
|
|
14
|
+
}
|
|
15
|
+
/** Gets the encoder for {@link ProfileArgs} account data. */
|
|
16
|
+
export function getProfileEncoder() {
|
|
17
|
+
return transformEncoder(getStructEncoder([
|
|
18
|
+
["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
|
|
19
|
+
["wallet", getAddressEncoder()],
|
|
20
|
+
["docHash", fixEncoderSize(getBytesEncoder(), 32)],
|
|
21
|
+
["updatedAt", getI64Encoder()],
|
|
22
|
+
[
|
|
23
|
+
"skills",
|
|
24
|
+
getArrayEncoder(fixEncoderSize(getBytesEncoder(), 16), { size: 8 }),
|
|
25
|
+
],
|
|
26
|
+
["endpoint", fixEncoderSize(getBytesEncoder(), 128)],
|
|
27
|
+
["docUrl", fixEncoderSize(getBytesEncoder(), 128)],
|
|
28
|
+
["version", getU8Encoder()],
|
|
29
|
+
["bump", getU8Encoder()],
|
|
30
|
+
["padding", fixEncoderSize(getBytesEncoder(), 6)],
|
|
31
|
+
["reserved", fixEncoderSize(getBytesEncoder(), 32)],
|
|
32
|
+
]), (value) => ({ ...value, discriminator: PROFILE_DISCRIMINATOR }));
|
|
33
|
+
}
|
|
34
|
+
/** Gets the decoder for {@link Profile} account data. */
|
|
35
|
+
export function getProfileDecoder() {
|
|
36
|
+
return getStructDecoder([
|
|
37
|
+
["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
|
|
38
|
+
["wallet", getAddressDecoder()],
|
|
39
|
+
["docHash", fixDecoderSize(getBytesDecoder(), 32)],
|
|
40
|
+
["updatedAt", getI64Decoder()],
|
|
41
|
+
[
|
|
42
|
+
"skills",
|
|
43
|
+
getArrayDecoder(fixDecoderSize(getBytesDecoder(), 16), { size: 8 }),
|
|
44
|
+
],
|
|
45
|
+
["endpoint", fixDecoderSize(getBytesDecoder(), 128)],
|
|
46
|
+
["docUrl", fixDecoderSize(getBytesDecoder(), 128)],
|
|
47
|
+
["version", getU8Decoder()],
|
|
48
|
+
["bump", getU8Decoder()],
|
|
49
|
+
["padding", fixDecoderSize(getBytesDecoder(), 6)],
|
|
50
|
+
["reserved", fixDecoderSize(getBytesDecoder(), 32)],
|
|
51
|
+
]);
|
|
52
|
+
}
|
|
53
|
+
/** Gets the codec for {@link Profile} account data. */
|
|
54
|
+
export function getProfileCodec() {
|
|
55
|
+
return combineCodec(getProfileEncoder(), getProfileDecoder());
|
|
56
|
+
}
|
|
57
|
+
export function decodeProfile(encodedAccount) {
|
|
58
|
+
return decodeAccount(encodedAccount, getProfileDecoder());
|
|
59
|
+
}
|
|
60
|
+
export async function fetchProfile(rpc, address, config) {
|
|
61
|
+
const maybeAccount = await fetchMaybeProfile(rpc, address, config);
|
|
62
|
+
assertAccountExists(maybeAccount);
|
|
63
|
+
return maybeAccount;
|
|
64
|
+
}
|
|
65
|
+
export async function fetchMaybeProfile(rpc, address, config) {
|
|
66
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address, config);
|
|
67
|
+
return decodeProfile(maybeAccount);
|
|
68
|
+
}
|
|
69
|
+
export async function fetchAllProfile(rpc, addresses, config) {
|
|
70
|
+
const maybeAccounts = await fetchAllMaybeProfile(rpc, addresses, config);
|
|
71
|
+
assertAccountsExist(maybeAccounts);
|
|
72
|
+
return maybeAccounts;
|
|
73
|
+
}
|
|
74
|
+
export async function fetchAllMaybeProfile(rpc, addresses, config) {
|
|
75
|
+
const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
|
|
76
|
+
return maybeAccounts.map((maybeAccount) => decodeProfile(maybeAccount));
|
|
77
|
+
}
|
|
78
|
+
export function getProfileSize() {
|
|
79
|
+
return 504;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../generated/client/accounts/profile.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,a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Y,CAChC,GAA8C,EAC9C,OAA0B,EAC1B,MAA2B;IAE3B,MAAM,YAAY,GAAG,MAAM,iBAAiB,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnE,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAClC,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,GAA8C,EAC9C,OAA0B,EAC1B,MAA2B;IAE3B,MAAM,YAAY,GAAG,MAAM,mBAAmB,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACrE,OAAO,aAAa,CAAC,YAAY,CAAC,CAAC;AACrC,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,GAA+C,EAC/C,SAAyB,EACzB,MAA4B;IAE5B,MAAM,aAAa,GAAG,MAAM,oBAAoB,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACzE,mBAAmB,CAAC,aAAa,CAAC,CAAC;IACnC,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,GAA+C,EAC/C,SAAyB,EACzB,MAA4B;IAE5B,MAAM,aAAa,GAAG,MAAM,oBAAoB,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACzE,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC;AAC1E,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -168,7 +168,37 @@ export declare const INTENT_ENGINE_ERROR__SPLIT_COUNT_MISMATCH = 6078;
|
|
|
168
168
|
export declare const INTENT_ENGINE_ERROR__RECIPIENT_NOT_CANONICAL = 6079;
|
|
169
169
|
/** SplitNotConserved: */
|
|
170
170
|
export declare const INTENT_ENGINE_ERROR__SPLIT_NOT_CONSERVED = 6080;
|
|
171
|
-
|
|
171
|
+
/** MintCapMissing: */
|
|
172
|
+
export declare const INTENT_ENGINE_ERROR__MINT_CAP_MISSING = 6081;
|
|
173
|
+
/** MintCapMismatch: */
|
|
174
|
+
export declare const INTENT_ENGINE_ERROR__MINT_CAP_MISMATCH = 6082;
|
|
175
|
+
/** MintCapPerOrder: */
|
|
176
|
+
export declare const INTENT_ENGINE_ERROR__MINT_CAP_PER_ORDER = 6083;
|
|
177
|
+
/** MintCapWindow: */
|
|
178
|
+
export declare const INTENT_ENGINE_ERROR__MINT_CAP_WINDOW = 6084;
|
|
179
|
+
/** MintCapInvalid: */
|
|
180
|
+
export declare const INTENT_ENGINE_ERROR__MINT_CAP_INVALID = 6085;
|
|
181
|
+
/** CommitteeInvalid: */
|
|
182
|
+
export declare const INTENT_ENGINE_ERROR__COMMITTEE_INVALID = 6086;
|
|
183
|
+
/** CommitteeSigners: */
|
|
184
|
+
export declare const INTENT_ENGINE_ERROR__COMMITTEE_SIGNERS = 6087;
|
|
185
|
+
/** CommitteeMismatch: */
|
|
186
|
+
export declare const INTENT_ENGINE_ERROR__COMMITTEE_MISMATCH = 6088;
|
|
187
|
+
/** ClaimTerms: */
|
|
188
|
+
export declare const INTENT_ENGINE_ERROR__CLAIM_TERMS = 6089;
|
|
189
|
+
/** ClaimHeld: */
|
|
190
|
+
export declare const INTENT_ENGINE_ERROR__CLAIM_HELD = 6090;
|
|
191
|
+
/** ClaimsMissing: */
|
|
192
|
+
export declare const INTENT_ENGINE_ERROR__CLAIMS_MISSING = 6091;
|
|
193
|
+
/** ClaimsOpen: */
|
|
194
|
+
export declare const INTENT_ENGINE_ERROR__CLAIMS_OPEN = 6092;
|
|
195
|
+
/** NotClaimant: */
|
|
196
|
+
export declare const INTENT_ENGINE_ERROR__NOT_CLAIMANT = 6093;
|
|
197
|
+
/** StakeAccountMismatch: */
|
|
198
|
+
export declare const INTENT_ENGINE_ERROR__STAKE_ACCOUNT_MISMATCH = 6094;
|
|
199
|
+
/** ProfileInvalid: */
|
|
200
|
+
export declare const INTENT_ENGINE_ERROR__PROFILE_INVALID = 6095;
|
|
201
|
+
export type IntentEngineError = typeof INTENT_ENGINE_ERROR__AMOUNT_IN_MISMATCH | typeof INTENT_ENGINE_ERROR__AMOUNT_MISMATCH | typeof INTENT_ENGINE_ERROR__AUCTION_OUTLIVES_EXPIRY | typeof INTENT_ENGINE_ERROR__CLAIM_HELD | typeof INTENT_ENGINE_ERROR__CLAIMS_MISSING | typeof INTENT_ENGINE_ERROR__CLAIMS_OPEN | typeof INTENT_ENGINE_ERROR__CLAIM_TERMS | typeof INTENT_ENGINE_ERROR__COMMITTEE_INVALID | typeof INTENT_ENGINE_ERROR__COMMITTEE_MISMATCH | typeof INTENT_ENGINE_ERROR__COMMITTEE_SIGNERS | typeof INTENT_ENGINE_ERROR__CRANK_BOUNTY_TOO_HIGH | typeof INTENT_ENGINE_ERROR__CREATE_COST_ABOVE_CEILING | typeof INTENT_ENGINE_ERROR__CREATE_FEE_TOO_HIGH | typeof INTENT_ENGINE_ERROR__CREATE_PAUSED | typeof INTENT_ENGINE_ERROR__DIVIDE_BY_ZERO | typeof INTENT_ENGINE_ERROR__EPOCH_JUMP_TOO_LARGE | typeof INTENT_ENGINE_ERROR__EPOCH_REGRESSION | typeof INTENT_ENGINE_ERROR__EXPIRY_NOT_IN_FUTURE | typeof INTENT_ENGINE_ERROR__EXT_MALFORMED | typeof INTENT_ENGINE_ERROR__EXT_TOO_LONG | typeof INTENT_ENGINE_ERROR__EXT_UNKNOWN | typeof INTENT_ENGINE_ERROR__FEE_ABOVE_BOUND | typeof INTENT_ENGINE_ERROR__FEE_ACCOUNT_MISSING | typeof INTENT_ENGINE_ERROR__FEE_ACCOUNT_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__FEE_TOO_HIGH | typeof INTENT_ENGINE_ERROR__FILL_KIND_DISABLED | typeof INTENT_ENGINE_ERROR__FILL_PAUSED | typeof INTENT_ENGINE_ERROR__FLAGS_UNKNOWN | typeof INTENT_ENGINE_ERROR__FLASH_CPI | typeof INTENT_ENGINE_ERROR__FLASH_END_DISCRIMINATOR | typeof INTENT_ENGINE_ERROR__FLASH_END_INTENT | typeof INTENT_ENGINE_ERROR__FLASH_END_ORDER | typeof INTENT_ENGINE_ERROR__FLASH_END_PROGRAM | typeof INTENT_ENGINE_ERROR__INSUFFICIENT_OUTPUT | typeof INTENT_ENGINE_ERROR__INTENT_EXPIRED | typeof INTENT_ENGINE_ERROR__INVALID_DOMAIN | typeof INTENT_ENGINE_ERROR__INVALID_PARAMS | typeof INTENT_ENGINE_ERROR__INVALID_PAUSE_FLAGS | typeof INTENT_ENGINE_ERROR__INVALID_TRANSITION | typeof INTENT_ENGINE_ERROR__KIND_DISABLED | typeof INTENT_ENGINE_ERROR__KIND_MISMATCH | typeof INTENT_ENGINE_ERROR__MANDATE_BUDGET | typeof INTENT_ENGINE_ERROR__MANDATE_CAP | typeof INTENT_ENGINE_ERROR__MANDATE_COUNT | typeof INTENT_ENGINE_ERROR__MANDATE_EXPIRED | typeof INTENT_ENGINE_ERROR__MANDATE_INVALID | typeof INTENT_ENGINE_ERROR__MANDATE_KIND | typeof INTENT_ENGINE_ERROR__MANDATE_MISMATCH | typeof INTENT_ENGINE_ERROR__MANDATE_PRICE | typeof INTENT_ENGINE_ERROR__MANDATE_REVOKED | typeof INTENT_ENGINE_ERROR__MANDATE_TTL | typeof INTENT_ENGINE_ERROR__MINT_CAP_INVALID | typeof INTENT_ENGINE_ERROR__MINT_CAP_MISMATCH | typeof INTENT_ENGINE_ERROR__MINT_CAP_MISSING | typeof INTENT_ENGINE_ERROR__MINT_CAP_PER_ORDER | typeof INTENT_ENGINE_ERROR__MINT_CAP_WINDOW | typeof INTENT_ENGINE_ERROR__MINT_NOT_ALLOWED | typeof INTENT_ENGINE_ERROR__NON_CANONICAL | typeof INTENT_ENGINE_ERROR__NONCE_JUMP_TOO_LARGE | typeof INTENT_ENGINE_ERROR__NONCE_OUT_OF_WINDOW | typeof INTENT_ENGINE_ERROR__NONCE_REGRESSION | typeof INTENT_ENGINE_ERROR__NONCE_USED | typeof INTENT_ENGINE_ERROR__NOT_A_PROOF | typeof INTENT_ENGINE_ERROR__NOT_CLAIMANT | typeof INTENT_ENGINE_ERROR__NOT_EXPIRED | typeof INTENT_ENGINE_ERROR__NOT_PENDING_ADMIN | typeof INTENT_ENGINE_ERROR__OVERFLOW | typeof INTENT_ENGINE_ERROR__PARTNER_ACCOUNT_MISSING | typeof INTENT_ENGINE_ERROR__PARTNER_ACCOUNT_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__PARTNER_CUT_TOO_HIGH | typeof INTENT_ENGINE_ERROR__PARTNER_FEE_TOO_HIGH | typeof INTENT_ENGINE_ERROR__PROFILE_INVALID | typeof INTENT_ENGINE_ERROR__RECEIVER_CANNOT_RECEIVE | typeof INTENT_ENGINE_ERROR__RECEIVER_NOT_ALLOWED | typeof INTENT_ENGINE_ERROR__RECIPIENT_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__REFUND_CANNOT_RECEIVE | typeof INTENT_ENGINE_ERROR__REFUND_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__RESULT_OUT_OF_BOUNDS | typeof INTENT_ENGINE_ERROR__SAME_MINT | typeof INTENT_ENGINE_ERROR__SIG_HEADER | typeof INTENT_ENGINE_ERROR__SIG_MESSAGE | typeof INTENT_ENGINE_ERROR__SIG_MISSING | typeof INTENT_ENGINE_ERROR__SIGNATURE_EXPIRED | typeof INTENT_ENGINE_ERROR__SIG_PROGRAM | typeof INTENT_ENGINE_ERROR__SIG_PUBKEY | typeof INTENT_ENGINE_ERROR__SOLVER_OUTPUT_NOT_ALLOWED | typeof INTENT_ENGINE_ERROR__SPLIT_COUNT_MISMATCH | typeof INTENT_ENGINE_ERROR__SPLIT_NOT_CONSERVED | typeof INTENT_ENGINE_ERROR__STAKE_ACCOUNT_MISMATCH | typeof INTENT_ENGINE_ERROR__TREASURY_MISMATCH | typeof INTENT_ENGINE_ERROR__TRUNCATED | typeof INTENT_ENGINE_ERROR__UNAUTHORIZED | typeof INTENT_ENGINE_ERROR__UNKNOWN_KIND | typeof INTENT_ENGINE_ERROR__UNKNOWN_KIND_BITS | typeof INTENT_ENGINE_ERROR__UNKNOWN_STATUS | typeof INTENT_ENGINE_ERROR__UNSUPPORTED_VERSION;
|
|
172
202
|
export declare function getIntentEngineErrorMessage(code: IntentEngineError): string;
|
|
173
203
|
export declare function isIntentEngineError<TProgramErrorCode extends IntentEngineError>(error: unknown, transactionMessage: {
|
|
174
204
|
instructions: Record<number, {
|
|
@@ -169,12 +169,49 @@ export const INTENT_ENGINE_ERROR__SPLIT_COUNT_MISMATCH = 0x17be; // 6078
|
|
|
169
169
|
export const INTENT_ENGINE_ERROR__RECIPIENT_NOT_CANONICAL = 0x17bf; // 6079
|
|
170
170
|
/** SplitNotConserved: */
|
|
171
171
|
export const INTENT_ENGINE_ERROR__SPLIT_NOT_CONSERVED = 0x17c0; // 6080
|
|
172
|
+
/** MintCapMissing: */
|
|
173
|
+
export const INTENT_ENGINE_ERROR__MINT_CAP_MISSING = 0x17c1; // 6081
|
|
174
|
+
/** MintCapMismatch: */
|
|
175
|
+
export const INTENT_ENGINE_ERROR__MINT_CAP_MISMATCH = 0x17c2; // 6082
|
|
176
|
+
/** MintCapPerOrder: */
|
|
177
|
+
export const INTENT_ENGINE_ERROR__MINT_CAP_PER_ORDER = 0x17c3; // 6083
|
|
178
|
+
/** MintCapWindow: */
|
|
179
|
+
export const INTENT_ENGINE_ERROR__MINT_CAP_WINDOW = 0x17c4; // 6084
|
|
180
|
+
/** MintCapInvalid: */
|
|
181
|
+
export const INTENT_ENGINE_ERROR__MINT_CAP_INVALID = 0x17c5; // 6085
|
|
182
|
+
/** CommitteeInvalid: */
|
|
183
|
+
export const INTENT_ENGINE_ERROR__COMMITTEE_INVALID = 0x17c6; // 6086
|
|
184
|
+
/** CommitteeSigners: */
|
|
185
|
+
export const INTENT_ENGINE_ERROR__COMMITTEE_SIGNERS = 0x17c7; // 6087
|
|
186
|
+
/** CommitteeMismatch: */
|
|
187
|
+
export const INTENT_ENGINE_ERROR__COMMITTEE_MISMATCH = 0x17c8; // 6088
|
|
188
|
+
/** ClaimTerms: */
|
|
189
|
+
export const INTENT_ENGINE_ERROR__CLAIM_TERMS = 0x17c9; // 6089
|
|
190
|
+
/** ClaimHeld: */
|
|
191
|
+
export const INTENT_ENGINE_ERROR__CLAIM_HELD = 0x17ca; // 6090
|
|
192
|
+
/** ClaimsMissing: */
|
|
193
|
+
export const INTENT_ENGINE_ERROR__CLAIMS_MISSING = 0x17cb; // 6091
|
|
194
|
+
/** ClaimsOpen: */
|
|
195
|
+
export const INTENT_ENGINE_ERROR__CLAIMS_OPEN = 0x17cc; // 6092
|
|
196
|
+
/** NotClaimant: */
|
|
197
|
+
export const INTENT_ENGINE_ERROR__NOT_CLAIMANT = 0x17cd; // 6093
|
|
198
|
+
/** StakeAccountMismatch: */
|
|
199
|
+
export const INTENT_ENGINE_ERROR__STAKE_ACCOUNT_MISMATCH = 0x17ce; // 6094
|
|
200
|
+
/** ProfileInvalid: */
|
|
201
|
+
export const INTENT_ENGINE_ERROR__PROFILE_INVALID = 0x17cf; // 6095
|
|
172
202
|
let intentEngineErrorMessages;
|
|
173
203
|
if (process.env["NODE_ENV"] !== "production") {
|
|
174
204
|
intentEngineErrorMessages = {
|
|
175
205
|
[INTENT_ENGINE_ERROR__AMOUNT_IN_MISMATCH]: ``,
|
|
176
206
|
[INTENT_ENGINE_ERROR__AMOUNT_MISMATCH]: ``,
|
|
177
207
|
[INTENT_ENGINE_ERROR__AUCTION_OUTLIVES_EXPIRY]: ``,
|
|
208
|
+
[INTENT_ENGINE_ERROR__CLAIM_HELD]: ``,
|
|
209
|
+
[INTENT_ENGINE_ERROR__CLAIMS_MISSING]: ``,
|
|
210
|
+
[INTENT_ENGINE_ERROR__CLAIMS_OPEN]: ``,
|
|
211
|
+
[INTENT_ENGINE_ERROR__CLAIM_TERMS]: ``,
|
|
212
|
+
[INTENT_ENGINE_ERROR__COMMITTEE_INVALID]: ``,
|
|
213
|
+
[INTENT_ENGINE_ERROR__COMMITTEE_MISMATCH]: ``,
|
|
214
|
+
[INTENT_ENGINE_ERROR__COMMITTEE_SIGNERS]: ``,
|
|
178
215
|
[INTENT_ENGINE_ERROR__CRANK_BOUNTY_TOO_HIGH]: ``,
|
|
179
216
|
[INTENT_ENGINE_ERROR__CREATE_COST_ABOVE_CEILING]: ``,
|
|
180
217
|
[INTENT_ENGINE_ERROR__CREATE_FEE_TOO_HIGH]: ``,
|
|
@@ -216,6 +253,11 @@ if (process.env["NODE_ENV"] !== "production") {
|
|
|
216
253
|
[INTENT_ENGINE_ERROR__MANDATE_PRICE]: ``,
|
|
217
254
|
[INTENT_ENGINE_ERROR__MANDATE_REVOKED]: ``,
|
|
218
255
|
[INTENT_ENGINE_ERROR__MANDATE_TTL]: ``,
|
|
256
|
+
[INTENT_ENGINE_ERROR__MINT_CAP_INVALID]: ``,
|
|
257
|
+
[INTENT_ENGINE_ERROR__MINT_CAP_MISMATCH]: ``,
|
|
258
|
+
[INTENT_ENGINE_ERROR__MINT_CAP_MISSING]: ``,
|
|
259
|
+
[INTENT_ENGINE_ERROR__MINT_CAP_PER_ORDER]: ``,
|
|
260
|
+
[INTENT_ENGINE_ERROR__MINT_CAP_WINDOW]: ``,
|
|
219
261
|
[INTENT_ENGINE_ERROR__MINT_NOT_ALLOWED]: ``,
|
|
220
262
|
[INTENT_ENGINE_ERROR__NON_CANONICAL]: ``,
|
|
221
263
|
[INTENT_ENGINE_ERROR__NONCE_JUMP_TOO_LARGE]: ``,
|
|
@@ -223,6 +265,7 @@ if (process.env["NODE_ENV"] !== "production") {
|
|
|
223
265
|
[INTENT_ENGINE_ERROR__NONCE_REGRESSION]: ``,
|
|
224
266
|
[INTENT_ENGINE_ERROR__NONCE_USED]: ``,
|
|
225
267
|
[INTENT_ENGINE_ERROR__NOT_A_PROOF]: ``,
|
|
268
|
+
[INTENT_ENGINE_ERROR__NOT_CLAIMANT]: ``,
|
|
226
269
|
[INTENT_ENGINE_ERROR__NOT_EXPIRED]: ``,
|
|
227
270
|
[INTENT_ENGINE_ERROR__NOT_PENDING_ADMIN]: ``,
|
|
228
271
|
[INTENT_ENGINE_ERROR__OVERFLOW]: ``,
|
|
@@ -230,6 +273,7 @@ if (process.env["NODE_ENV"] !== "production") {
|
|
|
230
273
|
[INTENT_ENGINE_ERROR__PARTNER_ACCOUNT_NOT_CANONICAL]: ``,
|
|
231
274
|
[INTENT_ENGINE_ERROR__PARTNER_CUT_TOO_HIGH]: ``,
|
|
232
275
|
[INTENT_ENGINE_ERROR__PARTNER_FEE_TOO_HIGH]: ``,
|
|
276
|
+
[INTENT_ENGINE_ERROR__PROFILE_INVALID]: ``,
|
|
233
277
|
[INTENT_ENGINE_ERROR__RECEIVER_CANNOT_RECEIVE]: ``,
|
|
234
278
|
[INTENT_ENGINE_ERROR__RECEIVER_NOT_ALLOWED]: ``,
|
|
235
279
|
[INTENT_ENGINE_ERROR__RECIPIENT_NOT_CANONICAL]: ``,
|
|
@@ -246,6 +290,7 @@ if (process.env["NODE_ENV"] !== "production") {
|
|
|
246
290
|
[INTENT_ENGINE_ERROR__SOLVER_OUTPUT_NOT_ALLOWED]: ``,
|
|
247
291
|
[INTENT_ENGINE_ERROR__SPLIT_COUNT_MISMATCH]: ``,
|
|
248
292
|
[INTENT_ENGINE_ERROR__SPLIT_NOT_CONSERVED]: ``,
|
|
293
|
+
[INTENT_ENGINE_ERROR__STAKE_ACCOUNT_MISMATCH]: ``,
|
|
249
294
|
[INTENT_ENGINE_ERROR__TREASURY_MISMATCH]: ``,
|
|
250
295
|
[INTENT_ENGINE_ERROR__TRUNCATED]: ``,
|
|
251
296
|
[INTENT_ENGINE_ERROR__UNAUTHORIZED]: ``,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intentEngine.js","sourceRoot":"","sources":["../../../../generated/client/errors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AAC;QAC7C,OAAQ,yBAA+D,CACrE,IAAI,CACL,CAAC;IACJ,CAAC;IAED,OAAO,oDAAoD,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,mBAAmB,CAGjC,KAAc,EACd,kBAEC,EACD,IAAwB;IAGxB,OAAO,cAAc,CACnB,KAAK,EACL,kBAAkB,EAClB,6BAA6B,EAC7B,IAAI,CACL,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"intentEngine.js","sourceRoot":"","sources":["../../../../generated/client/errors/intentEngine.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,cAAc,GAIf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAErE,iBAAiB;AACjB,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC5D,qBAAqB;AACrB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,kBAAkB;AAClB,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC7D,qBAAqB;AACrB,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CAAC,CAAC,OAAO;AACjE,oBAAoB;AACpB,MAAM,CAAC,MAAM,iCAAiC,GAAG,MAAM,CAAC,CAAC,OAAO;AAChE,sBAAsB;AACtB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,sBAAsB;AACtB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,uBAAuB;AACvB,MAAM,CAAC,MAAM,oCAAoC,GAAG,MAAM,CAAC,CAAC,OAAO;AACnE,2BAA2B;AAC3B,MAAM,CAAC,MAAM,wCAAwC,GAAG,MAAM,CAAC,CAAC,OAAO;AACvE,0BAA0B;AAC1B,MAAM,CAAC,MAAM,uCAAuC,GAAG,MAAM,CAAC,C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
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from "@solana/kit";
|
|
9
|
+
export declare const CAPS_REQUIRED_SET_EVENT_DISCRIMINATOR: ReadonlyUint8Array;
|
|
10
|
+
export declare function getCapsRequiredSetEventDiscriminatorBytes(): ReadonlyUint8Array;
|
|
11
|
+
export type CapsRequiredSetEvent = {
|
|
12
|
+
required: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type CapsRequiredSetEventArgs = CapsRequiredSetEvent;
|
|
15
|
+
/** Gets the encoder for {@link CapsRequiredSetEventArgs} event data. */
|
|
16
|
+
export declare function getCapsRequiredSetEventEncoder(): FixedSizeEncoder<CapsRequiredSetEventArgs>;
|
|
17
|
+
/** Gets the decoder for {@link CapsRequiredSetEvent} event data. */
|
|
18
|
+
export declare function getCapsRequiredSetEventDecoder(): FixedSizeDecoder<CapsRequiredSetEvent>;
|
|
19
|
+
/** Gets the codec for {@link CapsRequiredSetEvent} event data. */
|
|
20
|
+
export declare function getCapsRequiredSetEventCodec(): FixedSizeCodec<CapsRequiredSetEventArgs, CapsRequiredSetEvent>;
|
|
21
|
+
/** Parses the provided bytes into {@link CapsRequiredSetEvent} event data. */
|
|
22
|
+
export declare function parseCapsRequiredSetEvent(data: ReadonlyUint8Array | Uint8Array): CapsRequiredSetEvent;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { combineCodec, containsBytes, fixEncoderSize, getBooleanDecoder, getBooleanEncoder, getBytesEncoder, getConstantDecoder, getConstantEncoder, getHiddenPrefixDecoder, getHiddenPrefixEncoder, getStructDecoder, getStructEncoder, } from "@solana/kit";
|
|
9
|
+
export const CAPS_REQUIRED_SET_EVENT_DISCRIMINATOR = new Uint8Array([184, 159, 173, 240, 22, 243, 236, 158]);
|
|
10
|
+
export function getCapsRequiredSetEventDiscriminatorBytes() {
|
|
11
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(CAPS_REQUIRED_SET_EVENT_DISCRIMINATOR);
|
|
12
|
+
}
|
|
13
|
+
/** Gets the encoder for {@link CapsRequiredSetEventArgs} event data. */
|
|
14
|
+
export function getCapsRequiredSetEventEncoder() {
|
|
15
|
+
return getHiddenPrefixEncoder(getStructEncoder([["required", getBooleanEncoder()]]), [getConstantEncoder(CAPS_REQUIRED_SET_EVENT_DISCRIMINATOR)]);
|
|
16
|
+
}
|
|
17
|
+
/** Gets the decoder for {@link CapsRequiredSetEvent} event data. */
|
|
18
|
+
export function getCapsRequiredSetEventDecoder() {
|
|
19
|
+
return getHiddenPrefixDecoder(getStructDecoder([["required", getBooleanDecoder()]]), [getConstantDecoder(CAPS_REQUIRED_SET_EVENT_DISCRIMINATOR)]);
|
|
20
|
+
}
|
|
21
|
+
/** Gets the codec for {@link CapsRequiredSetEvent} event data. */
|
|
22
|
+
export function getCapsRequiredSetEventCodec() {
|
|
23
|
+
return combineCodec(getCapsRequiredSetEventEncoder(), getCapsRequiredSetEventDecoder());
|
|
24
|
+
}
|
|
25
|
+
/** Parses the provided bytes into {@link CapsRequiredSetEvent} event data. */
|
|
26
|
+
export function parseCapsRequiredSetEvent(data) {
|
|
27
|
+
if (containsBytes(data, CAPS_REQUIRED_SET_EVENT_DISCRIMINATOR, 0)) {
|
|
28
|
+
return getCapsRequiredSetEventDecoder().decode(data);
|
|
29
|
+
}
|
|
30
|
+
throw new Error('The provided data does not match the "CapsRequiredSetEvent" event discriminators.');
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=capsRequiredSet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capsRequiredSet.js","sourceRoot":"","sources":["../../../../generated/client/events/capsRequiredSet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,GAKjB,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,qCAAqC,GAChD,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;AAE1D,MAAM,UAAU,yCAAyC;IACvD,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAChD,qCAAqC,CACtC,CAAC;AACJ,CAAC;AAMD,wEAAwE;AACxE,MAAM,UAAU,8BAA8B;IAC5C,OAAO,sBAAsB,CAC3B,gBAAgB,CAAC,CAAC,CAAC,UAAU,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC,EACrD,CAAC,kBAAkB,CAAC,qCAAqC,CAAC,CAAC,CAC5D,CAAC;AACJ,CAAC;AAED,oEAAoE;AACpE,MAAM,UAAU,8BAA8B;IAC5C,OAAO,sBAAsB,CAC3B,gBAAgB,CAAC,CAAC,CAAC,UAAU,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC,EACrD,CAAC,kBAAkB,CAAC,qCAAqC,CAAC,CAAC,CAC5D,CAAC;AACJ,CAAC;AAED,kEAAkE;AAClE,MAAM,UAAU,4BAA4B;IAI1C,OAAO,YAAY,CACjB,8BAA8B,EAAE,EAChC,8BAA8B,EAAE,CACjC,CAAC;AACJ,CAAC;AAED,8EAA8E;AAC9E,MAAM,UAAU,yBAAyB,CACvC,IAAqC;IAErC,IAAI,aAAa,CAAC,IAAI,EAAE,qCAAqC,EAAE,CAAC,CAAC,EAAE,CAAC;QAClE,OAAO,8BAA8B,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IACD,MAAM,IAAI,KAAK,CACb,mFAAmF,CACpF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from "@solana/kit";
|
|
9
|
+
export declare const CLAIM_DROPPED_EVENT_DISCRIMINATOR: ReadonlyUint8Array;
|
|
10
|
+
export declare function getClaimDroppedEventDiscriminatorBytes(): ReadonlyUint8Array;
|
|
11
|
+
export type ClaimDroppedEvent = {
|
|
12
|
+
intent: Address;
|
|
13
|
+
worker: Address;
|
|
14
|
+
refunded: bigint;
|
|
15
|
+
};
|
|
16
|
+
export type ClaimDroppedEventArgs = {
|
|
17
|
+
intent: Address;
|
|
18
|
+
worker: Address;
|
|
19
|
+
refunded: number | bigint;
|
|
20
|
+
};
|
|
21
|
+
/** Gets the encoder for {@link ClaimDroppedEventArgs} event data. */
|
|
22
|
+
export declare function getClaimDroppedEventEncoder(): FixedSizeEncoder<ClaimDroppedEventArgs>;
|
|
23
|
+
/** Gets the decoder for {@link ClaimDroppedEvent} event data. */
|
|
24
|
+
export declare function getClaimDroppedEventDecoder(): FixedSizeDecoder<ClaimDroppedEvent>;
|
|
25
|
+
/** Gets the codec for {@link ClaimDroppedEvent} event data. */
|
|
26
|
+
export declare function getClaimDroppedEventCodec(): FixedSizeCodec<ClaimDroppedEventArgs, ClaimDroppedEvent>;
|
|
27
|
+
/** Parses the provided bytes into {@link ClaimDroppedEvent} event data. */
|
|
28
|
+
export declare function parseClaimDroppedEvent(data: ReadonlyUint8Array | Uint8Array): ClaimDroppedEvent;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { combineCodec, containsBytes, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesEncoder, getConstantDecoder, getConstantEncoder, getHiddenPrefixDecoder, getHiddenPrefixEncoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, } from "@solana/kit";
|
|
9
|
+
export const CLAIM_DROPPED_EVENT_DISCRIMINATOR = new Uint8Array([171, 220, 49, 208, 172, 242, 71, 154]);
|
|
10
|
+
export function getClaimDroppedEventDiscriminatorBytes() {
|
|
11
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(CLAIM_DROPPED_EVENT_DISCRIMINATOR);
|
|
12
|
+
}
|
|
13
|
+
/** Gets the encoder for {@link ClaimDroppedEventArgs} event data. */
|
|
14
|
+
export function getClaimDroppedEventEncoder() {
|
|
15
|
+
return getHiddenPrefixEncoder(getStructEncoder([
|
|
16
|
+
["intent", getAddressEncoder()],
|
|
17
|
+
["worker", getAddressEncoder()],
|
|
18
|
+
["refunded", getU64Encoder()],
|
|
19
|
+
]), [getConstantEncoder(CLAIM_DROPPED_EVENT_DISCRIMINATOR)]);
|
|
20
|
+
}
|
|
21
|
+
/** Gets the decoder for {@link ClaimDroppedEvent} event data. */
|
|
22
|
+
export function getClaimDroppedEventDecoder() {
|
|
23
|
+
return getHiddenPrefixDecoder(getStructDecoder([
|
|
24
|
+
["intent", getAddressDecoder()],
|
|
25
|
+
["worker", getAddressDecoder()],
|
|
26
|
+
["refunded", getU64Decoder()],
|
|
27
|
+
]), [getConstantDecoder(CLAIM_DROPPED_EVENT_DISCRIMINATOR)]);
|
|
28
|
+
}
|
|
29
|
+
/** Gets the codec for {@link ClaimDroppedEvent} event data. */
|
|
30
|
+
export function getClaimDroppedEventCodec() {
|
|
31
|
+
return combineCodec(getClaimDroppedEventEncoder(), getClaimDroppedEventDecoder());
|
|
32
|
+
}
|
|
33
|
+
/** Parses the provided bytes into {@link ClaimDroppedEvent} event data. */
|
|
34
|
+
export function parseClaimDroppedEvent(data) {
|
|
35
|
+
if (containsBytes(data, CLAIM_DROPPED_EVENT_DISCRIMINATOR, 0)) {
|
|
36
|
+
return getClaimDroppedEventDecoder().decode(data);
|
|
37
|
+
}
|
|
38
|
+
throw new Error('The provided data does not match the "ClaimDroppedEvent" event discriminators.');
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=claimDropped.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claimDropped.js","sourceRoot":"","sources":["../../../../generated/client/events/claimDropped.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,aAAa,GAMd,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,iCAAiC,GAC5C,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;AAEzD,MAAM,UAAU,sCAAsC;IACpD,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAChD,iCAAiC,CAClC,CAAC;AACJ,CAAC;AAcD,qEAAqE;AACrE,MAAM,UAAU,2BAA2B;IACzC,OAAO,sBAAsB,CAC3B,gBAAgB,CAAC;QACf,CAAC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;QAC/B,CAAC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;QAC/B,CAAC,UAAU,EAAE,aAAa,EAAE,CAAC;KAC9B,CAAC,EACF,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,CAAC,CACxD,CAAC;AACJ,CAAC;AAED,iEAAiE;AACjE,MAAM,UAAU,2BAA2B;IACzC,OAAO,sBAAsB,CAC3B,gBAAgB,CAAC;QACf,CAAC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;QAC/B,CAAC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;QAC/B,CAAC,UAAU,EAAE,aAAa,EAAE,CAAC;KAC9B,CAAC,EACF,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,CAAC,CACxD,CAAC;AACJ,CAAC;AAED,+DAA+D;AAC/D,MAAM,UAAU,yBAAyB;IAIvC,OAAO,YAAY,CACjB,2BAA2B,EAAE,EAC7B,2BAA2B,EAAE,CAC9B,CAAC;AACJ,CAAC;AAED,2EAA2E;AAC3E,MAAM,UAAU,sBAAsB,CACpC,IAAqC;IAErC,IAAI,aAAa,CAAC,IAAI,EAAE,iCAAiC,EAAE,CAAC,CAAC,EAAE,CAAC;QAC9D,OAAO,2BAA2B,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACD,MAAM,IAAI,KAAK,CACb,gFAAgF,CACjF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from "@solana/kit";
|
|
9
|
+
export declare const CLAIMS_CLOSED_EVENT_DISCRIMINATOR: ReadonlyUint8Array;
|
|
10
|
+
export declare function getClaimsClosedEventDiscriminatorBytes(): ReadonlyUint8Array;
|
|
11
|
+
export type ClaimsClosedEvent = {
|
|
12
|
+
intent: Address;
|
|
13
|
+
owner: Address;
|
|
14
|
+
};
|
|
15
|
+
export type ClaimsClosedEventArgs = ClaimsClosedEvent;
|
|
16
|
+
/** Gets the encoder for {@link ClaimsClosedEventArgs} event data. */
|
|
17
|
+
export declare function getClaimsClosedEventEncoder(): FixedSizeEncoder<ClaimsClosedEventArgs>;
|
|
18
|
+
/** Gets the decoder for {@link ClaimsClosedEvent} event data. */
|
|
19
|
+
export declare function getClaimsClosedEventDecoder(): FixedSizeDecoder<ClaimsClosedEvent>;
|
|
20
|
+
/** Gets the codec for {@link ClaimsClosedEvent} event data. */
|
|
21
|
+
export declare function getClaimsClosedEventCodec(): FixedSizeCodec<ClaimsClosedEventArgs, ClaimsClosedEvent>;
|
|
22
|
+
/** Parses the provided bytes into {@link ClaimsClosedEvent} event data. */
|
|
23
|
+
export declare function parseClaimsClosedEvent(data: ReadonlyUint8Array | Uint8Array): ClaimsClosedEvent;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { combineCodec, containsBytes, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesEncoder, getConstantDecoder, getConstantEncoder, getHiddenPrefixDecoder, getHiddenPrefixEncoder, getStructDecoder, getStructEncoder, } from "@solana/kit";
|
|
9
|
+
export const CLAIMS_CLOSED_EVENT_DISCRIMINATOR = new Uint8Array([218, 185, 246, 42, 164, 178, 89, 108]);
|
|
10
|
+
export function getClaimsClosedEventDiscriminatorBytes() {
|
|
11
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(CLAIMS_CLOSED_EVENT_DISCRIMINATOR);
|
|
12
|
+
}
|
|
13
|
+
/** Gets the encoder for {@link ClaimsClosedEventArgs} event data. */
|
|
14
|
+
export function getClaimsClosedEventEncoder() {
|
|
15
|
+
return getHiddenPrefixEncoder(getStructEncoder([
|
|
16
|
+
["intent", getAddressEncoder()],
|
|
17
|
+
["owner", getAddressEncoder()],
|
|
18
|
+
]), [getConstantEncoder(CLAIMS_CLOSED_EVENT_DISCRIMINATOR)]);
|
|
19
|
+
}
|
|
20
|
+
/** Gets the decoder for {@link ClaimsClosedEvent} event data. */
|
|
21
|
+
export function getClaimsClosedEventDecoder() {
|
|
22
|
+
return getHiddenPrefixDecoder(getStructDecoder([
|
|
23
|
+
["intent", getAddressDecoder()],
|
|
24
|
+
["owner", getAddressDecoder()],
|
|
25
|
+
]), [getConstantDecoder(CLAIMS_CLOSED_EVENT_DISCRIMINATOR)]);
|
|
26
|
+
}
|
|
27
|
+
/** Gets the codec for {@link ClaimsClosedEvent} event data. */
|
|
28
|
+
export function getClaimsClosedEventCodec() {
|
|
29
|
+
return combineCodec(getClaimsClosedEventEncoder(), getClaimsClosedEventDecoder());
|
|
30
|
+
}
|
|
31
|
+
/** Parses the provided bytes into {@link ClaimsClosedEvent} event data. */
|
|
32
|
+
export function parseClaimsClosedEvent(data) {
|
|
33
|
+
if (containsBytes(data, CLAIMS_CLOSED_EVENT_DISCRIMINATOR, 0)) {
|
|
34
|
+
return getClaimsClosedEventDecoder().decode(data);
|
|
35
|
+
}
|
|
36
|
+
throw new Error('The provided data does not match the "ClaimsClosedEvent" event discriminators.');
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=claimsClosed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claimsClosed.js","sourceRoot":"","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U,sBAAsB,CACpC,IAAqC;IAErC,IAAI,aAAa,CAAC,IAAI,EAAE,iCAAiC,EAAE,CAAC,CAAC,EAAE,CAAC;QAC9D,OAAO,2BAA2B,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACD,MAAM,IAAI,KAAK,CACb,gFAAgF,CACjF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from "@solana/kit";
|
|
9
|
+
export declare const CLAIMS_OPENED_EVENT_DISCRIMINATOR: ReadonlyUint8Array;
|
|
10
|
+
export declare function getClaimsOpenedEventDiscriminatorBytes(): ReadonlyUint8Array;
|
|
11
|
+
export type ClaimsOpenedEvent = {
|
|
12
|
+
intent: Address;
|
|
13
|
+
owner: Address;
|
|
14
|
+
maxSecs: number;
|
|
15
|
+
stake: bigint;
|
|
16
|
+
};
|
|
17
|
+
export type ClaimsOpenedEventArgs = {
|
|
18
|
+
intent: Address;
|
|
19
|
+
owner: Address;
|
|
20
|
+
maxSecs: number;
|
|
21
|
+
stake: number | bigint;
|
|
22
|
+
};
|
|
23
|
+
/** Gets the encoder for {@link ClaimsOpenedEventArgs} event data. */
|
|
24
|
+
export declare function getClaimsOpenedEventEncoder(): FixedSizeEncoder<ClaimsOpenedEventArgs>;
|
|
25
|
+
/** Gets the decoder for {@link ClaimsOpenedEvent} event data. */
|
|
26
|
+
export declare function getClaimsOpenedEventDecoder(): FixedSizeDecoder<ClaimsOpenedEvent>;
|
|
27
|
+
/** Gets the codec for {@link ClaimsOpenedEvent} event data. */
|
|
28
|
+
export declare function getClaimsOpenedEventCodec(): FixedSizeCodec<ClaimsOpenedEventArgs, ClaimsOpenedEvent>;
|
|
29
|
+
/** Parses the provided bytes into {@link ClaimsOpenedEvent} event data. */
|
|
30
|
+
export declare function parseClaimsOpenedEvent(data: ReadonlyUint8Array | Uint8Array): ClaimsOpenedEvent;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { combineCodec, containsBytes, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesEncoder, getConstantDecoder, getConstantEncoder, getHiddenPrefixDecoder, getHiddenPrefixEncoder, getStructDecoder, getStructEncoder, getU32Decoder, getU32Encoder, getU64Decoder, getU64Encoder, } from "@solana/kit";
|
|
9
|
+
export const CLAIMS_OPENED_EVENT_DISCRIMINATOR = new Uint8Array([126, 92, 24, 148, 242, 66, 8, 28]);
|
|
10
|
+
export function getClaimsOpenedEventDiscriminatorBytes() {
|
|
11
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(CLAIMS_OPENED_EVENT_DISCRIMINATOR);
|
|
12
|
+
}
|
|
13
|
+
/** Gets the encoder for {@link ClaimsOpenedEventArgs} event data. */
|
|
14
|
+
export function getClaimsOpenedEventEncoder() {
|
|
15
|
+
return getHiddenPrefixEncoder(getStructEncoder([
|
|
16
|
+
["intent", getAddressEncoder()],
|
|
17
|
+
["owner", getAddressEncoder()],
|
|
18
|
+
["maxSecs", getU32Encoder()],
|
|
19
|
+
["stake", getU64Encoder()],
|
|
20
|
+
]), [getConstantEncoder(CLAIMS_OPENED_EVENT_DISCRIMINATOR)]);
|
|
21
|
+
}
|
|
22
|
+
/** Gets the decoder for {@link ClaimsOpenedEvent} event data. */
|
|
23
|
+
export function getClaimsOpenedEventDecoder() {
|
|
24
|
+
return getHiddenPrefixDecoder(getStructDecoder([
|
|
25
|
+
["intent", getAddressDecoder()],
|
|
26
|
+
["owner", getAddressDecoder()],
|
|
27
|
+
["maxSecs", getU32Decoder()],
|
|
28
|
+
["stake", getU64Decoder()],
|
|
29
|
+
]), [getConstantDecoder(CLAIMS_OPENED_EVENT_DISCRIMINATOR)]);
|
|
30
|
+
}
|
|
31
|
+
/** Gets the codec for {@link ClaimsOpenedEvent} event data. */
|
|
32
|
+
export function getClaimsOpenedEventCodec() {
|
|
33
|
+
return combineCodec(getClaimsOpenedEventEncoder(), getClaimsOpenedEventDecoder());
|
|
34
|
+
}
|
|
35
|
+
/** Parses the provided bytes into {@link ClaimsOpenedEvent} event data. */
|
|
36
|
+
export function parseClaimsOpenedEvent(data) {
|
|
37
|
+
if (containsBytes(data, CLAIMS_OPENED_EVENT_DISCRIMINATOR, 0)) {
|
|
38
|
+
return getClaimsOpenedEventDecoder().decode(data);
|
|
39
|
+
}
|
|
40
|
+
throw new Error('The provided data does not match the "ClaimsOpenedEvent" event discriminators.');
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=claimsOpened.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claimsOpened.js","sourceRoot":"","sources":["../../../../generated/client/events/claimsOpened.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,GAMd,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,iCAAiC,GAC5C,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,G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ACb,gFAAgF,CACjF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { type Address, type Codec, type Decoder, type Encoder, type ReadonlyUint8Array } from "@solana/kit";
|
|
9
|
+
export declare const COMMITTEE_ATTESTED_EVENT_DISCRIMINATOR: ReadonlyUint8Array;
|
|
10
|
+
export declare function getCommitteeAttestedEventDiscriminatorBytes(): ReadonlyUint8Array;
|
|
11
|
+
export type CommitteeAttestedEvent = {
|
|
12
|
+
intent: Address;
|
|
13
|
+
committee: Address;
|
|
14
|
+
signers: Array<Address>;
|
|
15
|
+
};
|
|
16
|
+
export type CommitteeAttestedEventArgs = CommitteeAttestedEvent;
|
|
17
|
+
/** Gets the encoder for {@link CommitteeAttestedEventArgs} event data. */
|
|
18
|
+
export declare function getCommitteeAttestedEventEncoder(): Encoder<CommitteeAttestedEventArgs>;
|
|
19
|
+
/** Gets the decoder for {@link CommitteeAttestedEvent} event data. */
|
|
20
|
+
export declare function getCommitteeAttestedEventDecoder(): Decoder<CommitteeAttestedEvent>;
|
|
21
|
+
/** Gets the codec for {@link CommitteeAttestedEvent} event data. */
|
|
22
|
+
export declare function getCommitteeAttestedEventCodec(): Codec<CommitteeAttestedEventArgs, CommitteeAttestedEvent>;
|
|
23
|
+
/** Parses the provided bytes into {@link CommitteeAttestedEvent} event data. */
|
|
24
|
+
export declare function parseCommitteeAttestedEvent(data: ReadonlyUint8Array | Uint8Array): CommitteeAttestedEvent;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { combineCodec, containsBytes, fixEncoderSize, getAddressDecoder, getAddressEncoder, getArrayDecoder, getArrayEncoder, getBytesEncoder, getConstantDecoder, getConstantEncoder, getHiddenPrefixDecoder, getHiddenPrefixEncoder, getStructDecoder, getStructEncoder, } from "@solana/kit";
|
|
9
|
+
export const COMMITTEE_ATTESTED_EVENT_DISCRIMINATOR = new Uint8Array([23, 7, 101, 168, 248, 95, 104, 5]);
|
|
10
|
+
export function getCommitteeAttestedEventDiscriminatorBytes() {
|
|
11
|
+
return fixEncoderSize(getBytesEncoder(), 8).encode(COMMITTEE_ATTESTED_EVENT_DISCRIMINATOR);
|
|
12
|
+
}
|
|
13
|
+
/** Gets the encoder for {@link CommitteeAttestedEventArgs} event data. */
|
|
14
|
+
export function getCommitteeAttestedEventEncoder() {
|
|
15
|
+
return getHiddenPrefixEncoder(getStructEncoder([
|
|
16
|
+
["intent", getAddressEncoder()],
|
|
17
|
+
["committee", getAddressEncoder()],
|
|
18
|
+
["signers", getArrayEncoder(getAddressEncoder())],
|
|
19
|
+
]), [getConstantEncoder(COMMITTEE_ATTESTED_EVENT_DISCRIMINATOR)]);
|
|
20
|
+
}
|
|
21
|
+
/** Gets the decoder for {@link CommitteeAttestedEvent} event data. */
|
|
22
|
+
export function getCommitteeAttestedEventDecoder() {
|
|
23
|
+
return getHiddenPrefixDecoder(getStructDecoder([
|
|
24
|
+
["intent", getAddressDecoder()],
|
|
25
|
+
["committee", getAddressDecoder()],
|
|
26
|
+
["signers", getArrayDecoder(getAddressDecoder())],
|
|
27
|
+
]), [getConstantDecoder(COMMITTEE_ATTESTED_EVENT_DISCRIMINATOR)]);
|
|
28
|
+
}
|
|
29
|
+
/** Gets the codec for {@link CommitteeAttestedEvent} event data. */
|
|
30
|
+
export function getCommitteeAttestedEventCodec() {
|
|
31
|
+
return combineCodec(getCommitteeAttestedEventEncoder(), getCommitteeAttestedEventDecoder());
|
|
32
|
+
}
|
|
33
|
+
/** Parses the provided bytes into {@link CommitteeAttestedEvent} event data. */
|
|
34
|
+
export function parseCommitteeAttestedEvent(data) {
|
|
35
|
+
if (containsBytes(data, COMMITTEE_ATTESTED_EVENT_DISCRIMINATOR, 0)) {
|
|
36
|
+
return getCommitteeAttestedEventDecoder().decode(data);
|
|
37
|
+
}
|
|
38
|
+
throw new Error('The provided data does not match the "CommitteeAttestedEvent" event discriminators.');
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=committeeAttested.js.map
|