@intent-engine/core 0.1.42 → 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/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/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 +2 -0
- package/dist/generated/client/accounts/standby.js +4 -2
- package/dist/generated/client/accounts/standby.js.map +1 -1
- package/dist/generated/client/errors/intentEngine.d.ts +25 -1
- package/dist/generated/client/errors/intentEngine.js +36 -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 +3 -0
- package/dist/generated/client/events/index.js +3 -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/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/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/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 +3 -0
- package/dist/generated/client/instructions/index.js +3 -0
- package/dist/generated/client/instructions/index.js.map +1 -1
- 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 +13 -9
- package/dist/generated/client/instructions/standBy.js +15 -2
- package/dist/generated/client/instructions/standBy.js.map +1 -1
- package/dist/generated/client/programs/intentEngine.d.ts +158 -137
- package/dist/generated/client/programs/intentEngine.js +194 -137
- 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 +2 -2
- 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/events.d.ts +4 -1
- package/dist/src/events.js +5 -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 +567 -6
- package/package.json +2 -1
|
@@ -8,7 +8,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
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, getCloseProfileInstructionAsync, getCreateCommitteeInstructionAsync, getCreateIntentByAgentInstructionAsync, getCreateIntentInstructionAsync, getCreateIntentSignedInstructionAsync, getCreateMandateInstructionAsync, getCreateProfileInstructionAsync, getDropClaimInstructionAsync, getEndFillInstruction, getExpireIntentInstructionAsync, getFillAttestedCommitteeInstructionAsync, getFillAttestedInstructionAsync, getFillAttestedSplitCommitteeInstructionAsync, getFillAttestedSplitInstructionAsync, getFillIntentInstructionAsync, getInitConfigInstructionAsync, getInitUserInstructionAsync, getLeaveInstructionAsync, getLowerPauseInstruction, getOpenClaimsInstructionAsync, getProposeAdminInstruction, getRaisePauseInstruction, getRevokeMandateInstruction, getSetCapsRequiredInstruction, getSetMintCapInstructionAsync, getSettleClaimsInstructionAsync, getStandByInstructionAsync, getUpdateConfigInstruction, getUpdateEconomicsInstruction, getUpdateProfileInstructionAsync, type AcceptAdminInput, type AdvanceAsyncInput, 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 LeaveAsyncInput, type LowerPauseInput, type OpenClaimsAsyncInput, type ParsedAcceptAdminInstruction, type ParsedAdvanceEpochInstruction, type ParsedAdvanceInstruction, 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 ParsedLeaveInstruction, type ParsedLowerPauseInstruction, type ParsedOpenClaimsInstruction, type ParsedProposeAdminInstruction, type ParsedRaisePauseInstruction, type ParsedRevokeMandateInstruction, type ParsedSetCapsRequiredInstruction, type ParsedSetMintCapInstruction, type ParsedSettleClaimsInstruction, type ParsedStandByInstruction, type ParsedUpdateConfigInstruction, type ParsedUpdateEconomicsInstruction, type ParsedUpdateProfileInstruction, type ProposeAdminInput, type RaisePauseInput, type RevokeMandateInput, type SetCapsRequiredInput, type SetMintCapAsyncInput, type SettleClaimsAsyncInput, type StandByAsyncInput, type UpdateConfigInput, type UpdateEconomicsInput, type UpdateProfileAsyncInput } from "../instructions/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
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: {
|
|
@@ -36,82 +36,88 @@ export declare function identifyIntentEngineAccount(account: {
|
|
|
36
36
|
data: ReadonlyUint8Array;
|
|
37
37
|
} | ReadonlyUint8Array): IntentEngineAccount;
|
|
38
38
|
export declare const IntentEngineEvent: {
|
|
39
|
-
readonly 0: "
|
|
40
|
-
readonly 1: "
|
|
41
|
-
readonly 2: "
|
|
42
|
-
readonly 3: "
|
|
43
|
-
readonly 4: "
|
|
44
|
-
readonly 5: "
|
|
45
|
-
readonly 6: "
|
|
46
|
-
readonly 7: "
|
|
47
|
-
readonly 8: "
|
|
48
|
-
readonly 9: "
|
|
49
|
-
readonly 10: "
|
|
50
|
-
readonly 11: "
|
|
51
|
-
readonly 12: "
|
|
52
|
-
readonly 13: "
|
|
53
|
-
readonly 14: "
|
|
54
|
-
readonly 15: "
|
|
55
|
-
readonly 16: "
|
|
56
|
-
readonly 17: "
|
|
57
|
-
readonly 18: "
|
|
58
|
-
readonly 19: "
|
|
59
|
-
readonly 20: "
|
|
60
|
-
readonly 21: "
|
|
61
|
-
readonly 22: "
|
|
62
|
-
readonly 23: "
|
|
63
|
-
readonly 24: "
|
|
64
|
-
readonly 25: "
|
|
65
|
-
readonly 26: "
|
|
66
|
-
readonly 27: "
|
|
67
|
-
readonly 28: "
|
|
68
|
-
readonly 29: "
|
|
69
|
-
readonly 30: "
|
|
70
|
-
readonly 31: "
|
|
71
|
-
readonly 32: "
|
|
72
|
-
readonly 33: "
|
|
73
|
-
readonly 34: "
|
|
74
|
-
readonly 35: "
|
|
75
|
-
readonly 36: "
|
|
76
|
-
readonly 37: "
|
|
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
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
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;
|
|
115
121
|
};
|
|
116
122
|
export type IntentEngineEvent = (typeof IntentEngineEvent)[Exclude<keyof typeof IntentEngineEvent, number>];
|
|
117
123
|
export declare function identifyIntentEngineEvent(event: {
|
|
@@ -126,36 +132,39 @@ export declare const IntentEngineInstruction: {
|
|
|
126
132
|
readonly 5: "CancelIntent";
|
|
127
133
|
readonly 6: "ClaimJob";
|
|
128
134
|
readonly 7: "CloseIntent";
|
|
129
|
-
readonly 8: "
|
|
130
|
-
readonly 9: "
|
|
131
|
-
readonly 10: "
|
|
132
|
-
readonly 11: "
|
|
133
|
-
readonly 12: "
|
|
134
|
-
readonly 13: "
|
|
135
|
-
readonly 14: "
|
|
136
|
-
readonly 15: "
|
|
137
|
-
readonly 16: "
|
|
138
|
-
readonly 17: "
|
|
139
|
-
readonly 18: "
|
|
140
|
-
readonly 19: "
|
|
141
|
-
readonly 20: "
|
|
142
|
-
readonly 21: "
|
|
143
|
-
readonly 22: "
|
|
144
|
-
readonly 23: "
|
|
145
|
-
readonly 24: "
|
|
146
|
-
readonly 25: "
|
|
147
|
-
readonly 26: "
|
|
148
|
-
readonly 27: "
|
|
149
|
-
readonly 28: "
|
|
150
|
-
readonly 29: "
|
|
151
|
-
readonly 30: "
|
|
152
|
-
readonly 31: "
|
|
153
|
-
readonly 32: "
|
|
154
|
-
readonly 33: "
|
|
155
|
-
readonly 34: "
|
|
156
|
-
readonly 35: "
|
|
157
|
-
readonly 36: "
|
|
158
|
-
readonly 37: "
|
|
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";
|
|
159
168
|
readonly AcceptAdmin: 0;
|
|
160
169
|
readonly Advance: 1;
|
|
161
170
|
readonly AdvanceEpoch: 2;
|
|
@@ -164,36 +173,39 @@ export declare const IntentEngineInstruction: {
|
|
|
164
173
|
readonly CancelIntent: 5;
|
|
165
174
|
readonly ClaimJob: 6;
|
|
166
175
|
readonly CloseIntent: 7;
|
|
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
|
|
185
|
-
readonly
|
|
186
|
-
readonly
|
|
187
|
-
readonly
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
190
|
-
readonly
|
|
191
|
-
readonly
|
|
192
|
-
readonly
|
|
193
|
-
readonly
|
|
194
|
-
readonly
|
|
195
|
-
readonly
|
|
196
|
-
readonly
|
|
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;
|
|
197
209
|
};
|
|
198
210
|
export type IntentEngineInstruction = (typeof IntentEngineInstruction)[Exclude<keyof typeof IntentEngineInstruction, number>];
|
|
199
211
|
export declare function identifyIntentEngineInstruction(instruction: {
|
|
@@ -216,6 +228,8 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
|
|
|
216
228
|
} & ParsedClaimJobInstruction<TProgram>) | ({
|
|
217
229
|
instructionType: typeof IntentEngineInstruction.CloseIntent;
|
|
218
230
|
} & ParsedCloseIntentInstruction<TProgram>) | ({
|
|
231
|
+
instructionType: typeof IntentEngineInstruction.CloseLegacy;
|
|
232
|
+
} & ParsedCloseLegacyInstruction<TProgram>) | ({
|
|
219
233
|
instructionType: typeof IntentEngineInstruction.CloseProfile;
|
|
220
234
|
} & ParsedCloseProfileInstruction<TProgram>) | ({
|
|
221
235
|
instructionType: typeof IntentEngineInstruction.CreateCommittee;
|
|
@@ -254,6 +268,8 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
|
|
|
254
268
|
} & ParsedLeaveInstruction<TProgram>) | ({
|
|
255
269
|
instructionType: typeof IntentEngineInstruction.LowerPause;
|
|
256
270
|
} & ParsedLowerPauseInstruction<TProgram>) | ({
|
|
271
|
+
instructionType: typeof IntentEngineInstruction.Migrate;
|
|
272
|
+
} & ParsedMigrateInstruction<TProgram>) | ({
|
|
257
273
|
instructionType: typeof IntentEngineInstruction.OpenClaims;
|
|
258
274
|
} & ParsedOpenClaimsInstruction<TProgram>) | ({
|
|
259
275
|
instructionType: typeof IntentEngineInstruction.ProposeAdmin;
|
|
@@ -264,6 +280,8 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
|
|
|
264
280
|
} & ParsedRevokeMandateInstruction<TProgram>) | ({
|
|
265
281
|
instructionType: typeof IntentEngineInstruction.SetCapsRequired;
|
|
266
282
|
} & ParsedSetCapsRequiredInstruction<TProgram>) | ({
|
|
283
|
+
instructionType: typeof IntentEngineInstruction.SetCommitteeFloor;
|
|
284
|
+
} & ParsedSetCommitteeFloorInstruction<TProgram>) | ({
|
|
267
285
|
instructionType: typeof IntentEngineInstruction.SetMintCap;
|
|
268
286
|
} & ParsedSetMintCapInstruction<TProgram>) | ({
|
|
269
287
|
instructionType: typeof IntentEngineInstruction.SettleClaims;
|
|
@@ -305,6 +323,7 @@ export type IntentEnginePluginInstructions = {
|
|
|
305
323
|
cancelIntent: (input: CancelIntentAsyncInput) => ReturnType<typeof getCancelIntentInstructionAsync> & SelfPlanAndSendFunctions;
|
|
306
324
|
claimJob: (input: ClaimJobAsyncInput) => ReturnType<typeof getClaimJobInstructionAsync> & SelfPlanAndSendFunctions;
|
|
307
325
|
closeIntent: (input: CloseIntentAsyncInput) => ReturnType<typeof getCloseIntentInstructionAsync> & SelfPlanAndSendFunctions;
|
|
326
|
+
closeLegacy: (input: CloseLegacyInput) => ReturnType<typeof getCloseLegacyInstruction> & SelfPlanAndSendFunctions;
|
|
308
327
|
closeProfile: (input: CloseProfileAsyncInput) => ReturnType<typeof getCloseProfileInstructionAsync> & SelfPlanAndSendFunctions;
|
|
309
328
|
createCommittee: (input: MakeOptional<CreateCommitteeAsyncInput, "payer">) => ReturnType<typeof getCreateCommitteeInstructionAsync> & SelfPlanAndSendFunctions;
|
|
310
329
|
createIntent: (input: CreateIntentAsyncInput) => ReturnType<typeof getCreateIntentInstructionAsync> & SelfPlanAndSendFunctions;
|
|
@@ -324,11 +343,13 @@ export type IntentEnginePluginInstructions = {
|
|
|
324
343
|
initUser: (input: InitUserAsyncInput) => ReturnType<typeof getInitUserInstructionAsync> & SelfPlanAndSendFunctions;
|
|
325
344
|
leave: (input: LeaveAsyncInput) => ReturnType<typeof getLeaveInstructionAsync> & SelfPlanAndSendFunctions;
|
|
326
345
|
lowerPause: (input: LowerPauseInput) => ReturnType<typeof getLowerPauseInstruction> & SelfPlanAndSendFunctions;
|
|
346
|
+
migrate: (input: MakeOptional<MigrateInput, "payer">) => ReturnType<typeof getMigrateInstruction> & SelfPlanAndSendFunctions;
|
|
327
347
|
openClaims: (input: OpenClaimsAsyncInput) => ReturnType<typeof getOpenClaimsInstructionAsync> & SelfPlanAndSendFunctions;
|
|
328
348
|
proposeAdmin: (input: ProposeAdminInput) => ReturnType<typeof getProposeAdminInstruction> & SelfPlanAndSendFunctions;
|
|
329
349
|
raisePause: (input: RaisePauseInput) => ReturnType<typeof getRaisePauseInstruction> & SelfPlanAndSendFunctions;
|
|
330
350
|
revokeMandate: (input: RevokeMandateInput) => ReturnType<typeof getRevokeMandateInstruction> & SelfPlanAndSendFunctions;
|
|
331
351
|
setCapsRequired: (input: SetCapsRequiredInput) => ReturnType<typeof getSetCapsRequiredInstruction> & SelfPlanAndSendFunctions;
|
|
352
|
+
setCommitteeFloor: (input: SetCommitteeFloorInput) => ReturnType<typeof getSetCommitteeFloorInstruction> & SelfPlanAndSendFunctions;
|
|
332
353
|
setMintCap: (input: MakeOptional<SetMintCapAsyncInput, "payer">) => ReturnType<typeof getSetMintCapInstructionAsync> & SelfPlanAndSendFunctions;
|
|
333
354
|
settleClaims: (input: SettleClaimsAsyncInput) => ReturnType<typeof getSettleClaimsInstructionAsync> & SelfPlanAndSendFunctions;
|
|
334
355
|
standBy: (input: StandByAsyncInput) => ReturnType<typeof getStandByInstructionAsync> & SelfPlanAndSendFunctions;
|