@mimicprotocol/sdk 0.0.1-rc.26 → 0.0.1-rc.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/axia/constants.d.ts +36 -31
- package/dist/axia/constants.d.ts.map +1 -1
- package/dist/axia/constants.js +31 -36
- package/dist/axia/constants.js.map +1 -1
- package/dist/axia/validators.d.ts +202 -90
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.d.ts +1 -1
- package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.js +7 -3
- package/dist/client/domains/ConfigsClient.js.map +1 -1
- package/dist/client/domains/IntentsClient.d.ts +9 -9
- package/dist/client/domains/IntentsClient.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.js +5 -5
- package/dist/client/domains/IntentsClient.js.map +1 -1
- package/dist/registry/ConfigSigner.d.ts +1 -1
- package/dist/registry/ConfigSigner.d.ts.map +1 -1
- package/dist/registry/ConfigSigner.js +11 -6
- package/dist/registry/ConfigSigner.js.map +1 -1
- package/dist/registry/validators.d.ts +85 -71
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +2 -1
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/validators.d.ts +98 -53
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/runner/validators.d.ts +10 -8
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/shared/codec/encoder.d.ts +4 -5
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +2 -3
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/signer/EthersSigner.d.ts +2 -1
- package/dist/shared/signer/EthersSigner.d.ts.map +1 -1
- package/dist/shared/signer/EthersSigner.js +3 -0
- package/dist/shared/signer/EthersSigner.js.map +1 -1
- package/dist/shared/signer/Signer.d.ts +1 -0
- package/dist/shared/signer/Signer.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts +2 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.js +3 -0
- package/dist/shared/signer/WindowEthereumSigner.js.map +1 -1
- package/dist/shared/utils/numbers.d.ts +5 -4
- package/dist/shared/utils/numbers.d.ts.map +1 -1
- package/dist/shared/utils/numbers.js +7 -9
- package/dist/shared/utils/numbers.js.map +1 -1
- package/dist/shared/validators/executions.d.ts +23 -13
- package/dist/shared/validators/executions.d.ts.map +1 -1
- package/dist/shared/validators/executions.js +5 -6
- package/dist/shared/validators/executions.js.map +1 -1
- package/dist/shared/validators/intents.d.ts +55 -24
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +7 -8
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +9 -5
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +5 -6
- package/dist/shared/validators/primitives.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ExecutionResult, ExecutionStatus, IntentLogLevel, IntentStatus, ProposalStatus } from './constants';
|
|
3
2
|
export declare const SolverFeeValidator: z.ZodObject<{
|
|
4
3
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
5
4
|
amount: z.ZodNumber;
|
|
@@ -11,16 +10,20 @@ export declare const SolverFeeValidator: z.ZodObject<{
|
|
|
11
10
|
address: string;
|
|
12
11
|
}>;
|
|
13
12
|
export declare const IntentLogValidator: z.ZodObject<{
|
|
14
|
-
level: z.ZodNativeEnum<
|
|
13
|
+
level: z.ZodNativeEnum<{
|
|
14
|
+
readonly info: "info";
|
|
15
|
+
readonly success: "success";
|
|
16
|
+
readonly error: "error";
|
|
17
|
+
}>;
|
|
15
18
|
data: z.ZodString;
|
|
16
19
|
createdAt: z.ZodDate;
|
|
17
20
|
}, "strip", z.ZodTypeAny, {
|
|
18
21
|
data: string;
|
|
19
|
-
level:
|
|
22
|
+
level: "info" | "success" | "error";
|
|
20
23
|
createdAt: Date;
|
|
21
24
|
}, {
|
|
22
25
|
data: string;
|
|
23
|
-
level:
|
|
26
|
+
level: "info" | "success" | "error";
|
|
24
27
|
createdAt: Date;
|
|
25
28
|
}>;
|
|
26
29
|
export declare const AxiaProposalValidator: z.ZodObject<{
|
|
@@ -29,7 +32,14 @@ export declare const AxiaProposalValidator: z.ZodObject<{
|
|
|
29
32
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
30
33
|
fees: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
31
34
|
feeUsd: z.ZodNumber;
|
|
32
|
-
status: z.ZodNativeEnum<
|
|
35
|
+
status: z.ZodNativeEnum<{
|
|
36
|
+
readonly received: "received";
|
|
37
|
+
readonly discarded: "discarded";
|
|
38
|
+
readonly submitted: "submitted";
|
|
39
|
+
readonly succeeded: "succeeded";
|
|
40
|
+
readonly failed: "failed";
|
|
41
|
+
readonly expired: "expired";
|
|
42
|
+
}>;
|
|
33
43
|
description: z.ZodOptional<z.ZodString>;
|
|
34
44
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
35
45
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
@@ -39,7 +49,7 @@ export declare const AxiaProposalValidator: z.ZodObject<{
|
|
|
39
49
|
data: string;
|
|
40
50
|
solver: string;
|
|
41
51
|
fees: string[];
|
|
42
|
-
status:
|
|
52
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
43
53
|
feeUsd: number;
|
|
44
54
|
signatures: string[];
|
|
45
55
|
description?: string | undefined;
|
|
@@ -50,7 +60,7 @@ export declare const AxiaProposalValidator: z.ZodObject<{
|
|
|
50
60
|
data: string;
|
|
51
61
|
solver: string;
|
|
52
62
|
fees: string[];
|
|
53
|
-
status:
|
|
63
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
54
64
|
feeUsd: number;
|
|
55
65
|
signatures: string[];
|
|
56
66
|
description?: string | undefined;
|
|
@@ -58,7 +68,12 @@ export declare const AxiaProposalValidator: z.ZodObject<{
|
|
|
58
68
|
destTransactionHash?: string | undefined;
|
|
59
69
|
}>;
|
|
60
70
|
export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
61
|
-
op: z.ZodNativeEnum<
|
|
71
|
+
op: z.ZodNativeEnum<{
|
|
72
|
+
readonly Swap: 0;
|
|
73
|
+
readonly Transfer: 1;
|
|
74
|
+
readonly EvmCall: 2;
|
|
75
|
+
readonly SvmCall: 3;
|
|
76
|
+
}>;
|
|
62
77
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
63
78
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
64
79
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -89,14 +104,29 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
89
104
|
}, {
|
|
90
105
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
91
106
|
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
92
|
-
status: z.ZodNativeEnum<
|
|
107
|
+
status: z.ZodNativeEnum<{
|
|
108
|
+
readonly created: "created";
|
|
109
|
+
readonly enqueued: "enqueued";
|
|
110
|
+
readonly discarded: "discarded";
|
|
111
|
+
readonly submitted: "submitted";
|
|
112
|
+
readonly succeeded: "succeeded";
|
|
113
|
+
readonly failed: "failed";
|
|
114
|
+
readonly expired: "expired";
|
|
115
|
+
}>;
|
|
93
116
|
proposals: z.ZodArray<z.ZodObject<{
|
|
94
117
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
95
118
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
96
119
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
97
120
|
fees: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
98
121
|
feeUsd: z.ZodNumber;
|
|
99
|
-
status: z.ZodNativeEnum<
|
|
122
|
+
status: z.ZodNativeEnum<{
|
|
123
|
+
readonly received: "received";
|
|
124
|
+
readonly discarded: "discarded";
|
|
125
|
+
readonly submitted: "submitted";
|
|
126
|
+
readonly succeeded: "succeeded";
|
|
127
|
+
readonly failed: "failed";
|
|
128
|
+
readonly expired: "expired";
|
|
129
|
+
}>;
|
|
100
130
|
description: z.ZodOptional<z.ZodString>;
|
|
101
131
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
102
132
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
@@ -106,7 +136,7 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
106
136
|
data: string;
|
|
107
137
|
solver: string;
|
|
108
138
|
fees: string[];
|
|
109
|
-
status:
|
|
139
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
110
140
|
feeUsd: number;
|
|
111
141
|
signatures: string[];
|
|
112
142
|
description?: string | undefined;
|
|
@@ -117,7 +147,7 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
117
147
|
data: string;
|
|
118
148
|
solver: string;
|
|
119
149
|
fees: string[];
|
|
120
|
-
status:
|
|
150
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
121
151
|
feeUsd: number;
|
|
122
152
|
signatures: string[];
|
|
123
153
|
description?: string | undefined;
|
|
@@ -125,20 +155,24 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
125
155
|
destTransactionHash?: string | undefined;
|
|
126
156
|
}>, "many">;
|
|
127
157
|
logs: z.ZodArray<z.ZodObject<{
|
|
128
|
-
level: z.ZodNativeEnum<
|
|
158
|
+
level: z.ZodNativeEnum<{
|
|
159
|
+
readonly info: "info";
|
|
160
|
+
readonly success: "success";
|
|
161
|
+
readonly error: "error";
|
|
162
|
+
}>;
|
|
129
163
|
data: z.ZodString;
|
|
130
164
|
createdAt: z.ZodDate;
|
|
131
165
|
}, "strip", z.ZodTypeAny, {
|
|
132
166
|
data: string;
|
|
133
|
-
level:
|
|
167
|
+
level: "info" | "success" | "error";
|
|
134
168
|
createdAt: Date;
|
|
135
169
|
}, {
|
|
136
170
|
data: string;
|
|
137
|
-
level:
|
|
171
|
+
level: "info" | "success" | "error";
|
|
138
172
|
createdAt: Date;
|
|
139
173
|
}>, "many">;
|
|
140
174
|
}>, "strip", z.ZodTypeAny, {
|
|
141
|
-
op:
|
|
175
|
+
op: 0 | 1 | 2 | 3;
|
|
142
176
|
user: string;
|
|
143
177
|
settler: string;
|
|
144
178
|
nonce: string;
|
|
@@ -154,7 +188,7 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
154
188
|
}[];
|
|
155
189
|
configSig: string;
|
|
156
190
|
minValidations: number;
|
|
157
|
-
status:
|
|
191
|
+
status: "succeeded" | "failed" | "created" | "enqueued" | "discarded" | "submitted" | "expired";
|
|
158
192
|
hash: string;
|
|
159
193
|
executionHash: string;
|
|
160
194
|
proposals: {
|
|
@@ -162,7 +196,7 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
162
196
|
data: string;
|
|
163
197
|
solver: string;
|
|
164
198
|
fees: string[];
|
|
165
|
-
status:
|
|
199
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
166
200
|
feeUsd: number;
|
|
167
201
|
signatures: string[];
|
|
168
202
|
description?: string | undefined;
|
|
@@ -171,11 +205,11 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
171
205
|
}[];
|
|
172
206
|
logs: {
|
|
173
207
|
data: string;
|
|
174
|
-
level:
|
|
208
|
+
level: "info" | "success" | "error";
|
|
175
209
|
createdAt: Date;
|
|
176
210
|
}[];
|
|
177
211
|
}, {
|
|
178
|
-
op:
|
|
212
|
+
op: 0 | 1 | 2 | 3;
|
|
179
213
|
user: string;
|
|
180
214
|
settler: string;
|
|
181
215
|
nonce: string;
|
|
@@ -191,7 +225,7 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
191
225
|
}[];
|
|
192
226
|
configSig: string;
|
|
193
227
|
minValidations: number;
|
|
194
|
-
status:
|
|
228
|
+
status: "succeeded" | "failed" | "created" | "enqueued" | "discarded" | "submitted" | "expired";
|
|
195
229
|
hash: string;
|
|
196
230
|
executionHash: string;
|
|
197
231
|
proposals: {
|
|
@@ -199,7 +233,7 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
199
233
|
data: string;
|
|
200
234
|
solver: string;
|
|
201
235
|
fees: string[];
|
|
202
|
-
status:
|
|
236
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
203
237
|
feeUsd: number;
|
|
204
238
|
signatures: string[];
|
|
205
239
|
description?: string | undefined;
|
|
@@ -208,12 +242,17 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
208
242
|
}[];
|
|
209
243
|
logs: {
|
|
210
244
|
data: string;
|
|
211
|
-
level:
|
|
245
|
+
level: "info" | "success" | "error";
|
|
212
246
|
createdAt: Date;
|
|
213
247
|
}[];
|
|
214
248
|
}>;
|
|
215
249
|
export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
216
|
-
op: z.ZodNativeEnum<
|
|
250
|
+
op: z.ZodNativeEnum<{
|
|
251
|
+
readonly Swap: 0;
|
|
252
|
+
readonly Transfer: 1;
|
|
253
|
+
readonly EvmCall: 2;
|
|
254
|
+
readonly SvmCall: 3;
|
|
255
|
+
}>;
|
|
217
256
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
218
257
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
219
258
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -246,7 +285,7 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
246
285
|
}>, {
|
|
247
286
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
248
287
|
}>, "strip", z.ZodTypeAny, {
|
|
249
|
-
op:
|
|
288
|
+
op: 0 | 1 | 2 | 3;
|
|
250
289
|
user: string;
|
|
251
290
|
settler: string;
|
|
252
291
|
nonce: string;
|
|
@@ -265,7 +304,7 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
265
304
|
validations: string[][];
|
|
266
305
|
hash: string;
|
|
267
306
|
}, {
|
|
268
|
-
op:
|
|
307
|
+
op: 0 | 1 | 2 | 3;
|
|
269
308
|
user: string;
|
|
270
309
|
settler: string;
|
|
271
310
|
nonce: string;
|
|
@@ -284,7 +323,7 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
284
323
|
validations: string[][];
|
|
285
324
|
hash: string;
|
|
286
325
|
}>, {
|
|
287
|
-
op:
|
|
326
|
+
op: 0 | 1 | 2 | 3;
|
|
288
327
|
user: string;
|
|
289
328
|
settler: string;
|
|
290
329
|
nonce: string;
|
|
@@ -303,7 +342,7 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
303
342
|
validations: string[][];
|
|
304
343
|
hash: string;
|
|
305
344
|
}, {
|
|
306
|
-
op:
|
|
345
|
+
op: 0 | 1 | 2 | 3;
|
|
307
346
|
user: string;
|
|
308
347
|
settler: string;
|
|
309
348
|
nonce: string;
|
|
@@ -322,7 +361,7 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
322
361
|
validations: string[][];
|
|
323
362
|
hash: string;
|
|
324
363
|
}>, {
|
|
325
|
-
op:
|
|
364
|
+
op: 0 | 1 | 2 | 3;
|
|
326
365
|
user: string;
|
|
327
366
|
settler: string;
|
|
328
367
|
nonce: string;
|
|
@@ -341,7 +380,7 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
341
380
|
validations: string[][];
|
|
342
381
|
hash: string;
|
|
343
382
|
}, {
|
|
344
|
-
op:
|
|
383
|
+
op: 0 | 1 | 2 | 3;
|
|
345
384
|
user: string;
|
|
346
385
|
settler: string;
|
|
347
386
|
nonce: string;
|
|
@@ -413,7 +452,12 @@ export declare const IntentsGetRequestValidator: z.ZodObject<{
|
|
|
413
452
|
limit?: number | undefined;
|
|
414
453
|
}>;
|
|
415
454
|
export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
416
|
-
op: z.ZodNativeEnum<
|
|
455
|
+
op: z.ZodNativeEnum<{
|
|
456
|
+
readonly Swap: 0;
|
|
457
|
+
readonly Transfer: 1;
|
|
458
|
+
readonly EvmCall: 2;
|
|
459
|
+
readonly SvmCall: 3;
|
|
460
|
+
}>;
|
|
417
461
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
418
462
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
419
463
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -444,14 +488,29 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
444
488
|
}, {
|
|
445
489
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
446
490
|
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
447
|
-
status: z.ZodNativeEnum<
|
|
491
|
+
status: z.ZodNativeEnum<{
|
|
492
|
+
readonly created: "created";
|
|
493
|
+
readonly enqueued: "enqueued";
|
|
494
|
+
readonly discarded: "discarded";
|
|
495
|
+
readonly submitted: "submitted";
|
|
496
|
+
readonly succeeded: "succeeded";
|
|
497
|
+
readonly failed: "failed";
|
|
498
|
+
readonly expired: "expired";
|
|
499
|
+
}>;
|
|
448
500
|
proposals: z.ZodArray<z.ZodObject<{
|
|
449
501
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
450
502
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
451
503
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
452
504
|
fees: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
453
505
|
feeUsd: z.ZodNumber;
|
|
454
|
-
status: z.ZodNativeEnum<
|
|
506
|
+
status: z.ZodNativeEnum<{
|
|
507
|
+
readonly received: "received";
|
|
508
|
+
readonly discarded: "discarded";
|
|
509
|
+
readonly submitted: "submitted";
|
|
510
|
+
readonly succeeded: "succeeded";
|
|
511
|
+
readonly failed: "failed";
|
|
512
|
+
readonly expired: "expired";
|
|
513
|
+
}>;
|
|
455
514
|
description: z.ZodOptional<z.ZodString>;
|
|
456
515
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
457
516
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
@@ -461,7 +520,7 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
461
520
|
data: string;
|
|
462
521
|
solver: string;
|
|
463
522
|
fees: string[];
|
|
464
|
-
status:
|
|
523
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
465
524
|
feeUsd: number;
|
|
466
525
|
signatures: string[];
|
|
467
526
|
description?: string | undefined;
|
|
@@ -472,7 +531,7 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
472
531
|
data: string;
|
|
473
532
|
solver: string;
|
|
474
533
|
fees: string[];
|
|
475
|
-
status:
|
|
534
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
476
535
|
feeUsd: number;
|
|
477
536
|
signatures: string[];
|
|
478
537
|
description?: string | undefined;
|
|
@@ -480,20 +539,24 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
480
539
|
destTransactionHash?: string | undefined;
|
|
481
540
|
}>, "many">;
|
|
482
541
|
logs: z.ZodArray<z.ZodObject<{
|
|
483
|
-
level: z.ZodNativeEnum<
|
|
542
|
+
level: z.ZodNativeEnum<{
|
|
543
|
+
readonly info: "info";
|
|
544
|
+
readonly success: "success";
|
|
545
|
+
readonly error: "error";
|
|
546
|
+
}>;
|
|
484
547
|
data: z.ZodString;
|
|
485
548
|
createdAt: z.ZodDate;
|
|
486
549
|
}, "strip", z.ZodTypeAny, {
|
|
487
550
|
data: string;
|
|
488
|
-
level:
|
|
551
|
+
level: "info" | "success" | "error";
|
|
489
552
|
createdAt: Date;
|
|
490
553
|
}, {
|
|
491
554
|
data: string;
|
|
492
|
-
level:
|
|
555
|
+
level: "info" | "success" | "error";
|
|
493
556
|
createdAt: Date;
|
|
494
557
|
}>, "many">;
|
|
495
558
|
}>, "strip", z.ZodTypeAny, {
|
|
496
|
-
op:
|
|
559
|
+
op: 0 | 1 | 2 | 3;
|
|
497
560
|
user: string;
|
|
498
561
|
settler: string;
|
|
499
562
|
nonce: string;
|
|
@@ -509,7 +572,7 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
509
572
|
}[];
|
|
510
573
|
configSig: string;
|
|
511
574
|
minValidations: number;
|
|
512
|
-
status:
|
|
575
|
+
status: "succeeded" | "failed" | "created" | "enqueued" | "discarded" | "submitted" | "expired";
|
|
513
576
|
hash: string;
|
|
514
577
|
executionHash: string;
|
|
515
578
|
proposals: {
|
|
@@ -517,7 +580,7 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
517
580
|
data: string;
|
|
518
581
|
solver: string;
|
|
519
582
|
fees: string[];
|
|
520
|
-
status:
|
|
583
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
521
584
|
feeUsd: number;
|
|
522
585
|
signatures: string[];
|
|
523
586
|
description?: string | undefined;
|
|
@@ -526,11 +589,11 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
526
589
|
}[];
|
|
527
590
|
logs: {
|
|
528
591
|
data: string;
|
|
529
|
-
level:
|
|
592
|
+
level: "info" | "success" | "error";
|
|
530
593
|
createdAt: Date;
|
|
531
594
|
}[];
|
|
532
595
|
}, {
|
|
533
|
-
op:
|
|
596
|
+
op: 0 | 1 | 2 | 3;
|
|
534
597
|
user: string;
|
|
535
598
|
settler: string;
|
|
536
599
|
nonce: string;
|
|
@@ -546,7 +609,7 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
546
609
|
}[];
|
|
547
610
|
configSig: string;
|
|
548
611
|
minValidations: number;
|
|
549
|
-
status:
|
|
612
|
+
status: "succeeded" | "failed" | "created" | "enqueued" | "discarded" | "submitted" | "expired";
|
|
550
613
|
hash: string;
|
|
551
614
|
executionHash: string;
|
|
552
615
|
proposals: {
|
|
@@ -554,7 +617,7 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
554
617
|
data: string;
|
|
555
618
|
solver: string;
|
|
556
619
|
fees: string[];
|
|
557
|
-
status:
|
|
620
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
558
621
|
feeUsd: number;
|
|
559
622
|
signatures: string[];
|
|
560
623
|
description?: string | undefined;
|
|
@@ -563,7 +626,7 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
563
626
|
}[];
|
|
564
627
|
logs: {
|
|
565
628
|
data: string;
|
|
566
|
-
level:
|
|
629
|
+
level: "info" | "success" | "error";
|
|
567
630
|
createdAt: Date;
|
|
568
631
|
}[];
|
|
569
632
|
}>, "many">;
|
|
@@ -594,7 +657,12 @@ export declare const SettlersValidator: z.ZodArray<z.ZodObject<{
|
|
|
594
657
|
createdAt: Date;
|
|
595
658
|
}>, "many">;
|
|
596
659
|
export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
597
|
-
op: z.ZodNativeEnum<
|
|
660
|
+
op: z.ZodNativeEnum<{
|
|
661
|
+
readonly Swap: 0;
|
|
662
|
+
readonly Transfer: 1;
|
|
663
|
+
readonly EvmCall: 2;
|
|
664
|
+
readonly SvmCall: 3;
|
|
665
|
+
}>;
|
|
598
666
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
599
667
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
600
668
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -625,7 +693,7 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
625
693
|
}, {
|
|
626
694
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
627
695
|
}>, "strip", z.ZodTypeAny, {
|
|
628
|
-
op:
|
|
696
|
+
op: 0 | 1 | 2 | 3;
|
|
629
697
|
user: string;
|
|
630
698
|
settler: string;
|
|
631
699
|
nonce: string;
|
|
@@ -643,7 +711,7 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
643
711
|
minValidations: number;
|
|
644
712
|
hash: string;
|
|
645
713
|
}, {
|
|
646
|
-
op:
|
|
714
|
+
op: 0 | 1 | 2 | 3;
|
|
647
715
|
user: string;
|
|
648
716
|
settler: string;
|
|
649
717
|
nonce: string;
|
|
@@ -667,10 +735,13 @@ export declare const ExecutionsGetRequestValidator: z.ZodObject<{
|
|
|
667
735
|
configSig: z.ZodOptional<z.ZodString>;
|
|
668
736
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
669
737
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
670
|
-
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<
|
|
738
|
+
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
739
|
+
readonly asc: 1;
|
|
740
|
+
readonly desc: -1;
|
|
741
|
+
}>, 1 | -1, unknown>>;
|
|
671
742
|
}, "strip", z.ZodTypeAny, {
|
|
672
743
|
configSig?: string | undefined;
|
|
673
|
-
sort?:
|
|
744
|
+
sort?: 1 | -1 | undefined;
|
|
674
745
|
offset?: number | undefined;
|
|
675
746
|
limit?: number | undefined;
|
|
676
747
|
createdAfter?: number | undefined;
|
|
@@ -685,7 +756,10 @@ export declare const ExecutionsGetRequestValidator: z.ZodObject<{
|
|
|
685
756
|
}>;
|
|
686
757
|
export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
687
758
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
688
|
-
triggerType: z.ZodNativeEnum<
|
|
759
|
+
triggerType: z.ZodNativeEnum<{
|
|
760
|
+
readonly Cron: 0;
|
|
761
|
+
readonly Event: 1;
|
|
762
|
+
}>;
|
|
689
763
|
triggerData: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
690
764
|
}, {
|
|
691
765
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1289,7 +1363,12 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1289
1363
|
signature: string;
|
|
1290
1364
|
}>]>, "many">;
|
|
1291
1365
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1292
|
-
op: z.ZodNativeEnum<
|
|
1366
|
+
op: z.ZodNativeEnum<{
|
|
1367
|
+
readonly Swap: 0;
|
|
1368
|
+
readonly Transfer: 1;
|
|
1369
|
+
readonly EvmCall: 2;
|
|
1370
|
+
readonly SvmCall: 3;
|
|
1371
|
+
}>;
|
|
1293
1372
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1294
1373
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1295
1374
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1320,7 +1399,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1320
1399
|
}, {
|
|
1321
1400
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1322
1401
|
}>, "strip", z.ZodTypeAny, {
|
|
1323
|
-
op:
|
|
1402
|
+
op: 0 | 1 | 2 | 3;
|
|
1324
1403
|
user: string;
|
|
1325
1404
|
settler: string;
|
|
1326
1405
|
nonce: string;
|
|
@@ -1338,7 +1417,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1338
1417
|
minValidations: number;
|
|
1339
1418
|
hash: string;
|
|
1340
1419
|
}, {
|
|
1341
|
-
op:
|
|
1420
|
+
op: 0 | 1 | 2 | 3;
|
|
1342
1421
|
user: string;
|
|
1343
1422
|
settler: string;
|
|
1344
1423
|
nonce: string;
|
|
@@ -1357,12 +1436,15 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1357
1436
|
hash: string;
|
|
1358
1437
|
}>, "many">;
|
|
1359
1438
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1360
|
-
result: z.ZodNativeEnum<
|
|
1439
|
+
result: z.ZodNativeEnum<{
|
|
1440
|
+
readonly succeeded: "succeeded";
|
|
1441
|
+
readonly failed: "failed";
|
|
1442
|
+
}>;
|
|
1361
1443
|
}>, "strip", z.ZodTypeAny, {
|
|
1362
1444
|
configSig: string;
|
|
1363
|
-
result:
|
|
1445
|
+
result: "succeeded" | "failed";
|
|
1364
1446
|
timestamp: number;
|
|
1365
|
-
triggerType:
|
|
1447
|
+
triggerType: 0 | 1;
|
|
1366
1448
|
triggerData: string;
|
|
1367
1449
|
signature: string;
|
|
1368
1450
|
hash: string;
|
|
@@ -1469,7 +1551,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1469
1551
|
signature: string;
|
|
1470
1552
|
})[];
|
|
1471
1553
|
outputs: {
|
|
1472
|
-
op:
|
|
1554
|
+
op: 0 | 1 | 2 | 3;
|
|
1473
1555
|
user: string;
|
|
1474
1556
|
settler: string;
|
|
1475
1557
|
nonce: string;
|
|
@@ -1489,9 +1571,9 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1489
1571
|
}[];
|
|
1490
1572
|
}, {
|
|
1491
1573
|
configSig: string;
|
|
1492
|
-
result:
|
|
1574
|
+
result: "succeeded" | "failed";
|
|
1493
1575
|
timestamp: number;
|
|
1494
|
-
triggerType:
|
|
1576
|
+
triggerType: 0 | 1;
|
|
1495
1577
|
triggerData: string;
|
|
1496
1578
|
signature: string;
|
|
1497
1579
|
hash: string;
|
|
@@ -1598,7 +1680,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1598
1680
|
signature: string;
|
|
1599
1681
|
})[];
|
|
1600
1682
|
outputs: {
|
|
1601
|
-
op:
|
|
1683
|
+
op: 0 | 1 | 2 | 3;
|
|
1602
1684
|
user: string;
|
|
1603
1685
|
settler: string;
|
|
1604
1686
|
nonce: string;
|
|
@@ -1657,7 +1739,10 @@ export declare const ExecutionValidationValidator: z.ZodObject<{
|
|
|
1657
1739
|
}>;
|
|
1658
1740
|
export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1659
1741
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1660
|
-
triggerType: z.ZodNativeEnum<
|
|
1742
|
+
triggerType: z.ZodNativeEnum<{
|
|
1743
|
+
readonly Cron: 0;
|
|
1744
|
+
readonly Event: 1;
|
|
1745
|
+
}>;
|
|
1661
1746
|
triggerData: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1662
1747
|
}, {
|
|
1663
1748
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -2261,7 +2346,12 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2261
2346
|
signature: string;
|
|
2262
2347
|
}>]>, "many">;
|
|
2263
2348
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
2264
|
-
op: z.ZodNativeEnum<
|
|
2349
|
+
op: z.ZodNativeEnum<{
|
|
2350
|
+
readonly Swap: 0;
|
|
2351
|
+
readonly Transfer: 1;
|
|
2352
|
+
readonly EvmCall: 2;
|
|
2353
|
+
readonly SvmCall: 3;
|
|
2354
|
+
}>;
|
|
2265
2355
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2266
2356
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2267
2357
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -2292,7 +2382,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2292
2382
|
}, {
|
|
2293
2383
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2294
2384
|
}>, "strip", z.ZodTypeAny, {
|
|
2295
|
-
op:
|
|
2385
|
+
op: 0 | 1 | 2 | 3;
|
|
2296
2386
|
user: string;
|
|
2297
2387
|
settler: string;
|
|
2298
2388
|
nonce: string;
|
|
@@ -2310,7 +2400,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2310
2400
|
minValidations: number;
|
|
2311
2401
|
hash: string;
|
|
2312
2402
|
}, {
|
|
2313
|
-
op:
|
|
2403
|
+
op: 0 | 1 | 2 | 3;
|
|
2314
2404
|
user: string;
|
|
2315
2405
|
settler: string;
|
|
2316
2406
|
nonce: string;
|
|
@@ -2329,10 +2419,17 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2329
2419
|
hash: string;
|
|
2330
2420
|
}>, "many">;
|
|
2331
2421
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2332
|
-
result: z.ZodNativeEnum<
|
|
2422
|
+
result: z.ZodNativeEnum<{
|
|
2423
|
+
readonly succeeded: "succeeded";
|
|
2424
|
+
readonly failed: "failed";
|
|
2425
|
+
}>;
|
|
2333
2426
|
}>, {
|
|
2334
2427
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2335
|
-
status: z.ZodNativeEnum<
|
|
2428
|
+
status: z.ZodNativeEnum<{
|
|
2429
|
+
readonly pending: "pending";
|
|
2430
|
+
readonly valid: "valid";
|
|
2431
|
+
readonly invalid: "invalid";
|
|
2432
|
+
}>;
|
|
2336
2433
|
createdAt: z.ZodDate;
|
|
2337
2434
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2338
2435
|
fee: z.ZodOptional<z.ZodObject<{
|
|
@@ -2385,10 +2482,10 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2385
2482
|
}>, "many">>;
|
|
2386
2483
|
}>, "strip", z.ZodTypeAny, {
|
|
2387
2484
|
configSig: string;
|
|
2388
|
-
result:
|
|
2485
|
+
result: "succeeded" | "failed";
|
|
2389
2486
|
timestamp: number;
|
|
2390
|
-
status:
|
|
2391
|
-
triggerType:
|
|
2487
|
+
status: "pending" | "valid" | "invalid";
|
|
2488
|
+
triggerType: 0 | 1;
|
|
2392
2489
|
triggerData: string;
|
|
2393
2490
|
signature: string;
|
|
2394
2491
|
hash: string;
|
|
@@ -2495,7 +2592,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2495
2592
|
signature: string;
|
|
2496
2593
|
})[];
|
|
2497
2594
|
outputs: {
|
|
2498
|
-
op:
|
|
2595
|
+
op: 0 | 1 | 2 | 3;
|
|
2499
2596
|
user: string;
|
|
2500
2597
|
settler: string;
|
|
2501
2598
|
nonce: string;
|
|
@@ -2535,10 +2632,10 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2535
2632
|
}[] | undefined;
|
|
2536
2633
|
}, {
|
|
2537
2634
|
configSig: string;
|
|
2538
|
-
result:
|
|
2635
|
+
result: "succeeded" | "failed";
|
|
2539
2636
|
timestamp: number;
|
|
2540
|
-
status:
|
|
2541
|
-
triggerType:
|
|
2637
|
+
status: "pending" | "valid" | "invalid";
|
|
2638
|
+
triggerType: 0 | 1;
|
|
2542
2639
|
triggerData: string;
|
|
2543
2640
|
signature: string;
|
|
2544
2641
|
hash: string;
|
|
@@ -2645,7 +2742,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2645
2742
|
signature: string;
|
|
2646
2743
|
})[];
|
|
2647
2744
|
outputs: {
|
|
2648
|
-
op:
|
|
2745
|
+
op: 0 | 1 | 2 | 3;
|
|
2649
2746
|
user: string;
|
|
2650
2747
|
settler: string;
|
|
2651
2748
|
nonce: string;
|
|
@@ -2686,7 +2783,10 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2686
2783
|
}>;
|
|
2687
2784
|
export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2688
2785
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2689
|
-
triggerType: z.ZodNativeEnum<
|
|
2786
|
+
triggerType: z.ZodNativeEnum<{
|
|
2787
|
+
readonly Cron: 0;
|
|
2788
|
+
readonly Event: 1;
|
|
2789
|
+
}>;
|
|
2690
2790
|
triggerData: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2691
2791
|
}, {
|
|
2692
2792
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -3290,7 +3390,12 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3290
3390
|
signature: string;
|
|
3291
3391
|
}>]>, "many">;
|
|
3292
3392
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
3293
|
-
op: z.ZodNativeEnum<
|
|
3393
|
+
op: z.ZodNativeEnum<{
|
|
3394
|
+
readonly Swap: 0;
|
|
3395
|
+
readonly Transfer: 1;
|
|
3396
|
+
readonly EvmCall: 2;
|
|
3397
|
+
readonly SvmCall: 3;
|
|
3398
|
+
}>;
|
|
3294
3399
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3295
3400
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3296
3401
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -3321,7 +3426,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3321
3426
|
}, {
|
|
3322
3427
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3323
3428
|
}>, "strip", z.ZodTypeAny, {
|
|
3324
|
-
op:
|
|
3429
|
+
op: 0 | 1 | 2 | 3;
|
|
3325
3430
|
user: string;
|
|
3326
3431
|
settler: string;
|
|
3327
3432
|
nonce: string;
|
|
@@ -3339,7 +3444,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3339
3444
|
minValidations: number;
|
|
3340
3445
|
hash: string;
|
|
3341
3446
|
}, {
|
|
3342
|
-
op:
|
|
3447
|
+
op: 0 | 1 | 2 | 3;
|
|
3343
3448
|
user: string;
|
|
3344
3449
|
settler: string;
|
|
3345
3450
|
nonce: string;
|
|
@@ -3358,10 +3463,17 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3358
3463
|
hash: string;
|
|
3359
3464
|
}>, "many">;
|
|
3360
3465
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3361
|
-
result: z.ZodNativeEnum<
|
|
3466
|
+
result: z.ZodNativeEnum<{
|
|
3467
|
+
readonly succeeded: "succeeded";
|
|
3468
|
+
readonly failed: "failed";
|
|
3469
|
+
}>;
|
|
3362
3470
|
}>, {
|
|
3363
3471
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3364
|
-
status: z.ZodNativeEnum<
|
|
3472
|
+
status: z.ZodNativeEnum<{
|
|
3473
|
+
readonly pending: "pending";
|
|
3474
|
+
readonly valid: "valid";
|
|
3475
|
+
readonly invalid: "invalid";
|
|
3476
|
+
}>;
|
|
3365
3477
|
createdAt: z.ZodDate;
|
|
3366
3478
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3367
3479
|
fee: z.ZodOptional<z.ZodObject<{
|
|
@@ -3414,10 +3526,10 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3414
3526
|
}>, "many">>;
|
|
3415
3527
|
}>, "strip", z.ZodTypeAny, {
|
|
3416
3528
|
configSig: string;
|
|
3417
|
-
result:
|
|
3529
|
+
result: "succeeded" | "failed";
|
|
3418
3530
|
timestamp: number;
|
|
3419
|
-
status:
|
|
3420
|
-
triggerType:
|
|
3531
|
+
status: "pending" | "valid" | "invalid";
|
|
3532
|
+
triggerType: 0 | 1;
|
|
3421
3533
|
triggerData: string;
|
|
3422
3534
|
signature: string;
|
|
3423
3535
|
hash: string;
|
|
@@ -3524,7 +3636,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3524
3636
|
signature: string;
|
|
3525
3637
|
})[];
|
|
3526
3638
|
outputs: {
|
|
3527
|
-
op:
|
|
3639
|
+
op: 0 | 1 | 2 | 3;
|
|
3528
3640
|
user: string;
|
|
3529
3641
|
settler: string;
|
|
3530
3642
|
nonce: string;
|
|
@@ -3564,10 +3676,10 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3564
3676
|
}[] | undefined;
|
|
3565
3677
|
}, {
|
|
3566
3678
|
configSig: string;
|
|
3567
|
-
result:
|
|
3679
|
+
result: "succeeded" | "failed";
|
|
3568
3680
|
timestamp: number;
|
|
3569
|
-
status:
|
|
3570
|
-
triggerType:
|
|
3681
|
+
status: "pending" | "valid" | "invalid";
|
|
3682
|
+
triggerType: 0 | 1;
|
|
3571
3683
|
triggerData: string;
|
|
3572
3684
|
signature: string;
|
|
3573
3685
|
hash: string;
|
|
@@ -3674,7 +3786,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3674
3786
|
signature: string;
|
|
3675
3787
|
})[];
|
|
3676
3788
|
outputs: {
|
|
3677
|
-
op:
|
|
3789
|
+
op: 0 | 1 | 2 | 3;
|
|
3678
3790
|
user: string;
|
|
3679
3791
|
settler: string;
|
|
3680
3792
|
nonce: string;
|