@mimicprotocol/sdk 0.0.1-rc.14 → 0.0.1-rc.15
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/validators.d.ts +291 -201
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/oracle/eip712Types.d.ts +4 -0
- package/dist/oracle/eip712Types.d.ts.map +1 -1
- package/dist/oracle/eip712Types.js +5 -2
- package/dist/oracle/eip712Types.js.map +1 -1
- package/dist/oracle/validators.d.ts +201 -131
- package/dist/oracle/validators.d.ts.map +1 -1
- package/dist/oracle/validators.js +5 -3
- package/dist/oracle/validators.js.map +1 -1
- package/dist/relayer/validators.d.ts +212 -148
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/runner/validators.d.ts +97 -67
- package/dist/runner/validators.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -183,10 +183,9 @@ export declare const RunExecutionRequestValidator: z.ZodObject<{
|
|
|
183
183
|
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
184
184
|
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
185
185
|
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
186
|
-
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
187
186
|
tokens: z.ZodArray<z.ZodObject<{
|
|
188
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
189
187
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
188
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
190
189
|
}, "strip", z.ZodTypeAny, {
|
|
191
190
|
chainId: number;
|
|
192
191
|
address: string;
|
|
@@ -196,7 +195,6 @@ export declare const RunExecutionRequestValidator: z.ZodObject<{
|
|
|
196
195
|
}>, "many">;
|
|
197
196
|
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
198
197
|
}, "strip", z.ZodTypeAny, {
|
|
199
|
-
timestamp: number;
|
|
200
198
|
owner: string;
|
|
201
199
|
tokens: {
|
|
202
200
|
chainId: number;
|
|
@@ -206,7 +204,6 @@ export declare const RunExecutionRequestValidator: z.ZodObject<{
|
|
|
206
204
|
chainIds: number[];
|
|
207
205
|
tokenFilter: 0 | 1;
|
|
208
206
|
}, {
|
|
209
|
-
timestamp: number;
|
|
210
207
|
owner: string;
|
|
211
208
|
tokens: {
|
|
212
209
|
chainId: number;
|
|
@@ -218,7 +215,6 @@ export declare const RunExecutionRequestValidator: z.ZodObject<{
|
|
|
218
215
|
}>;
|
|
219
216
|
}, "strip", z.ZodTypeAny, {
|
|
220
217
|
params: {
|
|
221
|
-
timestamp: number;
|
|
222
218
|
owner: string;
|
|
223
219
|
tokens: {
|
|
224
220
|
chainId: number;
|
|
@@ -232,7 +228,6 @@ export declare const RunExecutionRequestValidator: z.ZodObject<{
|
|
|
232
228
|
hash: string;
|
|
233
229
|
}, {
|
|
234
230
|
params: {
|
|
235
|
-
timestamp: number;
|
|
236
231
|
owner: string;
|
|
237
232
|
tokens: {
|
|
238
233
|
chainId: number;
|
|
@@ -246,61 +241,90 @@ export declare const RunExecutionRequestValidator: z.ZodObject<{
|
|
|
246
241
|
hash: string;
|
|
247
242
|
}>;
|
|
248
243
|
result: z.ZodObject<{
|
|
249
|
-
value: z.
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
244
|
+
value: z.ZodObject<{
|
|
245
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
246
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
247
|
+
token: z.ZodObject<{
|
|
248
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
249
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
|
+
chainId: number;
|
|
252
|
+
address: string;
|
|
253
|
+
}, {
|
|
254
|
+
chainId: number;
|
|
255
|
+
address: string;
|
|
256
|
+
}>;
|
|
257
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
253
258
|
}, "strip", z.ZodTypeAny, {
|
|
254
|
-
|
|
255
|
-
|
|
259
|
+
token: {
|
|
260
|
+
chainId: number;
|
|
261
|
+
address: string;
|
|
262
|
+
};
|
|
263
|
+
balance: string;
|
|
256
264
|
}, {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
265
|
+
token: {
|
|
266
|
+
chainId: number;
|
|
267
|
+
address: string;
|
|
268
|
+
};
|
|
269
|
+
balance: string;
|
|
270
|
+
}>, "many">;
|
|
261
271
|
}, "strip", z.ZodTypeAny, {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
272
|
+
timestamp: number;
|
|
273
|
+
balances: {
|
|
274
|
+
token: {
|
|
275
|
+
chainId: number;
|
|
276
|
+
address: string;
|
|
277
|
+
};
|
|
278
|
+
balance: string;
|
|
279
|
+
}[];
|
|
267
280
|
}, {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
281
|
+
timestamp: number;
|
|
282
|
+
balances: {
|
|
283
|
+
token: {
|
|
284
|
+
chainId: number;
|
|
285
|
+
address: string;
|
|
286
|
+
};
|
|
287
|
+
balance: string;
|
|
288
|
+
}[];
|
|
289
|
+
}>;
|
|
274
290
|
}, "strip", z.ZodTypeAny, {
|
|
275
291
|
value: {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
292
|
+
timestamp: number;
|
|
293
|
+
balances: {
|
|
294
|
+
token: {
|
|
295
|
+
chainId: number;
|
|
296
|
+
address: string;
|
|
297
|
+
};
|
|
298
|
+
balance: string;
|
|
299
|
+
}[];
|
|
300
|
+
};
|
|
282
301
|
}, {
|
|
283
302
|
value: {
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
303
|
+
timestamp: number;
|
|
304
|
+
balances: {
|
|
305
|
+
token: {
|
|
306
|
+
chainId: number;
|
|
307
|
+
address: string;
|
|
308
|
+
};
|
|
309
|
+
balance: string;
|
|
310
|
+
}[];
|
|
311
|
+
};
|
|
290
312
|
}>;
|
|
291
313
|
}, "strip", z.ZodTypeAny, {
|
|
292
314
|
result: {
|
|
293
315
|
value: {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
316
|
+
timestamp: number;
|
|
317
|
+
balances: {
|
|
318
|
+
token: {
|
|
319
|
+
chainId: number;
|
|
320
|
+
address: string;
|
|
321
|
+
};
|
|
322
|
+
balance: string;
|
|
323
|
+
}[];
|
|
324
|
+
};
|
|
300
325
|
};
|
|
301
326
|
query: {
|
|
302
327
|
params: {
|
|
303
|
-
timestamp: number;
|
|
304
328
|
owner: string;
|
|
305
329
|
tokens: {
|
|
306
330
|
chainId: number;
|
|
@@ -317,16 +341,18 @@ export declare const RunExecutionRequestValidator: z.ZodObject<{
|
|
|
317
341
|
}, {
|
|
318
342
|
result: {
|
|
319
343
|
value: {
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
344
|
+
timestamp: number;
|
|
345
|
+
balances: {
|
|
346
|
+
token: {
|
|
347
|
+
chainId: number;
|
|
348
|
+
address: string;
|
|
349
|
+
};
|
|
350
|
+
balance: string;
|
|
351
|
+
}[];
|
|
352
|
+
};
|
|
326
353
|
};
|
|
327
354
|
query: {
|
|
328
355
|
params: {
|
|
329
|
-
timestamp: number;
|
|
330
356
|
owner: string;
|
|
331
357
|
tokens: {
|
|
332
358
|
chainId: number;
|
|
@@ -496,16 +522,18 @@ export declare const RunExecutionRequestValidator: z.ZodObject<{
|
|
|
496
522
|
} | {
|
|
497
523
|
result: {
|
|
498
524
|
value: {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
525
|
+
timestamp: number;
|
|
526
|
+
balances: {
|
|
527
|
+
token: {
|
|
528
|
+
chainId: number;
|
|
529
|
+
address: string;
|
|
530
|
+
};
|
|
531
|
+
balance: string;
|
|
532
|
+
}[];
|
|
533
|
+
};
|
|
505
534
|
};
|
|
506
535
|
query: {
|
|
507
536
|
params: {
|
|
508
|
-
timestamp: number;
|
|
509
537
|
owner: string;
|
|
510
538
|
tokens: {
|
|
511
539
|
chainId: number;
|
|
@@ -584,16 +612,18 @@ export declare const RunExecutionRequestValidator: z.ZodObject<{
|
|
|
584
612
|
} | {
|
|
585
613
|
result: {
|
|
586
614
|
value: {
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
615
|
+
timestamp: number;
|
|
616
|
+
balances: {
|
|
617
|
+
token: {
|
|
618
|
+
chainId: number;
|
|
619
|
+
address: string;
|
|
620
|
+
};
|
|
621
|
+
balance: string;
|
|
622
|
+
}[];
|
|
623
|
+
};
|
|
593
624
|
};
|
|
594
625
|
query: {
|
|
595
626
|
params: {
|
|
596
|
-
timestamp: number;
|
|
597
627
|
owner: string;
|
|
598
628
|
tokens: {
|
|
599
629
|
chainId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/runner/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,OAAO,EAML,WAAW,EAEZ,MAAM,WAAW,CAAA;AAElB,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/runner/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,OAAO,EAML,WAAW,EAEZ,MAAM,WAAW,CAAA;AAElB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAavC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAA"}
|