@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,128 @@
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 { combineCodec, fixDecoderSize, fixEncoderSize, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, transformEncoder, } from "@solana/kit";
9
+ import { getAccountMetaFactory, getAddressFromResolvedInstructionAccount, } from "@solana/kit/program-client-core";
10
+ import { findBoardPda } from "../pdas/index.js";
11
+ import { INTENT_ENGINE_PROGRAM_ADDRESS } from "../programs/index.js";
12
+ export const DROP_CLAIM_DISCRIMINATOR = new Uint8Array([
13
+ 173, 223, 128, 244, 25, 87, 148, 63,
14
+ ]);
15
+ export function getDropClaimDiscriminatorBytes() {
16
+ return fixEncoderSize(getBytesEncoder(), 8).encode(DROP_CLAIM_DISCRIMINATOR);
17
+ }
18
+ export function getDropClaimInstructionDataEncoder() {
19
+ return transformEncoder(getStructEncoder([["discriminator", fixEncoderSize(getBytesEncoder(), 8)]]), (value) => ({ ...value, discriminator: DROP_CLAIM_DISCRIMINATOR }));
20
+ }
21
+ export function getDropClaimInstructionDataDecoder() {
22
+ return getStructDecoder([
23
+ ["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
24
+ ]);
25
+ }
26
+ export function getDropClaimInstructionDataCodec() {
27
+ return combineCodec(getDropClaimInstructionDataEncoder(), getDropClaimInstructionDataDecoder());
28
+ }
29
+ export async function getDropClaimInstructionAsync(input, config) {
30
+ // Program address.
31
+ const programAddress = config?.programAddress ?? INTENT_ENGINE_PROGRAM_ADDRESS;
32
+ // Account meta helper.
33
+ const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
34
+ // Original accounts.
35
+ const originalAccounts = {
36
+ worker: { value: input.worker ?? null, isSigner: true, isWritable: true },
37
+ intent: { value: input.intent ?? null, isSigner: false, isWritable: false },
38
+ board: { value: input.board ?? null, isSigner: false, isWritable: true },
39
+ eventAuthority: {
40
+ value: input.eventAuthority ?? null,
41
+ isSigner: false,
42
+ isWritable: false,
43
+ },
44
+ program: {
45
+ value: input.program ?? null,
46
+ isSigner: false,
47
+ isWritable: false,
48
+ },
49
+ };
50
+ const accounts = originalAccounts;
51
+ // Resolve default values.
52
+ if (!accounts.board.value) {
53
+ accounts.board.value = await findBoardPda({
54
+ intent: getAddressFromResolvedInstructionAccount("intent", accounts.intent.value),
55
+ }, { programAddress });
56
+ }
57
+ return Object.freeze({
58
+ accounts: [
59
+ getAccountMeta("worker", accounts.worker),
60
+ getAccountMeta("intent", accounts.intent),
61
+ getAccountMeta("board", accounts.board),
62
+ getAccountMeta("eventAuthority", accounts.eventAuthority),
63
+ getAccountMeta("program", accounts.program),
64
+ ],
65
+ data: getDropClaimInstructionDataEncoder().encode({}),
66
+ programAddress,
67
+ });
68
+ }
69
+ export function getDropClaimInstruction(input, config) {
70
+ // Program address.
71
+ const programAddress = config?.programAddress ?? INTENT_ENGINE_PROGRAM_ADDRESS;
72
+ // Account meta helper.
73
+ const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
74
+ // Original accounts.
75
+ const originalAccounts = {
76
+ worker: { value: input.worker ?? null, isSigner: true, isWritable: true },
77
+ intent: { value: input.intent ?? null, isSigner: false, isWritable: false },
78
+ board: { value: input.board ?? null, isSigner: false, isWritable: true },
79
+ eventAuthority: {
80
+ value: input.eventAuthority ?? null,
81
+ isSigner: false,
82
+ isWritable: false,
83
+ },
84
+ program: {
85
+ value: input.program ?? null,
86
+ isSigner: false,
87
+ isWritable: false,
88
+ },
89
+ };
90
+ const accounts = originalAccounts;
91
+ return Object.freeze({
92
+ accounts: [
93
+ getAccountMeta("worker", accounts.worker),
94
+ getAccountMeta("intent", accounts.intent),
95
+ getAccountMeta("board", accounts.board),
96
+ getAccountMeta("eventAuthority", accounts.eventAuthority),
97
+ getAccountMeta("program", accounts.program),
98
+ ],
99
+ data: getDropClaimInstructionDataEncoder().encode({}),
100
+ programAddress,
101
+ });
102
+ }
103
+ export function parseDropClaimInstruction(instruction) {
104
+ if (instruction.accounts.length < 5) {
105
+ throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
106
+ actualAccountMetas: instruction.accounts.length,
107
+ expectedAccountMetas: 5,
108
+ });
109
+ }
110
+ let accountIndex = 0;
111
+ const getNextAccount = () => {
112
+ const accountMeta = instruction.accounts[accountIndex];
113
+ accountIndex += 1;
114
+ return accountMeta;
115
+ };
116
+ return {
117
+ programAddress: instruction.programAddress,
118
+ accounts: {
119
+ worker: getNextAccount(),
120
+ intent: getNextAccount(),
121
+ board: getNextAccount(),
122
+ eventAuthority: getNextAccount(),
123
+ program: getNextAccount(),
124
+ },
125
+ data: getDropClaimInstructionDataDecoder().decode(instruction.data),
126
+ };
127
+ }
128
+ //# sourceMappingURL=dropClaim.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropClaim.js","sourceRoot":"","sources":["../../../../generated/client/instructions/dropClaim.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,yDAAyD,EACzD,WAAW,EACX,gBAAgB,GAcjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,wCAAwC,GAMzC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,E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AC;YACvC,cAAc,CAAC,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC;YACzD,cAAc,CAAC,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC;SAC5C;QACD,IAAI,EAAE,kCAAkC,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;QACrD,cAAc;KAuBf,CAAC,CAAC;AACL,CAAC;AAiBD,MAAM,UAAU,yBAAyB,CAIvC,WAEyC;IAEzC,IAAI,WAAW,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACpC,MAAM,IAAI,WAAW,CACnB,yDAAyD,EACzD;YACE,kBAAkB,EAAE,WAAW,CAAC,QAAQ,CAAC,MAAM;YAC/C,oBAAoB,EAAE,CAAC;SACxB,CACF,CAAC;IACJ,CAAC;IACD,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,MAAM,cAAc,GAAG,GAAG,EAAE;QAC1B,MAAM,WAAW,GAAI,WAAW,CAAC,QAA0B,CAAC,YAAY,CAAE,CAAC;QAC3E,YAAY,IAAI,CAAC,CAAC;QAClB,OAAO,WAAW,CAAC;IACrB,CAAC,CAAC;IACF,OAAO;QACL,cAAc,EAAE,WAAW,CAAC,cAAc;QAC1C,QAAQ,EAAE;YACR,MAAM,EAAE,cAAc,EAAE;YACxB,MAAM,EAAE,cAAc,EAAE;YACxB,KAAK,EAAE,cAAc,EAAE;YACvB,cAAc,EAAE,cAAc,EAAE;YAChC,OAAO,EAAE,cAAc,EAAE;SAC1B;QACD,IAAI,EAAE,kCAAkC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC;KACpE,CAAC;AACJ,CAAC"}
@@ -10,7 +10,7 @@ import { type InstructionAccountInput, type InstructionAccountInputAddress, type
10
10
  import { INTENT_ENGINE_PROGRAM_ADDRESS } from "../programs/index.js";
11
11
  export declare const FILL_ATTESTED_DISCRIMINATOR: ReadonlyUint8Array;
12
12
  export declare function getFillAttestedDiscriminatorBytes(): ReadonlyUint8Array;
13
- export type FillAttestedInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountSolver extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = "6As2PgaNQ2DdSZMcrZeUJZ7RfyE2kXnVd33yxbgXULYz", TAccountIntent extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountInputMint extends string | AccountMeta<string> = string, TAccountPayee extends string | AccountMeta<string> = string, TAccountFeeTo extends string | AccountMeta<string> = string, TAccountPartnerTo extends string | AccountMeta<string> = string, TAccountJudgeTo extends string | AccountMeta<string> = string, TAccountInputTokenProgram extends string | AccountMeta<string> = string, TAccountInstructions extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
+ export type FillAttestedInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountSolver extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = "6As2PgaNQ2DdSZMcrZeUJZ7RfyE2kXnVd33yxbgXULYz", TAccountIntent extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountInputMint extends string | AccountMeta<string> = string, TAccountPayee extends string | AccountMeta<string> = string, TAccountFeeTo extends string | AccountMeta<string> = string, TAccountPartnerTo extends string | AccountMeta<string> = string, TAccountJudgeTo extends string | AccountMeta<string> = string, TAccountInputTokenProgram extends string | AccountMeta<string> = string, TAccountInstructions extends string | AccountMeta<string> = string, TAccountClaims extends string | AccountMeta<string> = string, TAccountStakeTo extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
14
14
  TAccountSolver extends string ? ReadonlySignerAccount<TAccountSolver> & AccountSignerMeta<TAccountSolver> : TAccountSolver,
15
15
  TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
16
16
  TAccountIntent extends string ? WritableAccount<TAccountIntent> : TAccountIntent,
@@ -22,6 +22,8 @@ export type FillAttestedInstruction<TProgram extends string = typeof INTENT_ENGI
22
22
  TAccountJudgeTo extends string ? WritableAccount<TAccountJudgeTo> : TAccountJudgeTo,
23
23
  TAccountInputTokenProgram extends string ? ReadonlyAccount<TAccountInputTokenProgram> : TAccountInputTokenProgram,
24
24
  TAccountInstructions extends string ? ReadonlyAccount<TAccountInstructions> : TAccountInstructions,
25
+ TAccountClaims extends string ? WritableAccount<TAccountClaims> : TAccountClaims,
26
+ TAccountStakeTo extends string ? WritableAccount<TAccountStakeTo> : TAccountStakeTo,
25
27
  TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
26
28
  TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
27
29
  ...TRemainingAccounts
@@ -42,7 +44,7 @@ export type FillAttestedInstructionDataArgs = {
42
44
  export declare function getFillAttestedInstructionDataEncoder(): Encoder<FillAttestedInstructionDataArgs>;
43
45
  export declare function getFillAttestedInstructionDataDecoder(): Decoder<FillAttestedInstructionData>;
44
46
  export declare function getFillAttestedInstructionDataCodec(): Codec<FillAttestedInstructionDataArgs, FillAttestedInstructionData>;
45
- export type FillAttestedAsyncInput<TAccountSolver extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountPayee extends InstructionAccountInput = InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput = InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
47
+ export type FillAttestedAsyncInput<TAccountSolver extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountPayee extends InstructionAccountInput = InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput = InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountClaims extends InstructionAccountInput = InstructionAccountInput, TAccountStakeTo extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
46
48
  solver: TAccountSolver;
47
49
  config?: TAccountConfig;
48
50
  intent: TAccountIntent;
@@ -54,6 +56,8 @@ export type FillAttestedAsyncInput<TAccountSolver extends InstructionSignerInput
54
56
  judgeTo?: TAccountJudgeTo;
55
57
  inputTokenProgram: TAccountInputTokenProgram;
56
58
  instructions: TAccountInstructions;
59
+ claims?: TAccountClaims;
60
+ stakeTo?: TAccountStakeTo;
57
61
  eventAuthority: TAccountEventAuthority;
58
62
  program: TAccountProgram;
59
63
  amountIn: FillAttestedInstructionDataArgs["amountIn"];
@@ -61,10 +65,10 @@ export type FillAttestedAsyncInput<TAccountSolver extends InstructionSignerInput
61
65
  maxFeeBps: FillAttestedInstructionDataArgs["maxFeeBps"];
62
66
  ext: FillAttestedInstructionDataArgs["ext"];
63
67
  };
64
- export declare function getFillAttestedInstructionAsync<TAccountSolver extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountPayee extends InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: FillAttestedAsyncInput<TAccountSolver, TAccountConfig, TAccountIntent, TAccountVault, TAccountInputMint, TAccountPayee, TAccountFeeTo, TAccountPartnerTo, TAccountJudgeTo, TAccountInputTokenProgram, TAccountInstructions, TAccountEventAuthority, TAccountProgram>, config?: {
68
+ export declare function getFillAttestedInstructionAsync<TAccountSolver extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountPayee extends InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountClaims extends InstructionAccountInput, TAccountStakeTo extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: FillAttestedAsyncInput<TAccountSolver, TAccountConfig, TAccountIntent, TAccountVault, TAccountInputMint, TAccountPayee, TAccountFeeTo, TAccountPartnerTo, TAccountJudgeTo, TAccountInputTokenProgram, TAccountInstructions, TAccountClaims, TAccountStakeTo, TAccountEventAuthority, TAccountProgram>, config?: {
65
69
  programAddress?: TProgramAddress;
66
- }): Promise<FillAttestedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountSolver, InstructionAccountInputAddress<TAccountSolver>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountPayee, InstructionAccountInputAddress<TAccountPayee>>, ResolvedInstructionAccountMeta<TAccountFeeTo, InstructionAccountInputAddress<TAccountFeeTo>>, ResolvedInstructionAccountMeta<TAccountPartnerTo, InstructionAccountInputAddress<TAccountPartnerTo>>, ResolvedInstructionAccountMeta<TAccountJudgeTo, InstructionAccountInputAddress<TAccountJudgeTo>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>>;
67
- export type FillAttestedInput<TAccountSolver extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountPayee extends InstructionAccountInput = InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput = InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
70
+ }): Promise<FillAttestedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountSolver, InstructionAccountInputAddress<TAccountSolver>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountPayee, InstructionAccountInputAddress<TAccountPayee>>, ResolvedInstructionAccountMeta<TAccountFeeTo, InstructionAccountInputAddress<TAccountFeeTo>>, ResolvedInstructionAccountMeta<TAccountPartnerTo, InstructionAccountInputAddress<TAccountPartnerTo>>, ResolvedInstructionAccountMeta<TAccountJudgeTo, InstructionAccountInputAddress<TAccountJudgeTo>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountClaims, InstructionAccountInputAddress<TAccountClaims>>, ResolvedInstructionAccountMeta<TAccountStakeTo, InstructionAccountInputAddress<TAccountStakeTo>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>>;
71
+ export type FillAttestedInput<TAccountSolver extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountPayee extends InstructionAccountInput = InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput = InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountClaims extends InstructionAccountInput = InstructionAccountInput, TAccountStakeTo extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
68
72
  solver: TAccountSolver;
69
73
  config?: TAccountConfig;
70
74
  intent: TAccountIntent;
@@ -76,6 +80,8 @@ export type FillAttestedInput<TAccountSolver extends InstructionSignerInput = In
76
80
  judgeTo?: TAccountJudgeTo;
77
81
  inputTokenProgram: TAccountInputTokenProgram;
78
82
  instructions: TAccountInstructions;
83
+ claims?: TAccountClaims;
84
+ stakeTo?: TAccountStakeTo;
79
85
  eventAuthority: TAccountEventAuthority;
80
86
  program: TAccountProgram;
81
87
  amountIn: FillAttestedInstructionDataArgs["amountIn"];
@@ -83,9 +89,9 @@ export type FillAttestedInput<TAccountSolver extends InstructionSignerInput = In
83
89
  maxFeeBps: FillAttestedInstructionDataArgs["maxFeeBps"];
84
90
  ext: FillAttestedInstructionDataArgs["ext"];
85
91
  };
86
- export declare function getFillAttestedInstruction<TAccountSolver extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountPayee extends InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: FillAttestedInput<TAccountSolver, TAccountConfig, TAccountIntent, TAccountVault, TAccountInputMint, TAccountPayee, TAccountFeeTo, TAccountPartnerTo, TAccountJudgeTo, TAccountInputTokenProgram, TAccountInstructions, TAccountEventAuthority, TAccountProgram>, config?: {
92
+ export declare function getFillAttestedInstruction<TAccountSolver extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountPayee extends InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountClaims extends InstructionAccountInput, TAccountStakeTo extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: FillAttestedInput<TAccountSolver, TAccountConfig, TAccountIntent, TAccountVault, TAccountInputMint, TAccountPayee, TAccountFeeTo, TAccountPartnerTo, TAccountJudgeTo, TAccountInputTokenProgram, TAccountInstructions, TAccountClaims, TAccountStakeTo, TAccountEventAuthority, TAccountProgram>, config?: {
87
93
  programAddress?: TProgramAddress;
88
- }): FillAttestedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountSolver, InstructionAccountInputAddress<TAccountSolver>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountPayee, InstructionAccountInputAddress<TAccountPayee>>, ResolvedInstructionAccountMeta<TAccountFeeTo, InstructionAccountInputAddress<TAccountFeeTo>>, ResolvedInstructionAccountMeta<TAccountPartnerTo, InstructionAccountInputAddress<TAccountPartnerTo>>, ResolvedInstructionAccountMeta<TAccountJudgeTo, InstructionAccountInputAddress<TAccountJudgeTo>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>;
94
+ }): FillAttestedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountSolver, InstructionAccountInputAddress<TAccountSolver>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountPayee, InstructionAccountInputAddress<TAccountPayee>>, ResolvedInstructionAccountMeta<TAccountFeeTo, InstructionAccountInputAddress<TAccountFeeTo>>, ResolvedInstructionAccountMeta<TAccountPartnerTo, InstructionAccountInputAddress<TAccountPartnerTo>>, ResolvedInstructionAccountMeta<TAccountJudgeTo, InstructionAccountInputAddress<TAccountJudgeTo>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountClaims, InstructionAccountInputAddress<TAccountClaims>>, ResolvedInstructionAccountMeta<TAccountStakeTo, InstructionAccountInputAddress<TAccountStakeTo>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>;
89
95
  export type ParsedFillAttestedInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
90
96
  programAddress: Address<TProgram>;
91
97
  accounts: {
@@ -100,8 +106,10 @@ export type ParsedFillAttestedInstruction<TProgram extends string = typeof INTEN
100
106
  judgeTo?: TAccountMetas[8] | undefined;
101
107
  inputTokenProgram: TAccountMetas[9];
102
108
  instructions: TAccountMetas[10];
103
- eventAuthority: TAccountMetas[11];
104
- program: TAccountMetas[12];
109
+ claims?: TAccountMetas[11] | undefined;
110
+ stakeTo?: TAccountMetas[12] | undefined;
111
+ eventAuthority: TAccountMetas[13];
112
+ program: TAccountMetas[14];
105
113
  };
106
114
  data: FillAttestedInstructionData;
107
115
  };
@@ -74,6 +74,12 @@ export async function getFillAttestedInstructionAsync(input, config) {
74
74
  isSigner: false,
75
75
  isWritable: false,
76
76
  },
77
+ claims: { value: input.claims ?? null, isSigner: false, isWritable: true },
78
+ stakeTo: {
79
+ value: input.stakeTo ?? null,
80
+ isSigner: false,
81
+ isWritable: true,
82
+ },
77
83
  eventAuthority: {
78
84
  value: input.eventAuthority ?? null,
79
85
  isSigner: false,
@@ -111,6 +117,8 @@ export async function getFillAttestedInstructionAsync(input, config) {
111
117
  getAccountMeta("judgeTo", accounts.judgeTo),
112
118
  getAccountMeta("inputTokenProgram", accounts.inputTokenProgram),
113
119
  getAccountMeta("instructions", accounts.instructions),
120
+ getAccountMeta("claims", accounts.claims),
121
+ getAccountMeta("stakeTo", accounts.stakeTo),
114
122
  getAccountMeta("eventAuthority", accounts.eventAuthority),
115
123
  getAccountMeta("program", accounts.program),
116
124
  ],
@@ -156,6 +164,12 @@ export function getFillAttestedInstruction(input, config) {
156
164
  isSigner: false,
157
165
  isWritable: false,
158
166
  },
167
+ claims: { value: input.claims ?? null, isSigner: false, isWritable: true },
168
+ stakeTo: {
169
+ value: input.stakeTo ?? null,
170
+ isSigner: false,
171
+ isWritable: true,
172
+ },
159
173
  eventAuthority: {
160
174
  value: input.eventAuthority ?? null,
161
175
  isSigner: false,
@@ -188,6 +202,8 @@ export function getFillAttestedInstruction(input, config) {
188
202
  getAccountMeta("judgeTo", accounts.judgeTo),
189
203
  getAccountMeta("inputTokenProgram", accounts.inputTokenProgram),
190
204
  getAccountMeta("instructions", accounts.instructions),
205
+ getAccountMeta("claims", accounts.claims),
206
+ getAccountMeta("stakeTo", accounts.stakeTo),
191
207
  getAccountMeta("eventAuthority", accounts.eventAuthority),
192
208
  getAccountMeta("program", accounts.program),
193
209
  ],
@@ -196,10 +212,10 @@ export function getFillAttestedInstruction(input, config) {
196
212
  });
197
213
  }
198
214
  export function parseFillAttestedInstruction(instruction) {
199
- if (instruction.accounts.length < 13) {
215
+ if (instruction.accounts.length < 15) {
200
216
  throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
201
217
  actualAccountMetas: instruction.accounts.length,
202
- expectedAccountMetas: 13,
218
+ expectedAccountMetas: 15,
203
219
  });
204
220
  }
205
221
  let accountIndex = 0;
@@ -228,6 +244,8 @@ export function parseFillAttestedInstruction(instruction) {
228
244
  judgeTo: getNextOptionalAccount(),
229
245
  inputTokenProgram: getNextAccount(),
230
246
  instructions: getNextAccount(),
247
+ claims: getNextOptionalAccount(),
248
+ stakeTo: getNextOptionalAccount(),
231
249
  eventAuthority: getNextAccount(),
232
250
  program: getNextAccount(),
233
251
  },
@@ -1 +1 @@
1
- {"version":3,"file":"fillAttested.js","sourceRoot":"","sources":["../../../../generated/client/instructions/fillAttested.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EA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;YACxB,MAAM,EAAE,cAAc,EAAE;YACxB,KAAK,EAAE,cAAc,EAAE;YACvB,SAAS,EAAE,cAAc,EAAE;YAC3B,KAAK,EAAE,cAAc,EAAE;YACvB,KAAK,EAAE,sBAAsB,EAAE;YAC/B,SAAS,EAAE,sBAAsB,EAAE;YACnC,OAAO,EAAE,sBAAsB,EAAE;YACjC,iBAAiB,EAAE,cAAc,EAAE;YACnC,YAAY,EAAE,cAAc,EAAE;YAC9B,cAAc,EAAE,cAAc,EAAE;YAChC,OAAO,EAAE,cAAc,EAAE;SAC1B;QACD,IAAI,EAAE,qCAAqC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC;KACvE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"fillAttested.js","sourceRoot":"","sources":["../../../../generated/client/instructions/fillAttested.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,yDAAyD,EACzD,WAAW,EACX,gBAAgB,GAcjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,wCAAwC,GAMzC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,CAAC,MAAM,2BAA2B,GAAuB,IAAI,UAAU,CAAC;IAC5E,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG;CACtC,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC;IAC/C,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC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CAAC,WAAW,CAAC;IAClB,CAAC,CAAC;IACF,OAAO;QACL,cAAc,EAAE,WAAW,CAAC,cAAc;QAC1C,QAAQ,EAAE;YACR,MAAM,EAAE,cAAc,EAAE;YACxB,MAAM,EAAE,cAAc,EAAE;YACxB,MAAM,EAAE,cAAc,EAAE;YACxB,KAAK,EAAE,cAAc,EAAE;YACvB,SAAS,EAAE,cAAc,EAAE;YAC3B,KAAK,EAAE,cAAc,EAAE;YACvB,KAAK,EAAE,sBAAsB,EAAE;YAC/B,SAAS,EAAE,sBAAsB,EAAE;YACnC,OAAO,EAAE,sBAAsB,EAAE;YACjC,iBAAiB,EAAE,cAAc,EAAE;YACnC,YAAY,EAAE,cAAc,EAAE;YAC9B,MAAM,EAAE,sBAAsB,EAAE;YAChC,OAAO,EAAE,sBAAsB,EAAE;YACjC,cAAc,EAAE,cAAc,EAAE;YAChC,OAAO,EAAE,cAAc,EAAE;SAC1B;QACD,IAAI,EAAE,qCAAqC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC;KACvE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,124 @@
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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type WritableAccount } from "@solana/kit";
9
+ import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from "@solana/kit/program-client-core";
10
+ import { INTENT_ENGINE_PROGRAM_ADDRESS } from "../programs/index.js";
11
+ export declare const FILL_ATTESTED_COMMITTEE_DISCRIMINATOR: ReadonlyUint8Array;
12
+ export declare function getFillAttestedCommitteeDiscriminatorBytes(): ReadonlyUint8Array;
13
+ export type FillAttestedCommitteeInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountSolver extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = "6As2PgaNQ2DdSZMcrZeUJZ7RfyE2kXnVd33yxbgXULYz", TAccountIntent extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountInputMint extends string | AccountMeta<string> = string, TAccountPayee extends string | AccountMeta<string> = string, TAccountFeeTo extends string | AccountMeta<string> = string, TAccountPartnerTo extends string | AccountMeta<string> = string, TAccountJudgeTo extends string | AccountMeta<string> = string, TAccountCommittee extends string | AccountMeta<string> = string, TAccountInputTokenProgram extends string | AccountMeta<string> = string, TAccountInstructions extends string | AccountMeta<string> = string, TAccountClaims extends string | AccountMeta<string> = string, TAccountStakeTo extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
14
+ TAccountSolver extends string ? ReadonlySignerAccount<TAccountSolver> & AccountSignerMeta<TAccountSolver> : TAccountSolver,
15
+ TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
16
+ TAccountIntent extends string ? WritableAccount<TAccountIntent> : TAccountIntent,
17
+ TAccountVault extends string ? WritableAccount<TAccountVault> : TAccountVault,
18
+ TAccountInputMint extends string ? ReadonlyAccount<TAccountInputMint> : TAccountInputMint,
19
+ TAccountPayee extends string ? WritableAccount<TAccountPayee> : TAccountPayee,
20
+ TAccountFeeTo extends string ? WritableAccount<TAccountFeeTo> : TAccountFeeTo,
21
+ TAccountPartnerTo extends string ? WritableAccount<TAccountPartnerTo> : TAccountPartnerTo,
22
+ TAccountJudgeTo extends string ? WritableAccount<TAccountJudgeTo> : TAccountJudgeTo,
23
+ TAccountCommittee extends string ? ReadonlyAccount<TAccountCommittee> : TAccountCommittee,
24
+ TAccountInputTokenProgram extends string ? ReadonlyAccount<TAccountInputTokenProgram> : TAccountInputTokenProgram,
25
+ TAccountInstructions extends string ? ReadonlyAccount<TAccountInstructions> : TAccountInstructions,
26
+ TAccountClaims extends string ? WritableAccount<TAccountClaims> : TAccountClaims,
27
+ TAccountStakeTo extends string ? WritableAccount<TAccountStakeTo> : TAccountStakeTo,
28
+ TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
29
+ TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
30
+ ...TRemainingAccounts
31
+ ]>;
32
+ export type FillAttestedCommitteeInstructionData = {
33
+ discriminator: ReadonlyUint8Array;
34
+ amountIn: bigint;
35
+ result: bigint;
36
+ maxFeeBps: number;
37
+ signers: number;
38
+ ext: ReadonlyUint8Array;
39
+ };
40
+ export type FillAttestedCommitteeInstructionDataArgs = {
41
+ amountIn: number | bigint;
42
+ result: number | bigint;
43
+ maxFeeBps: number;
44
+ signers: number;
45
+ ext: ReadonlyUint8Array;
46
+ };
47
+ export declare function getFillAttestedCommitteeInstructionDataEncoder(): Encoder<FillAttestedCommitteeInstructionDataArgs>;
48
+ export declare function getFillAttestedCommitteeInstructionDataDecoder(): Decoder<FillAttestedCommitteeInstructionData>;
49
+ export declare function getFillAttestedCommitteeInstructionDataCodec(): Codec<FillAttestedCommitteeInstructionDataArgs, FillAttestedCommitteeInstructionData>;
50
+ export type FillAttestedCommitteeAsyncInput<TAccountSolver extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountPayee extends InstructionAccountInput = InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput = InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput = InstructionAccountInput, TAccountCommittee extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountClaims extends InstructionAccountInput = InstructionAccountInput, TAccountStakeTo extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
51
+ solver: TAccountSolver;
52
+ config?: TAccountConfig;
53
+ intent: TAccountIntent;
54
+ vault?: TAccountVault;
55
+ inputMint: TAccountInputMint;
56
+ payee: TAccountPayee;
57
+ feeTo?: TAccountFeeTo;
58
+ partnerTo?: TAccountPartnerTo;
59
+ judgeTo?: TAccountJudgeTo;
60
+ committee: TAccountCommittee;
61
+ inputTokenProgram: TAccountInputTokenProgram;
62
+ instructions: TAccountInstructions;
63
+ claims?: TAccountClaims;
64
+ stakeTo?: TAccountStakeTo;
65
+ eventAuthority: TAccountEventAuthority;
66
+ program: TAccountProgram;
67
+ amountIn: FillAttestedCommitteeInstructionDataArgs["amountIn"];
68
+ result: FillAttestedCommitteeInstructionDataArgs["result"];
69
+ maxFeeBps: FillAttestedCommitteeInstructionDataArgs["maxFeeBps"];
70
+ signers: FillAttestedCommitteeInstructionDataArgs["signers"];
71
+ ext: FillAttestedCommitteeInstructionDataArgs["ext"];
72
+ };
73
+ export declare function getFillAttestedCommitteeInstructionAsync<TAccountSolver extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountPayee extends InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput, TAccountCommittee extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountClaims extends InstructionAccountInput, TAccountStakeTo extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: FillAttestedCommitteeAsyncInput<TAccountSolver, TAccountConfig, TAccountIntent, TAccountVault, TAccountInputMint, TAccountPayee, TAccountFeeTo, TAccountPartnerTo, TAccountJudgeTo, TAccountCommittee, TAccountInputTokenProgram, TAccountInstructions, TAccountClaims, TAccountStakeTo, TAccountEventAuthority, TAccountProgram>, config?: {
74
+ programAddress?: TProgramAddress;
75
+ }): Promise<FillAttestedCommitteeInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountSolver, InstructionAccountInputAddress<TAccountSolver>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountPayee, InstructionAccountInputAddress<TAccountPayee>>, ResolvedInstructionAccountMeta<TAccountFeeTo, InstructionAccountInputAddress<TAccountFeeTo>>, ResolvedInstructionAccountMeta<TAccountPartnerTo, InstructionAccountInputAddress<TAccountPartnerTo>>, ResolvedInstructionAccountMeta<TAccountJudgeTo, InstructionAccountInputAddress<TAccountJudgeTo>>, ResolvedInstructionAccountMeta<TAccountCommittee, InstructionAccountInputAddress<TAccountCommittee>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountClaims, InstructionAccountInputAddress<TAccountClaims>>, ResolvedInstructionAccountMeta<TAccountStakeTo, InstructionAccountInputAddress<TAccountStakeTo>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>>;
76
+ export type FillAttestedCommitteeInput<TAccountSolver extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountPayee extends InstructionAccountInput = InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput = InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput = InstructionAccountInput, TAccountCommittee extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountClaims extends InstructionAccountInput = InstructionAccountInput, TAccountStakeTo extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
77
+ solver: TAccountSolver;
78
+ config?: TAccountConfig;
79
+ intent: TAccountIntent;
80
+ vault: TAccountVault;
81
+ inputMint: TAccountInputMint;
82
+ payee: TAccountPayee;
83
+ feeTo?: TAccountFeeTo;
84
+ partnerTo?: TAccountPartnerTo;
85
+ judgeTo?: TAccountJudgeTo;
86
+ committee: TAccountCommittee;
87
+ inputTokenProgram: TAccountInputTokenProgram;
88
+ instructions: TAccountInstructions;
89
+ claims?: TAccountClaims;
90
+ stakeTo?: TAccountStakeTo;
91
+ eventAuthority: TAccountEventAuthority;
92
+ program: TAccountProgram;
93
+ amountIn: FillAttestedCommitteeInstructionDataArgs["amountIn"];
94
+ result: FillAttestedCommitteeInstructionDataArgs["result"];
95
+ maxFeeBps: FillAttestedCommitteeInstructionDataArgs["maxFeeBps"];
96
+ signers: FillAttestedCommitteeInstructionDataArgs["signers"];
97
+ ext: FillAttestedCommitteeInstructionDataArgs["ext"];
98
+ };
99
+ export declare function getFillAttestedCommitteeInstruction<TAccountSolver extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountPayee extends InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput, TAccountCommittee extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountClaims extends InstructionAccountInput, TAccountStakeTo extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: FillAttestedCommitteeInput<TAccountSolver, TAccountConfig, TAccountIntent, TAccountVault, TAccountInputMint, TAccountPayee, TAccountFeeTo, TAccountPartnerTo, TAccountJudgeTo, TAccountCommittee, TAccountInputTokenProgram, TAccountInstructions, TAccountClaims, TAccountStakeTo, TAccountEventAuthority, TAccountProgram>, config?: {
100
+ programAddress?: TProgramAddress;
101
+ }): FillAttestedCommitteeInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountSolver, InstructionAccountInputAddress<TAccountSolver>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountPayee, InstructionAccountInputAddress<TAccountPayee>>, ResolvedInstructionAccountMeta<TAccountFeeTo, InstructionAccountInputAddress<TAccountFeeTo>>, ResolvedInstructionAccountMeta<TAccountPartnerTo, InstructionAccountInputAddress<TAccountPartnerTo>>, ResolvedInstructionAccountMeta<TAccountJudgeTo, InstructionAccountInputAddress<TAccountJudgeTo>>, ResolvedInstructionAccountMeta<TAccountCommittee, InstructionAccountInputAddress<TAccountCommittee>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountClaims, InstructionAccountInputAddress<TAccountClaims>>, ResolvedInstructionAccountMeta<TAccountStakeTo, InstructionAccountInputAddress<TAccountStakeTo>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>;
102
+ export type ParsedFillAttestedCommitteeInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
103
+ programAddress: Address<TProgram>;
104
+ accounts: {
105
+ solver: TAccountMetas[0];
106
+ config: TAccountMetas[1];
107
+ intent: TAccountMetas[2];
108
+ vault: TAccountMetas[3];
109
+ inputMint: TAccountMetas[4];
110
+ payee: TAccountMetas[5];
111
+ feeTo?: TAccountMetas[6] | undefined;
112
+ partnerTo?: TAccountMetas[7] | undefined;
113
+ judgeTo?: TAccountMetas[8] | undefined;
114
+ committee: TAccountMetas[9];
115
+ inputTokenProgram: TAccountMetas[10];
116
+ instructions: TAccountMetas[11];
117
+ claims?: TAccountMetas[12] | undefined;
118
+ stakeTo?: TAccountMetas[13] | undefined;
119
+ eventAuthority: TAccountMetas[14];
120
+ program: TAccountMetas[15];
121
+ };
122
+ data: FillAttestedCommitteeInstructionData;
123
+ };
124
+ export declare function parseFillAttestedCommitteeInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedFillAttestedCommitteeInstruction<TProgram, TAccountMetas>;