@mimicprotocol/sdk 0.0.1 → 0.1.0

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 (70) hide show
  1. package/dist/axia/ProposalSigner.d.ts +1 -1
  2. package/dist/axia/ProposalSigner.d.ts.map +1 -1
  3. package/dist/axia/validators.d.ts +556 -293
  4. package/dist/axia/validators.d.ts.map +1 -1
  5. package/dist/axia/validators.js +8 -4
  6. package/dist/axia/validators.js.map +1 -1
  7. package/dist/client/domains/IntentsClient.d.ts +34 -27
  8. package/dist/client/domains/IntentsClient.d.ts.map +1 -1
  9. package/dist/client/domains/IntentsClient.js +35 -24
  10. package/dist/client/domains/IntentsClient.js.map +1 -1
  11. package/dist/registry/TriggerSigner.d.ts +2 -2
  12. package/dist/registry/TriggerSigner.d.ts.map +1 -1
  13. package/dist/registry/TriggerSigner.js +4 -4
  14. package/dist/registry/TriggerSigner.js.map +1 -1
  15. package/dist/registry/validators.d.ts +4 -4
  16. package/dist/relayer/eip712Types.d.ts +5 -1
  17. package/dist/relayer/eip712Types.d.ts.map +1 -1
  18. package/dist/relayer/validators.d.ts +2009 -1530
  19. package/dist/relayer/validators.d.ts.map +1 -1
  20. package/dist/relayer/validators.js +1 -6
  21. package/dist/relayer/validators.js.map +1 -1
  22. package/dist/runner/validators.d.ts +4 -4
  23. package/dist/settler/svm/Controller.d.ts +4 -0
  24. package/dist/settler/svm/Controller.d.ts.map +1 -1
  25. package/dist/settler/svm/Controller.js +11 -0
  26. package/dist/settler/svm/Controller.js.map +1 -1
  27. package/dist/settler/svm/Settler.d.ts +16 -4
  28. package/dist/settler/svm/Settler.d.ts.map +1 -1
  29. package/dist/settler/svm/Settler.js +64 -15
  30. package/dist/settler/svm/Settler.js.map +1 -1
  31. package/dist/settler/svm/types.d.ts +9 -5
  32. package/dist/settler/svm/types.d.ts.map +1 -1
  33. package/dist/shared/codec/chains/evm.d.ts +9 -7
  34. package/dist/shared/codec/chains/evm.d.ts.map +1 -1
  35. package/dist/shared/codec/chains/evm.js +96 -41
  36. package/dist/shared/codec/chains/evm.js.map +1 -1
  37. package/dist/shared/codec/chains/svm.d.ts +12 -11
  38. package/dist/shared/codec/chains/svm.d.ts.map +1 -1
  39. package/dist/shared/codec/chains/svm.js +68 -48
  40. package/dist/shared/codec/chains/svm.js.map +1 -1
  41. package/dist/shared/codec/decoder.d.ts +13 -7
  42. package/dist/shared/codec/decoder.d.ts.map +1 -1
  43. package/dist/shared/codec/decoder.js +42 -26
  44. package/dist/shared/codec/decoder.js.map +1 -1
  45. package/dist/shared/codec/encoder.d.ts +54 -49
  46. package/dist/shared/codec/encoder.d.ts.map +1 -1
  47. package/dist/shared/codec/encoder.js +58 -24
  48. package/dist/shared/codec/encoder.js.map +1 -1
  49. package/dist/shared/codec/index.d.ts +1 -1
  50. package/dist/shared/codec/index.d.ts.map +1 -1
  51. package/dist/shared/codec/index.js +5 -5
  52. package/dist/shared/codec/index.js.map +1 -1
  53. package/dist/shared/eip712Types/index.d.ts +12 -5
  54. package/dist/shared/eip712Types/index.d.ts.map +1 -1
  55. package/dist/shared/eip712Types/index.js +24 -16
  56. package/dist/shared/eip712Types/index.js.map +1 -1
  57. package/dist/shared/types/intents.d.ts +23 -16
  58. package/dist/shared/types/intents.d.ts.map +1 -1
  59. package/dist/shared/utils/addresses.d.ts +1 -1
  60. package/dist/shared/utils/addresses.js +1 -1
  61. package/dist/shared/utils/tokens.d.ts +3 -0
  62. package/dist/shared/utils/tokens.d.ts.map +1 -1
  63. package/dist/shared/utils/tokens.js +6 -1
  64. package/dist/shared/utils/tokens.js.map +1 -1
  65. package/dist/shared/validators/executions.d.ts +6 -6
  66. package/dist/shared/validators/intents.d.ts +1491 -275
  67. package/dist/shared/validators/intents.d.ts.map +1 -1
  68. package/dist/shared/validators/intents.js +69 -28
  69. package/dist/shared/validators/intents.js.map +1 -1
  70. package/package.json +1 -1
@@ -3,7 +3,9 @@ export declare const OpType: {
3
3
  readonly Swap: 0;
4
4
  readonly Transfer: 1;
5
5
  readonly EvmCall: 2;
6
- readonly SvmCall: 3;
6
+ readonly CrossChainSwap: 3;
7
+ readonly EvmDynamicCall: 4;
8
+ readonly SvmCall: 5;
7
9
  };
8
10
  export type OpType = (typeof OpType)[keyof typeof OpType];
9
11
  export declare const MaxFeeValidator: z.ZodObject<{
@@ -26,7 +28,7 @@ export declare const MaxFeesValidator: z.ZodArray<z.ZodObject<{
26
28
  token: string;
27
29
  amount: string;
28
30
  }>, "many">;
29
- export declare const IntentEventValidator: z.ZodObject<{
31
+ export declare const OperationEventValidator: z.ZodObject<{
30
32
  topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
31
33
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
32
34
  }, "strip", z.ZodTypeAny, {
@@ -36,7 +38,7 @@ export declare const IntentEventValidator: z.ZodObject<{
36
38
  data: string;
37
39
  topic: string;
38
40
  }>;
39
- export declare const IntentEventsValidator: z.ZodArray<z.ZodObject<{
41
+ export declare const OperationEventsValidator: z.ZodArray<z.ZodObject<{
40
42
  topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
41
43
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
42
44
  }, "strip", z.ZodTypeAny, {
@@ -46,18 +48,49 @@ export declare const IntentEventsValidator: z.ZodArray<z.ZodObject<{
46
48
  data: string;
47
49
  topic: string;
48
50
  }>, "many">;
49
- export declare const IntentValidator: z.ZodObject<{
50
- op: z.ZodNativeEnum<{
51
+ export declare const OperationValidator: z.ZodObject<{
52
+ opType: z.ZodNativeEnum<{
51
53
  readonly Swap: 0;
52
54
  readonly Transfer: 1;
53
55
  readonly EvmCall: 2;
54
- readonly SvmCall: 3;
56
+ readonly CrossChainSwap: 3;
57
+ readonly EvmDynamicCall: 4;
58
+ readonly SvmCall: 5;
55
59
  }>;
56
60
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
61
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
62
+ events: z.ZodArray<z.ZodObject<{
63
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
64
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ data: string;
67
+ topic: string;
68
+ }, {
69
+ data: string;
70
+ topic: string;
71
+ }>, "many">;
72
+ }, "strip", z.ZodTypeAny, {
73
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
74
+ user: string;
75
+ data: string;
76
+ events: {
77
+ data: string;
78
+ topic: string;
79
+ }[];
80
+ }, {
81
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
82
+ user: string;
83
+ data: string;
84
+ events: {
85
+ data: string;
86
+ topic: string;
87
+ }[];
88
+ }>;
89
+ export declare const IntentValidator: z.ZodObject<{
90
+ feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
57
91
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
58
92
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
59
93
  deadline: z.ZodEffects<z.ZodString, string, string>;
60
- data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
61
94
  maxFees: z.ZodArray<z.ZodObject<{
62
95
  token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
63
96
  amount: z.ZodEffects<z.ZodString, string, string>;
@@ -68,65 +101,92 @@ export declare const IntentValidator: z.ZodObject<{
68
101
  token: string;
69
102
  amount: string;
70
103
  }>, "many">;
71
- events: z.ZodArray<z.ZodObject<{
72
- topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
104
+ triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
105
+ minValidations: z.ZodNumber;
106
+ operations: z.ZodArray<z.ZodObject<{
107
+ opType: z.ZodNativeEnum<{
108
+ readonly Swap: 0;
109
+ readonly Transfer: 1;
110
+ readonly EvmCall: 2;
111
+ readonly CrossChainSwap: 3;
112
+ readonly EvmDynamicCall: 4;
113
+ readonly SvmCall: 5;
114
+ }>;
115
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
73
116
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
117
+ events: z.ZodArray<z.ZodObject<{
118
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
119
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ data: string;
122
+ topic: string;
123
+ }, {
124
+ data: string;
125
+ topic: string;
126
+ }>, "many">;
74
127
  }, "strip", z.ZodTypeAny, {
128
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
129
+ user: string;
75
130
  data: string;
76
- topic: string;
131
+ events: {
132
+ data: string;
133
+ topic: string;
134
+ }[];
77
135
  }, {
136
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
137
+ user: string;
78
138
  data: string;
79
- topic: string;
139
+ events: {
140
+ data: string;
141
+ topic: string;
142
+ }[];
80
143
  }>, "many">;
81
- configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
82
- minValidations: z.ZodNumber;
83
144
  }, "strip", z.ZodTypeAny, {
84
- op: 0 | 1 | 2 | 3;
85
- user: string;
145
+ feePayer: string;
86
146
  settler: string;
87
147
  nonce: string;
88
148
  deadline: string;
89
- data: string;
90
149
  maxFees: {
91
150
  token: string;
92
151
  amount: string;
93
152
  }[];
94
- events: {
153
+ triggerSig: string;
154
+ minValidations: number;
155
+ operations: {
156
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
157
+ user: string;
95
158
  data: string;
96
- topic: string;
159
+ events: {
160
+ data: string;
161
+ topic: string;
162
+ }[];
97
163
  }[];
98
- configSig: string;
99
- minValidations: number;
100
164
  }, {
101
- op: 0 | 1 | 2 | 3;
102
- user: string;
165
+ feePayer: string;
103
166
  settler: string;
104
167
  nonce: string;
105
168
  deadline: string;
106
- data: string;
107
169
  maxFees: {
108
170
  token: string;
109
171
  amount: string;
110
172
  }[];
111
- events: {
173
+ triggerSig: string;
174
+ minValidations: number;
175
+ operations: {
176
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
177
+ user: string;
112
178
  data: string;
113
- topic: string;
179
+ events: {
180
+ data: string;
181
+ topic: string;
182
+ }[];
114
183
  }[];
115
- configSig: string;
116
- minValidations: number;
117
184
  }>;
118
185
  export declare const ValidatedIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
119
- op: z.ZodNativeEnum<{
120
- readonly Swap: 0;
121
- readonly Transfer: 1;
122
- readonly EvmCall: 2;
123
- readonly SvmCall: 3;
124
- }>;
125
- user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
186
+ feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
126
187
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
127
188
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
128
189
  deadline: z.ZodEffects<z.ZodString, string, string>;
129
- data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
130
190
  maxFees: z.ZodArray<z.ZodObject<{
131
191
  token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
132
192
  amount: z.ZodEffects<z.ZodString, string, string>;
@@ -137,74 +197,108 @@ export declare const ValidatedIntentValidator: z.ZodObject<z.objectUtil.extendSh
137
197
  token: string;
138
198
  amount: string;
139
199
  }>, "many">;
140
- events: z.ZodArray<z.ZodObject<{
141
- topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
200
+ triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
201
+ minValidations: z.ZodNumber;
202
+ operations: z.ZodArray<z.ZodObject<{
203
+ opType: z.ZodNativeEnum<{
204
+ readonly Swap: 0;
205
+ readonly Transfer: 1;
206
+ readonly EvmCall: 2;
207
+ readonly CrossChainSwap: 3;
208
+ readonly EvmDynamicCall: 4;
209
+ readonly SvmCall: 5;
210
+ }>;
211
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
142
212
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
213
+ events: z.ZodArray<z.ZodObject<{
214
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
215
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ data: string;
218
+ topic: string;
219
+ }, {
220
+ data: string;
221
+ topic: string;
222
+ }>, "many">;
143
223
  }, "strip", z.ZodTypeAny, {
224
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
225
+ user: string;
144
226
  data: string;
145
- topic: string;
227
+ events: {
228
+ data: string;
229
+ topic: string;
230
+ }[];
146
231
  }, {
232
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
233
+ user: string;
147
234
  data: string;
148
- topic: string;
235
+ events: {
236
+ data: string;
237
+ topic: string;
238
+ }[];
149
239
  }>, "many">;
150
- configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
151
- minValidations: z.ZodNumber;
152
240
  }, {
153
241
  validations: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
154
242
  }>, "strip", z.ZodTypeAny, {
155
- op: 0 | 1 | 2 | 3;
156
- user: string;
243
+ feePayer: string;
157
244
  settler: string;
158
245
  nonce: string;
159
246
  deadline: string;
160
- data: string;
161
247
  maxFees: {
162
248
  token: string;
163
249
  amount: string;
164
250
  }[];
165
- events: {
251
+ triggerSig: string;
252
+ minValidations: number;
253
+ operations: {
254
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
255
+ user: string;
166
256
  data: string;
167
- topic: string;
257
+ events: {
258
+ data: string;
259
+ topic: string;
260
+ }[];
168
261
  }[];
169
- configSig: string;
170
- minValidations: number;
171
262
  validations: string[][];
172
263
  }, {
173
- op: 0 | 1 | 2 | 3;
174
- user: string;
264
+ feePayer: string;
175
265
  settler: string;
176
266
  nonce: string;
177
267
  deadline: string;
178
- data: string;
179
268
  maxFees: {
180
269
  token: string;
181
270
  amount: string;
182
271
  }[];
183
- events: {
272
+ triggerSig: string;
273
+ minValidations: number;
274
+ operations: {
275
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
276
+ user: string;
184
277
  data: string;
185
- topic: string;
278
+ events: {
279
+ data: string;
280
+ topic: string;
281
+ }[];
186
282
  }[];
187
- configSig: string;
188
- minValidations: number;
189
283
  validations: string[][];
190
284
  }>;
191
285
  export declare const ProposalValidator: z.ZodObject<{
192
286
  solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
193
287
  deadline: z.ZodEffects<z.ZodString, string, string>;
194
- data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
288
+ datas: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
195
289
  fees: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
196
290
  }, "strip", z.ZodTypeAny, {
197
291
  deadline: string;
198
- data: string;
199
292
  solver: string;
293
+ datas: string[];
200
294
  fees: string[];
201
295
  }, {
202
296
  deadline: string;
203
- data: string;
204
297
  solver: string;
298
+ datas: string[];
205
299
  fees: string[];
206
300
  }>;
207
- export declare const SwapIntentTokenInValidator: z.ZodObject<{
301
+ export declare const SwapOperationTokenInValidator: z.ZodObject<{
208
302
  token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
209
303
  amount: z.ZodEffects<z.ZodString, string, string>;
210
304
  }, "strip", z.ZodTypeAny, {
@@ -214,7 +308,7 @@ export declare const SwapIntentTokenInValidator: z.ZodObject<{
214
308
  token: string;
215
309
  amount: string;
216
310
  }>;
217
- export declare const SwapIntentTokenOutValidator: z.ZodObject<{
311
+ export declare const SwapOperationTokenOutValidator: z.ZodObject<{
218
312
  token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
219
313
  minAmount: z.ZodEffects<z.ZodString, string, string>;
220
314
  recipient: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -227,7 +321,7 @@ export declare const SwapIntentTokenOutValidator: z.ZodObject<{
227
321
  minAmount: string;
228
322
  recipient: string;
229
323
  }>;
230
- export declare const SwapIntentDataValidator: z.ZodObject<{
324
+ export declare const SwapOperationDataValidator: z.ZodObject<{
231
325
  sourceChain: z.ZodEffects<z.ZodNumber, number, number>;
232
326
  destinationChain: z.ZodEffects<z.ZodNumber, number, number>;
233
327
  tokensIn: z.ZodArray<z.ZodObject<{
@@ -278,28 +372,17 @@ export declare const SwapIntentDataValidator: z.ZodObject<{
278
372
  recipient: string;
279
373
  }[];
280
374
  }>;
281
- export declare const SwapIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
282
- op: z.ZodNativeEnum<{
375
+ export declare const SwapOperationValidator: z.ZodObject<z.objectUtil.extendShape<{
376
+ opType: z.ZodNativeEnum<{
283
377
  readonly Swap: 0;
284
378
  readonly Transfer: 1;
285
379
  readonly EvmCall: 2;
286
- readonly SvmCall: 3;
380
+ readonly CrossChainSwap: 3;
381
+ readonly EvmDynamicCall: 4;
382
+ readonly SvmCall: 5;
287
383
  }>;
288
384
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
289
- settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
290
- nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
291
- deadline: z.ZodEffects<z.ZodString, string, string>;
292
385
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
293
- maxFees: z.ZodArray<z.ZodObject<{
294
- token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
295
- amount: z.ZodEffects<z.ZodString, string, string>;
296
- }, "strip", z.ZodTypeAny, {
297
- token: string;
298
- amount: string;
299
- }, {
300
- token: string;
301
- amount: string;
302
- }>, "many">;
303
386
  events: z.ZodArray<z.ZodObject<{
304
387
  topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
305
388
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -310,8 +393,6 @@ export declare const SwapIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
310
393
  data: string;
311
394
  topic: string;
312
395
  }>, "many">;
313
- configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
314
- minValidations: z.ZodNumber;
315
396
  }, {
316
397
  sourceChain: z.ZodEffects<z.ZodNumber, number, number>;
317
398
  destinationChain: z.ZodEffects<z.ZodNumber, number, number>;
@@ -339,22 +420,13 @@ export declare const SwapIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
339
420
  recipient: string;
340
421
  }>, "many">;
341
422
  }>, "strip", z.ZodTypeAny, {
342
- op: 0 | 1 | 2 | 3;
423
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
343
424
  user: string;
344
- settler: string;
345
- nonce: string;
346
- deadline: string;
347
425
  data: string;
348
- maxFees: {
349
- token: string;
350
- amount: string;
351
- }[];
352
426
  events: {
353
427
  data: string;
354
428
  topic: string;
355
429
  }[];
356
- configSig: string;
357
- minValidations: number;
358
430
  sourceChain: number;
359
431
  destinationChain: number;
360
432
  tokensIn: {
@@ -367,22 +439,13 @@ export declare const SwapIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
367
439
  recipient: string;
368
440
  }[];
369
441
  }, {
370
- op: 0 | 1 | 2 | 3;
442
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
371
443
  user: string;
372
- settler: string;
373
- nonce: string;
374
- deadline: string;
375
444
  data: string;
376
- maxFees: {
377
- token: string;
378
- amount: string;
379
- }[];
380
445
  events: {
381
446
  data: string;
382
447
  topic: string;
383
448
  }[];
384
- configSig: string;
385
- minValidations: number;
386
449
  sourceChain: number;
387
450
  destinationChain: number;
388
451
  tokensIn: {
@@ -411,7 +474,7 @@ export declare const SwapProposalDataValidator: z.ZodObject<{
411
474
  export declare const SwapProposalValidator: z.ZodObject<z.objectUtil.extendShape<{
412
475
  solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
413
476
  deadline: z.ZodEffects<z.ZodString, string, string>;
414
- data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
477
+ datas: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
415
478
  fees: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
416
479
  }, {
417
480
  executor: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -419,22 +482,22 @@ export declare const SwapProposalValidator: z.ZodObject<z.objectUtil.extendShape
419
482
  amountsOut: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
420
483
  }>, "strip", z.ZodTypeAny, {
421
484
  deadline: string;
422
- data: string;
423
485
  solver: string;
486
+ datas: string[];
424
487
  fees: string[];
425
488
  executor: string;
426
489
  executorData: string;
427
490
  amountsOut: string[];
428
491
  }, {
429
492
  deadline: string;
430
- data: string;
431
493
  solver: string;
494
+ datas: string[];
432
495
  fees: string[];
433
496
  executor: string;
434
497
  executorData: string;
435
498
  amountsOut: string[];
436
499
  }>;
437
- export declare const TransferIntentTransferValidator: z.ZodObject<{
500
+ export declare const TransferOperationTransferValidator: z.ZodObject<{
438
501
  token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
439
502
  amount: z.ZodEffects<z.ZodString, string, string>;
440
503
  recipient: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -447,7 +510,7 @@ export declare const TransferIntentTransferValidator: z.ZodObject<{
447
510
  amount: string;
448
511
  recipient: string;
449
512
  }>;
450
- export declare const TransferIntentDataValidator: z.ZodObject<{
513
+ export declare const TransferOperationDataValidator: z.ZodObject<{
451
514
  chainId: z.ZodEffects<z.ZodNumber, number, number>;
452
515
  transfers: z.ZodArray<z.ZodObject<{
453
516
  token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -477,28 +540,17 @@ export declare const TransferIntentDataValidator: z.ZodObject<{
477
540
  recipient: string;
478
541
  }[];
479
542
  }>;
480
- export declare const TransferIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
481
- op: z.ZodNativeEnum<{
543
+ export declare const TransferOperationValidator: z.ZodObject<z.objectUtil.extendShape<{
544
+ opType: z.ZodNativeEnum<{
482
545
  readonly Swap: 0;
483
546
  readonly Transfer: 1;
484
547
  readonly EvmCall: 2;
485
- readonly SvmCall: 3;
548
+ readonly CrossChainSwap: 3;
549
+ readonly EvmDynamicCall: 4;
550
+ readonly SvmCall: 5;
486
551
  }>;
487
552
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
488
- settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
489
- nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
490
- deadline: z.ZodEffects<z.ZodString, string, string>;
491
553
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
492
- maxFees: z.ZodArray<z.ZodObject<{
493
- token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
494
- amount: z.ZodEffects<z.ZodString, string, string>;
495
- }, "strip", z.ZodTypeAny, {
496
- token: string;
497
- amount: string;
498
- }, {
499
- token: string;
500
- amount: string;
501
- }>, "many">;
502
554
  events: z.ZodArray<z.ZodObject<{
503
555
  topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
504
556
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -509,8 +561,6 @@ export declare const TransferIntentValidator: z.ZodObject<z.objectUtil.extendSha
509
561
  data: string;
510
562
  topic: string;
511
563
  }>, "many">;
512
- configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
513
- minValidations: z.ZodNumber;
514
564
  }, {
515
565
  chainId: z.ZodEffects<z.ZodNumber, number, number>;
516
566
  transfers: z.ZodArray<z.ZodObject<{
@@ -527,22 +577,13 @@ export declare const TransferIntentValidator: z.ZodObject<z.objectUtil.extendSha
527
577
  recipient: string;
528
578
  }>, "many">;
529
579
  }>, "strip", z.ZodTypeAny, {
530
- op: 0 | 1 | 2 | 3;
580
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
531
581
  user: string;
532
- settler: string;
533
- nonce: string;
534
- deadline: string;
535
582
  data: string;
536
- maxFees: {
537
- token: string;
538
- amount: string;
539
- }[];
540
583
  events: {
541
584
  data: string;
542
585
  topic: string;
543
586
  }[];
544
- configSig: string;
545
- minValidations: number;
546
587
  chainId: number;
547
588
  transfers: {
548
589
  token: string;
@@ -550,22 +591,13 @@ export declare const TransferIntentValidator: z.ZodObject<z.objectUtil.extendSha
550
591
  recipient: string;
551
592
  }[];
552
593
  }, {
553
- op: 0 | 1 | 2 | 3;
594
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
554
595
  user: string;
555
- settler: string;
556
- nonce: string;
557
- deadline: string;
558
596
  data: string;
559
- maxFees: {
560
- token: string;
561
- amount: string;
562
- }[];
563
597
  events: {
564
598
  data: string;
565
599
  topic: string;
566
600
  }[];
567
- configSig: string;
568
- minValidations: number;
569
601
  chainId: number;
570
602
  transfers: {
571
603
  token: string;
@@ -573,7 +605,7 @@ export declare const TransferIntentValidator: z.ZodObject<z.objectUtil.extendSha
573
605
  recipient: string;
574
606
  }[];
575
607
  }>;
576
- export declare const EvmCallIntentCallValidator: z.ZodObject<{
608
+ export declare const EvmCallOperationCallValidator: z.ZodObject<{
577
609
  target: z.ZodEffects<z.ZodString, string, string>;
578
610
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
579
611
  value: z.ZodEffects<z.ZodString, string, string>;
@@ -586,7 +618,7 @@ export declare const EvmCallIntentCallValidator: z.ZodObject<{
586
618
  data: string;
587
619
  target: string;
588
620
  }>;
589
- export declare const EvmCallIntentDataValidator: z.ZodObject<{
621
+ export declare const EvmCallOperationDataValidator: z.ZodObject<{
590
622
  chainId: z.ZodEffects<z.ZodNumber, number, number>;
591
623
  calls: z.ZodArray<z.ZodObject<{
592
624
  target: z.ZodEffects<z.ZodString, string, string>;
@@ -616,28 +648,17 @@ export declare const EvmCallIntentDataValidator: z.ZodObject<{
616
648
  target: string;
617
649
  }[];
618
650
  }>;
619
- export declare const EvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
620
- op: z.ZodNativeEnum<{
651
+ export declare const EvmCallOperationValidator: z.ZodObject<z.objectUtil.extendShape<{
652
+ opType: z.ZodNativeEnum<{
621
653
  readonly Swap: 0;
622
654
  readonly Transfer: 1;
623
655
  readonly EvmCall: 2;
624
- readonly SvmCall: 3;
656
+ readonly CrossChainSwap: 3;
657
+ readonly EvmDynamicCall: 4;
658
+ readonly SvmCall: 5;
625
659
  }>;
626
660
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
627
- settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
628
- nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
629
- deadline: z.ZodEffects<z.ZodString, string, string>;
630
661
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
631
- maxFees: z.ZodArray<z.ZodObject<{
632
- token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
633
- amount: z.ZodEffects<z.ZodString, string, string>;
634
- }, "strip", z.ZodTypeAny, {
635
- token: string;
636
- amount: string;
637
- }, {
638
- token: string;
639
- amount: string;
640
- }>, "many">;
641
662
  events: z.ZodArray<z.ZodObject<{
642
663
  topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
643
664
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -648,8 +669,6 @@ export declare const EvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
648
669
  data: string;
649
670
  topic: string;
650
671
  }>, "many">;
651
- configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
652
- minValidations: z.ZodNumber;
653
672
  }, {
654
673
  chainId: z.ZodEffects<z.ZodNumber, number, number>;
655
674
  calls: z.ZodArray<z.ZodObject<{
@@ -666,22 +685,13 @@ export declare const EvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
666
685
  target: string;
667
686
  }>, "many">;
668
687
  }>, "strip", z.ZodTypeAny, {
669
- op: 0 | 1 | 2 | 3;
688
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
670
689
  user: string;
671
- settler: string;
672
- nonce: string;
673
- deadline: string;
674
690
  data: string;
675
- maxFees: {
676
- token: string;
677
- amount: string;
678
- }[];
679
691
  events: {
680
692
  data: string;
681
693
  topic: string;
682
694
  }[];
683
- configSig: string;
684
- minValidations: number;
685
695
  chainId: number;
686
696
  calls: {
687
697
  value: string;
@@ -689,22 +699,13 @@ export declare const EvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
689
699
  target: string;
690
700
  }[];
691
701
  }, {
692
- op: 0 | 1 | 2 | 3;
702
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
693
703
  user: string;
694
- settler: string;
695
- nonce: string;
696
- deadline: string;
697
704
  data: string;
698
- maxFees: {
699
- token: string;
700
- amount: string;
701
- }[];
702
705
  events: {
703
706
  data: string;
704
707
  topic: string;
705
708
  }[];
706
- configSig: string;
707
- minValidations: number;
708
709
  chainId: number;
709
710
  calls: {
710
711
  value: string;
@@ -712,76 +713,303 @@ export declare const EvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
712
713
  target: string;
713
714
  }[];
714
715
  }>;
715
- export declare const SvmAccountMetaValidator: z.ZodObject<{
716
- pubkey: z.ZodEffects<z.ZodString, string, string>;
717
- isSigner: z.ZodBoolean;
718
- isWritable: z.ZodBoolean;
716
+ export declare const EvmDynamicArgKind: {
717
+ readonly Literal: 0;
718
+ readonly Variable: 1;
719
+ };
720
+ export type EvmDynamicArgKind = (typeof EvmDynamicArgKind)[keyof typeof EvmDynamicArgKind];
721
+ export declare const EvmDynamicArgValidator: z.ZodObject<{
722
+ kind: z.ZodNativeEnum<{
723
+ readonly Literal: 0;
724
+ readonly Variable: 1;
725
+ }>;
726
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
727
+ isDynamic: z.ZodBoolean;
719
728
  }, "strip", z.ZodTypeAny, {
720
- pubkey: string;
721
- isSigner: boolean;
722
- isWritable: boolean;
729
+ data: string;
730
+ kind: 0 | 1;
731
+ isDynamic: boolean;
723
732
  }, {
724
- pubkey: string;
725
- isSigner: boolean;
726
- isWritable: boolean;
733
+ data: string;
734
+ kind: 0 | 1;
735
+ isDynamic: boolean;
727
736
  }>;
728
- export declare const SvmCallIntentInstructionValidator: z.ZodObject<{
729
- programId: z.ZodEffects<z.ZodString, string, string>;
730
- accountsMeta: z.ZodArray<z.ZodObject<{
731
- pubkey: z.ZodEffects<z.ZodString, string, string>;
732
- isSigner: z.ZodBoolean;
733
- isWritable: z.ZodBoolean;
737
+ export declare const EvmDynamicCallOperationCallValidator: z.ZodObject<{
738
+ target: z.ZodEffects<z.ZodString, string, string>;
739
+ value: z.ZodEffects<z.ZodString, string, string>;
740
+ selector: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
741
+ arguments: z.ZodArray<z.ZodObject<{
742
+ kind: z.ZodNativeEnum<{
743
+ readonly Literal: 0;
744
+ readonly Variable: 1;
745
+ }>;
746
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
747
+ isDynamic: z.ZodBoolean;
734
748
  }, "strip", z.ZodTypeAny, {
735
- pubkey: string;
736
- isSigner: boolean;
737
- isWritable: boolean;
749
+ data: string;
750
+ kind: 0 | 1;
751
+ isDynamic: boolean;
738
752
  }, {
739
- pubkey: string;
740
- isSigner: boolean;
741
- isWritable: boolean;
753
+ data: string;
754
+ kind: 0 | 1;
755
+ isDynamic: boolean;
742
756
  }>, "many">;
743
- data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
744
757
  }, "strip", z.ZodTypeAny, {
745
- data: string;
746
- programId: string;
747
- accountsMeta: {
748
- pubkey: string;
749
- isSigner: boolean;
750
- isWritable: boolean;
758
+ value: string;
759
+ target: string;
760
+ selector: string;
761
+ arguments: {
762
+ data: string;
763
+ kind: 0 | 1;
764
+ isDynamic: boolean;
751
765
  }[];
752
766
  }, {
753
- data: string;
754
- programId: string;
755
- accountsMeta: {
756
- pubkey: string;
757
- isSigner: boolean;
758
- isWritable: boolean;
767
+ value: string;
768
+ target: string;
769
+ selector: string;
770
+ arguments: {
771
+ data: string;
772
+ kind: 0 | 1;
773
+ isDynamic: boolean;
759
774
  }[];
760
775
  }>;
761
- export declare const SvmCallIntentDataValidator: z.ZodObject<{
762
- instructions: z.ZodArray<z.ZodObject<{
763
- programId: z.ZodEffects<z.ZodString, string, string>;
764
- accountsMeta: z.ZodArray<z.ZodObject<{
765
- pubkey: z.ZodEffects<z.ZodString, string, string>;
766
- isSigner: z.ZodBoolean;
767
- isWritable: z.ZodBoolean;
776
+ export declare const EvmDynamicCallOperationDataValidator: z.ZodObject<{
777
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
778
+ calls: z.ZodArray<z.ZodObject<{
779
+ target: z.ZodEffects<z.ZodString, string, string>;
780
+ value: z.ZodEffects<z.ZodString, string, string>;
781
+ selector: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
782
+ arguments: z.ZodArray<z.ZodObject<{
783
+ kind: z.ZodNativeEnum<{
784
+ readonly Literal: 0;
785
+ readonly Variable: 1;
786
+ }>;
787
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
788
+ isDynamic: z.ZodBoolean;
768
789
  }, "strip", z.ZodTypeAny, {
769
- pubkey: string;
770
- isSigner: boolean;
771
- isWritable: boolean;
790
+ data: string;
791
+ kind: 0 | 1;
792
+ isDynamic: boolean;
772
793
  }, {
773
- pubkey: string;
774
- isSigner: boolean;
775
- isWritable: boolean;
794
+ data: string;
795
+ kind: 0 | 1;
796
+ isDynamic: boolean;
776
797
  }>, "many">;
777
- data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
778
798
  }, "strip", z.ZodTypeAny, {
779
- data: string;
780
- programId: string;
781
- accountsMeta: {
782
- pubkey: string;
783
- isSigner: boolean;
784
- isWritable: boolean;
799
+ value: string;
800
+ target: string;
801
+ selector: string;
802
+ arguments: {
803
+ data: string;
804
+ kind: 0 | 1;
805
+ isDynamic: boolean;
806
+ }[];
807
+ }, {
808
+ value: string;
809
+ target: string;
810
+ selector: string;
811
+ arguments: {
812
+ data: string;
813
+ kind: 0 | 1;
814
+ isDynamic: boolean;
815
+ }[];
816
+ }>, "many">;
817
+ }, "strip", z.ZodTypeAny, {
818
+ chainId: number;
819
+ calls: {
820
+ value: string;
821
+ target: string;
822
+ selector: string;
823
+ arguments: {
824
+ data: string;
825
+ kind: 0 | 1;
826
+ isDynamic: boolean;
827
+ }[];
828
+ }[];
829
+ }, {
830
+ chainId: number;
831
+ calls: {
832
+ value: string;
833
+ target: string;
834
+ selector: string;
835
+ arguments: {
836
+ data: string;
837
+ kind: 0 | 1;
838
+ isDynamic: boolean;
839
+ }[];
840
+ }[];
841
+ }>;
842
+ export declare const EvmDynamicCallOperationValidator: z.ZodObject<z.objectUtil.extendShape<{
843
+ opType: z.ZodNativeEnum<{
844
+ readonly Swap: 0;
845
+ readonly Transfer: 1;
846
+ readonly EvmCall: 2;
847
+ readonly CrossChainSwap: 3;
848
+ readonly EvmDynamicCall: 4;
849
+ readonly SvmCall: 5;
850
+ }>;
851
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
852
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
853
+ events: z.ZodArray<z.ZodObject<{
854
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
855
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
856
+ }, "strip", z.ZodTypeAny, {
857
+ data: string;
858
+ topic: string;
859
+ }, {
860
+ data: string;
861
+ topic: string;
862
+ }>, "many">;
863
+ }, {
864
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
865
+ calls: z.ZodArray<z.ZodObject<{
866
+ target: z.ZodEffects<z.ZodString, string, string>;
867
+ value: z.ZodEffects<z.ZodString, string, string>;
868
+ selector: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
869
+ arguments: z.ZodArray<z.ZodObject<{
870
+ kind: z.ZodNativeEnum<{
871
+ readonly Literal: 0;
872
+ readonly Variable: 1;
873
+ }>;
874
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
875
+ isDynamic: z.ZodBoolean;
876
+ }, "strip", z.ZodTypeAny, {
877
+ data: string;
878
+ kind: 0 | 1;
879
+ isDynamic: boolean;
880
+ }, {
881
+ data: string;
882
+ kind: 0 | 1;
883
+ isDynamic: boolean;
884
+ }>, "many">;
885
+ }, "strip", z.ZodTypeAny, {
886
+ value: string;
887
+ target: string;
888
+ selector: string;
889
+ arguments: {
890
+ data: string;
891
+ kind: 0 | 1;
892
+ isDynamic: boolean;
893
+ }[];
894
+ }, {
895
+ value: string;
896
+ target: string;
897
+ selector: string;
898
+ arguments: {
899
+ data: string;
900
+ kind: 0 | 1;
901
+ isDynamic: boolean;
902
+ }[];
903
+ }>, "many">;
904
+ }>, "strip", z.ZodTypeAny, {
905
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
906
+ user: string;
907
+ data: string;
908
+ events: {
909
+ data: string;
910
+ topic: string;
911
+ }[];
912
+ chainId: number;
913
+ calls: {
914
+ value: string;
915
+ target: string;
916
+ selector: string;
917
+ arguments: {
918
+ data: string;
919
+ kind: 0 | 1;
920
+ isDynamic: boolean;
921
+ }[];
922
+ }[];
923
+ }, {
924
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
925
+ user: string;
926
+ data: string;
927
+ events: {
928
+ data: string;
929
+ topic: string;
930
+ }[];
931
+ chainId: number;
932
+ calls: {
933
+ value: string;
934
+ target: string;
935
+ selector: string;
936
+ arguments: {
937
+ data: string;
938
+ kind: 0 | 1;
939
+ isDynamic: boolean;
940
+ }[];
941
+ }[];
942
+ }>;
943
+ export declare const SvmAccountMetaValidator: z.ZodObject<{
944
+ pubkey: z.ZodEffects<z.ZodString, string, string>;
945
+ isSigner: z.ZodBoolean;
946
+ isWritable: z.ZodBoolean;
947
+ }, "strip", z.ZodTypeAny, {
948
+ pubkey: string;
949
+ isSigner: boolean;
950
+ isWritable: boolean;
951
+ }, {
952
+ pubkey: string;
953
+ isSigner: boolean;
954
+ isWritable: boolean;
955
+ }>;
956
+ export declare const SvmCallOperationInstructionValidator: z.ZodObject<{
957
+ programId: z.ZodEffects<z.ZodString, string, string>;
958
+ accountsMeta: z.ZodArray<z.ZodObject<{
959
+ pubkey: z.ZodEffects<z.ZodString, string, string>;
960
+ isSigner: z.ZodBoolean;
961
+ isWritable: z.ZodBoolean;
962
+ }, "strip", z.ZodTypeAny, {
963
+ pubkey: string;
964
+ isSigner: boolean;
965
+ isWritable: boolean;
966
+ }, {
967
+ pubkey: string;
968
+ isSigner: boolean;
969
+ isWritable: boolean;
970
+ }>, "many">;
971
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
972
+ }, "strip", z.ZodTypeAny, {
973
+ data: string;
974
+ programId: string;
975
+ accountsMeta: {
976
+ pubkey: string;
977
+ isSigner: boolean;
978
+ isWritable: boolean;
979
+ }[];
980
+ }, {
981
+ data: string;
982
+ programId: string;
983
+ accountsMeta: {
984
+ pubkey: string;
985
+ isSigner: boolean;
986
+ isWritable: boolean;
987
+ }[];
988
+ }>;
989
+ export declare const SvmCallOperationDataValidator: z.ZodObject<{
990
+ instructions: z.ZodArray<z.ZodObject<{
991
+ programId: z.ZodEffects<z.ZodString, string, string>;
992
+ accountsMeta: z.ZodArray<z.ZodObject<{
993
+ pubkey: z.ZodEffects<z.ZodString, string, string>;
994
+ isSigner: z.ZodBoolean;
995
+ isWritable: z.ZodBoolean;
996
+ }, "strip", z.ZodTypeAny, {
997
+ pubkey: string;
998
+ isSigner: boolean;
999
+ isWritable: boolean;
1000
+ }, {
1001
+ pubkey: string;
1002
+ isSigner: boolean;
1003
+ isWritable: boolean;
1004
+ }>, "many">;
1005
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1006
+ }, "strip", z.ZodTypeAny, {
1007
+ data: string;
1008
+ programId: string;
1009
+ accountsMeta: {
1010
+ pubkey: string;
1011
+ isSigner: boolean;
1012
+ isWritable: boolean;
785
1013
  }[];
786
1014
  }, {
787
1015
  data: string;
@@ -813,28 +1041,17 @@ export declare const SvmCallIntentDataValidator: z.ZodObject<{
813
1041
  }[];
814
1042
  }[];
815
1043
  }>;
816
- export declare const SvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
817
- op: z.ZodNativeEnum<{
1044
+ export declare const SvmCallOperationValidator: z.ZodObject<z.objectUtil.extendShape<{
1045
+ opType: z.ZodNativeEnum<{
818
1046
  readonly Swap: 0;
819
1047
  readonly Transfer: 1;
820
1048
  readonly EvmCall: 2;
821
- readonly SvmCall: 3;
1049
+ readonly CrossChainSwap: 3;
1050
+ readonly EvmDynamicCall: 4;
1051
+ readonly SvmCall: 5;
822
1052
  }>;
823
1053
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
824
- settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
825
- nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
826
- deadline: z.ZodEffects<z.ZodString, string, string>;
827
1054
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
828
- maxFees: z.ZodArray<z.ZodObject<{
829
- token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
830
- amount: z.ZodEffects<z.ZodString, string, string>;
831
- }, "strip", z.ZodTypeAny, {
832
- token: string;
833
- amount: string;
834
- }, {
835
- token: string;
836
- amount: string;
837
- }>, "many">;
838
1055
  events: z.ZodArray<z.ZodObject<{
839
1056
  topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
840
1057
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -845,8 +1062,6 @@ export declare const SvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
845
1062
  data: string;
846
1063
  topic: string;
847
1064
  }>, "many">;
848
- configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
849
- minValidations: z.ZodNumber;
850
1065
  }, {
851
1066
  instructions: z.ZodArray<z.ZodObject<{
852
1067
  programId: z.ZodEffects<z.ZodString, string, string>;
@@ -882,22 +1097,13 @@ export declare const SvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
882
1097
  }[];
883
1098
  }>, "many">;
884
1099
  }>, "strip", z.ZodTypeAny, {
885
- op: 0 | 1 | 2 | 3;
1100
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
886
1101
  user: string;
887
- settler: string;
888
- nonce: string;
889
- deadline: string;
890
1102
  data: string;
891
- maxFees: {
892
- token: string;
893
- amount: string;
894
- }[];
895
1103
  events: {
896
1104
  data: string;
897
1105
  topic: string;
898
1106
  }[];
899
- configSig: string;
900
- minValidations: number;
901
1107
  instructions: {
902
1108
  data: string;
903
1109
  programId: string;
@@ -908,22 +1114,13 @@ export declare const SvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
908
1114
  }[];
909
1115
  }[];
910
1116
  }, {
911
- op: 0 | 1 | 2 | 3;
1117
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
912
1118
  user: string;
913
- settler: string;
914
- nonce: string;
915
- deadline: string;
916
1119
  data: string;
917
- maxFees: {
918
- token: string;
919
- amount: string;
920
- }[];
921
1120
  events: {
922
1121
  data: string;
923
1122
  topic: string;
924
1123
  }[];
925
- configSig: string;
926
- minValidations: number;
927
1124
  instructions: {
928
1125
  data: string;
929
1126
  programId: string;
@@ -934,4 +1131,1023 @@ export declare const SvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
934
1131
  }[];
935
1132
  }[];
936
1133
  }>;
1134
+ export declare const RunnerOperationValidator: z.ZodUnion<[z.ZodObject<Omit<z.objectUtil.extendShape<{
1135
+ opType: z.ZodNativeEnum<{
1136
+ readonly Swap: 0;
1137
+ readonly Transfer: 1;
1138
+ readonly EvmCall: 2;
1139
+ readonly CrossChainSwap: 3;
1140
+ readonly EvmDynamicCall: 4;
1141
+ readonly SvmCall: 5;
1142
+ }>;
1143
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1144
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1145
+ events: z.ZodArray<z.ZodObject<{
1146
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1147
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1148
+ }, "strip", z.ZodTypeAny, {
1149
+ data: string;
1150
+ topic: string;
1151
+ }, {
1152
+ data: string;
1153
+ topic: string;
1154
+ }>, "many">;
1155
+ }, {
1156
+ sourceChain: z.ZodEffects<z.ZodNumber, number, number>;
1157
+ destinationChain: z.ZodEffects<z.ZodNumber, number, number>;
1158
+ tokensIn: z.ZodArray<z.ZodObject<{
1159
+ token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1160
+ amount: z.ZodEffects<z.ZodString, string, string>;
1161
+ }, "strip", z.ZodTypeAny, {
1162
+ token: string;
1163
+ amount: string;
1164
+ }, {
1165
+ token: string;
1166
+ amount: string;
1167
+ }>, "many">;
1168
+ tokensOut: z.ZodArray<z.ZodObject<{
1169
+ token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1170
+ minAmount: z.ZodEffects<z.ZodString, string, string>;
1171
+ recipient: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1172
+ }, "strip", z.ZodTypeAny, {
1173
+ token: string;
1174
+ minAmount: string;
1175
+ recipient: string;
1176
+ }, {
1177
+ token: string;
1178
+ minAmount: string;
1179
+ recipient: string;
1180
+ }>, "many">;
1181
+ }>, "data">, "strip", z.ZodTypeAny, {
1182
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1183
+ user: string;
1184
+ events: {
1185
+ data: string;
1186
+ topic: string;
1187
+ }[];
1188
+ sourceChain: number;
1189
+ destinationChain: number;
1190
+ tokensIn: {
1191
+ token: string;
1192
+ amount: string;
1193
+ }[];
1194
+ tokensOut: {
1195
+ token: string;
1196
+ minAmount: string;
1197
+ recipient: string;
1198
+ }[];
1199
+ }, {
1200
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1201
+ user: string;
1202
+ events: {
1203
+ data: string;
1204
+ topic: string;
1205
+ }[];
1206
+ sourceChain: number;
1207
+ destinationChain: number;
1208
+ tokensIn: {
1209
+ token: string;
1210
+ amount: string;
1211
+ }[];
1212
+ tokensOut: {
1213
+ token: string;
1214
+ minAmount: string;
1215
+ recipient: string;
1216
+ }[];
1217
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1218
+ opType: z.ZodNativeEnum<{
1219
+ readonly Swap: 0;
1220
+ readonly Transfer: 1;
1221
+ readonly EvmCall: 2;
1222
+ readonly CrossChainSwap: 3;
1223
+ readonly EvmDynamicCall: 4;
1224
+ readonly SvmCall: 5;
1225
+ }>;
1226
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1227
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1228
+ events: z.ZodArray<z.ZodObject<{
1229
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1230
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1231
+ }, "strip", z.ZodTypeAny, {
1232
+ data: string;
1233
+ topic: string;
1234
+ }, {
1235
+ data: string;
1236
+ topic: string;
1237
+ }>, "many">;
1238
+ }, {
1239
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
1240
+ transfers: z.ZodArray<z.ZodObject<{
1241
+ token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1242
+ amount: z.ZodEffects<z.ZodString, string, string>;
1243
+ recipient: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1244
+ }, "strip", z.ZodTypeAny, {
1245
+ token: string;
1246
+ amount: string;
1247
+ recipient: string;
1248
+ }, {
1249
+ token: string;
1250
+ amount: string;
1251
+ recipient: string;
1252
+ }>, "many">;
1253
+ }>, "data">, "strip", z.ZodTypeAny, {
1254
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1255
+ user: string;
1256
+ events: {
1257
+ data: string;
1258
+ topic: string;
1259
+ }[];
1260
+ chainId: number;
1261
+ transfers: {
1262
+ token: string;
1263
+ amount: string;
1264
+ recipient: string;
1265
+ }[];
1266
+ }, {
1267
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1268
+ user: string;
1269
+ events: {
1270
+ data: string;
1271
+ topic: string;
1272
+ }[];
1273
+ chainId: number;
1274
+ transfers: {
1275
+ token: string;
1276
+ amount: string;
1277
+ recipient: string;
1278
+ }[];
1279
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1280
+ opType: z.ZodNativeEnum<{
1281
+ readonly Swap: 0;
1282
+ readonly Transfer: 1;
1283
+ readonly EvmCall: 2;
1284
+ readonly CrossChainSwap: 3;
1285
+ readonly EvmDynamicCall: 4;
1286
+ readonly SvmCall: 5;
1287
+ }>;
1288
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1289
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1290
+ events: z.ZodArray<z.ZodObject<{
1291
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1292
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ data: string;
1295
+ topic: string;
1296
+ }, {
1297
+ data: string;
1298
+ topic: string;
1299
+ }>, "many">;
1300
+ }, {
1301
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
1302
+ calls: z.ZodArray<z.ZodObject<{
1303
+ target: z.ZodEffects<z.ZodString, string, string>;
1304
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1305
+ value: z.ZodEffects<z.ZodString, string, string>;
1306
+ }, "strip", z.ZodTypeAny, {
1307
+ value: string;
1308
+ data: string;
1309
+ target: string;
1310
+ }, {
1311
+ value: string;
1312
+ data: string;
1313
+ target: string;
1314
+ }>, "many">;
1315
+ }>, "data">, "strip", z.ZodTypeAny, {
1316
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1317
+ user: string;
1318
+ events: {
1319
+ data: string;
1320
+ topic: string;
1321
+ }[];
1322
+ chainId: number;
1323
+ calls: {
1324
+ value: string;
1325
+ data: string;
1326
+ target: string;
1327
+ }[];
1328
+ }, {
1329
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1330
+ user: string;
1331
+ events: {
1332
+ data: string;
1333
+ topic: string;
1334
+ }[];
1335
+ chainId: number;
1336
+ calls: {
1337
+ value: string;
1338
+ data: string;
1339
+ target: string;
1340
+ }[];
1341
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1342
+ opType: z.ZodNativeEnum<{
1343
+ readonly Swap: 0;
1344
+ readonly Transfer: 1;
1345
+ readonly EvmCall: 2;
1346
+ readonly CrossChainSwap: 3;
1347
+ readonly EvmDynamicCall: 4;
1348
+ readonly SvmCall: 5;
1349
+ }>;
1350
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1351
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1352
+ events: z.ZodArray<z.ZodObject<{
1353
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1354
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1355
+ }, "strip", z.ZodTypeAny, {
1356
+ data: string;
1357
+ topic: string;
1358
+ }, {
1359
+ data: string;
1360
+ topic: string;
1361
+ }>, "many">;
1362
+ }, {
1363
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
1364
+ calls: z.ZodArray<z.ZodObject<{
1365
+ target: z.ZodEffects<z.ZodString, string, string>;
1366
+ value: z.ZodEffects<z.ZodString, string, string>;
1367
+ selector: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1368
+ arguments: z.ZodArray<z.ZodObject<{
1369
+ kind: z.ZodNativeEnum<{
1370
+ readonly Literal: 0;
1371
+ readonly Variable: 1;
1372
+ }>;
1373
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1374
+ isDynamic: z.ZodBoolean;
1375
+ }, "strip", z.ZodTypeAny, {
1376
+ data: string;
1377
+ kind: 0 | 1;
1378
+ isDynamic: boolean;
1379
+ }, {
1380
+ data: string;
1381
+ kind: 0 | 1;
1382
+ isDynamic: boolean;
1383
+ }>, "many">;
1384
+ }, "strip", z.ZodTypeAny, {
1385
+ value: string;
1386
+ target: string;
1387
+ selector: string;
1388
+ arguments: {
1389
+ data: string;
1390
+ kind: 0 | 1;
1391
+ isDynamic: boolean;
1392
+ }[];
1393
+ }, {
1394
+ value: string;
1395
+ target: string;
1396
+ selector: string;
1397
+ arguments: {
1398
+ data: string;
1399
+ kind: 0 | 1;
1400
+ isDynamic: boolean;
1401
+ }[];
1402
+ }>, "many">;
1403
+ }>, "data">, "strip", z.ZodTypeAny, {
1404
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1405
+ user: string;
1406
+ events: {
1407
+ data: string;
1408
+ topic: string;
1409
+ }[];
1410
+ chainId: number;
1411
+ calls: {
1412
+ value: string;
1413
+ target: string;
1414
+ selector: string;
1415
+ arguments: {
1416
+ data: string;
1417
+ kind: 0 | 1;
1418
+ isDynamic: boolean;
1419
+ }[];
1420
+ }[];
1421
+ }, {
1422
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1423
+ user: string;
1424
+ events: {
1425
+ data: string;
1426
+ topic: string;
1427
+ }[];
1428
+ chainId: number;
1429
+ calls: {
1430
+ value: string;
1431
+ target: string;
1432
+ selector: string;
1433
+ arguments: {
1434
+ data: string;
1435
+ kind: 0 | 1;
1436
+ isDynamic: boolean;
1437
+ }[];
1438
+ }[];
1439
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1440
+ opType: z.ZodNativeEnum<{
1441
+ readonly Swap: 0;
1442
+ readonly Transfer: 1;
1443
+ readonly EvmCall: 2;
1444
+ readonly CrossChainSwap: 3;
1445
+ readonly EvmDynamicCall: 4;
1446
+ readonly SvmCall: 5;
1447
+ }>;
1448
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1449
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1450
+ events: z.ZodArray<z.ZodObject<{
1451
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1452
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1453
+ }, "strip", z.ZodTypeAny, {
1454
+ data: string;
1455
+ topic: string;
1456
+ }, {
1457
+ data: string;
1458
+ topic: string;
1459
+ }>, "many">;
1460
+ }, {
1461
+ instructions: z.ZodArray<z.ZodObject<{
1462
+ programId: z.ZodEffects<z.ZodString, string, string>;
1463
+ accountsMeta: z.ZodArray<z.ZodObject<{
1464
+ pubkey: z.ZodEffects<z.ZodString, string, string>;
1465
+ isSigner: z.ZodBoolean;
1466
+ isWritable: z.ZodBoolean;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ pubkey: string;
1469
+ isSigner: boolean;
1470
+ isWritable: boolean;
1471
+ }, {
1472
+ pubkey: string;
1473
+ isSigner: boolean;
1474
+ isWritable: boolean;
1475
+ }>, "many">;
1476
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1477
+ }, "strip", z.ZodTypeAny, {
1478
+ data: string;
1479
+ programId: string;
1480
+ accountsMeta: {
1481
+ pubkey: string;
1482
+ isSigner: boolean;
1483
+ isWritable: boolean;
1484
+ }[];
1485
+ }, {
1486
+ data: string;
1487
+ programId: string;
1488
+ accountsMeta: {
1489
+ pubkey: string;
1490
+ isSigner: boolean;
1491
+ isWritable: boolean;
1492
+ }[];
1493
+ }>, "many">;
1494
+ }>, "data">, "strip", z.ZodTypeAny, {
1495
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1496
+ user: string;
1497
+ events: {
1498
+ data: string;
1499
+ topic: string;
1500
+ }[];
1501
+ instructions: {
1502
+ data: string;
1503
+ programId: string;
1504
+ accountsMeta: {
1505
+ pubkey: string;
1506
+ isSigner: boolean;
1507
+ isWritable: boolean;
1508
+ }[];
1509
+ }[];
1510
+ }, {
1511
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1512
+ user: string;
1513
+ events: {
1514
+ data: string;
1515
+ topic: string;
1516
+ }[];
1517
+ instructions: {
1518
+ data: string;
1519
+ programId: string;
1520
+ accountsMeta: {
1521
+ pubkey: string;
1522
+ isSigner: boolean;
1523
+ isWritable: boolean;
1524
+ }[];
1525
+ }[];
1526
+ }>]>;
1527
+ export declare const RunnerIntentValidator: z.ZodObject<z.objectUtil.extendShape<Omit<{
1528
+ feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1529
+ settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1530
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1531
+ deadline: z.ZodEffects<z.ZodString, string, string>;
1532
+ maxFees: z.ZodArray<z.ZodObject<{
1533
+ token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1534
+ amount: z.ZodEffects<z.ZodString, string, string>;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ token: string;
1537
+ amount: string;
1538
+ }, {
1539
+ token: string;
1540
+ amount: string;
1541
+ }>, "many">;
1542
+ triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1543
+ minValidations: z.ZodNumber;
1544
+ operations: z.ZodArray<z.ZodObject<{
1545
+ opType: z.ZodNativeEnum<{
1546
+ readonly Swap: 0;
1547
+ readonly Transfer: 1;
1548
+ readonly EvmCall: 2;
1549
+ readonly CrossChainSwap: 3;
1550
+ readonly EvmDynamicCall: 4;
1551
+ readonly SvmCall: 5;
1552
+ }>;
1553
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1554
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1555
+ events: z.ZodArray<z.ZodObject<{
1556
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1557
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1558
+ }, "strip", z.ZodTypeAny, {
1559
+ data: string;
1560
+ topic: string;
1561
+ }, {
1562
+ data: string;
1563
+ topic: string;
1564
+ }>, "many">;
1565
+ }, "strip", z.ZodTypeAny, {
1566
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1567
+ user: string;
1568
+ data: string;
1569
+ events: {
1570
+ data: string;
1571
+ topic: string;
1572
+ }[];
1573
+ }, {
1574
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1575
+ user: string;
1576
+ data: string;
1577
+ events: {
1578
+ data: string;
1579
+ topic: string;
1580
+ }[];
1581
+ }>, "many">;
1582
+ }, "triggerSig" | "minValidations" | "operations">, {
1583
+ operations: z.ZodArray<z.ZodUnion<[z.ZodObject<Omit<z.objectUtil.extendShape<{
1584
+ opType: z.ZodNativeEnum<{
1585
+ readonly Swap: 0;
1586
+ readonly Transfer: 1;
1587
+ readonly EvmCall: 2;
1588
+ readonly CrossChainSwap: 3;
1589
+ readonly EvmDynamicCall: 4;
1590
+ readonly SvmCall: 5;
1591
+ }>;
1592
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1593
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1594
+ events: z.ZodArray<z.ZodObject<{
1595
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1596
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ data: string;
1599
+ topic: string;
1600
+ }, {
1601
+ data: string;
1602
+ topic: string;
1603
+ }>, "many">;
1604
+ }, {
1605
+ sourceChain: z.ZodEffects<z.ZodNumber, number, number>;
1606
+ destinationChain: z.ZodEffects<z.ZodNumber, number, number>;
1607
+ tokensIn: z.ZodArray<z.ZodObject<{
1608
+ token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1609
+ amount: z.ZodEffects<z.ZodString, string, string>;
1610
+ }, "strip", z.ZodTypeAny, {
1611
+ token: string;
1612
+ amount: string;
1613
+ }, {
1614
+ token: string;
1615
+ amount: string;
1616
+ }>, "many">;
1617
+ tokensOut: z.ZodArray<z.ZodObject<{
1618
+ token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1619
+ minAmount: z.ZodEffects<z.ZodString, string, string>;
1620
+ recipient: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ token: string;
1623
+ minAmount: string;
1624
+ recipient: string;
1625
+ }, {
1626
+ token: string;
1627
+ minAmount: string;
1628
+ recipient: string;
1629
+ }>, "many">;
1630
+ }>, "data">, "strip", z.ZodTypeAny, {
1631
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1632
+ user: string;
1633
+ events: {
1634
+ data: string;
1635
+ topic: string;
1636
+ }[];
1637
+ sourceChain: number;
1638
+ destinationChain: number;
1639
+ tokensIn: {
1640
+ token: string;
1641
+ amount: string;
1642
+ }[];
1643
+ tokensOut: {
1644
+ token: string;
1645
+ minAmount: string;
1646
+ recipient: string;
1647
+ }[];
1648
+ }, {
1649
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1650
+ user: string;
1651
+ events: {
1652
+ data: string;
1653
+ topic: string;
1654
+ }[];
1655
+ sourceChain: number;
1656
+ destinationChain: number;
1657
+ tokensIn: {
1658
+ token: string;
1659
+ amount: string;
1660
+ }[];
1661
+ tokensOut: {
1662
+ token: string;
1663
+ minAmount: string;
1664
+ recipient: string;
1665
+ }[];
1666
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1667
+ opType: z.ZodNativeEnum<{
1668
+ readonly Swap: 0;
1669
+ readonly Transfer: 1;
1670
+ readonly EvmCall: 2;
1671
+ readonly CrossChainSwap: 3;
1672
+ readonly EvmDynamicCall: 4;
1673
+ readonly SvmCall: 5;
1674
+ }>;
1675
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1676
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1677
+ events: z.ZodArray<z.ZodObject<{
1678
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1679
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1680
+ }, "strip", z.ZodTypeAny, {
1681
+ data: string;
1682
+ topic: string;
1683
+ }, {
1684
+ data: string;
1685
+ topic: string;
1686
+ }>, "many">;
1687
+ }, {
1688
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
1689
+ transfers: z.ZodArray<z.ZodObject<{
1690
+ token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1691
+ amount: z.ZodEffects<z.ZodString, string, string>;
1692
+ recipient: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ token: string;
1695
+ amount: string;
1696
+ recipient: string;
1697
+ }, {
1698
+ token: string;
1699
+ amount: string;
1700
+ recipient: string;
1701
+ }>, "many">;
1702
+ }>, "data">, "strip", z.ZodTypeAny, {
1703
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1704
+ user: string;
1705
+ events: {
1706
+ data: string;
1707
+ topic: string;
1708
+ }[];
1709
+ chainId: number;
1710
+ transfers: {
1711
+ token: string;
1712
+ amount: string;
1713
+ recipient: string;
1714
+ }[];
1715
+ }, {
1716
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1717
+ user: string;
1718
+ events: {
1719
+ data: string;
1720
+ topic: string;
1721
+ }[];
1722
+ chainId: number;
1723
+ transfers: {
1724
+ token: string;
1725
+ amount: string;
1726
+ recipient: string;
1727
+ }[];
1728
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1729
+ opType: z.ZodNativeEnum<{
1730
+ readonly Swap: 0;
1731
+ readonly Transfer: 1;
1732
+ readonly EvmCall: 2;
1733
+ readonly CrossChainSwap: 3;
1734
+ readonly EvmDynamicCall: 4;
1735
+ readonly SvmCall: 5;
1736
+ }>;
1737
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1738
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1739
+ events: z.ZodArray<z.ZodObject<{
1740
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1741
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ data: string;
1744
+ topic: string;
1745
+ }, {
1746
+ data: string;
1747
+ topic: string;
1748
+ }>, "many">;
1749
+ }, {
1750
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
1751
+ calls: z.ZodArray<z.ZodObject<{
1752
+ target: z.ZodEffects<z.ZodString, string, string>;
1753
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1754
+ value: z.ZodEffects<z.ZodString, string, string>;
1755
+ }, "strip", z.ZodTypeAny, {
1756
+ value: string;
1757
+ data: string;
1758
+ target: string;
1759
+ }, {
1760
+ value: string;
1761
+ data: string;
1762
+ target: string;
1763
+ }>, "many">;
1764
+ }>, "data">, "strip", z.ZodTypeAny, {
1765
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1766
+ user: string;
1767
+ events: {
1768
+ data: string;
1769
+ topic: string;
1770
+ }[];
1771
+ chainId: number;
1772
+ calls: {
1773
+ value: string;
1774
+ data: string;
1775
+ target: string;
1776
+ }[];
1777
+ }, {
1778
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1779
+ user: string;
1780
+ events: {
1781
+ data: string;
1782
+ topic: string;
1783
+ }[];
1784
+ chainId: number;
1785
+ calls: {
1786
+ value: string;
1787
+ data: string;
1788
+ target: string;
1789
+ }[];
1790
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1791
+ opType: z.ZodNativeEnum<{
1792
+ readonly Swap: 0;
1793
+ readonly Transfer: 1;
1794
+ readonly EvmCall: 2;
1795
+ readonly CrossChainSwap: 3;
1796
+ readonly EvmDynamicCall: 4;
1797
+ readonly SvmCall: 5;
1798
+ }>;
1799
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1800
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1801
+ events: z.ZodArray<z.ZodObject<{
1802
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1803
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1804
+ }, "strip", z.ZodTypeAny, {
1805
+ data: string;
1806
+ topic: string;
1807
+ }, {
1808
+ data: string;
1809
+ topic: string;
1810
+ }>, "many">;
1811
+ }, {
1812
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
1813
+ calls: z.ZodArray<z.ZodObject<{
1814
+ target: z.ZodEffects<z.ZodString, string, string>;
1815
+ value: z.ZodEffects<z.ZodString, string, string>;
1816
+ selector: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1817
+ arguments: z.ZodArray<z.ZodObject<{
1818
+ kind: z.ZodNativeEnum<{
1819
+ readonly Literal: 0;
1820
+ readonly Variable: 1;
1821
+ }>;
1822
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1823
+ isDynamic: z.ZodBoolean;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ data: string;
1826
+ kind: 0 | 1;
1827
+ isDynamic: boolean;
1828
+ }, {
1829
+ data: string;
1830
+ kind: 0 | 1;
1831
+ isDynamic: boolean;
1832
+ }>, "many">;
1833
+ }, "strip", z.ZodTypeAny, {
1834
+ value: string;
1835
+ target: string;
1836
+ selector: string;
1837
+ arguments: {
1838
+ data: string;
1839
+ kind: 0 | 1;
1840
+ isDynamic: boolean;
1841
+ }[];
1842
+ }, {
1843
+ value: string;
1844
+ target: string;
1845
+ selector: string;
1846
+ arguments: {
1847
+ data: string;
1848
+ kind: 0 | 1;
1849
+ isDynamic: boolean;
1850
+ }[];
1851
+ }>, "many">;
1852
+ }>, "data">, "strip", z.ZodTypeAny, {
1853
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1854
+ user: string;
1855
+ events: {
1856
+ data: string;
1857
+ topic: string;
1858
+ }[];
1859
+ chainId: number;
1860
+ calls: {
1861
+ value: string;
1862
+ target: string;
1863
+ selector: string;
1864
+ arguments: {
1865
+ data: string;
1866
+ kind: 0 | 1;
1867
+ isDynamic: boolean;
1868
+ }[];
1869
+ }[];
1870
+ }, {
1871
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1872
+ user: string;
1873
+ events: {
1874
+ data: string;
1875
+ topic: string;
1876
+ }[];
1877
+ chainId: number;
1878
+ calls: {
1879
+ value: string;
1880
+ target: string;
1881
+ selector: string;
1882
+ arguments: {
1883
+ data: string;
1884
+ kind: 0 | 1;
1885
+ isDynamic: boolean;
1886
+ }[];
1887
+ }[];
1888
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1889
+ opType: z.ZodNativeEnum<{
1890
+ readonly Swap: 0;
1891
+ readonly Transfer: 1;
1892
+ readonly EvmCall: 2;
1893
+ readonly CrossChainSwap: 3;
1894
+ readonly EvmDynamicCall: 4;
1895
+ readonly SvmCall: 5;
1896
+ }>;
1897
+ user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1898
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1899
+ events: z.ZodArray<z.ZodObject<{
1900
+ topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1901
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1902
+ }, "strip", z.ZodTypeAny, {
1903
+ data: string;
1904
+ topic: string;
1905
+ }, {
1906
+ data: string;
1907
+ topic: string;
1908
+ }>, "many">;
1909
+ }, {
1910
+ instructions: z.ZodArray<z.ZodObject<{
1911
+ programId: z.ZodEffects<z.ZodString, string, string>;
1912
+ accountsMeta: z.ZodArray<z.ZodObject<{
1913
+ pubkey: z.ZodEffects<z.ZodString, string, string>;
1914
+ isSigner: z.ZodBoolean;
1915
+ isWritable: z.ZodBoolean;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ pubkey: string;
1918
+ isSigner: boolean;
1919
+ isWritable: boolean;
1920
+ }, {
1921
+ pubkey: string;
1922
+ isSigner: boolean;
1923
+ isWritable: boolean;
1924
+ }>, "many">;
1925
+ data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1926
+ }, "strip", z.ZodTypeAny, {
1927
+ data: string;
1928
+ programId: string;
1929
+ accountsMeta: {
1930
+ pubkey: string;
1931
+ isSigner: boolean;
1932
+ isWritable: boolean;
1933
+ }[];
1934
+ }, {
1935
+ data: string;
1936
+ programId: string;
1937
+ accountsMeta: {
1938
+ pubkey: string;
1939
+ isSigner: boolean;
1940
+ isWritable: boolean;
1941
+ }[];
1942
+ }>, "many">;
1943
+ }>, "data">, "strip", z.ZodTypeAny, {
1944
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1945
+ user: string;
1946
+ events: {
1947
+ data: string;
1948
+ topic: string;
1949
+ }[];
1950
+ instructions: {
1951
+ data: string;
1952
+ programId: string;
1953
+ accountsMeta: {
1954
+ pubkey: string;
1955
+ isSigner: boolean;
1956
+ isWritable: boolean;
1957
+ }[];
1958
+ }[];
1959
+ }, {
1960
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1961
+ user: string;
1962
+ events: {
1963
+ data: string;
1964
+ topic: string;
1965
+ }[];
1966
+ instructions: {
1967
+ data: string;
1968
+ programId: string;
1969
+ accountsMeta: {
1970
+ pubkey: string;
1971
+ isSigner: boolean;
1972
+ isWritable: boolean;
1973
+ }[];
1974
+ }[];
1975
+ }>]>, "many">;
1976
+ }>, "strip", z.ZodTypeAny, {
1977
+ feePayer: string;
1978
+ settler: string;
1979
+ nonce: string;
1980
+ deadline: string;
1981
+ maxFees: {
1982
+ token: string;
1983
+ amount: string;
1984
+ }[];
1985
+ operations: ({
1986
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
1987
+ user: string;
1988
+ events: {
1989
+ data: string;
1990
+ topic: string;
1991
+ }[];
1992
+ sourceChain: number;
1993
+ destinationChain: number;
1994
+ tokensIn: {
1995
+ token: string;
1996
+ amount: string;
1997
+ }[];
1998
+ tokensOut: {
1999
+ token: string;
2000
+ minAmount: string;
2001
+ recipient: string;
2002
+ }[];
2003
+ } | {
2004
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
2005
+ user: string;
2006
+ events: {
2007
+ data: string;
2008
+ topic: string;
2009
+ }[];
2010
+ chainId: number;
2011
+ transfers: {
2012
+ token: string;
2013
+ amount: string;
2014
+ recipient: string;
2015
+ }[];
2016
+ } | {
2017
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
2018
+ user: string;
2019
+ events: {
2020
+ data: string;
2021
+ topic: string;
2022
+ }[];
2023
+ chainId: number;
2024
+ calls: {
2025
+ value: string;
2026
+ data: string;
2027
+ target: string;
2028
+ }[];
2029
+ } | {
2030
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
2031
+ user: string;
2032
+ events: {
2033
+ data: string;
2034
+ topic: string;
2035
+ }[];
2036
+ chainId: number;
2037
+ calls: {
2038
+ value: string;
2039
+ target: string;
2040
+ selector: string;
2041
+ arguments: {
2042
+ data: string;
2043
+ kind: 0 | 1;
2044
+ isDynamic: boolean;
2045
+ }[];
2046
+ }[];
2047
+ } | {
2048
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
2049
+ user: string;
2050
+ events: {
2051
+ data: string;
2052
+ topic: string;
2053
+ }[];
2054
+ instructions: {
2055
+ data: string;
2056
+ programId: string;
2057
+ accountsMeta: {
2058
+ pubkey: string;
2059
+ isSigner: boolean;
2060
+ isWritable: boolean;
2061
+ }[];
2062
+ }[];
2063
+ })[];
2064
+ }, {
2065
+ feePayer: string;
2066
+ settler: string;
2067
+ nonce: string;
2068
+ deadline: string;
2069
+ maxFees: {
2070
+ token: string;
2071
+ amount: string;
2072
+ }[];
2073
+ operations: ({
2074
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
2075
+ user: string;
2076
+ events: {
2077
+ data: string;
2078
+ topic: string;
2079
+ }[];
2080
+ sourceChain: number;
2081
+ destinationChain: number;
2082
+ tokensIn: {
2083
+ token: string;
2084
+ amount: string;
2085
+ }[];
2086
+ tokensOut: {
2087
+ token: string;
2088
+ minAmount: string;
2089
+ recipient: string;
2090
+ }[];
2091
+ } | {
2092
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
2093
+ user: string;
2094
+ events: {
2095
+ data: string;
2096
+ topic: string;
2097
+ }[];
2098
+ chainId: number;
2099
+ transfers: {
2100
+ token: string;
2101
+ amount: string;
2102
+ recipient: string;
2103
+ }[];
2104
+ } | {
2105
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
2106
+ user: string;
2107
+ events: {
2108
+ data: string;
2109
+ topic: string;
2110
+ }[];
2111
+ chainId: number;
2112
+ calls: {
2113
+ value: string;
2114
+ data: string;
2115
+ target: string;
2116
+ }[];
2117
+ } | {
2118
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
2119
+ user: string;
2120
+ events: {
2121
+ data: string;
2122
+ topic: string;
2123
+ }[];
2124
+ chainId: number;
2125
+ calls: {
2126
+ value: string;
2127
+ target: string;
2128
+ selector: string;
2129
+ arguments: {
2130
+ data: string;
2131
+ kind: 0 | 1;
2132
+ isDynamic: boolean;
2133
+ }[];
2134
+ }[];
2135
+ } | {
2136
+ opType: 0 | 1 | 2 | 3 | 4 | 5;
2137
+ user: string;
2138
+ events: {
2139
+ data: string;
2140
+ topic: string;
2141
+ }[];
2142
+ instructions: {
2143
+ data: string;
2144
+ programId: string;
2145
+ accountsMeta: {
2146
+ pubkey: string;
2147
+ isSigner: boolean;
2148
+ isWritable: boolean;
2149
+ }[];
2150
+ }[];
2151
+ })[];
2152
+ }>;
937
2153
  //# sourceMappingURL=intents.d.ts.map