@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.
Files changed (178) hide show
  1. package/dist/generated/client/accounts/claimBoard.d.ts +4 -0
  2. package/dist/generated/client/accounts/claimBoard.js +5 -1
  3. package/dist/generated/client/accounts/claimBoard.js.map +1 -1
  4. package/dist/generated/client/accounts/config.d.ts +4 -0
  5. package/dist/generated/client/accounts/config.js +5 -1
  6. package/dist/generated/client/accounts/config.js.map +1 -1
  7. package/dist/generated/client/accounts/index.d.ts +1 -0
  8. package/dist/generated/client/accounts/index.js +1 -0
  9. package/dist/generated/client/accounts/index.js.map +1 -1
  10. package/dist/generated/client/accounts/intent.d.ts +6 -2
  11. package/dist/generated/client/accounts/intent.js +8 -4
  12. package/dist/generated/client/accounts/intent.js.map +1 -1
  13. package/dist/generated/client/accounts/mintCap.d.ts +6 -0
  14. package/dist/generated/client/accounts/mintCap.js +8 -2
  15. package/dist/generated/client/accounts/mintCap.js.map +1 -1
  16. package/dist/generated/client/accounts/profile.d.ts +2 -2
  17. package/dist/generated/client/accounts/profile.js +2 -2
  18. package/dist/generated/client/accounts/profile.js.map +1 -1
  19. package/dist/generated/client/accounts/standby.d.ts +42 -0
  20. package/dist/generated/client/accounts/standby.js +69 -0
  21. package/dist/generated/client/accounts/standby.js.map +1 -0
  22. package/dist/generated/client/errors/intentEngine.d.ts +33 -1
  23. package/dist/generated/client/errors/intentEngine.js +48 -0
  24. package/dist/generated/client/errors/intentEngine.js.map +1 -1
  25. package/dist/generated/client/events/accountMigrated.d.ts +38 -0
  26. package/dist/generated/client/events/accountMigrated.js +50 -0
  27. package/dist/generated/client/events/accountMigrated.js.map +1 -0
  28. package/dist/generated/client/events/committeeFloorSet.d.ts +26 -0
  29. package/dist/generated/client/events/committeeFloorSet.js +38 -0
  30. package/dist/generated/client/events/committeeFloorSet.js.map +1 -0
  31. package/dist/generated/client/events/index.d.ts +5 -0
  32. package/dist/generated/client/events/index.js +5 -0
  33. package/dist/generated/client/events/index.js.map +1 -1
  34. package/dist/generated/client/events/legacyClosed.d.ts +30 -0
  35. package/dist/generated/client/events/legacyClosed.js +42 -0
  36. package/dist/generated/client/events/legacyClosed.js.map +1 -0
  37. package/dist/generated/client/events/lineLeft.d.ts +30 -0
  38. package/dist/generated/client/events/lineLeft.js +42 -0
  39. package/dist/generated/client/events/lineLeft.js.map +1 -0
  40. package/dist/generated/client/events/mintCapSet.d.ts +4 -0
  41. package/dist/generated/client/events/mintCapSet.js +4 -0
  42. package/dist/generated/client/events/mintCapSet.js.map +1 -1
  43. package/dist/generated/client/events/profileSet.d.ts +1 -0
  44. package/dist/generated/client/events/profileSet.js +2 -0
  45. package/dist/generated/client/events/profileSet.js.map +1 -1
  46. package/dist/generated/client/events/stoodBy.d.ts +32 -0
  47. package/dist/generated/client/events/stoodBy.js +46 -0
  48. package/dist/generated/client/events/stoodBy.js.map +1 -0
  49. package/dist/generated/client/instructions/advance.d.ts +79 -0
  50. package/dist/generated/client/instructions/advance.js +167 -0
  51. package/dist/generated/client/instructions/advance.js.map +1 -0
  52. package/dist/generated/client/instructions/beginFill.d.ts +13 -9
  53. package/dist/generated/client/instructions/beginFill.js +15 -2
  54. package/dist/generated/client/instructions/beginFill.js.map +1 -1
  55. package/dist/generated/client/instructions/cancelIntent.d.ts +13 -9
  56. package/dist/generated/client/instructions/cancelIntent.js +15 -2
  57. package/dist/generated/client/instructions/cancelIntent.js.map +1 -1
  58. package/dist/generated/client/instructions/claimJob.d.ts +13 -9
  59. package/dist/generated/client/instructions/claimJob.js +15 -2
  60. package/dist/generated/client/instructions/claimJob.js.map +1 -1
  61. package/dist/generated/client/instructions/closeIntent.d.ts +13 -9
  62. package/dist/generated/client/instructions/closeIntent.js +21 -2
  63. package/dist/generated/client/instructions/closeIntent.js.map +1 -1
  64. package/dist/generated/client/instructions/closeLegacy.d.ts +61 -0
  65. package/dist/generated/client/instructions/closeLegacy.js +113 -0
  66. package/dist/generated/client/instructions/closeLegacy.js.map +1 -0
  67. package/dist/generated/client/instructions/createIntent.d.ts +14 -10
  68. package/dist/generated/client/instructions/createIntent.js +15 -2
  69. package/dist/generated/client/instructions/createIntent.js.map +1 -1
  70. package/dist/generated/client/instructions/createIntentSigned.d.ts +14 -10
  71. package/dist/generated/client/instructions/createIntentSigned.js +15 -2
  72. package/dist/generated/client/instructions/createIntentSigned.js.map +1 -1
  73. package/dist/generated/client/instructions/dropClaim.d.ts +29 -9
  74. package/dist/generated/client/instructions/dropClaim.js +41 -2
  75. package/dist/generated/client/instructions/dropClaim.js.map +1 -1
  76. package/dist/generated/client/instructions/expireIntent.d.ts +13 -9
  77. package/dist/generated/client/instructions/expireIntent.js +21 -2
  78. package/dist/generated/client/instructions/expireIntent.js.map +1 -1
  79. package/dist/generated/client/instructions/fillAttested.d.ts +13 -9
  80. package/dist/generated/client/instructions/fillAttested.js +15 -2
  81. package/dist/generated/client/instructions/fillAttested.js.map +1 -1
  82. package/dist/generated/client/instructions/fillAttestedCommittee.d.ts +13 -9
  83. package/dist/generated/client/instructions/fillAttestedCommittee.js +15 -2
  84. package/dist/generated/client/instructions/fillAttestedCommittee.js.map +1 -1
  85. package/dist/generated/client/instructions/fillAttestedSplit.d.ts +13 -9
  86. package/dist/generated/client/instructions/fillAttestedSplit.js +15 -2
  87. package/dist/generated/client/instructions/fillAttestedSplit.js.map +1 -1
  88. package/dist/generated/client/instructions/fillAttestedSplitCommittee.d.ts +13 -9
  89. package/dist/generated/client/instructions/fillAttestedSplitCommittee.js +15 -2
  90. package/dist/generated/client/instructions/fillAttestedSplitCommittee.js.map +1 -1
  91. package/dist/generated/client/instructions/fillIntent.d.ts +13 -9
  92. package/dist/generated/client/instructions/fillIntent.js +15 -2
  93. package/dist/generated/client/instructions/fillIntent.js.map +1 -1
  94. package/dist/generated/client/instructions/index.d.ts +6 -0
  95. package/dist/generated/client/instructions/index.js +6 -0
  96. package/dist/generated/client/instructions/index.js.map +1 -1
  97. package/dist/generated/client/instructions/leave.d.ts +68 -0
  98. package/dist/generated/client/instructions/leave.js +142 -0
  99. package/dist/generated/client/instructions/leave.js.map +1 -0
  100. package/dist/generated/client/instructions/migrate.d.ts +52 -0
  101. package/dist/generated/client/instructions/migrate.js +109 -0
  102. package/dist/generated/client/instructions/migrate.js.map +1 -0
  103. package/dist/generated/client/instructions/setCommitteeFloor.d.ts +53 -0
  104. package/dist/generated/client/instructions/setCommitteeFloor.js +96 -0
  105. package/dist/generated/client/instructions/setCommitteeFloor.js.map +1 -0
  106. package/dist/generated/client/instructions/setMintCap.d.ts +4 -0
  107. package/dist/generated/client/instructions/setMintCap.js +2 -0
  108. package/dist/generated/client/instructions/setMintCap.js.map +1 -1
  109. package/dist/generated/client/instructions/standBy.d.ts +76 -0
  110. package/dist/generated/client/instructions/standBy.js +176 -0
  111. package/dist/generated/client/instructions/standBy.js.map +1 -0
  112. package/dist/generated/client/pdas/entry.d.ts +15 -0
  113. package/dist/generated/client/pdas/entry.js +20 -0
  114. package/dist/generated/client/pdas/entry.js.map +1 -0
  115. package/dist/generated/client/pdas/index.d.ts +1 -0
  116. package/dist/generated/client/pdas/index.js +1 -0
  117. package/dist/generated/client/pdas/index.js.map +1 -1
  118. package/dist/generated/client/programs/intentEngine.d.ts +190 -146
  119. package/dist/generated/client/programs/intentEngine.js +259 -146
  120. package/dist/generated/client/programs/intentEngine.js.map +1 -1
  121. package/dist/generated/client/types/profileFields.d.ts +1 -0
  122. package/dist/generated/client/types/profileFields.js +2 -0
  123. package/dist/generated/client/types/profileFields.js.map +1 -1
  124. package/dist/src/claims.d.ts +33 -3
  125. package/dist/src/claims.js +54 -2
  126. package/dist/src/claims.js.map +1 -1
  127. package/dist/src/committee-floors.d.ts +21 -0
  128. package/dist/src/committee-floors.js +27 -0
  129. package/dist/src/committee-floors.js.map +1 -0
  130. package/dist/src/committee.d.ts +4 -4
  131. package/dist/src/committee.js +14 -17
  132. package/dist/src/committee.js.map +1 -1
  133. package/dist/src/encryption-key.d.ts +28 -0
  134. package/dist/src/encryption-key.js +94 -0
  135. package/dist/src/encryption-key.js.map +1 -0
  136. package/dist/src/errors.d.ts +1 -1
  137. package/dist/src/errors.js +3 -0
  138. package/dist/src/errors.js.map +1 -1
  139. package/dist/src/events.d.ts +6 -1
  140. package/dist/src/events.js +7 -1
  141. package/dist/src/events.js.map +1 -1
  142. package/dist/src/fill-builders.d.ts +7 -5
  143. package/dist/src/fill-builders.js +4 -0
  144. package/dist/src/fill-builders.js.map +1 -1
  145. package/dist/src/index.d.ts +4 -0
  146. package/dist/src/index.js +4 -0
  147. package/dist/src/index.js.map +1 -1
  148. package/dist/src/intent-builders.d.ts +8 -6
  149. package/dist/src/intent-builders.js +6 -1
  150. package/dist/src/intent-builders.js.map +1 -1
  151. package/dist/src/memo.d.ts +7 -1
  152. package/dist/src/memo.js +18 -4
  153. package/dist/src/memo.js.map +1 -1
  154. package/dist/src/migrate.d.ts +25 -0
  155. package/dist/src/migrate.js +46 -0
  156. package/dist/src/migrate.js.map +1 -0
  157. package/dist/src/mint-caps.d.ts +5 -1
  158. package/dist/src/mint-caps.js +13 -2
  159. package/dist/src/mint-caps.js.map +1 -1
  160. package/dist/src/profile.d.ts +2 -0
  161. package/dist/src/profile.js +13 -4
  162. package/dist/src/profile.js.map +1 -1
  163. package/dist/src/sealed-delivery.d.ts +54 -10
  164. package/dist/src/sealed-delivery.js +183 -55
  165. package/dist/src/sealed-delivery.js.map +1 -1
  166. package/dist/src/sealed.d.ts +1 -0
  167. package/dist/src/sealed.js +2 -2
  168. package/dist/src/sealed.js.map +1 -1
  169. package/dist/src/sig.d.ts +17 -4
  170. package/dist/src/sig.js +80 -10
  171. package/dist/src/sig.js.map +1 -1
  172. package/dist/src/state.d.ts +3 -3
  173. package/dist/src/state.js +3 -3
  174. package/dist/src/versions.d.ts +56 -0
  175. package/dist/src/versions.js +126 -0
  176. package/dist/src/versions.js.map +1 -0
  177. package/generated/idl.json +996 -45
  178. 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: "UserState";
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 UserState: 7;
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: "AdminAccepted";
38
- readonly 1: "AdminProposed";
39
- readonly 2: "AgentPaid";
40
- readonly 3: "CapsRequiredSet";
41
- readonly 4: "ClaimDropped";
42
- readonly 5: "ClaimsClosed";
43
- readonly 6: "ClaimsOpened";
44
- readonly 7: "CommitteeAttested";
45
- readonly 8: "CommitteeCreated";
46
- readonly 9: "ConfigInitialized";
47
- readonly 10: "ConfigUpdated";
48
- readonly 11: "EconomicsUpdated";
49
- readonly 12: "EpochAdvanced";
50
- readonly 13: "FeeWithheld";
51
- readonly 14: "FillBegun";
52
- readonly 15: "FillEnded";
53
- readonly 16: "IntentAttested";
54
- readonly 17: "IntentCancelled";
55
- readonly 18: "IntentClosed";
56
- readonly 19: "IntentCreated";
57
- readonly 20: "IntentExpired";
58
- readonly 21: "IntentFilled";
59
- readonly 22: "IntentSplit";
60
- readonly 23: "JobClaimed";
61
- readonly 24: "MandateClosed";
62
- readonly 25: "MandateCreated";
63
- readonly 26: "MandateUsed";
64
- readonly 27: "MintCapSet";
65
- readonly 28: "NonceAdvanced";
66
- readonly 29: "PauseLowered";
67
- readonly 30: "PauseRaised";
68
- readonly 31: "ProfileClosed";
69
- readonly 32: "ProfileSet";
70
- readonly 33: "RelayerPaid";
71
- readonly 34: "StakeMoved";
72
- readonly 35: "UserInitialized";
73
- readonly AdminAccepted: 0;
74
- readonly AdminProposed: 1;
75
- readonly AgentPaid: 2;
76
- readonly CapsRequiredSet: 3;
77
- readonly ClaimDropped: 4;
78
- readonly ClaimsClosed: 5;
79
- readonly ClaimsOpened: 6;
80
- readonly CommitteeAttested: 7;
81
- readonly CommitteeCreated: 8;
82
- readonly ConfigInitialized: 9;
83
- readonly ConfigUpdated: 10;
84
- readonly EconomicsUpdated: 11;
85
- readonly EpochAdvanced: 12;
86
- readonly FeeWithheld: 13;
87
- readonly FillBegun: 14;
88
- readonly FillEnded: 15;
89
- readonly IntentAttested: 16;
90
- readonly IntentCancelled: 17;
91
- readonly IntentClosed: 18;
92
- readonly IntentCreated: 19;
93
- readonly IntentExpired: 20;
94
- readonly IntentFilled: 21;
95
- readonly IntentSplit: 22;
96
- readonly JobClaimed: 23;
97
- readonly MandateClosed: 24;
98
- readonly MandateCreated: 25;
99
- readonly MandateUsed: 26;
100
- readonly MintCapSet: 27;
101
- readonly NonceAdvanced: 28;
102
- readonly PauseLowered: 29;
103
- readonly PauseRaised: 30;
104
- readonly ProfileClosed: 31;
105
- readonly ProfileSet: 32;
106
- readonly RelayerPaid: 33;
107
- readonly StakeMoved: 34;
108
- readonly UserInitialized: 35;
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: "AdvanceEpoch";
117
- readonly 2: "AdvanceNonce";
118
- readonly 3: "BeginFill";
119
- readonly 4: "CancelIntent";
120
- readonly 5: "ClaimJob";
121
- readonly 6: "CloseIntent";
122
- readonly 7: "CloseProfile";
123
- readonly 8: "CreateCommittee";
124
- readonly 9: "CreateIntent";
125
- readonly 10: "CreateIntentByAgent";
126
- readonly 11: "CreateIntentSigned";
127
- readonly 12: "CreateMandate";
128
- readonly 13: "CreateProfile";
129
- readonly 14: "DropClaim";
130
- readonly 15: "EndFill";
131
- readonly 16: "ExpireIntent";
132
- readonly 17: "FillAttested";
133
- readonly 18: "FillAttestedCommittee";
134
- readonly 19: "FillAttestedSplit";
135
- readonly 20: "FillAttestedSplitCommittee";
136
- readonly 21: "FillIntent";
137
- readonly 22: "InitConfig";
138
- readonly 23: "InitUser";
139
- readonly 24: "LowerPause";
140
- readonly 25: "OpenClaims";
141
- readonly 26: "ProposeAdmin";
142
- readonly 27: "RaisePause";
143
- readonly 28: "RevokeMandate";
144
- readonly 29: "SetCapsRequired";
145
- readonly 30: "SetMintCap";
146
- readonly 31: "SettleClaims";
147
- readonly 32: "UpdateConfig";
148
- readonly 33: "UpdateEconomics";
149
- readonly 34: "UpdateProfile";
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 AdvanceEpoch: 1;
152
- readonly AdvanceNonce: 2;
153
- readonly BeginFill: 3;
154
- readonly CancelIntent: 4;
155
- readonly ClaimJob: 5;
156
- readonly CloseIntent: 6;
157
- readonly CloseProfile: 7;
158
- readonly CreateCommittee: 8;
159
- readonly CreateIntent: 9;
160
- readonly CreateIntentByAgent: 10;
161
- readonly CreateIntentSigned: 11;
162
- readonly CreateMandate: 12;
163
- readonly CreateProfile: 13;
164
- readonly DropClaim: 14;
165
- readonly EndFill: 15;
166
- readonly ExpireIntent: 16;
167
- readonly FillAttested: 17;
168
- readonly FillAttestedCommittee: 18;
169
- readonly FillAttestedSplit: 19;
170
- readonly FillAttestedSplitCommittee: 20;
171
- readonly FillIntent: 21;
172
- readonly InitConfig: 22;
173
- readonly InitUser: 23;
174
- readonly LowerPause: 24;
175
- readonly OpenClaims: 25;
176
- readonly ProposeAdmin: 26;
177
- readonly RaisePause: 27;
178
- readonly RevokeMandate: 28;
179
- readonly SetCapsRequired: 29;
180
- readonly SetMintCap: 30;
181
- readonly SettleClaims: 31;
182
- readonly UpdateConfig: 32;
183
- readonly UpdateEconomics: 33;
184
- readonly UpdateProfile: 34;
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;