@mimicprotocol/sdk 0.0.1-rc.9 → 0.0.2-rc.1

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