@intent-engine/core 0.1.18 → 0.1.19

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 (34) hide show
  1. package/dist/generated/client/errors/intentEngine.d.ts +9 -1
  2. package/dist/generated/client/errors/intentEngine.js +12 -0
  3. package/dist/generated/client/errors/intentEngine.js.map +1 -1
  4. package/dist/generated/client/events/index.d.ts +1 -0
  5. package/dist/generated/client/events/index.js +1 -0
  6. package/dist/generated/client/events/index.js.map +1 -1
  7. package/dist/generated/client/events/intentSplit.d.ts +44 -0
  8. package/dist/generated/client/events/intentSplit.js +56 -0
  9. package/dist/generated/client/events/intentSplit.js.map +1 -0
  10. package/dist/generated/client/instructions/fillAttestedSplit.d.ts +144 -0
  11. package/dist/generated/client/instructions/fillAttestedSplit.js +338 -0
  12. package/dist/generated/client/instructions/fillAttestedSplit.js.map +1 -0
  13. package/dist/generated/client/instructions/index.d.ts +1 -0
  14. package/dist/generated/client/instructions/index.js +1 -0
  15. package/dist/generated/client/instructions/index.js.map +1 -1
  16. package/dist/generated/client/programs/intentEngine.d.ts +42 -35
  17. package/dist/generated/client/programs/intentEngine.js +53 -35
  18. package/dist/generated/client/programs/intentEngine.js.map +1 -1
  19. package/dist/src/bounty.d.ts +2 -0
  20. package/dist/src/bounty.js +44 -0
  21. package/dist/src/bounty.js.map +1 -0
  22. package/dist/src/builders.d.ts +6 -0
  23. package/dist/src/builders.js +54 -1
  24. package/dist/src/builders.js.map +1 -1
  25. package/dist/src/events.js +2 -1
  26. package/dist/src/events.js.map +1 -1
  27. package/dist/src/index.d.ts +1 -0
  28. package/dist/src/index.js +1 -0
  29. package/dist/src/index.js.map +1 -1
  30. package/dist/src/sig.d.ts +18 -0
  31. package/dist/src/sig.js +94 -0
  32. package/dist/src/sig.js.map +1 -1
  33. package/generated/idl.json +258 -0
  34. package/package.json +1 -1
@@ -160,7 +160,15 @@ export declare const INTENT_ENGINE_ERROR__CREATE_COST_ABOVE_CEILING = 6074;
160
160
  export declare const INTENT_ENGINE_ERROR__NONCE_JUMP_TOO_LARGE = 6075;
161
161
  /** EpochJumpTooLarge: */
162
162
  export declare const INTENT_ENGINE_ERROR__EPOCH_JUMP_TOO_LARGE = 6076;
163
- export type IntentEngineError = typeof INTENT_ENGINE_ERROR__AMOUNT_IN_MISMATCH | typeof INTENT_ENGINE_ERROR__AMOUNT_MISMATCH | typeof INTENT_ENGINE_ERROR__AUCTION_OUTLIVES_EXPIRY | typeof INTENT_ENGINE_ERROR__CRANK_BOUNTY_TOO_HIGH | typeof INTENT_ENGINE_ERROR__CREATE_COST_ABOVE_CEILING | typeof INTENT_ENGINE_ERROR__CREATE_FEE_TOO_HIGH | typeof INTENT_ENGINE_ERROR__CREATE_PAUSED | typeof INTENT_ENGINE_ERROR__DIVIDE_BY_ZERO | typeof INTENT_ENGINE_ERROR__EPOCH_JUMP_TOO_LARGE | typeof INTENT_ENGINE_ERROR__EPOCH_REGRESSION | typeof INTENT_ENGINE_ERROR__EXPIRY_NOT_IN_FUTURE | typeof INTENT_ENGINE_ERROR__EXT_MALFORMED | typeof INTENT_ENGINE_ERROR__EXT_TOO_LONG | typeof INTENT_ENGINE_ERROR__EXT_UNKNOWN | typeof INTENT_ENGINE_ERROR__FEE_ABOVE_BOUND | typeof INTENT_ENGINE_ERROR__FEE_ACCOUNT_MISSING | typeof INTENT_ENGINE_ERROR__FEE_ACCOUNT_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__FEE_TOO_HIGH | typeof INTENT_ENGINE_ERROR__FILL_KIND_DISABLED | typeof INTENT_ENGINE_ERROR__FILL_PAUSED | typeof INTENT_ENGINE_ERROR__FLAGS_UNKNOWN | typeof INTENT_ENGINE_ERROR__FLASH_CPI | typeof INTENT_ENGINE_ERROR__FLASH_END_DISCRIMINATOR | typeof INTENT_ENGINE_ERROR__FLASH_END_INTENT | typeof INTENT_ENGINE_ERROR__FLASH_END_ORDER | typeof INTENT_ENGINE_ERROR__FLASH_END_PROGRAM | typeof INTENT_ENGINE_ERROR__INSUFFICIENT_OUTPUT | typeof INTENT_ENGINE_ERROR__INTENT_EXPIRED | typeof INTENT_ENGINE_ERROR__INVALID_DOMAIN | typeof INTENT_ENGINE_ERROR__INVALID_PARAMS | typeof INTENT_ENGINE_ERROR__INVALID_PAUSE_FLAGS | typeof INTENT_ENGINE_ERROR__INVALID_TRANSITION | typeof INTENT_ENGINE_ERROR__KIND_DISABLED | typeof INTENT_ENGINE_ERROR__KIND_MISMATCH | typeof INTENT_ENGINE_ERROR__MANDATE_BUDGET | typeof INTENT_ENGINE_ERROR__MANDATE_CAP | typeof INTENT_ENGINE_ERROR__MANDATE_COUNT | typeof INTENT_ENGINE_ERROR__MANDATE_EXPIRED | typeof INTENT_ENGINE_ERROR__MANDATE_INVALID | typeof INTENT_ENGINE_ERROR__MANDATE_KIND | typeof INTENT_ENGINE_ERROR__MANDATE_MISMATCH | typeof INTENT_ENGINE_ERROR__MANDATE_PRICE | typeof INTENT_ENGINE_ERROR__MANDATE_REVOKED | typeof INTENT_ENGINE_ERROR__MANDATE_TTL | typeof INTENT_ENGINE_ERROR__MINT_NOT_ALLOWED | typeof INTENT_ENGINE_ERROR__NON_CANONICAL | typeof INTENT_ENGINE_ERROR__NONCE_JUMP_TOO_LARGE | typeof INTENT_ENGINE_ERROR__NONCE_OUT_OF_WINDOW | typeof INTENT_ENGINE_ERROR__NONCE_REGRESSION | typeof INTENT_ENGINE_ERROR__NONCE_USED | typeof INTENT_ENGINE_ERROR__NOT_EXPIRED | typeof INTENT_ENGINE_ERROR__NOT_PENDING_ADMIN | typeof INTENT_ENGINE_ERROR__OVERFLOW | typeof INTENT_ENGINE_ERROR__PARTNER_ACCOUNT_MISSING | typeof INTENT_ENGINE_ERROR__PARTNER_ACCOUNT_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__PARTNER_CUT_TOO_HIGH | typeof INTENT_ENGINE_ERROR__PARTNER_FEE_TOO_HIGH | typeof INTENT_ENGINE_ERROR__RECEIVER_CANNOT_RECEIVE | typeof INTENT_ENGINE_ERROR__RECEIVER_NOT_ALLOWED | typeof INTENT_ENGINE_ERROR__REFUND_CANNOT_RECEIVE | typeof INTENT_ENGINE_ERROR__REFUND_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__RESULT_OUT_OF_BOUNDS | typeof INTENT_ENGINE_ERROR__SAME_MINT | typeof INTENT_ENGINE_ERROR__SIG_HEADER | typeof INTENT_ENGINE_ERROR__SIG_MESSAGE | typeof INTENT_ENGINE_ERROR__SIG_MISSING | typeof INTENT_ENGINE_ERROR__SIGNATURE_EXPIRED | typeof INTENT_ENGINE_ERROR__SIG_PROGRAM | typeof INTENT_ENGINE_ERROR__SIG_PUBKEY | typeof INTENT_ENGINE_ERROR__SOLVER_OUTPUT_NOT_ALLOWED | typeof INTENT_ENGINE_ERROR__TREASURY_MISMATCH | typeof INTENT_ENGINE_ERROR__TRUNCATED | typeof INTENT_ENGINE_ERROR__UNAUTHORIZED | typeof INTENT_ENGINE_ERROR__UNKNOWN_KIND | typeof INTENT_ENGINE_ERROR__UNKNOWN_KIND_BITS | typeof INTENT_ENGINE_ERROR__UNKNOWN_STATUS | typeof INTENT_ENGINE_ERROR__UNSUPPORTED_VERSION;
163
+ /** NotAProof: */
164
+ export declare const INTENT_ENGINE_ERROR__NOT_A_PROOF = 6077;
165
+ /** SplitCountMismatch: */
166
+ export declare const INTENT_ENGINE_ERROR__SPLIT_COUNT_MISMATCH = 6078;
167
+ /** RecipientNotCanonical: */
168
+ export declare const INTENT_ENGINE_ERROR__RECIPIENT_NOT_CANONICAL = 6079;
169
+ /** SplitNotConserved: */
170
+ export declare const INTENT_ENGINE_ERROR__SPLIT_NOT_CONSERVED = 6080;
171
+ export type IntentEngineError = typeof INTENT_ENGINE_ERROR__AMOUNT_IN_MISMATCH | typeof INTENT_ENGINE_ERROR__AMOUNT_MISMATCH | typeof INTENT_ENGINE_ERROR__AUCTION_OUTLIVES_EXPIRY | typeof INTENT_ENGINE_ERROR__CRANK_BOUNTY_TOO_HIGH | typeof INTENT_ENGINE_ERROR__CREATE_COST_ABOVE_CEILING | typeof INTENT_ENGINE_ERROR__CREATE_FEE_TOO_HIGH | typeof INTENT_ENGINE_ERROR__CREATE_PAUSED | typeof INTENT_ENGINE_ERROR__DIVIDE_BY_ZERO | typeof INTENT_ENGINE_ERROR__EPOCH_JUMP_TOO_LARGE | typeof INTENT_ENGINE_ERROR__EPOCH_REGRESSION | typeof INTENT_ENGINE_ERROR__EXPIRY_NOT_IN_FUTURE | typeof INTENT_ENGINE_ERROR__EXT_MALFORMED | typeof INTENT_ENGINE_ERROR__EXT_TOO_LONG | typeof INTENT_ENGINE_ERROR__EXT_UNKNOWN | typeof INTENT_ENGINE_ERROR__FEE_ABOVE_BOUND | typeof INTENT_ENGINE_ERROR__FEE_ACCOUNT_MISSING | typeof INTENT_ENGINE_ERROR__FEE_ACCOUNT_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__FEE_TOO_HIGH | typeof INTENT_ENGINE_ERROR__FILL_KIND_DISABLED | typeof INTENT_ENGINE_ERROR__FILL_PAUSED | typeof INTENT_ENGINE_ERROR__FLAGS_UNKNOWN | typeof INTENT_ENGINE_ERROR__FLASH_CPI | typeof INTENT_ENGINE_ERROR__FLASH_END_DISCRIMINATOR | typeof INTENT_ENGINE_ERROR__FLASH_END_INTENT | typeof INTENT_ENGINE_ERROR__FLASH_END_ORDER | typeof INTENT_ENGINE_ERROR__FLASH_END_PROGRAM | typeof INTENT_ENGINE_ERROR__INSUFFICIENT_OUTPUT | typeof INTENT_ENGINE_ERROR__INTENT_EXPIRED | typeof INTENT_ENGINE_ERROR__INVALID_DOMAIN | typeof INTENT_ENGINE_ERROR__INVALID_PARAMS | typeof INTENT_ENGINE_ERROR__INVALID_PAUSE_FLAGS | typeof INTENT_ENGINE_ERROR__INVALID_TRANSITION | typeof INTENT_ENGINE_ERROR__KIND_DISABLED | typeof INTENT_ENGINE_ERROR__KIND_MISMATCH | typeof INTENT_ENGINE_ERROR__MANDATE_BUDGET | typeof INTENT_ENGINE_ERROR__MANDATE_CAP | typeof INTENT_ENGINE_ERROR__MANDATE_COUNT | typeof INTENT_ENGINE_ERROR__MANDATE_EXPIRED | typeof INTENT_ENGINE_ERROR__MANDATE_INVALID | typeof INTENT_ENGINE_ERROR__MANDATE_KIND | typeof INTENT_ENGINE_ERROR__MANDATE_MISMATCH | typeof INTENT_ENGINE_ERROR__MANDATE_PRICE | typeof INTENT_ENGINE_ERROR__MANDATE_REVOKED | typeof INTENT_ENGINE_ERROR__MANDATE_TTL | typeof INTENT_ENGINE_ERROR__MINT_NOT_ALLOWED | typeof INTENT_ENGINE_ERROR__NON_CANONICAL | typeof INTENT_ENGINE_ERROR__NONCE_JUMP_TOO_LARGE | typeof INTENT_ENGINE_ERROR__NONCE_OUT_OF_WINDOW | typeof INTENT_ENGINE_ERROR__NONCE_REGRESSION | typeof INTENT_ENGINE_ERROR__NONCE_USED | typeof INTENT_ENGINE_ERROR__NOT_A_PROOF | typeof INTENT_ENGINE_ERROR__NOT_EXPIRED | typeof INTENT_ENGINE_ERROR__NOT_PENDING_ADMIN | typeof INTENT_ENGINE_ERROR__OVERFLOW | typeof INTENT_ENGINE_ERROR__PARTNER_ACCOUNT_MISSING | typeof INTENT_ENGINE_ERROR__PARTNER_ACCOUNT_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__PARTNER_CUT_TOO_HIGH | typeof INTENT_ENGINE_ERROR__PARTNER_FEE_TOO_HIGH | typeof INTENT_ENGINE_ERROR__RECEIVER_CANNOT_RECEIVE | typeof INTENT_ENGINE_ERROR__RECEIVER_NOT_ALLOWED | typeof INTENT_ENGINE_ERROR__RECIPIENT_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__REFUND_CANNOT_RECEIVE | typeof INTENT_ENGINE_ERROR__REFUND_NOT_CANONICAL | typeof INTENT_ENGINE_ERROR__RESULT_OUT_OF_BOUNDS | typeof INTENT_ENGINE_ERROR__SAME_MINT | typeof INTENT_ENGINE_ERROR__SIG_HEADER | typeof INTENT_ENGINE_ERROR__SIG_MESSAGE | typeof INTENT_ENGINE_ERROR__SIG_MISSING | typeof INTENT_ENGINE_ERROR__SIGNATURE_EXPIRED | typeof INTENT_ENGINE_ERROR__SIG_PROGRAM | typeof INTENT_ENGINE_ERROR__SIG_PUBKEY | typeof INTENT_ENGINE_ERROR__SOLVER_OUTPUT_NOT_ALLOWED | typeof INTENT_ENGINE_ERROR__SPLIT_COUNT_MISMATCH | typeof INTENT_ENGINE_ERROR__SPLIT_NOT_CONSERVED | typeof INTENT_ENGINE_ERROR__TREASURY_MISMATCH | typeof INTENT_ENGINE_ERROR__TRUNCATED | typeof INTENT_ENGINE_ERROR__UNAUTHORIZED | typeof INTENT_ENGINE_ERROR__UNKNOWN_KIND | typeof INTENT_ENGINE_ERROR__UNKNOWN_KIND_BITS | typeof INTENT_ENGINE_ERROR__UNKNOWN_STATUS | typeof INTENT_ENGINE_ERROR__UNSUPPORTED_VERSION;
164
172
  export declare function getIntentEngineErrorMessage(code: IntentEngineError): string;
165
173
  export declare function isIntentEngineError<TProgramErrorCode extends IntentEngineError>(error: unknown, transactionMessage: {
166
174
  instructions: Record<number, {
@@ -161,6 +161,14 @@ export const INTENT_ENGINE_ERROR__CREATE_COST_ABOVE_CEILING = 0x17ba; // 6074
161
161
  export const INTENT_ENGINE_ERROR__NONCE_JUMP_TOO_LARGE = 0x17bb; // 6075
162
162
  /** EpochJumpTooLarge: */
163
163
  export const INTENT_ENGINE_ERROR__EPOCH_JUMP_TOO_LARGE = 0x17bc; // 6076
164
+ /** NotAProof: */
165
+ export const INTENT_ENGINE_ERROR__NOT_A_PROOF = 0x17bd; // 6077
166
+ /** SplitCountMismatch: */
167
+ export const INTENT_ENGINE_ERROR__SPLIT_COUNT_MISMATCH = 0x17be; // 6078
168
+ /** RecipientNotCanonical: */
169
+ export const INTENT_ENGINE_ERROR__RECIPIENT_NOT_CANONICAL = 0x17bf; // 6079
170
+ /** SplitNotConserved: */
171
+ export const INTENT_ENGINE_ERROR__SPLIT_NOT_CONSERVED = 0x17c0; // 6080
164
172
  let intentEngineErrorMessages;
165
173
  if (process.env["NODE_ENV"] !== "production") {
166
174
  intentEngineErrorMessages = {
@@ -214,6 +222,7 @@ if (process.env["NODE_ENV"] !== "production") {
214
222
  [INTENT_ENGINE_ERROR__NONCE_OUT_OF_WINDOW]: ``,
215
223
  [INTENT_ENGINE_ERROR__NONCE_REGRESSION]: ``,
216
224
  [INTENT_ENGINE_ERROR__NONCE_USED]: ``,
225
+ [INTENT_ENGINE_ERROR__NOT_A_PROOF]: ``,
217
226
  [INTENT_ENGINE_ERROR__NOT_EXPIRED]: ``,
218
227
  [INTENT_ENGINE_ERROR__NOT_PENDING_ADMIN]: ``,
219
228
  [INTENT_ENGINE_ERROR__OVERFLOW]: ``,
@@ -223,6 +232,7 @@ if (process.env["NODE_ENV"] !== "production") {
223
232
  [INTENT_ENGINE_ERROR__PARTNER_FEE_TOO_HIGH]: ``,
224
233
  [INTENT_ENGINE_ERROR__RECEIVER_CANNOT_RECEIVE]: ``,
225
234
  [INTENT_ENGINE_ERROR__RECEIVER_NOT_ALLOWED]: ``,
235
+ [INTENT_ENGINE_ERROR__RECIPIENT_NOT_CANONICAL]: ``,
226
236
  [INTENT_ENGINE_ERROR__REFUND_CANNOT_RECEIVE]: ``,
227
237
  [INTENT_ENGINE_ERROR__REFUND_NOT_CANONICAL]: ``,
228
238
  [INTENT_ENGINE_ERROR__RESULT_OUT_OF_BOUNDS]: ``,
@@ -234,6 +244,8 @@ if (process.env["NODE_ENV"] !== "production") {
234
244
  [INTENT_ENGINE_ERROR__SIG_PROGRAM]: ``,
235
245
  [INTENT_ENGINE_ERROR__SIG_PUBKEY]: ``,
236
246
  [INTENT_ENGINE_ERROR__SOLVER_OUTPUT_NOT_ALLOWED]: ``,
247
+ [INTENT_ENGINE_ERROR__SPLIT_COUNT_MISMATCH]: ``,
248
+ [INTENT_ENGINE_ERROR__SPLIT_NOT_CONSERVED]: ``,
237
249
  [INTENT_ENGINE_ERROR__TREASURY_MISMATCH]: ``,
238
250
  [INTENT_ENGINE_ERROR__TRUNCATED]: ``,
239
251
  [INTENT_ENGINE_ERROR__UNAUTHORIZED]: ``,
@@ -1 +1 @@
1
- {"version":3,"file":"intentEngine.js","sourceRoot":"","sources":["../../../../generated/client/errors/intentEngine.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,cAAc,GAIf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAErE,iBAAiB;AACjB,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC5D,qBAAqB;AACrB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,kBAAkB;AAClB,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC7D,qBAAqB;AACrB,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CAAC,CAAC,OAAO;AACjE,oBAAoB;AACpB,MAAM,CAAC,MAAM,iCAAiC,GAAG,MAAM,CAAC,CAAC,OAAO;AAChE,sBAAsB;AACtB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,sBAAsB;AACtB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,uBAAuB;AACvB,MAAM,CAAC,MAAM,oCAAoC,GAAG,MAAM,CAAC,CAAC,OAAO;AACnE,2BAA2B;AAC3B,MAAM,CAAC,MAAM,wCAAwC,GAAG,MAAM,CAAC,CAAC,OAAO;AACvE,0BAA0B;AAC1B,MAAM,CAAC,MAAM,uCAAuC,GAAG,MAAM,CAAC,CAAC,OAAO;AACtE,sBAAsB;AACtB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO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I,CACL,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"intentEngine.js","sourceRoot":"","sources":["../../../../generated/client/errors/intentEngine.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,cAAc,GAIf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAErE,iBAAiB;AACjB,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC5D,qBAAqB;AACrB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,kBAAkB;AAClB,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC7D,qBAAqB;AACrB,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CAAC,CAAC,OAAO;AACjE,oBAAoB;AACpB,MAAM,CAAC,MAAM,iCAAiC,GAAG,MAAM,CAAC,CAAC,OAAO;AAChE,sBAAsB;AACtB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,sBAAsB;AACtB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,uBAAuB;AACvB,MAAM,CAAC,MAAM,oCAAoC,GAAG,MAAM,CAAC,CAAC,OAAO;AACnE,2BAA2B;AAC3B,MAAM,CAAC,MAAM,wCAAwC,GAAG,MAAM,CAAC,CAAC,OAAO;AACvE,0BAA0B;AAC1B,MAAM,CAAC,MAAM,uCAAuC,GAAG,MAAM,CAAC,CAAC,OAAO;AACtE,sBAAsB;AACtB,MAAM,CAAC,MAAM,mCAAmC,GAAG,MAAM,CAAC,CAAC,OAAO;AAClE,mBAAmB;AACnB,MAAM,CAAC,MAAM,gCAAgC,GAAG,MAAM,CAAC,CAAC,OAAO;AAC/D,kBAAkB;AAClB,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CAAC,CAAC,OAA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B,CAAC,IAAuB;IACjE,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,YAAY,EAAE,CAAC;QAC7C,OAAQ,yBAA+D,CACrE,IAAI,CACL,CAAC;IACJ,CAAC;IAED,OAAO,oDAAoD,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,mBAAmB,CAGjC,KAAc,EACd,kBAEC,EACD,IAAwB;IAGxB,OAAO,cAAc,CACnB,KAAK,EACL,kBAAkB,EAClB,6BAA6B,EAC7B,IAAI,CACL,CAAC;AACJ,CAAC"}
@@ -21,6 +21,7 @@ export * from "./intentClosed.js";
21
21
  export * from "./intentCreated.js";
22
22
  export * from "./intentExpired.js";
23
23
  export * from "./intentFilled.js";
24
+ export * from "./intentSplit.js";
24
25
  export * from "./mandateClosed.js";
25
26
  export * from "./mandateCreated.js";
26
27
  export * from "./mandateUsed.js";
@@ -21,6 +21,7 @@ export * from "./intentClosed.js";
21
21
  export * from "./intentCreated.js";
22
22
  export * from "./intentExpired.js";
23
23
  export * from "./intentFilled.js";
24
+ export * from "./intentSplit.js";
24
25
  export * from "./mandateClosed.js";
25
26
  export * from "./mandateCreated.js";
26
27
  export * from "./mandateUsed.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../generated/client/events/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../generated/client/events/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,44 @@
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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from "@solana/kit";
9
+ export declare const INTENT_SPLIT_EVENT_DISCRIMINATOR: ReadonlyUint8Array;
10
+ export declare function getIntentSplitEventDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export type IntentSplitEvent = {
12
+ intent: Address;
13
+ owner: Address;
14
+ solver: Address;
15
+ attestor: Address;
16
+ amountIn: bigint;
17
+ result: bigint;
18
+ fee: bigint;
19
+ net: bigint;
20
+ partnerFee: bigint;
21
+ recipients: number;
22
+ splitHash: ReadonlyUint8Array;
23
+ };
24
+ export type IntentSplitEventArgs = {
25
+ intent: Address;
26
+ owner: Address;
27
+ solver: Address;
28
+ attestor: Address;
29
+ amountIn: number | bigint;
30
+ result: number | bigint;
31
+ fee: number | bigint;
32
+ net: number | bigint;
33
+ partnerFee: number | bigint;
34
+ recipients: number;
35
+ splitHash: ReadonlyUint8Array;
36
+ };
37
+ /** Gets the encoder for {@link IntentSplitEventArgs} event data. */
38
+ export declare function getIntentSplitEventEncoder(): FixedSizeEncoder<IntentSplitEventArgs>;
39
+ /** Gets the decoder for {@link IntentSplitEvent} event data. */
40
+ export declare function getIntentSplitEventDecoder(): FixedSizeDecoder<IntentSplitEvent>;
41
+ /** Gets the codec for {@link IntentSplitEvent} event data. */
42
+ export declare function getIntentSplitEventCodec(): FixedSizeCodec<IntentSplitEventArgs, IntentSplitEvent>;
43
+ /** Parses the provided bytes into {@link IntentSplitEvent} event data. */
44
+ export declare function parseIntentSplitEvent(data: ReadonlyUint8Array | Uint8Array): IntentSplitEvent;
@@ -0,0 +1,56 @@
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, containsBytes, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getConstantDecoder, getConstantEncoder, getHiddenPrefixDecoder, getHiddenPrefixEncoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, getU8Decoder, getU8Encoder, } from "@solana/kit";
9
+ export const INTENT_SPLIT_EVENT_DISCRIMINATOR = new Uint8Array([11, 81, 56, 177, 231, 227, 244, 174]);
10
+ export function getIntentSplitEventDiscriminatorBytes() {
11
+ return fixEncoderSize(getBytesEncoder(), 8).encode(INTENT_SPLIT_EVENT_DISCRIMINATOR);
12
+ }
13
+ /** Gets the encoder for {@link IntentSplitEventArgs} event data. */
14
+ export function getIntentSplitEventEncoder() {
15
+ return getHiddenPrefixEncoder(getStructEncoder([
16
+ ["intent", getAddressEncoder()],
17
+ ["owner", getAddressEncoder()],
18
+ ["solver", getAddressEncoder()],
19
+ ["attestor", getAddressEncoder()],
20
+ ["amountIn", getU64Encoder()],
21
+ ["result", getU64Encoder()],
22
+ ["fee", getU64Encoder()],
23
+ ["net", getU64Encoder()],
24
+ ["partnerFee", getU64Encoder()],
25
+ ["recipients", getU8Encoder()],
26
+ ["splitHash", fixEncoderSize(getBytesEncoder(), 32)],
27
+ ]), [getConstantEncoder(INTENT_SPLIT_EVENT_DISCRIMINATOR)]);
28
+ }
29
+ /** Gets the decoder for {@link IntentSplitEvent} event data. */
30
+ export function getIntentSplitEventDecoder() {
31
+ return getHiddenPrefixDecoder(getStructDecoder([
32
+ ["intent", getAddressDecoder()],
33
+ ["owner", getAddressDecoder()],
34
+ ["solver", getAddressDecoder()],
35
+ ["attestor", getAddressDecoder()],
36
+ ["amountIn", getU64Decoder()],
37
+ ["result", getU64Decoder()],
38
+ ["fee", getU64Decoder()],
39
+ ["net", getU64Decoder()],
40
+ ["partnerFee", getU64Decoder()],
41
+ ["recipients", getU8Decoder()],
42
+ ["splitHash", fixDecoderSize(getBytesDecoder(), 32)],
43
+ ]), [getConstantDecoder(INTENT_SPLIT_EVENT_DISCRIMINATOR)]);
44
+ }
45
+ /** Gets the codec for {@link IntentSplitEvent} event data. */
46
+ export function getIntentSplitEventCodec() {
47
+ return combineCodec(getIntentSplitEventEncoder(), getIntentSplitEventDecoder());
48
+ }
49
+ /** Parses the provided bytes into {@link IntentSplitEvent} event data. */
50
+ export function parseIntentSplitEvent(data) {
51
+ if (containsBytes(data, INTENT_SPLIT_EVENT_DISCRIMINATOR, 0)) {
52
+ return getIntentSplitEventDecoder().decode(data);
53
+ }
54
+ throw new Error('The provided data does not match the "IntentSplitEvent" event discriminators.');
55
+ }
56
+ //# sourceMappingURL=intentSplit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intentSplit.js","sourceRoot":"","sources":["../../../../generated/client/events/intentSplit.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,YAAY,EACZ,aAAa,EACb,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,GAMb,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,gCAAgC,GAC3C,IAAI,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;AAExD,MAAM,UAAU,qCAAqC;IACnD,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAChD,gCAAgC,CACjC,CAAC;AACJ,CAAC;AA8BD,oEAAoE;AACpE,MAAM,UAAU,0BAA0B;IACxC,OAAO,sBAAsB,CAC3B,gBAAgB,CAAC;QACf,CAAC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;QAC/B,CAAC,OAAO,EAAE,iBAAiB,EAAE,CAAC;QAC9B,CAAC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;QAC/B,CAAC,UAAU,EAAE,iBAAiB,EAAE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A0E;AAC1E,MAAM,UAAU,qBAAqB,CACnC,IAAqC;IAErC,IAAI,aAAa,CAAC,IAAI,EAAE,gCAAgC,EAAE,CAAC,CAAC,EAAE,CAAC;QAC7D,OAAO,0BAA0B,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACD,MAAM,IAAI,KAAK,CACb,+EAA+E,CAChF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,144 @@
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_SPLIT_DISCRIMINATOR: ReadonlyUint8Array;
12
+ export declare function getFillAttestedSplitDiscriminatorBytes(): ReadonlyUint8Array;
13
+ export type FillAttestedSplitInstruction<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, TAccountFeeTo extends string | AccountMeta<string> = string, TAccountPartnerTo extends string | AccountMeta<string> = string, TAccountJudgeTo extends string | AccountMeta<string> = string, TAccountRecipient0 extends string | AccountMeta<string> = string, TAccountRecipient1 extends string | AccountMeta<string> = string, TAccountRecipient2 extends string | AccountMeta<string> = string, TAccountRecipient3 extends string | AccountMeta<string> = string, TAccountRecipient4 extends string | AccountMeta<string> = string, TAccountRecipient5 extends string | AccountMeta<string> = string, TAccountRecipient6 extends string | AccountMeta<string> = string, TAccountRecipient7 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<[
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
+ TAccountFeeTo extends string ? WritableAccount<TAccountFeeTo> : TAccountFeeTo,
20
+ TAccountPartnerTo extends string ? WritableAccount<TAccountPartnerTo> : TAccountPartnerTo,
21
+ TAccountJudgeTo extends string ? WritableAccount<TAccountJudgeTo> : TAccountJudgeTo,
22
+ TAccountRecipient0 extends string ? WritableAccount<TAccountRecipient0> : TAccountRecipient0,
23
+ TAccountRecipient1 extends string ? WritableAccount<TAccountRecipient1> : TAccountRecipient1,
24
+ TAccountRecipient2 extends string ? WritableAccount<TAccountRecipient2> : TAccountRecipient2,
25
+ TAccountRecipient3 extends string ? WritableAccount<TAccountRecipient3> : TAccountRecipient3,
26
+ TAccountRecipient4 extends string ? WritableAccount<TAccountRecipient4> : TAccountRecipient4,
27
+ TAccountRecipient5 extends string ? WritableAccount<TAccountRecipient5> : TAccountRecipient5,
28
+ TAccountRecipient6 extends string ? WritableAccount<TAccountRecipient6> : TAccountRecipient6,
29
+ TAccountRecipient7 extends string ? WritableAccount<TAccountRecipient7> : TAccountRecipient7,
30
+ TAccountInputTokenProgram extends string ? ReadonlyAccount<TAccountInputTokenProgram> : TAccountInputTokenProgram,
31
+ TAccountInstructions extends string ? ReadonlyAccount<TAccountInstructions> : TAccountInstructions,
32
+ TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority,
33
+ TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram,
34
+ ...TRemainingAccounts
35
+ ]>;
36
+ export type FillAttestedSplitInstructionData = {
37
+ discriminator: ReadonlyUint8Array;
38
+ amountIn: bigint;
39
+ result: bigint;
40
+ maxFeeBps: number;
41
+ recipients: Array<Address>;
42
+ weights: Array<number>;
43
+ ext: ReadonlyUint8Array;
44
+ };
45
+ export type FillAttestedSplitInstructionDataArgs = {
46
+ amountIn: number | bigint;
47
+ result: number | bigint;
48
+ maxFeeBps: number;
49
+ recipients: Array<Address>;
50
+ weights: Array<number>;
51
+ ext: ReadonlyUint8Array;
52
+ };
53
+ export declare function getFillAttestedSplitInstructionDataEncoder(): Encoder<FillAttestedSplitInstructionDataArgs>;
54
+ export declare function getFillAttestedSplitInstructionDataDecoder(): Decoder<FillAttestedSplitInstructionData>;
55
+ export declare function getFillAttestedSplitInstructionDataCodec(): Codec<FillAttestedSplitInstructionDataArgs, FillAttestedSplitInstructionData>;
56
+ export type FillAttestedSplitAsyncInput<TAccountSolver extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput = InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient0 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient1 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient2 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient3 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient4 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient5 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient6 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient7 extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
57
+ solver: TAccountSolver;
58
+ config?: TAccountConfig;
59
+ intent: TAccountIntent;
60
+ vault?: TAccountVault;
61
+ inputMint: TAccountInputMint;
62
+ feeTo?: TAccountFeeTo;
63
+ partnerTo?: TAccountPartnerTo;
64
+ judgeTo?: TAccountJudgeTo;
65
+ recipient0?: TAccountRecipient0;
66
+ recipient1?: TAccountRecipient1;
67
+ recipient2?: TAccountRecipient2;
68
+ recipient3?: TAccountRecipient3;
69
+ recipient4?: TAccountRecipient4;
70
+ recipient5?: TAccountRecipient5;
71
+ recipient6?: TAccountRecipient6;
72
+ recipient7?: TAccountRecipient7;
73
+ inputTokenProgram: TAccountInputTokenProgram;
74
+ instructions: TAccountInstructions;
75
+ eventAuthority: TAccountEventAuthority;
76
+ program: TAccountProgram;
77
+ amountIn: FillAttestedSplitInstructionDataArgs["amountIn"];
78
+ result: FillAttestedSplitInstructionDataArgs["result"];
79
+ maxFeeBps: FillAttestedSplitInstructionDataArgs["maxFeeBps"];
80
+ recipients: FillAttestedSplitInstructionDataArgs["recipients"];
81
+ weights: FillAttestedSplitInstructionDataArgs["weights"];
82
+ ext: FillAttestedSplitInstructionDataArgs["ext"];
83
+ };
84
+ export declare function getFillAttestedSplitInstructionAsync<TAccountSolver extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput, TAccountRecipient0 extends InstructionAccountInput, TAccountRecipient1 extends InstructionAccountInput, TAccountRecipient2 extends InstructionAccountInput, TAccountRecipient3 extends InstructionAccountInput, TAccountRecipient4 extends InstructionAccountInput, TAccountRecipient5 extends InstructionAccountInput, TAccountRecipient6 extends InstructionAccountInput, TAccountRecipient7 extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: FillAttestedSplitAsyncInput<TAccountSolver, TAccountConfig, TAccountIntent, TAccountVault, TAccountInputMint, TAccountFeeTo, TAccountPartnerTo, TAccountJudgeTo, TAccountRecipient0, TAccountRecipient1, TAccountRecipient2, TAccountRecipient3, TAccountRecipient4, TAccountRecipient5, TAccountRecipient6, TAccountRecipient7, TAccountInputTokenProgram, TAccountInstructions, TAccountEventAuthority, TAccountProgram>, config?: {
85
+ programAddress?: TProgramAddress;
86
+ }): Promise<FillAttestedSplitInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountSolver, InstructionAccountInputAddress<TAccountSolver>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountFeeTo, InstructionAccountInputAddress<TAccountFeeTo>>, ResolvedInstructionAccountMeta<TAccountPartnerTo, InstructionAccountInputAddress<TAccountPartnerTo>>, ResolvedInstructionAccountMeta<TAccountJudgeTo, InstructionAccountInputAddress<TAccountJudgeTo>>, ResolvedInstructionAccountMeta<TAccountRecipient0, InstructionAccountInputAddress<TAccountRecipient0>>, ResolvedInstructionAccountMeta<TAccountRecipient1, InstructionAccountInputAddress<TAccountRecipient1>>, ResolvedInstructionAccountMeta<TAccountRecipient2, InstructionAccountInputAddress<TAccountRecipient2>>, ResolvedInstructionAccountMeta<TAccountRecipient3, InstructionAccountInputAddress<TAccountRecipient3>>, ResolvedInstructionAccountMeta<TAccountRecipient4, InstructionAccountInputAddress<TAccountRecipient4>>, ResolvedInstructionAccountMeta<TAccountRecipient5, InstructionAccountInputAddress<TAccountRecipient5>>, ResolvedInstructionAccountMeta<TAccountRecipient6, InstructionAccountInputAddress<TAccountRecipient6>>, ResolvedInstructionAccountMeta<TAccountRecipient7, InstructionAccountInputAddress<TAccountRecipient7>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>>;
87
+ export type FillAttestedSplitInput<TAccountSolver extends InstructionSignerInput = InstructionSignerInput, TAccountConfig extends InstructionAccountInput = InstructionAccountInput, TAccountIntent extends InstructionAccountInput = InstructionAccountInput, TAccountVault extends InstructionAccountInput = InstructionAccountInput, TAccountInputMint extends InstructionAccountInput = InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput = InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput = InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient0 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient1 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient2 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient3 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient4 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient5 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient6 extends InstructionAccountInput = InstructionAccountInput, TAccountRecipient7 extends InstructionAccountInput = InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountInstructions extends InstructionAccountInput = InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput, TAccountProgram extends InstructionAccountInput = InstructionAccountInput> = {
88
+ solver: TAccountSolver;
89
+ config?: TAccountConfig;
90
+ intent: TAccountIntent;
91
+ vault: TAccountVault;
92
+ inputMint: TAccountInputMint;
93
+ feeTo?: TAccountFeeTo;
94
+ partnerTo?: TAccountPartnerTo;
95
+ judgeTo?: TAccountJudgeTo;
96
+ recipient0?: TAccountRecipient0;
97
+ recipient1?: TAccountRecipient1;
98
+ recipient2?: TAccountRecipient2;
99
+ recipient3?: TAccountRecipient3;
100
+ recipient4?: TAccountRecipient4;
101
+ recipient5?: TAccountRecipient5;
102
+ recipient6?: TAccountRecipient6;
103
+ recipient7?: TAccountRecipient7;
104
+ inputTokenProgram: TAccountInputTokenProgram;
105
+ instructions: TAccountInstructions;
106
+ eventAuthority: TAccountEventAuthority;
107
+ program: TAccountProgram;
108
+ amountIn: FillAttestedSplitInstructionDataArgs["amountIn"];
109
+ result: FillAttestedSplitInstructionDataArgs["result"];
110
+ maxFeeBps: FillAttestedSplitInstructionDataArgs["maxFeeBps"];
111
+ recipients: FillAttestedSplitInstructionDataArgs["recipients"];
112
+ weights: FillAttestedSplitInstructionDataArgs["weights"];
113
+ ext: FillAttestedSplitInstructionDataArgs["ext"];
114
+ };
115
+ export declare function getFillAttestedSplitInstruction<TAccountSolver extends InstructionSignerInput, TAccountConfig extends InstructionAccountInput, TAccountIntent extends InstructionAccountInput, TAccountVault extends InstructionAccountInput, TAccountInputMint extends InstructionAccountInput, TAccountFeeTo extends InstructionAccountInput, TAccountPartnerTo extends InstructionAccountInput, TAccountJudgeTo extends InstructionAccountInput, TAccountRecipient0 extends InstructionAccountInput, TAccountRecipient1 extends InstructionAccountInput, TAccountRecipient2 extends InstructionAccountInput, TAccountRecipient3 extends InstructionAccountInput, TAccountRecipient4 extends InstructionAccountInput, TAccountRecipient5 extends InstructionAccountInput, TAccountRecipient6 extends InstructionAccountInput, TAccountRecipient7 extends InstructionAccountInput, TAccountInputTokenProgram extends InstructionAccountInput, TAccountInstructions extends InstructionAccountInput, TAccountEventAuthority extends InstructionAccountInput, TAccountProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof INTENT_ENGINE_PROGRAM_ADDRESS>(input: FillAttestedSplitInput<TAccountSolver, TAccountConfig, TAccountIntent, TAccountVault, TAccountInputMint, TAccountFeeTo, TAccountPartnerTo, TAccountJudgeTo, TAccountRecipient0, TAccountRecipient1, TAccountRecipient2, TAccountRecipient3, TAccountRecipient4, TAccountRecipient5, TAccountRecipient6, TAccountRecipient7, TAccountInputTokenProgram, TAccountInstructions, TAccountEventAuthority, TAccountProgram>, config?: {
116
+ programAddress?: TProgramAddress;
117
+ }): FillAttestedSplitInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountSolver, InstructionAccountInputAddress<TAccountSolver>>, ResolvedInstructionAccountMeta<TAccountConfig, InstructionAccountInputAddress<TAccountConfig>>, ResolvedInstructionAccountMeta<TAccountIntent, InstructionAccountInputAddress<TAccountIntent>>, ResolvedInstructionAccountMeta<TAccountVault, InstructionAccountInputAddress<TAccountVault>>, ResolvedInstructionAccountMeta<TAccountInputMint, InstructionAccountInputAddress<TAccountInputMint>>, ResolvedInstructionAccountMeta<TAccountFeeTo, InstructionAccountInputAddress<TAccountFeeTo>>, ResolvedInstructionAccountMeta<TAccountPartnerTo, InstructionAccountInputAddress<TAccountPartnerTo>>, ResolvedInstructionAccountMeta<TAccountJudgeTo, InstructionAccountInputAddress<TAccountJudgeTo>>, ResolvedInstructionAccountMeta<TAccountRecipient0, InstructionAccountInputAddress<TAccountRecipient0>>, ResolvedInstructionAccountMeta<TAccountRecipient1, InstructionAccountInputAddress<TAccountRecipient1>>, ResolvedInstructionAccountMeta<TAccountRecipient2, InstructionAccountInputAddress<TAccountRecipient2>>, ResolvedInstructionAccountMeta<TAccountRecipient3, InstructionAccountInputAddress<TAccountRecipient3>>, ResolvedInstructionAccountMeta<TAccountRecipient4, InstructionAccountInputAddress<TAccountRecipient4>>, ResolvedInstructionAccountMeta<TAccountRecipient5, InstructionAccountInputAddress<TAccountRecipient5>>, ResolvedInstructionAccountMeta<TAccountRecipient6, InstructionAccountInputAddress<TAccountRecipient6>>, ResolvedInstructionAccountMeta<TAccountRecipient7, InstructionAccountInputAddress<TAccountRecipient7>>, ResolvedInstructionAccountMeta<TAccountInputTokenProgram, InstructionAccountInputAddress<TAccountInputTokenProgram>>, ResolvedInstructionAccountMeta<TAccountInstructions, InstructionAccountInputAddress<TAccountInstructions>>, ResolvedInstructionAccountMeta<TAccountEventAuthority, InstructionAccountInputAddress<TAccountEventAuthority>>, ResolvedInstructionAccountMeta<TAccountProgram, InstructionAccountInputAddress<TAccountProgram>>>;
118
+ export type ParsedFillAttestedSplitInstruction<TProgram extends string = typeof INTENT_ENGINE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
119
+ programAddress: Address<TProgram>;
120
+ accounts: {
121
+ solver: TAccountMetas[0];
122
+ config: TAccountMetas[1];
123
+ intent: TAccountMetas[2];
124
+ vault: TAccountMetas[3];
125
+ inputMint: TAccountMetas[4];
126
+ feeTo?: TAccountMetas[5] | undefined;
127
+ partnerTo?: TAccountMetas[6] | undefined;
128
+ judgeTo?: TAccountMetas[7] | undefined;
129
+ recipient0?: TAccountMetas[8] | undefined;
130
+ recipient1?: TAccountMetas[9] | undefined;
131
+ recipient2?: TAccountMetas[10] | undefined;
132
+ recipient3?: TAccountMetas[11] | undefined;
133
+ recipient4?: TAccountMetas[12] | undefined;
134
+ recipient5?: TAccountMetas[13] | undefined;
135
+ recipient6?: TAccountMetas[14] | undefined;
136
+ recipient7?: TAccountMetas[15] | undefined;
137
+ inputTokenProgram: TAccountMetas[16];
138
+ instructions: TAccountMetas[17];
139
+ eventAuthority: TAccountMetas[18];
140
+ program: TAccountMetas[19];
141
+ };
142
+ data: FillAttestedSplitInstructionData;
143
+ };
144
+ export declare function parseFillAttestedSplitInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedFillAttestedSplitInstruction<TProgram, TAccountMetas>;