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