@intent-engine/core 0.1.26 → 0.1.28

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 (182) hide show
  1. package/dist/generated/client/accounts/claimBoard.d.ts +50 -0
  2. package/dist/generated/client/accounts/claimBoard.js +77 -0
  3. package/dist/generated/client/accounts/claimBoard.js.map +1 -0
  4. package/dist/generated/client/accounts/committee.d.ts +48 -0
  5. package/dist/generated/client/accounts/committee.js +75 -0
  6. package/dist/generated/client/accounts/committee.js.map +1 -0
  7. package/dist/generated/client/accounts/config.d.ts +2 -0
  8. package/dist/generated/client/accounts/config.js +4 -2
  9. package/dist/generated/client/accounts/config.js.map +1 -1
  10. package/dist/generated/client/accounts/index.d.ts +4 -0
  11. package/dist/generated/client/accounts/index.js +4 -0
  12. package/dist/generated/client/accounts/index.js.map +1 -1
  13. package/dist/generated/client/accounts/intent.d.ts +2 -0
  14. package/dist/generated/client/accounts/intent.js +4 -2
  15. package/dist/generated/client/accounts/intent.js.map +1 -1
  16. package/dist/generated/client/accounts/mintCap.d.ts +48 -0
  17. package/dist/generated/client/accounts/mintCap.js +75 -0
  18. package/dist/generated/client/accounts/mintCap.js.map +1 -0
  19. package/dist/generated/client/accounts/profile.d.ts +48 -0
  20. package/dist/generated/client/accounts/profile.js +81 -0
  21. package/dist/generated/client/accounts/profile.js.map +1 -0
  22. package/dist/generated/client/errors/intentEngine.d.ts +31 -1
  23. package/dist/generated/client/errors/intentEngine.js +45 -0
  24. package/dist/generated/client/errors/intentEngine.js.map +1 -1
  25. package/dist/generated/client/events/capsRequiredSet.d.ts +22 -0
  26. package/dist/generated/client/events/capsRequiredSet.js +32 -0
  27. package/dist/generated/client/events/capsRequiredSet.js.map +1 -0
  28. package/dist/generated/client/events/claimDropped.d.ts +28 -0
  29. package/dist/generated/client/events/claimDropped.js +40 -0
  30. package/dist/generated/client/events/claimDropped.js.map +1 -0
  31. package/dist/generated/client/events/claimsClosed.d.ts +23 -0
  32. package/dist/generated/client/events/claimsClosed.js +38 -0
  33. package/dist/generated/client/events/claimsClosed.js.map +1 -0
  34. package/dist/generated/client/events/claimsOpened.d.ts +30 -0
  35. package/dist/generated/client/events/claimsOpened.js +42 -0
  36. package/dist/generated/client/events/claimsOpened.js.map +1 -0
  37. package/dist/generated/client/events/committeeAttested.d.ts +24 -0
  38. package/dist/generated/client/events/committeeAttested.js +40 -0
  39. package/dist/generated/client/events/committeeAttested.js.map +1 -0
  40. package/dist/generated/client/events/committeeCreated.d.ts +25 -0
  41. package/dist/generated/client/events/committeeCreated.js +42 -0
  42. package/dist/generated/client/events/committeeCreated.js.map +1 -0
  43. package/dist/generated/client/events/index.d.ts +11 -0
  44. package/dist/generated/client/events/index.js +11 -0
  45. package/dist/generated/client/events/index.js.map +1 -1
  46. package/dist/generated/client/events/jobClaimed.d.ts +30 -0
  47. package/dist/generated/client/events/jobClaimed.js +42 -0
  48. package/dist/generated/client/events/jobClaimed.js.map +1 -0
  49. package/dist/generated/client/events/mintCapSet.d.ts +36 -0
  50. package/dist/generated/client/events/mintCapSet.js +48 -0
  51. package/dist/generated/client/events/mintCapSet.js.map +1 -0
  52. package/dist/generated/client/events/profileClosed.d.ts +22 -0
  53. package/dist/generated/client/events/profileClosed.js +32 -0
  54. package/dist/generated/client/events/profileClosed.js.map +1 -0
  55. package/dist/generated/client/events/profileSet.d.ts +26 -0
  56. package/dist/generated/client/events/profileSet.js +50 -0
  57. package/dist/generated/client/events/profileSet.js.map +1 -0
  58. package/dist/generated/client/events/stakeMoved.d.ts +32 -0
  59. package/dist/generated/client/events/stakeMoved.js +44 -0
  60. package/dist/generated/client/events/stakeMoved.js.map +1 -0
  61. package/dist/generated/client/instructions/claimJob.d.ts +72 -0
  62. package/dist/generated/client/instructions/claimJob.js +163 -0
  63. package/dist/generated/client/instructions/claimJob.js.map +1 -0
  64. package/dist/generated/client/instructions/closeProfile.d.ts +55 -0
  65. package/dist/generated/client/instructions/closeProfile.js +131 -0
  66. package/dist/generated/client/instructions/closeProfile.js.map +1 -0
  67. package/dist/generated/client/instructions/createCommittee.d.ts +76 -0
  68. package/dist/generated/client/instructions/createCommittee.js +163 -0
  69. package/dist/generated/client/instructions/createCommittee.js.map +1 -0
  70. package/dist/generated/client/instructions/createIntent.d.ts +13 -9
  71. package/dist/generated/client/instructions/createIntent.js +21 -2
  72. package/dist/generated/client/instructions/createIntent.js.map +1 -1
  73. package/dist/generated/client/instructions/createIntentByAgent.d.ts +13 -9
  74. package/dist/generated/client/instructions/createIntentByAgent.js +21 -2
  75. package/dist/generated/client/instructions/createIntentByAgent.js.map +1 -1
  76. package/dist/generated/client/instructions/createIntentSigned.d.ts +13 -9
  77. package/dist/generated/client/instructions/createIntentSigned.js +15 -2
  78. package/dist/generated/client/instructions/createIntentSigned.js.map +1 -1
  79. package/dist/generated/client/instructions/createProfile.d.ts +65 -0
  80. package/dist/generated/client/instructions/createProfile.js +162 -0
  81. package/dist/generated/client/instructions/createProfile.js.map +1 -0
  82. package/dist/generated/client/instructions/dropClaim.d.ts +59 -0
  83. package/dist/generated/client/instructions/dropClaim.js +128 -0
  84. package/dist/generated/client/instructions/dropClaim.js.map +1 -0
  85. package/dist/generated/client/instructions/fillAttested.d.ts +17 -9
  86. package/dist/generated/client/instructions/fillAttested.js +20 -2
  87. package/dist/generated/client/instructions/fillAttested.js.map +1 -1
  88. package/dist/generated/client/instructions/fillAttestedCommittee.d.ts +124 -0
  89. package/dist/generated/client/instructions/fillAttestedCommittee.js +271 -0
  90. package/dist/generated/client/instructions/fillAttestedCommittee.js.map +1 -0
  91. package/dist/generated/client/instructions/fillAttestedSplit.d.ts +22 -17
  92. package/dist/generated/client/instructions/fillAttestedSplit.js +24 -7
  93. package/dist/generated/client/instructions/fillAttestedSplit.js.map +1 -1
  94. package/dist/generated/client/instructions/fillAttestedSplitCommittee.d.ts +157 -0
  95. package/dist/generated/client/instructions/fillAttestedSplitCommittee.js +373 -0
  96. package/dist/generated/client/instructions/fillAttestedSplitCommittee.js.map +1 -0
  97. package/dist/generated/client/instructions/index.d.ts +12 -0
  98. package/dist/generated/client/instructions/index.js +12 -0
  99. package/dist/generated/client/instructions/index.js.map +1 -1
  100. package/dist/generated/client/instructions/openClaims.d.ts +72 -0
  101. package/dist/generated/client/instructions/openClaims.js +160 -0
  102. package/dist/generated/client/instructions/openClaims.js.map +1 -0
  103. package/dist/generated/client/instructions/setCapsRequired.d.ts +50 -0
  104. package/dist/generated/client/instructions/setCapsRequired.js +93 -0
  105. package/dist/generated/client/instructions/setCapsRequired.js.map +1 -0
  106. package/dist/generated/client/instructions/setMintCap.d.ts +84 -0
  107. package/dist/generated/client/instructions/setMintCap.js +188 -0
  108. package/dist/generated/client/instructions/setMintCap.js.map +1 -0
  109. package/dist/generated/client/instructions/settleClaims.d.ts +63 -0
  110. package/dist/generated/client/instructions/settleClaims.js +139 -0
  111. package/dist/generated/client/instructions/settleClaims.js.map +1 -0
  112. package/dist/generated/client/instructions/updateProfile.d.ts +61 -0
  113. package/dist/generated/client/instructions/updateProfile.js +140 -0
  114. package/dist/generated/client/instructions/updateProfile.js.map +1 -0
  115. package/dist/generated/client/pdas/board.d.ts +14 -0
  116. package/dist/generated/client/pdas/board.js +19 -0
  117. package/dist/generated/client/pdas/board.js.map +1 -0
  118. package/dist/generated/client/pdas/committee.d.ts +14 -0
  119. package/dist/generated/client/pdas/committee.js +19 -0
  120. package/dist/generated/client/pdas/committee.js.map +1 -0
  121. package/dist/generated/client/pdas/index.d.ts +4 -0
  122. package/dist/generated/client/pdas/index.js +4 -0
  123. package/dist/generated/client/pdas/index.js.map +1 -1
  124. package/dist/generated/client/pdas/mintCap.d.ts +14 -0
  125. package/dist/generated/client/pdas/mintCap.js +19 -0
  126. package/dist/generated/client/pdas/mintCap.js.map +1 -0
  127. package/dist/generated/client/pdas/profile.d.ts +14 -0
  128. package/dist/generated/client/pdas/profile.js +19 -0
  129. package/dist/generated/client/pdas/profile.js.map +1 -0
  130. package/dist/generated/client/programs/intentEngine.d.ts +190 -92
  131. package/dist/generated/client/programs/intentEngine.js +336 -91
  132. package/dist/generated/client/programs/intentEngine.js.map +1 -1
  133. package/dist/generated/client/types/index.d.ts +2 -0
  134. package/dist/generated/client/types/index.js +2 -0
  135. package/dist/generated/client/types/index.js.map +1 -1
  136. package/dist/generated/client/types/profileFields.d.ts +18 -0
  137. package/dist/generated/client/types/profileFields.js +34 -0
  138. package/dist/generated/client/types/profileFields.js.map +1 -0
  139. package/dist/generated/client/types/splitClaim.d.ts +16 -0
  140. package/dist/generated/client/types/splitClaim.js +24 -0
  141. package/dist/generated/client/types/splitClaim.js.map +1 -0
  142. package/dist/src/builders.d.ts +1 -1
  143. package/dist/src/builders.js +1 -1
  144. package/dist/src/builders.js.map +1 -1
  145. package/dist/src/claims.d.ts +47 -0
  146. package/dist/src/claims.js +69 -0
  147. package/dist/src/claims.js.map +1 -0
  148. package/dist/src/committee.d.ts +40 -0
  149. package/dist/src/committee.js +145 -0
  150. package/dist/src/committee.js.map +1 -0
  151. package/dist/src/describe.d.ts +1 -0
  152. package/dist/src/describe.js +3 -0
  153. package/dist/src/describe.js.map +1 -1
  154. package/dist/src/errors.d.ts +1 -1
  155. package/dist/src/errors.js +5 -0
  156. package/dist/src/errors.js.map +1 -1
  157. package/dist/src/events.d.ts +12 -1
  158. package/dist/src/events.js +15 -1
  159. package/dist/src/events.js.map +1 -1
  160. package/dist/src/fill-builders.d.ts +15 -3
  161. package/dist/src/fill-builders.js +37 -53
  162. package/dist/src/fill-builders.js.map +1 -1
  163. package/dist/src/index.d.ts +4 -0
  164. package/dist/src/index.js +4 -0
  165. package/dist/src/index.js.map +1 -1
  166. package/dist/src/intent-builders.d.ts +7 -3
  167. package/dist/src/intent-builders.js +11 -4
  168. package/dist/src/intent-builders.js.map +1 -1
  169. package/dist/src/memo.d.ts +9 -0
  170. package/dist/src/memo.js +28 -0
  171. package/dist/src/memo.js.map +1 -1
  172. package/dist/src/mint-caps.d.ts +31 -0
  173. package/dist/src/mint-caps.js +73 -0
  174. package/dist/src/mint-caps.js.map +1 -0
  175. package/dist/src/profile.d.ts +30 -0
  176. package/dist/src/profile.js +71 -0
  177. package/dist/src/profile.js.map +1 -0
  178. package/dist/src/state.d.ts +3 -0
  179. package/dist/src/state.js +5 -0
  180. package/dist/src/state.js.map +1 -1
  181. package/generated/idl.json +1990 -63
  182. package/package.json +3 -3
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { getAddressEncoder, getBytesEncoder, getProgramDerivedAddress, } from "@solana/kit";
9
+ export async function findBoardPda(seeds, config = {}) {
10
+ const { programAddress = "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", } = config;
11
+ return await getProgramDerivedAddress({
12
+ programAddress,
13
+ seeds: [
14
+ getBytesEncoder().encode(new Uint8Array([99, 108, 97, 105, 109, 115])),
15
+ getAddressEncoder().encode(seeds.intent),
16
+ ],
17
+ });
18
+ }
19
+ //# sourceMappingURL=board.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"board.js","sourceRoot":"","sources":["../../../../generated/client/pdas/board.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,wBAAwB,GAGzB,MAAM,aAAa,CAAC;AAMrB,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,KAAiB,EACjB,MAAM,GAA6C,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CAAC,IAAI,UAAU,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACtE,iBAAiB,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;SACzC;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type ProgramDerivedAddress, type ReadonlyUint8Array } from "@solana/kit";
9
+ export type CommitteeSeeds = {
10
+ id: ReadonlyUint8Array;
11
+ };
12
+ export declare function findCommitteePda(seeds: CommitteeSeeds, config?: {
13
+ programAddress?: Address | undefined;
14
+ }): Promise<ProgramDerivedAddress>;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { fixEncoderSize, getBytesEncoder, getProgramDerivedAddress, } from "@solana/kit";
9
+ export async function findCommitteePda(seeds, config = {}) {
10
+ const { programAddress = "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", } = config;
11
+ return await getProgramDerivedAddress({
12
+ programAddress,
13
+ seeds: [
14
+ getBytesEncoder().encode(new Uint8Array([99, 111, 109, 109, 105, 116, 116, 101, 101])),
15
+ fixEncoderSize(getBytesEncoder(), 32).encode(seeds.id),
16
+ ],
17
+ });
18
+ }
19
+ //# sourceMappingURL=committee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"committee.js","sourceRoot":"","sources":["../../../../generated/client/pdas/committee.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,cAAc,EACd,eAAe,EACf,wBAAwB,GAIzB,MAAM,aAAa,CAAC;AAMrB,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,KAAqB,EACrB,MAAM,GAA6C,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CACtB,IAAI,UAAU,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAC7D;YACD,cAAc,CAAC,eAAe,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;SACvD;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -5,7 +5,11 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
+ export * from "./board.js";
9
+ export * from "./committee.js";
8
10
  export * from "./config.js";
9
11
  export * from "./delegate.js";
12
+ export * from "./mintCap.js";
13
+ export * from "./profile.js";
10
14
  export * from "./userState.js";
11
15
  export * from "./vault.js";
@@ -5,8 +5,12 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
+ export * from "./board.js";
9
+ export * from "./committee.js";
8
10
  export * from "./config.js";
9
11
  export * from "./delegate.js";
12
+ export * from "./mintCap.js";
13
+ export * from "./profile.js";
10
14
  export * from "./userState.js";
11
15
  export * from "./vault.js";
12
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../generated/client/pdas/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../generated/client/pdas/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type ProgramDerivedAddress } from "@solana/kit";
9
+ export type MintCapSeeds = {
10
+ mint: Address;
11
+ };
12
+ export declare function findMintCapPda(seeds: MintCapSeeds, config?: {
13
+ programAddress?: Address | undefined;
14
+ }): Promise<ProgramDerivedAddress>;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { getAddressEncoder, getBytesEncoder, getProgramDerivedAddress, } from "@solana/kit";
9
+ export async function findMintCapPda(seeds, config = {}) {
10
+ const { programAddress = "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", } = config;
11
+ return await getProgramDerivedAddress({
12
+ programAddress,
13
+ seeds: [
14
+ getBytesEncoder().encode(new Uint8Array([109, 105, 110, 116, 95, 99, 97, 112])),
15
+ getAddressEncoder().encode(seeds.mint),
16
+ ],
17
+ });
18
+ }
19
+ //# sourceMappingURL=mintCap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintCap.js","sourceRoot":"","sources":["../../../../generated/client/pdas/mintCap.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,wBAAwB,GAGzB,MAAM,aAAa,CAAC;AAMrB,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,KAAmB,EACnB,MAAM,GAA6C,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CACtB,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC,CACtD;YACD,iBAAiB,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC;SACvC;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type ProgramDerivedAddress } from "@solana/kit";
9
+ export type ProfileSeeds = {
10
+ wallet: Address;
11
+ };
12
+ export declare function findProfilePda(seeds: ProfileSeeds, config?: {
13
+ programAddress?: Address | undefined;
14
+ }): Promise<ProgramDerivedAddress>;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { getAddressEncoder, getBytesEncoder, getProgramDerivedAddress, } from "@solana/kit";
9
+ export async function findProfilePda(seeds, config = {}) {
10
+ const { programAddress = "GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU", } = config;
11
+ return await getProgramDerivedAddress({
12
+ programAddress,
13
+ seeds: [
14
+ getBytesEncoder().encode(new Uint8Array([112, 114, 111, 102, 105, 108, 101])),
15
+ getAddressEncoder().encode(seeds.wallet),
16
+ ],
17
+ });
18
+ }
19
+ //# sourceMappingURL=profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../generated/client/pdas/profile.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,wBAAwB,GAGzB,MAAM,aAAa,CAAC;AAMrB,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,KAAmB,EACnB,MAAM,GAA6C,EAAE;IAErD,MAAM,EACJ,cAAc,GAAG,8CAAyG,GAC3H,GAAG,MAAM,CAAC;IACX,OAAO,MAAM,wBAAwB,CAAC;QACpC,cAAc;QACd,KAAK,EAAE;YACL,eAAe,EAAE,CAAC,MAAM,CACtB,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CACpD;YACD,iBAAiB,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;SACzC;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -7,19 +7,27 @@
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 { getConfigCodec, getIntentCodec, getMandateCodec, getUserStateCodec, type Config, type ConfigArgs, type Intent, type IntentArgs, type Mandate, type MandateArgs, type UserState, type UserStateArgs } from "../accounts/index.js";
11
- import { getAcceptAdminInstruction, getAdvanceEpochInstructionAsync, getAdvanceNonceInstructionAsync, getBeginFillInstructionAsync, getCancelIntentInstructionAsync, getCloseIntentInstructionAsync, getCreateIntentByAgentInstructionAsync, getCreateIntentInstructionAsync, getCreateIntentSignedInstructionAsync, getCreateMandateInstructionAsync, getEndFillInstruction, getExpireIntentInstructionAsync, getFillAttestedInstructionAsync, getFillAttestedSplitInstructionAsync, getFillIntentInstructionAsync, getInitConfigInstructionAsync, getInitUserInstructionAsync, getLowerPauseInstruction, getProposeAdminInstruction, getRaisePauseInstruction, getRevokeMandateInstruction, getUpdateConfigInstruction, getUpdateEconomicsInstruction, type AcceptAdminInput, type AdvanceEpochAsyncInput, type AdvanceNonceAsyncInput, type BeginFillAsyncInput, type CancelIntentAsyncInput, type CloseIntentAsyncInput, type CreateIntentAsyncInput, type CreateIntentByAgentAsyncInput, type CreateIntentSignedAsyncInput, type CreateMandateAsyncInput, type EndFillInput, type ExpireIntentAsyncInput, type FillAttestedAsyncInput, type FillAttestedSplitAsyncInput, type FillIntentAsyncInput, type InitConfigAsyncInput, type InitUserAsyncInput, type LowerPauseInput, type ParsedAcceptAdminInstruction, type ParsedAdvanceEpochInstruction, type ParsedAdvanceNonceInstruction, type ParsedBeginFillInstruction, type ParsedCancelIntentInstruction, type ParsedCloseIntentInstruction, type ParsedCreateIntentByAgentInstruction, type ParsedCreateIntentInstruction, type ParsedCreateIntentSignedInstruction, type ParsedCreateMandateInstruction, type ParsedEndFillInstruction, type ParsedExpireIntentInstruction, type ParsedFillAttestedInstruction, type ParsedFillAttestedSplitInstruction, type ParsedFillIntentInstruction, type ParsedInitConfigInstruction, type ParsedInitUserInstruction, type ParsedLowerPauseInstruction, type ParsedProposeAdminInstruction, type ParsedRaisePauseInstruction, type ParsedRevokeMandateInstruction, type ParsedUpdateConfigInstruction, type ParsedUpdateEconomicsInstruction, type ProposeAdminInput, type RaisePauseInput, type RevokeMandateInput, type UpdateConfigInput, type UpdateEconomicsInput } from "../instructions/index.js";
12
- import { findConfigPda, findDelegatePda, findUserStatePda, findVaultPda } from "../pdas/index.js";
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";
13
13
  export declare const INTENT_ENGINE_PROGRAM_ADDRESS: Address<"GHFB9q4fhhqRyCoycoivdxMhFkp1aLHJk5VvroUsgrJU">;
14
14
  export declare const IntentEngineAccount: {
15
- readonly 0: "Config";
16
- readonly 1: "Intent";
17
- readonly 2: "Mandate";
18
- readonly 3: "UserState";
19
- readonly Config: 0;
20
- readonly Intent: 1;
21
- readonly Mandate: 2;
22
- readonly UserState: 3;
15
+ readonly 0: "ClaimBoard";
16
+ readonly 1: "Committee";
17
+ readonly 2: "Config";
18
+ readonly 3: "Intent";
19
+ readonly 4: "Mandate";
20
+ readonly 5: "MintCap";
21
+ readonly 6: "Profile";
22
+ readonly 7: "UserState";
23
+ readonly ClaimBoard: 0;
24
+ readonly Committee: 1;
25
+ readonly Config: 2;
26
+ readonly Intent: 3;
27
+ readonly Mandate: 4;
28
+ readonly MintCap: 5;
29
+ readonly Profile: 6;
30
+ readonly UserState: 7;
23
31
  };
24
32
  export type IntentEngineAccount = (typeof IntentEngineAccount)[Exclude<keyof typeof IntentEngineAccount, number>];
25
33
  export declare function identifyIntentEngineAccount(account: {
@@ -29,53 +37,75 @@ export declare const IntentEngineEvent: {
29
37
  readonly 0: "AdminAccepted";
30
38
  readonly 1: "AdminProposed";
31
39
  readonly 2: "AgentPaid";
32
- readonly 3: "ConfigInitialized";
33
- readonly 4: "ConfigUpdated";
34
- readonly 5: "EconomicsUpdated";
35
- readonly 6: "EpochAdvanced";
36
- readonly 7: "FeeWithheld";
37
- readonly 8: "FillBegun";
38
- readonly 9: "FillEnded";
39
- readonly 10: "IntentAttested";
40
- readonly 11: "IntentCancelled";
41
- readonly 12: "IntentClosed";
42
- readonly 13: "IntentCreated";
43
- readonly 14: "IntentExpired";
44
- readonly 15: "IntentFilled";
45
- readonly 16: "IntentSplit";
46
- readonly 17: "MandateClosed";
47
- readonly 18: "MandateCreated";
48
- readonly 19: "MandateUsed";
49
- readonly 20: "NonceAdvanced";
50
- readonly 21: "PauseLowered";
51
- readonly 22: "PauseRaised";
52
- readonly 23: "RelayerPaid";
53
- readonly 24: "UserInitialized";
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";
54
73
  readonly AdminAccepted: 0;
55
74
  readonly AdminProposed: 1;
56
75
  readonly AgentPaid: 2;
57
- readonly ConfigInitialized: 3;
58
- readonly ConfigUpdated: 4;
59
- readonly EconomicsUpdated: 5;
60
- readonly EpochAdvanced: 6;
61
- readonly FeeWithheld: 7;
62
- readonly FillBegun: 8;
63
- readonly FillEnded: 9;
64
- readonly IntentAttested: 10;
65
- readonly IntentCancelled: 11;
66
- readonly IntentClosed: 12;
67
- readonly IntentCreated: 13;
68
- readonly IntentExpired: 14;
69
- readonly IntentFilled: 15;
70
- readonly IntentSplit: 16;
71
- readonly MandateClosed: 17;
72
- readonly MandateCreated: 18;
73
- readonly MandateUsed: 19;
74
- readonly NonceAdvanced: 20;
75
- readonly PauseLowered: 21;
76
- readonly PauseRaised: 22;
77
- readonly RelayerPaid: 23;
78
- readonly UserInitialized: 24;
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;
79
109
  };
80
110
  export type IntentEngineEvent = (typeof IntentEngineEvent)[Exclude<keyof typeof IntentEngineEvent, number>];
81
111
  export declare function identifyIntentEngineEvent(event: {
@@ -87,47 +117,71 @@ export declare const IntentEngineInstruction: {
87
117
  readonly 2: "AdvanceNonce";
88
118
  readonly 3: "BeginFill";
89
119
  readonly 4: "CancelIntent";
90
- readonly 5: "CloseIntent";
91
- readonly 6: "CreateIntent";
92
- readonly 7: "CreateIntentByAgent";
93
- readonly 8: "CreateIntentSigned";
94
- readonly 9: "CreateMandate";
95
- readonly 10: "EndFill";
96
- readonly 11: "ExpireIntent";
97
- readonly 12: "FillAttested";
98
- readonly 13: "FillAttestedSplit";
99
- readonly 14: "FillIntent";
100
- readonly 15: "InitConfig";
101
- readonly 16: "InitUser";
102
- readonly 17: "LowerPause";
103
- readonly 18: "ProposeAdmin";
104
- readonly 19: "RaisePause";
105
- readonly 20: "RevokeMandate";
106
- readonly 21: "UpdateConfig";
107
- readonly 22: "UpdateEconomics";
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";
108
150
  readonly AcceptAdmin: 0;
109
151
  readonly AdvanceEpoch: 1;
110
152
  readonly AdvanceNonce: 2;
111
153
  readonly BeginFill: 3;
112
154
  readonly CancelIntent: 4;
113
- readonly CloseIntent: 5;
114
- readonly CreateIntent: 6;
115
- readonly CreateIntentByAgent: 7;
116
- readonly CreateIntentSigned: 8;
117
- readonly CreateMandate: 9;
118
- readonly EndFill: 10;
119
- readonly ExpireIntent: 11;
120
- readonly FillAttested: 12;
121
- readonly FillAttestedSplit: 13;
122
- readonly FillIntent: 14;
123
- readonly InitConfig: 15;
124
- readonly InitUser: 16;
125
- readonly LowerPause: 17;
126
- readonly ProposeAdmin: 18;
127
- readonly RaisePause: 19;
128
- readonly RevokeMandate: 20;
129
- readonly UpdateConfig: 21;
130
- readonly UpdateEconomics: 22;
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;
131
185
  };
132
186
  export type IntentEngineInstruction = (typeof IntentEngineInstruction)[Exclude<keyof typeof IntentEngineInstruction, number>];
133
187
  export declare function identifyIntentEngineInstruction(instruction: {
@@ -144,8 +198,14 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
144
198
  } & ParsedBeginFillInstruction<TProgram>) | ({
145
199
  instructionType: typeof IntentEngineInstruction.CancelIntent;
146
200
  } & ParsedCancelIntentInstruction<TProgram>) | ({
201
+ instructionType: typeof IntentEngineInstruction.ClaimJob;
202
+ } & ParsedClaimJobInstruction<TProgram>) | ({
147
203
  instructionType: typeof IntentEngineInstruction.CloseIntent;
148
204
  } & ParsedCloseIntentInstruction<TProgram>) | ({
205
+ instructionType: typeof IntentEngineInstruction.CloseProfile;
206
+ } & ParsedCloseProfileInstruction<TProgram>) | ({
207
+ instructionType: typeof IntentEngineInstruction.CreateCommittee;
208
+ } & ParsedCreateCommitteeInstruction<TProgram>) | ({
149
209
  instructionType: typeof IntentEngineInstruction.CreateIntent;
150
210
  } & ParsedCreateIntentInstruction<TProgram>) | ({
151
211
  instructionType: typeof IntentEngineInstruction.CreateIntentByAgent;
@@ -154,14 +214,22 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
154
214
  } & ParsedCreateIntentSignedInstruction<TProgram>) | ({
155
215
  instructionType: typeof IntentEngineInstruction.CreateMandate;
156
216
  } & ParsedCreateMandateInstruction<TProgram>) | ({
217
+ instructionType: typeof IntentEngineInstruction.CreateProfile;
218
+ } & ParsedCreateProfileInstruction<TProgram>) | ({
219
+ instructionType: typeof IntentEngineInstruction.DropClaim;
220
+ } & ParsedDropClaimInstruction<TProgram>) | ({
157
221
  instructionType: typeof IntentEngineInstruction.EndFill;
158
222
  } & ParsedEndFillInstruction<TProgram>) | ({
159
223
  instructionType: typeof IntentEngineInstruction.ExpireIntent;
160
224
  } & ParsedExpireIntentInstruction<TProgram>) | ({
161
225
  instructionType: typeof IntentEngineInstruction.FillAttested;
162
226
  } & ParsedFillAttestedInstruction<TProgram>) | ({
227
+ instructionType: typeof IntentEngineInstruction.FillAttestedCommittee;
228
+ } & ParsedFillAttestedCommitteeInstruction<TProgram>) | ({
163
229
  instructionType: typeof IntentEngineInstruction.FillAttestedSplit;
164
230
  } & ParsedFillAttestedSplitInstruction<TProgram>) | ({
231
+ instructionType: typeof IntentEngineInstruction.FillAttestedSplitCommittee;
232
+ } & ParsedFillAttestedSplitCommitteeInstruction<TProgram>) | ({
165
233
  instructionType: typeof IntentEngineInstruction.FillIntent;
166
234
  } & ParsedFillIntentInstruction<TProgram>) | ({
167
235
  instructionType: typeof IntentEngineInstruction.InitConfig;
@@ -170,16 +238,26 @@ export type ParsedIntentEngineInstruction<TProgram extends string = "GHFB9q4fhhq
170
238
  } & ParsedInitUserInstruction<TProgram>) | ({
171
239
  instructionType: typeof IntentEngineInstruction.LowerPause;
172
240
  } & ParsedLowerPauseInstruction<TProgram>) | ({
241
+ instructionType: typeof IntentEngineInstruction.OpenClaims;
242
+ } & ParsedOpenClaimsInstruction<TProgram>) | ({
173
243
  instructionType: typeof IntentEngineInstruction.ProposeAdmin;
174
244
  } & ParsedProposeAdminInstruction<TProgram>) | ({
175
245
  instructionType: typeof IntentEngineInstruction.RaisePause;
176
246
  } & ParsedRaisePauseInstruction<TProgram>) | ({
177
247
  instructionType: typeof IntentEngineInstruction.RevokeMandate;
178
248
  } & ParsedRevokeMandateInstruction<TProgram>) | ({
249
+ instructionType: typeof IntentEngineInstruction.SetCapsRequired;
250
+ } & ParsedSetCapsRequiredInstruction<TProgram>) | ({
251
+ instructionType: typeof IntentEngineInstruction.SetMintCap;
252
+ } & ParsedSetMintCapInstruction<TProgram>) | ({
253
+ instructionType: typeof IntentEngineInstruction.SettleClaims;
254
+ } & ParsedSettleClaimsInstruction<TProgram>) | ({
179
255
  instructionType: typeof IntentEngineInstruction.UpdateConfig;
180
256
  } & ParsedUpdateConfigInstruction<TProgram>) | ({
181
257
  instructionType: typeof IntentEngineInstruction.UpdateEconomics;
182
- } & ParsedUpdateEconomicsInstruction<TProgram>);
258
+ } & ParsedUpdateEconomicsInstruction<TProgram>) | ({
259
+ instructionType: typeof IntentEngineInstruction.UpdateProfile;
260
+ } & ParsedUpdateProfileInstruction<TProgram>);
183
261
  export declare function parseIntentEngineInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array>): ParsedIntentEngineInstruction<TProgram>;
184
262
  export type IntentEnginePlugin = {
185
263
  accounts: IntentEnginePluginAccounts;
@@ -190,9 +268,13 @@ export type IntentEnginePlugin = {
190
268
  parseInstruction: typeof parseIntentEngineInstruction;
191
269
  };
192
270
  export type IntentEnginePluginAccounts = {
271
+ claimBoard: ReturnType<typeof getClaimBoardCodec> & SelfFetchFunctions<ClaimBoardArgs, ClaimBoard>;
272
+ committee: ReturnType<typeof getCommitteeCodec> & SelfFetchFunctions<CommitteeArgs, Committee>;
193
273
  config: ReturnType<typeof getConfigCodec> & SelfFetchFunctions<ConfigArgs, Config>;
194
274
  intent: ReturnType<typeof getIntentCodec> & SelfFetchFunctions<IntentArgs, Intent>;
195
275
  mandate: ReturnType<typeof getMandateCodec> & SelfFetchFunctions<MandateArgs, Mandate>;
276
+ mintCap: ReturnType<typeof getMintCapCodec> & SelfFetchFunctions<MintCapArgs, MintCap>;
277
+ profile: ReturnType<typeof getProfileCodec> & SelfFetchFunctions<ProfileArgs, Profile>;
196
278
  userState: ReturnType<typeof getUserStateCodec> & SelfFetchFunctions<UserStateArgs, UserState>;
197
279
  };
198
280
  export type IntentEnginePluginInstructions = {
@@ -201,30 +283,46 @@ export type IntentEnginePluginInstructions = {
201
283
  advanceNonce: (input: AdvanceNonceAsyncInput) => ReturnType<typeof getAdvanceNonceInstructionAsync> & SelfPlanAndSendFunctions;
202
284
  beginFill: (input: BeginFillAsyncInput) => ReturnType<typeof getBeginFillInstructionAsync> & SelfPlanAndSendFunctions;
203
285
  cancelIntent: (input: CancelIntentAsyncInput) => ReturnType<typeof getCancelIntentInstructionAsync> & SelfPlanAndSendFunctions;
286
+ claimJob: (input: ClaimJobAsyncInput) => ReturnType<typeof getClaimJobInstructionAsync> & SelfPlanAndSendFunctions;
204
287
  closeIntent: (input: CloseIntentAsyncInput) => ReturnType<typeof getCloseIntentInstructionAsync> & SelfPlanAndSendFunctions;
288
+ closeProfile: (input: CloseProfileAsyncInput) => ReturnType<typeof getCloseProfileInstructionAsync> & SelfPlanAndSendFunctions;
289
+ createCommittee: (input: MakeOptional<CreateCommitteeAsyncInput, "payer">) => ReturnType<typeof getCreateCommitteeInstructionAsync> & SelfPlanAndSendFunctions;
205
290
  createIntent: (input: CreateIntentAsyncInput) => ReturnType<typeof getCreateIntentInstructionAsync> & SelfPlanAndSendFunctions;
206
291
  createIntentByAgent: (input: CreateIntentByAgentAsyncInput) => ReturnType<typeof getCreateIntentByAgentInstructionAsync> & SelfPlanAndSendFunctions;
207
292
  createIntentSigned: (input: MakeOptional<CreateIntentSignedAsyncInput, "payer">) => ReturnType<typeof getCreateIntentSignedInstructionAsync> & SelfPlanAndSendFunctions;
208
293
  createMandate: (input: CreateMandateAsyncInput) => ReturnType<typeof getCreateMandateInstructionAsync> & SelfPlanAndSendFunctions;
294
+ createProfile: (input: CreateProfileAsyncInput) => ReturnType<typeof getCreateProfileInstructionAsync> & SelfPlanAndSendFunctions;
295
+ dropClaim: (input: DropClaimAsyncInput) => ReturnType<typeof getDropClaimInstructionAsync> & SelfPlanAndSendFunctions;
209
296
  endFill: (input: EndFillInput) => ReturnType<typeof getEndFillInstruction> & SelfPlanAndSendFunctions;
210
297
  expireIntent: (input: ExpireIntentAsyncInput) => ReturnType<typeof getExpireIntentInstructionAsync> & SelfPlanAndSendFunctions;
211
298
  fillAttested: (input: FillAttestedAsyncInput) => ReturnType<typeof getFillAttestedInstructionAsync> & SelfPlanAndSendFunctions;
299
+ fillAttestedCommittee: (input: FillAttestedCommitteeAsyncInput) => ReturnType<typeof getFillAttestedCommitteeInstructionAsync> & SelfPlanAndSendFunctions;
212
300
  fillAttestedSplit: (input: FillAttestedSplitAsyncInput) => ReturnType<typeof getFillAttestedSplitInstructionAsync> & SelfPlanAndSendFunctions;
301
+ fillAttestedSplitCommittee: (input: FillAttestedSplitCommitteeAsyncInput) => ReturnType<typeof getFillAttestedSplitCommitteeInstructionAsync> & SelfPlanAndSendFunctions;
213
302
  fillIntent: (input: FillIntentAsyncInput) => ReturnType<typeof getFillIntentInstructionAsync> & SelfPlanAndSendFunctions;
214
303
  initConfig: (input: InitConfigAsyncInput) => ReturnType<typeof getInitConfigInstructionAsync> & SelfPlanAndSendFunctions;
215
304
  initUser: (input: InitUserAsyncInput) => ReturnType<typeof getInitUserInstructionAsync> & SelfPlanAndSendFunctions;
216
305
  lowerPause: (input: LowerPauseInput) => ReturnType<typeof getLowerPauseInstruction> & SelfPlanAndSendFunctions;
306
+ openClaims: (input: OpenClaimsAsyncInput) => ReturnType<typeof getOpenClaimsInstructionAsync> & SelfPlanAndSendFunctions;
217
307
  proposeAdmin: (input: ProposeAdminInput) => ReturnType<typeof getProposeAdminInstruction> & SelfPlanAndSendFunctions;
218
308
  raisePause: (input: RaisePauseInput) => ReturnType<typeof getRaisePauseInstruction> & SelfPlanAndSendFunctions;
219
309
  revokeMandate: (input: RevokeMandateInput) => ReturnType<typeof getRevokeMandateInstruction> & SelfPlanAndSendFunctions;
310
+ setCapsRequired: (input: SetCapsRequiredInput) => ReturnType<typeof getSetCapsRequiredInstruction> & SelfPlanAndSendFunctions;
311
+ setMintCap: (input: MakeOptional<SetMintCapAsyncInput, "payer">) => ReturnType<typeof getSetMintCapInstructionAsync> & SelfPlanAndSendFunctions;
312
+ settleClaims: (input: SettleClaimsAsyncInput) => ReturnType<typeof getSettleClaimsInstructionAsync> & SelfPlanAndSendFunctions;
220
313
  updateConfig: (input: UpdateConfigInput) => ReturnType<typeof getUpdateConfigInstruction> & SelfPlanAndSendFunctions;
221
314
  updateEconomics: (input: UpdateEconomicsInput) => ReturnType<typeof getUpdateEconomicsInstruction> & SelfPlanAndSendFunctions;
315
+ updateProfile: (input: UpdateProfileAsyncInput) => ReturnType<typeof getUpdateProfileInstructionAsync> & SelfPlanAndSendFunctions;
222
316
  };
223
317
  export type IntentEnginePluginPdas = {
224
318
  userState: typeof findUserStatePda;
225
319
  vault: typeof findVaultPda;
320
+ board: typeof findBoardPda;
321
+ profile: typeof findProfilePda;
322
+ committee: typeof findCommitteePda;
226
323
  delegate: typeof findDelegatePda;
227
324
  config: typeof findConfigPda;
325
+ mintCap: typeof findMintCapPda;
228
326
  };
229
327
  export type IntentEnginePluginRequirements = ClientWithRpc<GetAccountInfoApi & GetMultipleAccountsApi> & ClientWithPayer & ClientWithTransactionPlanning & ClientWithTransactionSending;
230
328
  export declare function intentEngineProgram(): <T extends IntentEnginePluginRequirements>(client: T) => ExtendedClient<T, {