@intent-engine/core 0.1.50 → 0.1.52

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 (68) hide show
  1. package/dist/generated/client/accounts/claimBoard.d.ts +2 -0
  2. package/dist/generated/client/accounts/claimBoard.js +4 -2
  3. package/dist/generated/client/accounts/claimBoard.js.map +1 -1
  4. package/dist/generated/client/accounts/claimList.d.ts +44 -0
  5. package/dist/generated/client/accounts/claimList.js +71 -0
  6. package/dist/generated/client/accounts/claimList.js.map +1 -0
  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/errors/intentEngine.d.ts +11 -1
  11. package/dist/generated/client/errors/intentEngine.js +15 -0
  12. package/dist/generated/client/errors/intentEngine.js.map +1 -1
  13. package/dist/generated/client/events/claimantsListed.d.ts +26 -0
  14. package/dist/generated/client/events/claimantsListed.js +44 -0
  15. package/dist/generated/client/events/claimantsListed.js.map +1 -0
  16. package/dist/generated/client/events/index.d.ts +1 -0
  17. package/dist/generated/client/events/index.js +1 -0
  18. package/dist/generated/client/events/index.js.map +1 -1
  19. package/dist/generated/client/instructions/claimJob.d.ts +13 -9
  20. package/dist/generated/client/instructions/claimJob.js +21 -2
  21. package/dist/generated/client/instructions/claimJob.js.map +1 -1
  22. package/dist/generated/client/instructions/extendClaimants.d.ts +64 -0
  23. package/dist/generated/client/instructions/extendClaimants.js +142 -0
  24. package/dist/generated/client/instructions/extendClaimants.js.map +1 -0
  25. package/dist/generated/client/instructions/index.d.ts +3 -0
  26. package/dist/generated/client/instructions/index.js +3 -0
  27. package/dist/generated/client/instructions/index.js.map +1 -1
  28. package/dist/generated/client/instructions/listClaimants.d.ts +76 -0
  29. package/dist/generated/client/instructions/listClaimants.js +178 -0
  30. package/dist/generated/client/instructions/listClaimants.js.map +1 -0
  31. package/dist/generated/client/instructions/openClaimsListed.d.ts +84 -0
  32. package/dist/generated/client/instructions/openClaimsListed.js +180 -0
  33. package/dist/generated/client/instructions/openClaimsListed.js.map +1 -0
  34. package/dist/generated/client/instructions/settleClaims.d.ts +13 -9
  35. package/dist/generated/client/instructions/settleClaims.js +15 -2
  36. package/dist/generated/client/instructions/settleClaims.js.map +1 -1
  37. package/dist/generated/client/instructions/standBy.d.ts +13 -9
  38. package/dist/generated/client/instructions/standBy.js +21 -2
  39. package/dist/generated/client/instructions/standBy.js.map +1 -1
  40. package/dist/generated/client/pdas/claimList.d.ts +14 -0
  41. package/dist/generated/client/pdas/claimList.js +19 -0
  42. package/dist/generated/client/pdas/claimList.js.map +1 -0
  43. package/dist/generated/client/pdas/index.d.ts +1 -0
  44. package/dist/generated/client/pdas/index.js +1 -0
  45. package/dist/generated/client/pdas/index.js.map +1 -1
  46. package/dist/generated/client/programs/intentEngine.d.ts +154 -133
  47. package/dist/generated/client/programs/intentEngine.js +184 -133
  48. package/dist/generated/client/programs/intentEngine.js.map +1 -1
  49. package/dist/src/claim-list.d.ts +37 -0
  50. package/dist/src/claim-list.js +59 -0
  51. package/dist/src/claim-list.js.map +1 -0
  52. package/dist/src/claims.d.ts +6 -3
  53. package/dist/src/claims.js +5 -2
  54. package/dist/src/claims.js.map +1 -1
  55. package/dist/src/errors.d.ts +1 -1
  56. package/dist/src/errors.js +3 -0
  57. package/dist/src/errors.js.map +1 -1
  58. package/dist/src/events.d.ts +2 -1
  59. package/dist/src/events.js +2 -1
  60. package/dist/src/events.js.map +1 -1
  61. package/dist/src/index.d.ts +1 -0
  62. package/dist/src/index.js +1 -0
  63. package/dist/src/index.js.map +1 -1
  64. package/dist/src/versions.d.ts +1 -0
  65. package/dist/src/versions.js +3 -1
  66. package/dist/src/versions.js.map +1 -1
  67. package/generated/idl.json +489 -1
  68. package/package.json +1 -1
@@ -7,35 +7,40 @@
7
7
  */
8
8
  import { assertIsInstructionWithAccounts, containsBytes, extendClient, fixEncoderSize, getBytesEncoder, SOLANA_ERROR__PROGRAM_CLIENTS__FAILED_TO_IDENTIFY_ACCOUNT, SOLANA_ERROR__PROGRAM_CLIENTS__FAILED_TO_IDENTIFY_INSTRUCTION, SOLANA_ERROR__PROGRAM_CLIENTS__UNRECOGNIZED_INSTRUCTION_TYPE, SolanaError, } from "@solana/kit";
9
9
  import { addSelfFetchFunctions, addSelfPlanAndSendFunctions, } from "@solana/kit/program-client-core";
10
- import { getClaimBoardCodec, getCommitteeCodec, getConfigCodec, getIntentCodec, getMandateCodec, getMintCapCodec, getProfileCodec, getStandbyCodec, getUserStateCodec, } 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, parseAcceptAdminInstruction, parseAdvanceEpochInstruction, parseAdvanceInstruction, parseAdvanceNonceInstruction, parseBeginFillInstruction, parseCancelIntentInstruction, parseClaimJobInstruction, parseCloseIntentInstruction, parseCloseLegacyInstruction, parseCloseProfileInstruction, parseCreateCommitteeInstruction, parseCreateIntentByAgentInstruction, parseCreateIntentInstruction, parseCreateIntentSignedInstruction, parseCreateMandateInstruction, parseCreateProfileInstruction, parseDropClaimInstruction, parseEndFillInstruction, parseExpireIntentInstruction, parseFillAttestedCommitteeInstruction, parseFillAttestedInstruction, parseFillAttestedSplitCommitteeInstruction, parseFillAttestedSplitInstruction, parseFillIntentInstruction, parseInitConfigInstruction, parseInitUserInstruction, parseLeaveInstruction, parseLowerPauseInstruction, parseMigrateInstruction, parseOpenClaimsInstruction, parseProposeAdminInstruction, parseRaisePauseInstruction, parseRevokeMandateInstruction, parseSetCapsRequiredInstruction, parseSetCommitteeFloorInstruction, parseSetMintCapInstruction, parseSettleClaimsInstruction, parseStandByInstruction, parseUpdateConfigInstruction, parseUpdateEconomicsInstruction, parseUpdateProfileInstruction, } from "../instructions/index.js";
12
- import { findBoardPda, findCommitteePda, findConfigPda, findDelegatePda, findEntryPda, findMintCapPda, findProfilePda, findUserStatePda, findVaultPda, } from "../pdas/index.js";
10
+ import { getClaimBoardCodec, getClaimListCodec, getCommitteeCodec, getConfigCodec, getIntentCodec, getMandateCodec, getMintCapCodec, getProfileCodec, getStandbyCodec, getUserStateCodec, } 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, getExtendClaimantsInstructionAsync, getFillAttestedCommitteeInstructionAsync, getFillAttestedInstructionAsync, getFillAttestedSplitCommitteeInstructionAsync, getFillAttestedSplitInstructionAsync, getFillIntentInstructionAsync, getInitConfigInstructionAsync, getInitUserInstructionAsync, getLeaveInstructionAsync, getListClaimantsInstructionAsync, getLowerPauseInstruction, getMigrateInstruction, getOpenClaimsInstructionAsync, getOpenClaimsListedInstructionAsync, getProposeAdminInstruction, getRaisePauseInstruction, getRevokeMandateInstruction, getSetCapsRequiredInstruction, getSetCommitteeFloorInstruction, getSetMintCapInstructionAsync, getSettleClaimsInstructionAsync, getStandByInstructionAsync, getUpdateConfigInstruction, getUpdateEconomicsInstruction, getUpdateProfileInstructionAsync, parseAcceptAdminInstruction, parseAdvanceEpochInstruction, parseAdvanceInstruction, parseAdvanceNonceInstruction, parseBeginFillInstruction, parseCancelIntentInstruction, parseClaimJobInstruction, parseCloseIntentInstruction, parseCloseLegacyInstruction, parseCloseProfileInstruction, parseCreateCommitteeInstruction, parseCreateIntentByAgentInstruction, parseCreateIntentInstruction, parseCreateIntentSignedInstruction, parseCreateMandateInstruction, parseCreateProfileInstruction, parseDropClaimInstruction, parseEndFillInstruction, parseExpireIntentInstruction, parseExtendClaimantsInstruction, parseFillAttestedCommitteeInstruction, parseFillAttestedInstruction, parseFillAttestedSplitCommitteeInstruction, parseFillAttestedSplitInstruction, parseFillIntentInstruction, parseInitConfigInstruction, parseInitUserInstruction, parseLeaveInstruction, parseListClaimantsInstruction, parseLowerPauseInstruction, parseMigrateInstruction, parseOpenClaimsInstruction, parseOpenClaimsListedInstruction, parseProposeAdminInstruction, parseRaisePauseInstruction, parseRevokeMandateInstruction, parseSetCapsRequiredInstruction, parseSetCommitteeFloorInstruction, parseSetMintCapInstruction, parseSettleClaimsInstruction, parseStandByInstruction, parseUpdateConfigInstruction, parseUpdateEconomicsInstruction, parseUpdateProfileInstruction, } from "../instructions/index.js";
12
+ import { findBoardPda, findClaimListPda, findCommitteePda, findConfigPda, findDelegatePda, findEntryPda, findMintCapPda, findProfilePda, findUserStatePda, findVaultPda, } from "../pdas/index.js";
13
13
  export const INTENT_ENGINE_PROGRAM_ADDRESS = "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU";
14
14
  export const IntentEngineAccount = {
15
15
  0: "ClaimBoard",
16
- 1: "Committee",
17
- 2: "Config",
18
- 3: "Intent",
19
- 4: "Mandate",
20
- 5: "MintCap",
21
- 6: "Profile",
22
- 7: "Standby",
23
- 8: "UserState",
16
+ 1: "ClaimList",
17
+ 2: "Committee",
18
+ 3: "Config",
19
+ 4: "Intent",
20
+ 5: "Mandate",
21
+ 6: "MintCap",
22
+ 7: "Profile",
23
+ 8: "Standby",
24
+ 9: "UserState",
24
25
  ClaimBoard: 0,
25
- Committee: 1,
26
- Config: 2,
27
- Intent: 3,
28
- Mandate: 4,
29
- MintCap: 5,
30
- Profile: 6,
31
- Standby: 7,
32
- UserState: 8,
26
+ ClaimList: 1,
27
+ Committee: 2,
28
+ Config: 3,
29
+ Intent: 4,
30
+ Mandate: 5,
31
+ MintCap: 6,
32
+ Profile: 7,
33
+ Standby: 8,
34
+ UserState: 9,
33
35
  };
34
36
  export function identifyIntentEngineAccount(account) {
35
37
  const data = "data" in account ? account.data : account;
36
38
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([23, 21, 23, 22, 82, 109, 232, 161])), 0)) {
37
39
  return IntentEngineAccount.ClaimBoard;
38
40
  }
41
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([205, 68, 225, 42, 40, 17, 234, 224])), 0)) {
42
+ return IntentEngineAccount.ClaimList;
43
+ }
39
44
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([96, 136, 210, 244, 137, 110, 178, 104])), 0)) {
40
45
  return IntentEngineAccount.Committee;
41
46
  }
@@ -69,82 +74,84 @@ export const IntentEngineEvent = {
69
74
  3: "AgentPaid",
70
75
  4: "CapsRequiredSet",
71
76
  5: "ClaimDropped",
72
- 6: "ClaimsClosed",
73
- 7: "ClaimsOpened",
74
- 8: "CommitteeAttested",
75
- 9: "CommitteeCreated",
76
- 10: "CommitteeFloorSet",
77
- 11: "ConfigInitialized",
78
- 12: "ConfigUpdated",
79
- 13: "EconomicsUpdated",
80
- 14: "EpochAdvanced",
81
- 15: "FeeWithheld",
82
- 16: "FillBegun",
83
- 17: "FillEnded",
84
- 18: "IntentAttested",
85
- 19: "IntentCancelled",
86
- 20: "IntentClosed",
87
- 21: "IntentCreated",
88
- 22: "IntentExpired",
89
- 23: "IntentFilled",
90
- 24: "IntentSplit",
91
- 25: "JobClaimed",
92
- 26: "LegacyClosed",
93
- 27: "LineLeft",
94
- 28: "MandateClosed",
95
- 29: "MandateCreated",
96
- 30: "MandateUsed",
97
- 31: "MintCapSet",
98
- 32: "NonceAdvanced",
99
- 33: "PauseLowered",
100
- 34: "PauseRaised",
101
- 35: "ProfileClosed",
102
- 36: "ProfileSet",
103
- 37: "RelayerPaid",
104
- 38: "StakeMoved",
105
- 39: "StoodBy",
106
- 40: "UserInitialized",
77
+ 6: "ClaimantsListed",
78
+ 7: "ClaimsClosed",
79
+ 8: "ClaimsOpened",
80
+ 9: "CommitteeAttested",
81
+ 10: "CommitteeCreated",
82
+ 11: "CommitteeFloorSet",
83
+ 12: "ConfigInitialized",
84
+ 13: "ConfigUpdated",
85
+ 14: "EconomicsUpdated",
86
+ 15: "EpochAdvanced",
87
+ 16: "FeeWithheld",
88
+ 17: "FillBegun",
89
+ 18: "FillEnded",
90
+ 19: "IntentAttested",
91
+ 20: "IntentCancelled",
92
+ 21: "IntentClosed",
93
+ 22: "IntentCreated",
94
+ 23: "IntentExpired",
95
+ 24: "IntentFilled",
96
+ 25: "IntentSplit",
97
+ 26: "JobClaimed",
98
+ 27: "LegacyClosed",
99
+ 28: "LineLeft",
100
+ 29: "MandateClosed",
101
+ 30: "MandateCreated",
102
+ 31: "MandateUsed",
103
+ 32: "MintCapSet",
104
+ 33: "NonceAdvanced",
105
+ 34: "PauseLowered",
106
+ 35: "PauseRaised",
107
+ 36: "ProfileClosed",
108
+ 37: "ProfileSet",
109
+ 38: "RelayerPaid",
110
+ 39: "StakeMoved",
111
+ 40: "StoodBy",
112
+ 41: "UserInitialized",
107
113
  AccountMigrated: 0,
108
114
  AdminAccepted: 1,
109
115
  AdminProposed: 2,
110
116
  AgentPaid: 3,
111
117
  CapsRequiredSet: 4,
112
118
  ClaimDropped: 5,
113
- ClaimsClosed: 6,
114
- ClaimsOpened: 7,
115
- CommitteeAttested: 8,
116
- CommitteeCreated: 9,
117
- CommitteeFloorSet: 10,
118
- ConfigInitialized: 11,
119
- ConfigUpdated: 12,
120
- EconomicsUpdated: 13,
121
- EpochAdvanced: 14,
122
- FeeWithheld: 15,
123
- FillBegun: 16,
124
- FillEnded: 17,
125
- IntentAttested: 18,
126
- IntentCancelled: 19,
127
- IntentClosed: 20,
128
- IntentCreated: 21,
129
- IntentExpired: 22,
130
- IntentFilled: 23,
131
- IntentSplit: 24,
132
- JobClaimed: 25,
133
- LegacyClosed: 26,
134
- LineLeft: 27,
135
- MandateClosed: 28,
136
- MandateCreated: 29,
137
- MandateUsed: 30,
138
- MintCapSet: 31,
139
- NonceAdvanced: 32,
140
- PauseLowered: 33,
141
- PauseRaised: 34,
142
- ProfileClosed: 35,
143
- ProfileSet: 36,
144
- RelayerPaid: 37,
145
- StakeMoved: 38,
146
- StoodBy: 39,
147
- UserInitialized: 40,
119
+ ClaimantsListed: 6,
120
+ ClaimsClosed: 7,
121
+ ClaimsOpened: 8,
122
+ CommitteeAttested: 9,
123
+ CommitteeCreated: 10,
124
+ CommitteeFloorSet: 11,
125
+ ConfigInitialized: 12,
126
+ ConfigUpdated: 13,
127
+ EconomicsUpdated: 14,
128
+ EpochAdvanced: 15,
129
+ FeeWithheld: 16,
130
+ FillBegun: 17,
131
+ FillEnded: 18,
132
+ IntentAttested: 19,
133
+ IntentCancelled: 20,
134
+ IntentClosed: 21,
135
+ IntentCreated: 22,
136
+ IntentExpired: 23,
137
+ IntentFilled: 24,
138
+ IntentSplit: 25,
139
+ JobClaimed: 26,
140
+ LegacyClosed: 27,
141
+ LineLeft: 28,
142
+ MandateClosed: 29,
143
+ MandateCreated: 30,
144
+ MandateUsed: 31,
145
+ MintCapSet: 32,
146
+ NonceAdvanced: 33,
147
+ PauseLowered: 34,
148
+ PauseRaised: 35,
149
+ ProfileClosed: 36,
150
+ ProfileSet: 37,
151
+ RelayerPaid: 38,
152
+ StakeMoved: 39,
153
+ StoodBy: 40,
154
+ UserInitialized: 41,
148
155
  };
149
156
  export function identifyIntentEngineEvent(event) {
150
157
  const data = "data" in event ? event.data : event;
@@ -166,6 +173,9 @@ export function identifyIntentEngineEvent(event) {
166
173
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([171, 220, 49, 208, 172, 242, 71, 154])), 0)) {
167
174
  return IntentEngineEvent.ClaimDropped;
168
175
  }
176
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([146, 58, 61, 192, 43, 174, 203, 123])), 0)) {
177
+ return IntentEngineEvent.ClaimantsListed;
178
+ }
169
179
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([218, 185, 246, 42, 164, 178, 89, 108])), 0)) {
170
180
  return IntentEngineEvent.ClaimsClosed;
171
181
  }
@@ -293,28 +303,31 @@ export const IntentEngineInstruction = {
293
303
  16: "DropClaim",
294
304
  17: "EndFill",
295
305
  18: "ExpireIntent",
296
- 19: "FillAttested",
297
- 20: "FillAttestedCommittee",
298
- 21: "FillAttestedSplit",
299
- 22: "FillAttestedSplitCommittee",
300
- 23: "FillIntent",
301
- 24: "InitConfig",
302
- 25: "InitUser",
303
- 26: "Leave",
304
- 27: "LowerPause",
305
- 28: "Migrate",
306
- 29: "OpenClaims",
307
- 30: "ProposeAdmin",
308
- 31: "RaisePause",
309
- 32: "RevokeMandate",
310
- 33: "SetCapsRequired",
311
- 34: "SetCommitteeFloor",
312
- 35: "SetMintCap",
313
- 36: "SettleClaims",
314
- 37: "StandBy",
315
- 38: "UpdateConfig",
316
- 39: "UpdateEconomics",
317
- 40: "UpdateProfile",
306
+ 19: "ExtendClaimants",
307
+ 20: "FillAttested",
308
+ 21: "FillAttestedCommittee",
309
+ 22: "FillAttestedSplit",
310
+ 23: "FillAttestedSplitCommittee",
311
+ 24: "FillIntent",
312
+ 25: "InitConfig",
313
+ 26: "InitUser",
314
+ 27: "Leave",
315
+ 28: "ListClaimants",
316
+ 29: "LowerPause",
317
+ 30: "Migrate",
318
+ 31: "OpenClaims",
319
+ 32: "OpenClaimsListed",
320
+ 33: "ProposeAdmin",
321
+ 34: "RaisePause",
322
+ 35: "RevokeMandate",
323
+ 36: "SetCapsRequired",
324
+ 37: "SetCommitteeFloor",
325
+ 38: "SetMintCap",
326
+ 39: "SettleClaims",
327
+ 40: "StandBy",
328
+ 41: "UpdateConfig",
329
+ 42: "UpdateEconomics",
330
+ 43: "UpdateProfile",
318
331
  AcceptAdmin: 0,
319
332
  Advance: 1,
320
333
  AdvanceEpoch: 2,
@@ -334,28 +347,31 @@ export const IntentEngineInstruction = {
334
347
  DropClaim: 16,
335
348
  EndFill: 17,
336
349
  ExpireIntent: 18,
337
- FillAttested: 19,
338
- FillAttestedCommittee: 20,
339
- FillAttestedSplit: 21,
340
- FillAttestedSplitCommittee: 22,
341
- FillIntent: 23,
342
- InitConfig: 24,
343
- InitUser: 25,
344
- Leave: 26,
345
- LowerPause: 27,
346
- Migrate: 28,
347
- OpenClaims: 29,
348
- ProposeAdmin: 30,
349
- RaisePause: 31,
350
- RevokeMandate: 32,
351
- SetCapsRequired: 33,
352
- SetCommitteeFloor: 34,
353
- SetMintCap: 35,
354
- SettleClaims: 36,
355
- StandBy: 37,
356
- UpdateConfig: 38,
357
- UpdateEconomics: 39,
358
- UpdateProfile: 40,
350
+ ExtendClaimants: 19,
351
+ FillAttested: 20,
352
+ FillAttestedCommittee: 21,
353
+ FillAttestedSplit: 22,
354
+ FillAttestedSplitCommittee: 23,
355
+ FillIntent: 24,
356
+ InitConfig: 25,
357
+ InitUser: 26,
358
+ Leave: 27,
359
+ ListClaimants: 28,
360
+ LowerPause: 29,
361
+ Migrate: 30,
362
+ OpenClaims: 31,
363
+ OpenClaimsListed: 32,
364
+ ProposeAdmin: 33,
365
+ RaisePause: 34,
366
+ RevokeMandate: 35,
367
+ SetCapsRequired: 36,
368
+ SetCommitteeFloor: 37,
369
+ SetMintCap: 38,
370
+ SettleClaims: 39,
371
+ StandBy: 40,
372
+ UpdateConfig: 41,
373
+ UpdateEconomics: 42,
374
+ UpdateProfile: 43,
359
375
  };
360
376
  export function identifyIntentEngineInstruction(instruction) {
361
377
  const data = "data" in instruction ? instruction.data : instruction;
@@ -416,6 +432,9 @@ export function identifyIntentEngineInstruction(instruction) {
416
432
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([45, 84, 232, 199, 147, 164, 53, 97])), 0)) {
417
433
  return IntentEngineInstruction.ExpireIntent;
418
434
  }
435
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([167, 198, 71, 145, 207, 75, 8, 218])), 0)) {
436
+ return IntentEngineInstruction.ExtendClaimants;
437
+ }
419
438
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([241, 100, 218, 154, 206, 21, 102, 122])), 0)) {
420
439
  return IntentEngineInstruction.FillAttested;
421
440
  }
@@ -440,6 +459,9 @@ export function identifyIntentEngineInstruction(instruction) {
440
459
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([59, 234, 148, 108, 107, 149, 173, 112])), 0)) {
441
460
  return IntentEngineInstruction.Leave;
442
461
  }
462
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([141, 9, 120, 20, 17, 243, 224, 62])), 0)) {
463
+ return IntentEngineInstruction.ListClaimants;
464
+ }
443
465
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([162, 105, 90, 233, 47, 43, 98, 41])), 0)) {
444
466
  return IntentEngineInstruction.LowerPause;
445
467
  }
@@ -449,6 +471,9 @@ export function identifyIntentEngineInstruction(instruction) {
449
471
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([111, 108, 90, 115, 178, 90, 24, 228])), 0)) {
450
472
  return IntentEngineInstruction.OpenClaims;
451
473
  }
474
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([240, 197, 105, 76, 62, 110, 154, 3])), 0)) {
475
+ return IntentEngineInstruction.OpenClaimsListed;
476
+ }
452
477
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([121, 214, 199, 212, 87, 39, 117, 234])), 0)) {
453
478
  return IntentEngineInstruction.ProposeAdmin;
454
479
  }
@@ -620,6 +645,13 @@ export function parseIntentEngineInstruction(instruction) {
620
645
  ...parseExpireIntentInstruction(instruction),
621
646
  };
622
647
  }
648
+ case IntentEngineInstruction.ExtendClaimants: {
649
+ assertIsInstructionWithAccounts(instruction);
650
+ return {
651
+ instructionType: IntentEngineInstruction.ExtendClaimants,
652
+ ...parseExtendClaimantsInstruction(instruction),
653
+ };
654
+ }
623
655
  case IntentEngineInstruction.FillAttested: {
624
656
  assertIsInstructionWithAccounts(instruction);
625
657
  return {
@@ -676,6 +708,13 @@ export function parseIntentEngineInstruction(instruction) {
676
708
  ...parseLeaveInstruction(instruction),
677
709
  };
678
710
  }
711
+ case IntentEngineInstruction.ListClaimants: {
712
+ assertIsInstructionWithAccounts(instruction);
713
+ return {
714
+ instructionType: IntentEngineInstruction.ListClaimants,
715
+ ...parseListClaimantsInstruction(instruction),
716
+ };
717
+ }
679
718
  case IntentEngineInstruction.LowerPause: {
680
719
  assertIsInstructionWithAccounts(instruction);
681
720
  return {
@@ -697,6 +736,13 @@ export function parseIntentEngineInstruction(instruction) {
697
736
  ...parseOpenClaimsInstruction(instruction),
698
737
  };
699
738
  }
739
+ case IntentEngineInstruction.OpenClaimsListed: {
740
+ assertIsInstructionWithAccounts(instruction);
741
+ return {
742
+ instructionType: IntentEngineInstruction.OpenClaimsListed,
743
+ ...parseOpenClaimsListedInstruction(instruction),
744
+ };
745
+ }
700
746
  case IntentEngineInstruction.ProposeAdmin: {
701
747
  assertIsInstructionWithAccounts(instruction);
702
748
  return {
@@ -787,6 +833,7 @@ export function intentEngineProgram() {
787
833
  intentEngine: {
788
834
  accounts: {
789
835
  claimBoard: addSelfFetchFunctions(client, getClaimBoardCodec()),
836
+ claimList: addSelfFetchFunctions(client, getClaimListCodec()),
790
837
  committee: addSelfFetchFunctions(client, getCommitteeCodec()),
791
838
  config: addSelfFetchFunctions(client, getConfigCodec()),
792
839
  intent: addSelfFetchFunctions(client, getIntentCodec()),
@@ -822,6 +869,7 @@ export function intentEngineProgram() {
822
869
  dropClaim: (input) => addSelfPlanAndSendFunctions(client, getDropClaimInstructionAsync(input)),
823
870
  endFill: (input) => addSelfPlanAndSendFunctions(client, getEndFillInstruction(input)),
824
871
  expireIntent: (input) => addSelfPlanAndSendFunctions(client, getExpireIntentInstructionAsync(input)),
872
+ extendClaimants: (input) => addSelfPlanAndSendFunctions(client, getExtendClaimantsInstructionAsync(input)),
825
873
  fillAttested: (input) => addSelfPlanAndSendFunctions(client, getFillAttestedInstructionAsync(input)),
826
874
  fillAttestedCommittee: (input) => addSelfPlanAndSendFunctions(client, getFillAttestedCommitteeInstructionAsync(input)),
827
875
  fillAttestedSplit: (input) => addSelfPlanAndSendFunctions(client, getFillAttestedSplitInstructionAsync(input)),
@@ -830,12 +878,14 @@ export function intentEngineProgram() {
830
878
  initConfig: (input) => addSelfPlanAndSendFunctions(client, getInitConfigInstructionAsync(input)),
831
879
  initUser: (input) => addSelfPlanAndSendFunctions(client, getInitUserInstructionAsync(input)),
832
880
  leave: (input) => addSelfPlanAndSendFunctions(client, getLeaveInstructionAsync(input)),
881
+ listClaimants: (input) => addSelfPlanAndSendFunctions(client, getListClaimantsInstructionAsync(input)),
833
882
  lowerPause: (input) => addSelfPlanAndSendFunctions(client, getLowerPauseInstruction(input)),
834
883
  migrate: (input) => addSelfPlanAndSendFunctions(client, getMigrateInstruction({
835
884
  ...input,
836
885
  payer: input.payer ?? client.payer,
837
886
  })),
838
887
  openClaims: (input) => addSelfPlanAndSendFunctions(client, getOpenClaimsInstructionAsync(input)),
888
+ openClaimsListed: (input) => addSelfPlanAndSendFunctions(client, getOpenClaimsListedInstructionAsync(input)),
839
889
  proposeAdmin: (input) => addSelfPlanAndSendFunctions(client, getProposeAdminInstruction(input)),
840
890
  raisePause: (input) => addSelfPlanAndSendFunctions(client, getRaisePauseInstruction(input)),
841
891
  revokeMandate: (input) => addSelfPlanAndSendFunctions(client, getRevokeMandateInstruction(input)),
@@ -858,6 +908,7 @@ export function intentEngineProgram() {
858
908
  profile: findProfilePda,
859
909
  committee: findCommitteePda,
860
910
  delegate: findDelegatePda,
911
+ claimList: findClaimListPda,
861
912
  config: findConfigPda,
862
913
  entry: findEntryPda,
863
914
  mintCap: findMintCapPda,