@intent-engine/core 0.1.41 → 0.1.43
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 +4 -0
- package/dist/generated/client/accounts/claimBoard.js +5 -1
- package/dist/generated/client/accounts/claimBoard.js.map +1 -1
- package/dist/generated/client/accounts/config.d.ts +4 -0
- package/dist/generated/client/accounts/config.js +5 -1
- package/dist/generated/client/accounts/config.js.map +1 -1
- package/dist/generated/client/accounts/index.d.ts +1 -0
- package/dist/generated/client/accounts/index.js +1 -0
- package/dist/generated/client/accounts/index.js.map +1 -1
- package/dist/generated/client/accounts/intent.d.ts +6 -2
- package/dist/generated/client/accounts/intent.js +8 -4
- package/dist/generated/client/accounts/intent.js.map +1 -1
- package/dist/generated/client/accounts/mintCap.d.ts +6 -0
- package/dist/generated/client/accounts/mintCap.js +8 -2
- package/dist/generated/client/accounts/mintCap.js.map +1 -1
- package/dist/generated/client/accounts/profile.d.ts +2 -2
- package/dist/generated/client/accounts/profile.js +2 -2
- package/dist/generated/client/accounts/profile.js.map +1 -1
- package/dist/generated/client/accounts/standby.d.ts +42 -0
- package/dist/generated/client/accounts/standby.js +69 -0
- package/dist/generated/client/accounts/standby.js.map +1 -0
- package/dist/generated/client/errors/intentEngine.d.ts +33 -1
- package/dist/generated/client/errors/intentEngine.js +48 -0
- package/dist/generated/client/errors/intentEngine.js.map +1 -1
- package/dist/generated/client/events/accountMigrated.d.ts +38 -0
- package/dist/generated/client/events/accountMigrated.js +50 -0
- package/dist/generated/client/events/accountMigrated.js.map +1 -0
- package/dist/generated/client/events/committeeFloorSet.d.ts +26 -0
- package/dist/generated/client/events/committeeFloorSet.js +38 -0
- package/dist/generated/client/events/committeeFloorSet.js.map +1 -0
- package/dist/generated/client/events/index.d.ts +5 -0
- package/dist/generated/client/events/index.js +5 -0
- package/dist/generated/client/events/index.js.map +1 -1
- package/dist/generated/client/events/legacyClosed.d.ts +30 -0
- package/dist/generated/client/events/legacyClosed.js +42 -0
- package/dist/generated/client/events/legacyClosed.js.map +1 -0
- package/dist/generated/client/events/lineLeft.d.ts +30 -0
- package/dist/generated/client/events/lineLeft.js +42 -0
- package/dist/generated/client/events/lineLeft.js.map +1 -0
- package/dist/generated/client/events/mintCapSet.d.ts +4 -0
- package/dist/generated/client/events/mintCapSet.js +4 -0
- package/dist/generated/client/events/mintCapSet.js.map +1 -1
- package/dist/generated/client/events/profileSet.d.ts +1 -0
- package/dist/generated/client/events/profileSet.js +2 -0
- package/dist/generated/client/events/profileSet.js.map +1 -1
- package/dist/generated/client/events/stoodBy.d.ts +32 -0
- package/dist/generated/client/events/stoodBy.js +46 -0
- package/dist/generated/client/events/stoodBy.js.map +1 -0
- package/dist/generated/client/instructions/advance.d.ts +79 -0
- package/dist/generated/client/instructions/advance.js +167 -0
- package/dist/generated/client/instructions/advance.js.map +1 -0
- package/dist/generated/client/instructions/beginFill.d.ts +13 -9
- package/dist/generated/client/instructions/beginFill.js +15 -2
- package/dist/generated/client/instructions/beginFill.js.map +1 -1
- package/dist/generated/client/instructions/cancelIntent.d.ts +13 -9
- package/dist/generated/client/instructions/cancelIntent.js +15 -2
- package/dist/generated/client/instructions/cancelIntent.js.map +1 -1
- package/dist/generated/client/instructions/claimJob.d.ts +13 -9
- package/dist/generated/client/instructions/claimJob.js +15 -2
- package/dist/generated/client/instructions/claimJob.js.map +1 -1
- package/dist/generated/client/instructions/closeIntent.d.ts +13 -9
- package/dist/generated/client/instructions/closeIntent.js +21 -2
- package/dist/generated/client/instructions/closeIntent.js.map +1 -1
- package/dist/generated/client/instructions/closeLegacy.d.ts +61 -0
- package/dist/generated/client/instructions/closeLegacy.js +113 -0
- package/dist/generated/client/instructions/closeLegacy.js.map +1 -0
- package/dist/generated/client/instructions/createIntent.d.ts +14 -10
- package/dist/generated/client/instructions/createIntent.js +15 -2
- package/dist/generated/client/instructions/createIntent.js.map +1 -1
- package/dist/generated/client/instructions/createIntentSigned.d.ts +14 -10
- package/dist/generated/client/instructions/createIntentSigned.js +15 -2
- package/dist/generated/client/instructions/createIntentSigned.js.map +1 -1
- package/dist/generated/client/instructions/dropClaim.d.ts +29 -9
- package/dist/generated/client/instructions/dropClaim.js +41 -2
- package/dist/generated/client/instructions/dropClaim.js.map +1 -1
- package/dist/generated/client/instructions/expireIntent.d.ts +13 -9
- package/dist/generated/client/instructions/expireIntent.js +21 -2
- package/dist/generated/client/instructions/expireIntent.js.map +1 -1
- package/dist/generated/client/instructions/fillAttested.d.ts +13 -9
- package/dist/generated/client/instructions/fillAttested.js +15 -2
- package/dist/generated/client/instructions/fillAttested.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedCommittee.d.ts +13 -9
- package/dist/generated/client/instructions/fillAttestedCommittee.js +15 -2
- package/dist/generated/client/instructions/fillAttestedCommittee.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedSplit.d.ts +13 -9
- package/dist/generated/client/instructions/fillAttestedSplit.js +15 -2
- package/dist/generated/client/instructions/fillAttestedSplit.js.map +1 -1
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.d.ts +13 -9
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.js +15 -2
- package/dist/generated/client/instructions/fillAttestedSplitCommittee.js.map +1 -1
- package/dist/generated/client/instructions/fillIntent.d.ts +13 -9
- package/dist/generated/client/instructions/fillIntent.js +15 -2
- package/dist/generated/client/instructions/fillIntent.js.map +1 -1
- package/dist/generated/client/instructions/index.d.ts +6 -0
- package/dist/generated/client/instructions/index.js +6 -0
- package/dist/generated/client/instructions/index.js.map +1 -1
- package/dist/generated/client/instructions/leave.d.ts +68 -0
- package/dist/generated/client/instructions/leave.js +142 -0
- package/dist/generated/client/instructions/leave.js.map +1 -0
- package/dist/generated/client/instructions/migrate.d.ts +52 -0
- package/dist/generated/client/instructions/migrate.js +109 -0
- package/dist/generated/client/instructions/migrate.js.map +1 -0
- package/dist/generated/client/instructions/setCommitteeFloor.d.ts +53 -0
- package/dist/generated/client/instructions/setCommitteeFloor.js +96 -0
- package/dist/generated/client/instructions/setCommitteeFloor.js.map +1 -0
- package/dist/generated/client/instructions/setMintCap.d.ts +4 -0
- package/dist/generated/client/instructions/setMintCap.js +2 -0
- package/dist/generated/client/instructions/setMintCap.js.map +1 -1
- package/dist/generated/client/instructions/standBy.d.ts +76 -0
- package/dist/generated/client/instructions/standBy.js +176 -0
- package/dist/generated/client/instructions/standBy.js.map +1 -0
- package/dist/generated/client/pdas/entry.d.ts +15 -0
- package/dist/generated/client/pdas/entry.js +20 -0
- package/dist/generated/client/pdas/entry.js.map +1 -0
- package/dist/generated/client/pdas/index.d.ts +1 -0
- package/dist/generated/client/pdas/index.js +1 -0
- package/dist/generated/client/pdas/index.js.map +1 -1
- package/dist/generated/client/programs/intentEngine.d.ts +190 -146
- package/dist/generated/client/programs/intentEngine.js +259 -146
- package/dist/generated/client/programs/intentEngine.js.map +1 -1
- package/dist/generated/client/types/profileFields.d.ts +1 -0
- package/dist/generated/client/types/profileFields.js +2 -0
- package/dist/generated/client/types/profileFields.js.map +1 -1
- package/dist/src/claims.d.ts +33 -3
- package/dist/src/claims.js +54 -2
- package/dist/src/claims.js.map +1 -1
- package/dist/src/committee-floors.d.ts +21 -0
- package/dist/src/committee-floors.js +27 -0
- package/dist/src/committee-floors.js.map +1 -0
- package/dist/src/committee.d.ts +4 -4
- package/dist/src/committee.js +14 -17
- package/dist/src/committee.js.map +1 -1
- package/dist/src/encryption-key.d.ts +28 -0
- package/dist/src/encryption-key.js +94 -0
- package/dist/src/encryption-key.js.map +1 -0
- package/dist/src/errors.d.ts +1 -1
- package/dist/src/errors.js +3 -0
- package/dist/src/errors.js.map +1 -1
- package/dist/src/events.d.ts +6 -1
- package/dist/src/events.js +7 -1
- package/dist/src/events.js.map +1 -1
- package/dist/src/fill-builders.d.ts +7 -5
- package/dist/src/fill-builders.js +4 -0
- package/dist/src/fill-builders.js.map +1 -1
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/intent-builders.d.ts +8 -6
- package/dist/src/intent-builders.js +6 -1
- package/dist/src/intent-builders.js.map +1 -1
- package/dist/src/memo.d.ts +7 -1
- package/dist/src/memo.js +18 -4
- package/dist/src/memo.js.map +1 -1
- package/dist/src/migrate.d.ts +25 -0
- package/dist/src/migrate.js +46 -0
- package/dist/src/migrate.js.map +1 -0
- package/dist/src/mint-caps.d.ts +5 -1
- package/dist/src/mint-caps.js +13 -2
- package/dist/src/mint-caps.js.map +1 -1
- package/dist/src/profile.d.ts +2 -0
- package/dist/src/profile.js +13 -4
- package/dist/src/profile.js.map +1 -1
- package/dist/src/sealed-delivery.d.ts +54 -10
- package/dist/src/sealed-delivery.js +183 -55
- package/dist/src/sealed-delivery.js.map +1 -1
- package/dist/src/sealed.d.ts +1 -0
- package/dist/src/sealed.js +2 -2
- package/dist/src/sealed.js.map +1 -1
- package/dist/src/sig.d.ts +17 -4
- package/dist/src/sig.js +80 -10
- package/dist/src/sig.js.map +1 -1
- package/dist/src/state.d.ts +3 -3
- package/dist/src/state.js +3 -3
- package/dist/src/versions.d.ts +56 -0
- package/dist/src/versions.js +126 -0
- package/dist/src/versions.js.map +1 -0
- package/generated/idl.json +996 -45
- package/package.json +2 -1
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type Address, type ClientWithPayer, type ClientWithRpc, type ClientWithTransactionPlanning, type ClientWithTransactionSending, type ExtendedClient, type GetAccountInfoApi, type GetMultipleAccountsApi, type Instruction, type InstructionWithData, type ReadonlyUint8Array } from "@solana/kit";
|
|
9
9
|
import { type SelfFetchFunctions, type SelfPlanAndSendFunctions } from "@solana/kit/program-client-core";
|
|
10
|
-
import { getClaimBoardCodec, getCommitteeCodec, getConfigCodec, getIntentCodec, getMandateCodec, getMintCapCodec, getProfileCodec, getUserStateCodec, type ClaimBoard, type ClaimBoardArgs, type Committee, type CommitteeArgs, type Config, type ConfigArgs, type Intent, type IntentArgs, type Mandate, type MandateArgs, type MintCap, type MintCapArgs, type Profile, type ProfileArgs, type UserState, type UserStateArgs } from "../accounts/index.js";
|
|
11
|
-
import { getAcceptAdminInstruction, getAdvanceEpochInstructionAsync, getAdvanceNonceInstructionAsync, getBeginFillInstructionAsync, getCancelIntentInstructionAsync, getClaimJobInstructionAsync, getCloseIntentInstructionAsync, getCloseProfileInstructionAsync, getCreateCommitteeInstructionAsync, getCreateIntentByAgentInstructionAsync, getCreateIntentInstructionAsync, getCreateIntentSignedInstructionAsync, getCreateMandateInstructionAsync, getCreateProfileInstructionAsync, getDropClaimInstructionAsync, getEndFillInstruction, getExpireIntentInstructionAsync, getFillAttestedCommitteeInstructionAsync, getFillAttestedInstructionAsync, getFillAttestedSplitCommitteeInstructionAsync, getFillAttestedSplitInstructionAsync, getFillIntentInstructionAsync, getInitConfigInstructionAsync, getInitUserInstructionAsync, getLowerPauseInstruction, getOpenClaimsInstructionAsync, getProposeAdminInstruction, getRaisePauseInstruction, getRevokeMandateInstruction, getSetCapsRequiredInstruction, getSetMintCapInstructionAsync, getSettleClaimsInstructionAsync, getUpdateConfigInstruction, getUpdateEconomicsInstruction, getUpdateProfileInstructionAsync, type AcceptAdminInput, type AdvanceEpochAsyncInput, type AdvanceNonceAsyncInput, type BeginFillAsyncInput, type CancelIntentAsyncInput, type ClaimJobAsyncInput, type CloseIntentAsyncInput, type CloseProfileAsyncInput, type CreateCommitteeAsyncInput, type CreateIntentAsyncInput, type CreateIntentByAgentAsyncInput, type CreateIntentSignedAsyncInput, type CreateMandateAsyncInput, type CreateProfileAsyncInput, type DropClaimAsyncInput, type EndFillInput, type ExpireIntentAsyncInput, type FillAttestedAsyncInput, type FillAttestedCommitteeAsyncInput, type FillAttestedSplitAsyncInput, type FillAttestedSplitCommitteeAsyncInput, type FillIntentAsyncInput, type InitConfigAsyncInput, type InitUserAsyncInput, type LowerPauseInput, type OpenClaimsAsyncInput, type ParsedAcceptAdminInstruction, type ParsedAdvanceEpochInstruction, type ParsedAdvanceNonceInstruction, type ParsedBeginFillInstruction, type ParsedCancelIntentInstruction, type ParsedClaimJobInstruction, type ParsedCloseIntentInstruction, type ParsedCloseProfileInstruction, type ParsedCreateCommitteeInstruction, type ParsedCreateIntentByAgentInstruction, type ParsedCreateIntentInstruction, type ParsedCreateIntentSignedInstruction, type ParsedCreateMandateInstruction, type ParsedCreateProfileInstruction, type ParsedDropClaimInstruction, type ParsedEndFillInstruction, type ParsedExpireIntentInstruction, type ParsedFillAttestedCommitteeInstruction, type ParsedFillAttestedInstruction, type ParsedFillAttestedSplitCommitteeInstruction, type ParsedFillAttestedSplitInstruction, type ParsedFillIntentInstruction, type ParsedInitConfigInstruction, type ParsedInitUserInstruction, type ParsedLowerPauseInstruction, type ParsedOpenClaimsInstruction, type ParsedProposeAdminInstruction, type ParsedRaisePauseInstruction, type ParsedRevokeMandateInstruction, type ParsedSetCapsRequiredInstruction, type ParsedSetMintCapInstruction, type ParsedSettleClaimsInstruction, type ParsedUpdateConfigInstruction, type ParsedUpdateEconomicsInstruction, type ParsedUpdateProfileInstruction, type ProposeAdminInput, type RaisePauseInput, type RevokeMandateInput, type SetCapsRequiredInput, type SetMintCapAsyncInput, type SettleClaimsAsyncInput, type UpdateConfigInput, type UpdateEconomicsInput, type UpdateProfileAsyncInput } from "../instructions/index.js";
|
|
12
|
-
import { findBoardPda, findCommitteePda, findConfigPda, findDelegatePda, findMintCapPda, findProfilePda, findUserStatePda, findVaultPda } from "../pdas/index.js";
|
|
10
|
+
import { getClaimBoardCodec, getCommitteeCodec, getConfigCodec, getIntentCodec, getMandateCodec, getMintCapCodec, getProfileCodec, getStandbyCodec, getUserStateCodec, type ClaimBoard, type ClaimBoardArgs, type Committee, type CommitteeArgs, type Config, type ConfigArgs, type Intent, type IntentArgs, type Mandate, type MandateArgs, type MintCap, type MintCapArgs, type Profile, type ProfileArgs, type Standby, type StandbyArgs, type UserState, type UserStateArgs } from "../accounts/index.js";
|
|
11
|
+
import { getAcceptAdminInstruction, getAdvanceEpochInstructionAsync, getAdvanceInstructionAsync, getAdvanceNonceInstructionAsync, getBeginFillInstructionAsync, getCancelIntentInstructionAsync, getClaimJobInstructionAsync, getCloseIntentInstructionAsync, getCloseLegacyInstruction, getCloseProfileInstructionAsync, getCreateCommitteeInstructionAsync, getCreateIntentByAgentInstructionAsync, getCreateIntentInstructionAsync, getCreateIntentSignedInstructionAsync, getCreateMandateInstructionAsync, getCreateProfileInstructionAsync, getDropClaimInstructionAsync, getEndFillInstruction, getExpireIntentInstructionAsync, getFillAttestedCommitteeInstructionAsync, getFillAttestedInstructionAsync, getFillAttestedSplitCommitteeInstructionAsync, getFillAttestedSplitInstructionAsync, getFillIntentInstructionAsync, getInitConfigInstructionAsync, getInitUserInstructionAsync, getLeaveInstructionAsync, getLowerPauseInstruction, getMigrateInstruction, getOpenClaimsInstructionAsync, getProposeAdminInstruction, getRaisePauseInstruction, getRevokeMandateInstruction, getSetCapsRequiredInstruction, getSetCommitteeFloorInstruction, getSetMintCapInstructionAsync, getSettleClaimsInstructionAsync, getStandByInstructionAsync, getUpdateConfigInstruction, getUpdateEconomicsInstruction, getUpdateProfileInstructionAsync, type AcceptAdminInput, type AdvanceAsyncInput, type AdvanceEpochAsyncInput, type AdvanceNonceAsyncInput, type BeginFillAsyncInput, type CancelIntentAsyncInput, type ClaimJobAsyncInput, type CloseIntentAsyncInput, type CloseLegacyInput, type CloseProfileAsyncInput, type CreateCommitteeAsyncInput, type CreateIntentAsyncInput, type CreateIntentByAgentAsyncInput, type CreateIntentSignedAsyncInput, type CreateMandateAsyncInput, type CreateProfileAsyncInput, type DropClaimAsyncInput, type EndFillInput, type ExpireIntentAsyncInput, type FillAttestedAsyncInput, type FillAttestedCommitteeAsyncInput, type FillAttestedSplitAsyncInput, type FillAttestedSplitCommitteeAsyncInput, type FillIntentAsyncInput, type InitConfigAsyncInput, type InitUserAsyncInput, type LeaveAsyncInput, type LowerPauseInput, type MigrateInput, type OpenClaimsAsyncInput, type ParsedAcceptAdminInstruction, type ParsedAdvanceEpochInstruction, type ParsedAdvanceInstruction, type ParsedAdvanceNonceInstruction, type ParsedBeginFillInstruction, type ParsedCancelIntentInstruction, type ParsedClaimJobInstruction, type ParsedCloseIntentInstruction, type ParsedCloseLegacyInstruction, type ParsedCloseProfileInstruction, type ParsedCreateCommitteeInstruction, type ParsedCreateIntentByAgentInstruction, type ParsedCreateIntentInstruction, type ParsedCreateIntentSignedInstruction, type ParsedCreateMandateInstruction, type ParsedCreateProfileInstruction, type ParsedDropClaimInstruction, type ParsedEndFillInstruction, type ParsedExpireIntentInstruction, type ParsedFillAttestedCommitteeInstruction, type ParsedFillAttestedInstruction, type ParsedFillAttestedSplitCommitteeInstruction, type ParsedFillAttestedSplitInstruction, type ParsedFillIntentInstruction, type ParsedInitConfigInstruction, type ParsedInitUserInstruction, type ParsedLeaveInstruction, type ParsedLowerPauseInstruction, type ParsedMigrateInstruction, type ParsedOpenClaimsInstruction, type ParsedProposeAdminInstruction, type ParsedRaisePauseInstruction, type ParsedRevokeMandateInstruction, type ParsedSetCapsRequiredInstruction, type ParsedSetCommitteeFloorInstruction, type ParsedSetMintCapInstruction, type ParsedSettleClaimsInstruction, type ParsedStandByInstruction, type ParsedUpdateConfigInstruction, type ParsedUpdateEconomicsInstruction, type ParsedUpdateProfileInstruction, type ProposeAdminInput, type RaisePauseInput, type RevokeMandateInput, type SetCapsRequiredInput, type SetCommitteeFloorInput, type SetMintCapAsyncInput, type SettleClaimsAsyncInput, type StandByAsyncInput, type UpdateConfigInput, type UpdateEconomicsInput, type UpdateProfileAsyncInput } from "../instructions/index.js";
|
|
12
|
+
import { findBoardPda, findCommitteePda, findConfigPda, findDelegatePda, findEntryPda, findMintCapPda, findProfilePda, findUserStatePda, findVaultPda } from "../pdas/index.js";
|
|
13
13
|
export declare const INTENT_ENGINE_PROGRAM_ADDRESS: Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">;
|
|
14
14
|
export declare const IntentEngineAccount: {
|
|
15
15
|
readonly 0: "ClaimBoard";
|
|
@@ -19,7 +19,8 @@ export declare const IntentEngineAccount: {
|
|
|
19
19
|
readonly 4: "Mandate";
|
|
20
20
|
readonly 5: "MintCap";
|
|
21
21
|
readonly 6: "Profile";
|
|
22
|
-
readonly 7: "
|
|
22
|
+
readonly 7: "Standby";
|
|
23
|
+
readonly 8: "UserState";
|
|
23
24
|
readonly ClaimBoard: 0;
|
|
24
25
|
readonly Committee: 1;
|
|
25
26
|
readonly Config: 2;
|
|
@@ -27,85 +28,96 @@ export declare const IntentEngineAccount: {
|
|
|
27
28
|
readonly Mandate: 4;
|
|
28
29
|
readonly MintCap: 5;
|
|
29
30
|
readonly Profile: 6;
|
|
30
|
-
readonly
|
|
31
|
+
readonly Standby: 7;
|
|
32
|
+
readonly UserState: 8;
|
|
31
33
|
};
|
|
32
34
|
export type IntentEngineAccount = (typeof IntentEngineAccount)[Exclude<keyof typeof IntentEngineAccount, number>];
|
|
33
35
|
export declare function identifyIntentEngineAccount(account: {
|
|
34
36
|
data: ReadonlyUint8Array;
|
|
35
37
|
} | ReadonlyUint8Array): IntentEngineAccount;
|
|
36
38
|
export declare const IntentEngineEvent: {
|
|
37
|
-
readonly 0: "
|
|
38
|
-
readonly 1: "
|
|
39
|
-
readonly 2: "
|
|
40
|
-
readonly 3: "
|
|
41
|
-
readonly 4: "
|
|
42
|
-
readonly 5: "
|
|
43
|
-
readonly 6: "
|
|
44
|
-
readonly 7: "
|
|
45
|
-
readonly 8: "
|
|
46
|
-
readonly 9: "
|
|
47
|
-
readonly 10: "
|
|
48
|
-
readonly 11: "
|
|
49
|
-
readonly 12: "
|
|
50
|
-
readonly 13: "
|
|
51
|
-
readonly 14: "
|
|
52
|
-
readonly 15: "
|
|
53
|
-
readonly 16: "
|
|
54
|
-
readonly 17: "
|
|
55
|
-
readonly 18: "
|
|
56
|
-
readonly 19: "
|
|
57
|
-
readonly 20: "
|
|
58
|
-
readonly 21: "
|
|
59
|
-
readonly 22: "
|
|
60
|
-
readonly 23: "
|
|
61
|
-
readonly 24: "
|
|
62
|
-
readonly 25: "
|
|
63
|
-
readonly 26: "
|
|
64
|
-
readonly 27: "
|
|
65
|
-
readonly 28: "
|
|
66
|
-
readonly 29: "
|
|
67
|
-
readonly 30: "
|
|
68
|
-
readonly 31: "
|
|
69
|
-
readonly 32: "
|
|
70
|
-
readonly 33: "
|
|
71
|
-
readonly 34: "
|
|
72
|
-
readonly 35: "
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
91
|
-
readonly
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
readonly
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
108
|
-
readonly
|
|
39
|
+
readonly 0: "AccountMigrated";
|
|
40
|
+
readonly 1: "AdminAccepted";
|
|
41
|
+
readonly 2: "AdminProposed";
|
|
42
|
+
readonly 3: "AgentPaid";
|
|
43
|
+
readonly 4: "CapsRequiredSet";
|
|
44
|
+
readonly 5: "ClaimDropped";
|
|
45
|
+
readonly 6: "ClaimsClosed";
|
|
46
|
+
readonly 7: "ClaimsOpened";
|
|
47
|
+
readonly 8: "CommitteeAttested";
|
|
48
|
+
readonly 9: "CommitteeCreated";
|
|
49
|
+
readonly 10: "CommitteeFloorSet";
|
|
50
|
+
readonly 11: "ConfigInitialized";
|
|
51
|
+
readonly 12: "ConfigUpdated";
|
|
52
|
+
readonly 13: "EconomicsUpdated";
|
|
53
|
+
readonly 14: "EpochAdvanced";
|
|
54
|
+
readonly 15: "FeeWithheld";
|
|
55
|
+
readonly 16: "FillBegun";
|
|
56
|
+
readonly 17: "FillEnded";
|
|
57
|
+
readonly 18: "IntentAttested";
|
|
58
|
+
readonly 19: "IntentCancelled";
|
|
59
|
+
readonly 20: "IntentClosed";
|
|
60
|
+
readonly 21: "IntentCreated";
|
|
61
|
+
readonly 22: "IntentExpired";
|
|
62
|
+
readonly 23: "IntentFilled";
|
|
63
|
+
readonly 24: "IntentSplit";
|
|
64
|
+
readonly 25: "JobClaimed";
|
|
65
|
+
readonly 26: "LegacyClosed";
|
|
66
|
+
readonly 27: "LineLeft";
|
|
67
|
+
readonly 28: "MandateClosed";
|
|
68
|
+
readonly 29: "MandateCreated";
|
|
69
|
+
readonly 30: "MandateUsed";
|
|
70
|
+
readonly 31: "MintCapSet";
|
|
71
|
+
readonly 32: "NonceAdvanced";
|
|
72
|
+
readonly 33: "PauseLowered";
|
|
73
|
+
readonly 34: "PauseRaised";
|
|
74
|
+
readonly 35: "ProfileClosed";
|
|
75
|
+
readonly 36: "ProfileSet";
|
|
76
|
+
readonly 37: "RelayerPaid";
|
|
77
|
+
readonly 38: "StakeMoved";
|
|
78
|
+
readonly 39: "StoodBy";
|
|
79
|
+
readonly 40: "UserInitialized";
|
|
80
|
+
readonly AccountMigrated: 0;
|
|
81
|
+
readonly AdminAccepted: 1;
|
|
82
|
+
readonly AdminProposed: 2;
|
|
83
|
+
readonly AgentPaid: 3;
|
|
84
|
+
readonly CapsRequiredSet: 4;
|
|
85
|
+
readonly ClaimDropped: 5;
|
|
86
|
+
readonly ClaimsClosed: 6;
|
|
87
|
+
readonly ClaimsOpened: 7;
|
|
88
|
+
readonly CommitteeAttested: 8;
|
|
89
|
+
readonly CommitteeCreated: 9;
|
|
90
|
+
readonly CommitteeFloorSet: 10;
|
|
91
|
+
readonly ConfigInitialized: 11;
|
|
92
|
+
readonly ConfigUpdated: 12;
|
|
93
|
+
readonly EconomicsUpdated: 13;
|
|
94
|
+
readonly EpochAdvanced: 14;
|
|
95
|
+
readonly FeeWithheld: 15;
|
|
96
|
+
readonly FillBegun: 16;
|
|
97
|
+
readonly FillEnded: 17;
|
|
98
|
+
readonly IntentAttested: 18;
|
|
99
|
+
readonly IntentCancelled: 19;
|
|
100
|
+
readonly IntentClosed: 20;
|
|
101
|
+
readonly IntentCreated: 21;
|
|
102
|
+
readonly IntentExpired: 22;
|
|
103
|
+
readonly IntentFilled: 23;
|
|
104
|
+
readonly IntentSplit: 24;
|
|
105
|
+
readonly JobClaimed: 25;
|
|
106
|
+
readonly LegacyClosed: 26;
|
|
107
|
+
readonly LineLeft: 27;
|
|
108
|
+
readonly MandateClosed: 28;
|
|
109
|
+
readonly MandateCreated: 29;
|
|
110
|
+
readonly MandateUsed: 30;
|
|
111
|
+
readonly MintCapSet: 31;
|
|
112
|
+
readonly NonceAdvanced: 32;
|
|
113
|
+
readonly PauseLowered: 33;
|
|
114
|
+
readonly PauseRaised: 34;
|
|
115
|
+
readonly ProfileClosed: 35;
|
|
116
|
+
readonly ProfileSet: 36;
|
|
117
|
+
readonly RelayerPaid: 37;
|
|
118
|
+
readonly StakeMoved: 38;
|
|
119
|
+
readonly StoodBy: 39;
|
|
120
|
+
readonly UserInitialized: 40;
|
|
109
121
|
};
|
|
110
122
|
export type IntentEngineEvent = (typeof IntentEngineEvent)[Exclude<keyof typeof IntentEngineEvent, number>];
|
|
111
123
|
export declare function identifyIntentEngineEvent(event: {
|
|
@@ -113,75 +125,87 @@ export declare function identifyIntentEngineEvent(event: {
|
|
|
113
125
|
} | ReadonlyUint8Array): IntentEngineEvent;
|
|
114
126
|
export declare const IntentEngineInstruction: {
|
|
115
127
|
readonly 0: "AcceptAdmin";
|
|
116
|
-
readonly 1: "
|
|
117
|
-
readonly 2: "
|
|
118
|
-
readonly 3: "
|
|
119
|
-
readonly 4: "
|
|
120
|
-
readonly 5: "
|
|
121
|
-
readonly 6: "
|
|
122
|
-
readonly 7: "
|
|
123
|
-
readonly 8: "
|
|
124
|
-
readonly 9: "
|
|
125
|
-
readonly 10: "
|
|
126
|
-
readonly 11: "
|
|
127
|
-
readonly 12: "
|
|
128
|
-
readonly 13: "
|
|
129
|
-
readonly 14: "
|
|
130
|
-
readonly 15: "
|
|
131
|
-
readonly 16: "
|
|
132
|
-
readonly 17: "
|
|
133
|
-
readonly 18: "
|
|
134
|
-
readonly 19: "
|
|
135
|
-
readonly 20: "
|
|
136
|
-
readonly 21: "
|
|
137
|
-
readonly 22: "
|
|
138
|
-
readonly 23: "
|
|
139
|
-
readonly 24: "
|
|
140
|
-
readonly 25: "
|
|
141
|
-
readonly 26: "
|
|
142
|
-
readonly 27: "
|
|
143
|
-
readonly 28: "
|
|
144
|
-
readonly 29: "
|
|
145
|
-
readonly 30: "
|
|
146
|
-
readonly 31: "
|
|
147
|
-
readonly 32: "
|
|
148
|
-
readonly 33: "
|
|
149
|
-
readonly 34: "
|
|
128
|
+
readonly 1: "Advance";
|
|
129
|
+
readonly 2: "AdvanceEpoch";
|
|
130
|
+
readonly 3: "AdvanceNonce";
|
|
131
|
+
readonly 4: "BeginFill";
|
|
132
|
+
readonly 5: "CancelIntent";
|
|
133
|
+
readonly 6: "ClaimJob";
|
|
134
|
+
readonly 7: "CloseIntent";
|
|
135
|
+
readonly 8: "CloseLegacy";
|
|
136
|
+
readonly 9: "CloseProfile";
|
|
137
|
+
readonly 10: "CreateCommittee";
|
|
138
|
+
readonly 11: "CreateIntent";
|
|
139
|
+
readonly 12: "CreateIntentByAgent";
|
|
140
|
+
readonly 13: "CreateIntentSigned";
|
|
141
|
+
readonly 14: "CreateMandate";
|
|
142
|
+
readonly 15: "CreateProfile";
|
|
143
|
+
readonly 16: "DropClaim";
|
|
144
|
+
readonly 17: "EndFill";
|
|
145
|
+
readonly 18: "ExpireIntent";
|
|
146
|
+
readonly 19: "FillAttested";
|
|
147
|
+
readonly 20: "FillAttestedCommittee";
|
|
148
|
+
readonly 21: "FillAttestedSplit";
|
|
149
|
+
readonly 22: "FillAttestedSplitCommittee";
|
|
150
|
+
readonly 23: "FillIntent";
|
|
151
|
+
readonly 24: "InitConfig";
|
|
152
|
+
readonly 25: "InitUser";
|
|
153
|
+
readonly 26: "Leave";
|
|
154
|
+
readonly 27: "LowerPause";
|
|
155
|
+
readonly 28: "Migrate";
|
|
156
|
+
readonly 29: "OpenClaims";
|
|
157
|
+
readonly 30: "ProposeAdmin";
|
|
158
|
+
readonly 31: "RaisePause";
|
|
159
|
+
readonly 32: "RevokeMandate";
|
|
160
|
+
readonly 33: "SetCapsRequired";
|
|
161
|
+
readonly 34: "SetCommitteeFloor";
|
|
162
|
+
readonly 35: "SetMintCap";
|
|
163
|
+
readonly 36: "SettleClaims";
|
|
164
|
+
readonly 37: "StandBy";
|
|
165
|
+
readonly 38: "UpdateConfig";
|
|
166
|
+
readonly 39: "UpdateEconomics";
|
|
167
|
+
readonly 40: "UpdateProfile";
|
|
150
168
|
readonly AcceptAdmin: 0;
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
183
|
-
readonly
|
|
184
|
-
readonly
|
|
169
|
+
readonly Advance: 1;
|
|
170
|
+
readonly AdvanceEpoch: 2;
|
|
171
|
+
readonly AdvanceNonce: 3;
|
|
172
|
+
readonly BeginFill: 4;
|
|
173
|
+
readonly CancelIntent: 5;
|
|
174
|
+
readonly ClaimJob: 6;
|
|
175
|
+
readonly CloseIntent: 7;
|
|
176
|
+
readonly CloseLegacy: 8;
|
|
177
|
+
readonly CloseProfile: 9;
|
|
178
|
+
readonly CreateCommittee: 10;
|
|
179
|
+
readonly CreateIntent: 11;
|
|
180
|
+
readonly CreateIntentByAgent: 12;
|
|
181
|
+
readonly CreateIntentSigned: 13;
|
|
182
|
+
readonly CreateMandate: 14;
|
|
183
|
+
readonly CreateProfile: 15;
|
|
184
|
+
readonly DropClaim: 16;
|
|
185
|
+
readonly EndFill: 17;
|
|
186
|
+
readonly ExpireIntent: 18;
|
|
187
|
+
readonly FillAttested: 19;
|
|
188
|
+
readonly FillAttestedCommittee: 20;
|
|
189
|
+
readonly FillAttestedSplit: 21;
|
|
190
|
+
readonly FillAttestedSplitCommittee: 22;
|
|
191
|
+
readonly FillIntent: 23;
|
|
192
|
+
readonly InitConfig: 24;
|
|
193
|
+
readonly InitUser: 25;
|
|
194
|
+
readonly Leave: 26;
|
|
195
|
+
readonly LowerPause: 27;
|
|
196
|
+
readonly Migrate: 28;
|
|
197
|
+
readonly OpenClaims: 29;
|
|
198
|
+
readonly ProposeAdmin: 30;
|
|
199
|
+
readonly RaisePause: 31;
|
|
200
|
+
readonly RevokeMandate: 32;
|
|
201
|
+
readonly SetCapsRequired: 33;
|
|
202
|
+
readonly SetCommitteeFloor: 34;
|
|
203
|
+
readonly SetMintCap: 35;
|
|
204
|
+
readonly SettleClaims: 36;
|
|
205
|
+
readonly StandBy: 37;
|
|
206
|
+
readonly UpdateConfig: 38;
|
|
207
|
+
readonly UpdateEconomics: 39;
|
|
208
|
+
readonly UpdateProfile: 40;
|
|
185
209
|
};
|
|
186
210
|
export type IntentEngineInstruction = (typeof IntentEngineInstruction)[Exclude<keyof typeof IntentEngineInstruction, number>];
|
|
187
211
|
export declare function identifyIntentEngineInstruction(instruction: {
|
|
@@ -190,6 +214,8 @@ export declare function identifyIntentEngineInstruction(instruction: {
|
|
|
190
214
|
export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU"> = ({
|
|
191
215
|
instructionType: typeof IntentEngineInstruction.AcceptAdmin;
|
|
192
216
|
} & ParsedAcceptAdminInstruction<TProgram>) | ({
|
|
217
|
+
instructionType: typeof IntentEngineInstruction.Advance;
|
|
218
|
+
} & ParsedAdvanceInstruction<TProgram>) | ({
|
|
193
219
|
instructionType: typeof IntentEngineInstruction.AdvanceEpoch;
|
|
194
220
|
} & ParsedAdvanceEpochInstruction<TProgram>) | ({
|
|
195
221
|
instructionType: typeof IntentEngineInstruction.AdvanceNonce;
|
|
@@ -202,6 +228,8 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
|
|
|
202
228
|
} & ParsedClaimJobInstruction<TProgram>) | ({
|
|
203
229
|
instructionType: typeof IntentEngineInstruction.CloseIntent;
|
|
204
230
|
} & ParsedCloseIntentInstruction<TProgram>) | ({
|
|
231
|
+
instructionType: typeof IntentEngineInstruction.CloseLegacy;
|
|
232
|
+
} & ParsedCloseLegacyInstruction<TProgram>) | ({
|
|
205
233
|
instructionType: typeof IntentEngineInstruction.CloseProfile;
|
|
206
234
|
} & ParsedCloseProfileInstruction<TProgram>) | ({
|
|
207
235
|
instructionType: typeof IntentEngineInstruction.CreateCommittee;
|
|
@@ -236,8 +264,12 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
|
|
|
236
264
|
} & ParsedInitConfigInstruction<TProgram>) | ({
|
|
237
265
|
instructionType: typeof IntentEngineInstruction.InitUser;
|
|
238
266
|
} & ParsedInitUserInstruction<TProgram>) | ({
|
|
267
|
+
instructionType: typeof IntentEngineInstruction.Leave;
|
|
268
|
+
} & ParsedLeaveInstruction<TProgram>) | ({
|
|
239
269
|
instructionType: typeof IntentEngineInstruction.LowerPause;
|
|
240
270
|
} & ParsedLowerPauseInstruction<TProgram>) | ({
|
|
271
|
+
instructionType: typeof IntentEngineInstruction.Migrate;
|
|
272
|
+
} & ParsedMigrateInstruction<TProgram>) | ({
|
|
241
273
|
instructionType: typeof IntentEngineInstruction.OpenClaims;
|
|
242
274
|
} & ParsedOpenClaimsInstruction<TProgram>) | ({
|
|
243
275
|
instructionType: typeof IntentEngineInstruction.ProposeAdmin;
|
|
@@ -248,10 +280,14 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
|
|
|
248
280
|
} & ParsedRevokeMandateInstruction<TProgram>) | ({
|
|
249
281
|
instructionType: typeof IntentEngineInstruction.SetCapsRequired;
|
|
250
282
|
} & ParsedSetCapsRequiredInstruction<TProgram>) | ({
|
|
283
|
+
instructionType: typeof IntentEngineInstruction.SetCommitteeFloor;
|
|
284
|
+
} & ParsedSetCommitteeFloorInstruction<TProgram>) | ({
|
|
251
285
|
instructionType: typeof IntentEngineInstruction.SetMintCap;
|
|
252
286
|
} & ParsedSetMintCapInstruction<TProgram>) | ({
|
|
253
287
|
instructionType: typeof IntentEngineInstruction.SettleClaims;
|
|
254
288
|
} & ParsedSettleClaimsInstruction<TProgram>) | ({
|
|
289
|
+
instructionType: typeof IntentEngineInstruction.StandBy;
|
|
290
|
+
} & ParsedStandByInstruction<TProgram>) | ({
|
|
255
291
|
instructionType: typeof IntentEngineInstruction.UpdateConfig;
|
|
256
292
|
} & ParsedUpdateConfigInstruction<TProgram>) | ({
|
|
257
293
|
instructionType: typeof IntentEngineInstruction.UpdateEconomics;
|
|
@@ -275,16 +311,19 @@ export type IntentEnginePluginAccounts = {
|
|
|
275
311
|
mandate: ReturnType<typeof getMandateCodec> & SelfFetchFunctions<MandateArgs, Mandate>;
|
|
276
312
|
mintCap: ReturnType<typeof getMintCapCodec> & SelfFetchFunctions<MintCapArgs, MintCap>;
|
|
277
313
|
profile: ReturnType<typeof getProfileCodec> & SelfFetchFunctions<ProfileArgs, Profile>;
|
|
314
|
+
standby: ReturnType<typeof getStandbyCodec> & SelfFetchFunctions<StandbyArgs, Standby>;
|
|
278
315
|
userState: ReturnType<typeof getUserStateCodec> & SelfFetchFunctions<UserStateArgs, UserState>;
|
|
279
316
|
};
|
|
280
317
|
export type IntentEnginePluginInstructions = {
|
|
281
318
|
acceptAdmin: (input: AcceptAdminInput) => ReturnType<typeof getAcceptAdminInstruction> & SelfPlanAndSendFunctions;
|
|
319
|
+
advance: (input: AdvanceAsyncInput) => ReturnType<typeof getAdvanceInstructionAsync> & SelfPlanAndSendFunctions;
|
|
282
320
|
advanceEpoch: (input: AdvanceEpochAsyncInput) => ReturnType<typeof getAdvanceEpochInstructionAsync> & SelfPlanAndSendFunctions;
|
|
283
321
|
advanceNonce: (input: AdvanceNonceAsyncInput) => ReturnType<typeof getAdvanceNonceInstructionAsync> & SelfPlanAndSendFunctions;
|
|
284
322
|
beginFill: (input: BeginFillAsyncInput) => ReturnType<typeof getBeginFillInstructionAsync> & SelfPlanAndSendFunctions;
|
|
285
323
|
cancelIntent: (input: CancelIntentAsyncInput) => ReturnType<typeof getCancelIntentInstructionAsync> & SelfPlanAndSendFunctions;
|
|
286
324
|
claimJob: (input: ClaimJobAsyncInput) => ReturnType<typeof getClaimJobInstructionAsync> & SelfPlanAndSendFunctions;
|
|
287
325
|
closeIntent: (input: CloseIntentAsyncInput) => ReturnType<typeof getCloseIntentInstructionAsync> & SelfPlanAndSendFunctions;
|
|
326
|
+
closeLegacy: (input: CloseLegacyInput) => ReturnType<typeof getCloseLegacyInstruction> & SelfPlanAndSendFunctions;
|
|
288
327
|
closeProfile: (input: CloseProfileAsyncInput) => ReturnType<typeof getCloseProfileInstructionAsync> & SelfPlanAndSendFunctions;
|
|
289
328
|
createCommittee: (input: MakeOptional<CreateCommitteeAsyncInput, "payer">) => ReturnType<typeof getCreateCommitteeInstructionAsync> & SelfPlanAndSendFunctions;
|
|
290
329
|
createIntent: (input: CreateIntentAsyncInput) => ReturnType<typeof getCreateIntentInstructionAsync> & SelfPlanAndSendFunctions;
|
|
@@ -302,26 +341,31 @@ export type IntentEnginePluginInstructions = {
|
|
|
302
341
|
fillIntent: (input: FillIntentAsyncInput) => ReturnType<typeof getFillIntentInstructionAsync> & SelfPlanAndSendFunctions;
|
|
303
342
|
initConfig: (input: InitConfigAsyncInput) => ReturnType<typeof getInitConfigInstructionAsync> & SelfPlanAndSendFunctions;
|
|
304
343
|
initUser: (input: InitUserAsyncInput) => ReturnType<typeof getInitUserInstructionAsync> & SelfPlanAndSendFunctions;
|
|
344
|
+
leave: (input: LeaveAsyncInput) => ReturnType<typeof getLeaveInstructionAsync> & SelfPlanAndSendFunctions;
|
|
305
345
|
lowerPause: (input: LowerPauseInput) => ReturnType<typeof getLowerPauseInstruction> & SelfPlanAndSendFunctions;
|
|
346
|
+
migrate: (input: MakeOptional<MigrateInput, "payer">) => ReturnType<typeof getMigrateInstruction> & SelfPlanAndSendFunctions;
|
|
306
347
|
openClaims: (input: OpenClaimsAsyncInput) => ReturnType<typeof getOpenClaimsInstructionAsync> & SelfPlanAndSendFunctions;
|
|
307
348
|
proposeAdmin: (input: ProposeAdminInput) => ReturnType<typeof getProposeAdminInstruction> & SelfPlanAndSendFunctions;
|
|
308
349
|
raisePause: (input: RaisePauseInput) => ReturnType<typeof getRaisePauseInstruction> & SelfPlanAndSendFunctions;
|
|
309
350
|
revokeMandate: (input: RevokeMandateInput) => ReturnType<typeof getRevokeMandateInstruction> & SelfPlanAndSendFunctions;
|
|
310
351
|
setCapsRequired: (input: SetCapsRequiredInput) => ReturnType<typeof getSetCapsRequiredInstruction> & SelfPlanAndSendFunctions;
|
|
352
|
+
setCommitteeFloor: (input: SetCommitteeFloorInput) => ReturnType<typeof getSetCommitteeFloorInstruction> & SelfPlanAndSendFunctions;
|
|
311
353
|
setMintCap: (input: MakeOptional<SetMintCapAsyncInput, "payer">) => ReturnType<typeof getSetMintCapInstructionAsync> & SelfPlanAndSendFunctions;
|
|
312
354
|
settleClaims: (input: SettleClaimsAsyncInput) => ReturnType<typeof getSettleClaimsInstructionAsync> & SelfPlanAndSendFunctions;
|
|
355
|
+
standBy: (input: StandByAsyncInput) => ReturnType<typeof getStandByInstructionAsync> & SelfPlanAndSendFunctions;
|
|
313
356
|
updateConfig: (input: UpdateConfigInput) => ReturnType<typeof getUpdateConfigInstruction> & SelfPlanAndSendFunctions;
|
|
314
357
|
updateEconomics: (input: UpdateEconomicsInput) => ReturnType<typeof getUpdateEconomicsInstruction> & SelfPlanAndSendFunctions;
|
|
315
358
|
updateProfile: (input: UpdateProfileAsyncInput) => ReturnType<typeof getUpdateProfileInstructionAsync> & SelfPlanAndSendFunctions;
|
|
316
359
|
};
|
|
317
360
|
export type IntentEnginePluginPdas = {
|
|
361
|
+
board: typeof findBoardPda;
|
|
318
362
|
userState: typeof findUserStatePda;
|
|
319
363
|
vault: typeof findVaultPda;
|
|
320
|
-
board: typeof findBoardPda;
|
|
321
364
|
profile: typeof findProfilePda;
|
|
322
365
|
committee: typeof findCommitteePda;
|
|
323
366
|
delegate: typeof findDelegatePda;
|
|
324
367
|
config: typeof findConfigPda;
|
|
368
|
+
entry: typeof findEntryPda;
|
|
325
369
|
mintCap: typeof findMintCapPda;
|
|
326
370
|
};
|
|
327
371
|
export type IntentEnginePluginRequirements = ClientWithRpc<GetAccountInfoApi & GetMultipleAccountsApi> & ClientWithPayer & ClientWithTransactionPlanning & ClientWithTransactionSending;
|