@mimicprotocol/sdk 0.0.1-rc.13 → 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 +323 -272
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +1 -2
- package/dist/axia/validators.js.map +1 -1
- package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.js +1 -3
- package/dist/client/domains/ConfigsClient.js.map +1 -1
- package/dist/oracle/eip712Types.d.ts +26 -0
- package/dist/oracle/eip712Types.d.ts.map +1 -1
- package/dist/oracle/eip712Types.js +27 -2
- package/dist/oracle/eip712Types.js.map +1 -1
- package/dist/oracle/types.d.ts +8 -1
- package/dist/oracle/types.d.ts.map +1 -1
- package/dist/oracle/validators.d.ts +408 -148
- package/dist/oracle/validators.d.ts.map +1 -1
- package/dist/oracle/validators.js +19 -5
- package/dist/oracle/validators.js.map +1 -1
- package/dist/registry/eip712Types.d.ts.map +1 -1
- package/dist/registry/eip712Types.js +2 -1
- package/dist/registry/eip712Types.js.map +1 -1
- package/dist/registry/types.d.ts +2 -1
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/types.js.map +1 -1
- package/dist/registry/validations.d.ts +0 -2
- package/dist/registry/validations.d.ts.map +1 -1
- package/dist/registry/validations.js +1 -8
- package/dist/registry/validations.js.map +1 -1
- package/dist/registry/validators.d.ts +93 -60
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +6 -4
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/validators.d.ts +235 -189
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/relayer/validators.js +1 -2
- package/dist/relayer/validators.js.map +1 -1
- package/dist/runner/validators.d.ts +106 -76
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/shared/codec/decoder.d.ts +3 -1
- package/dist/shared/codec/decoder.d.ts.map +1 -1
- package/dist/shared/codec/decoder.js +11 -0
- package/dist/shared/codec/decoder.js.map +1 -1
- package/dist/shared/codec/encoder.js +1 -1
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/eip712Types/index.d.ts +1 -1
- package/dist/shared/eip712Types/index.js +1 -1
- package/dist/shared/types/executions.d.ts +1 -2
- package/dist/shared/types/executions.d.ts.map +1 -1
- package/dist/shared/types/primitives.d.ts +3 -1
- package/dist/shared/types/primitives.d.ts.map +1 -1
- package/dist/shared/validators/executions.d.ts +18 -35
- package/dist/shared/validators/executions.d.ts.map +1 -1
- package/dist/shared/validators/executions.js +4 -17
- package/dist/shared/validators/executions.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +20 -0
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +9 -1
- package/dist/shared/validators/primitives.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,13 +3,14 @@ export declare const PastTimestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
|
3
3
|
export declare const OracleQueryNames: {
|
|
4
4
|
readonly TokenPriceQuery: "TokenPriceQuery";
|
|
5
5
|
readonly EvmCallQuery: "EvmCallQuery";
|
|
6
|
+
readonly SvmGetAccountsInfoQuery: "SvmGetAccountsInfoQuery";
|
|
6
7
|
readonly RelevantTokensQuery: "RelevantTokensQuery";
|
|
7
8
|
readonly SubgraphQuery: "SubgraphQuery";
|
|
8
9
|
};
|
|
9
10
|
export declare const OracleEvmCallRequestValidator: z.ZodObject<{
|
|
10
11
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
11
12
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
12
|
-
to: z.ZodEffects<z.
|
|
13
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
13
14
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
15
16
|
chainId: number;
|
|
@@ -31,7 +32,7 @@ export declare const OracleEvmCallValidator: z.ZodObject<{
|
|
|
31
32
|
params: z.ZodObject<{
|
|
32
33
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
33
34
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
34
|
-
to: z.ZodEffects<z.
|
|
35
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
35
36
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
36
37
|
}, "strip", z.ZodTypeAny, {
|
|
37
38
|
chainId: number;
|
|
@@ -101,6 +102,195 @@ export declare const OracleEvmCallValidator: z.ZodObject<{
|
|
|
101
102
|
};
|
|
102
103
|
signature: string;
|
|
103
104
|
}>;
|
|
105
|
+
export declare const OracleSvmGetAccountsInfoRequestValidator: z.ZodObject<{
|
|
106
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
107
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
timestamp: number;
|
|
110
|
+
publicKeys: string[];
|
|
111
|
+
}, {
|
|
112
|
+
timestamp: number;
|
|
113
|
+
publicKeys: string[];
|
|
114
|
+
}>;
|
|
115
|
+
export declare const OracleSvmGetAccountsInfoResultValidator: z.ZodObject<{
|
|
116
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
117
|
+
executable: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
|
|
118
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
119
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
120
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
121
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
data: string;
|
|
124
|
+
executable: boolean;
|
|
125
|
+
owner: string;
|
|
126
|
+
lamports: string;
|
|
127
|
+
rentEpoch: string;
|
|
128
|
+
}, {
|
|
129
|
+
data: string;
|
|
130
|
+
owner: string;
|
|
131
|
+
lamports: string;
|
|
132
|
+
rentEpoch: string;
|
|
133
|
+
executable?: unknown;
|
|
134
|
+
}>, "many">;
|
|
135
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
accountsInfo: {
|
|
138
|
+
data: string;
|
|
139
|
+
executable: boolean;
|
|
140
|
+
owner: string;
|
|
141
|
+
lamports: string;
|
|
142
|
+
rentEpoch: string;
|
|
143
|
+
}[];
|
|
144
|
+
slot: string;
|
|
145
|
+
}, {
|
|
146
|
+
accountsInfo: {
|
|
147
|
+
data: string;
|
|
148
|
+
owner: string;
|
|
149
|
+
lamports: string;
|
|
150
|
+
rentEpoch: string;
|
|
151
|
+
executable?: unknown;
|
|
152
|
+
}[];
|
|
153
|
+
slot: string;
|
|
154
|
+
}>;
|
|
155
|
+
export declare const OracleSvmGetAccountsInfoValidator: z.ZodObject<{
|
|
156
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
157
|
+
query: z.ZodObject<{
|
|
158
|
+
name: z.ZodLiteral<"SvmGetAccountsInfoQuery">;
|
|
159
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
160
|
+
params: z.ZodObject<{
|
|
161
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
162
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
timestamp: number;
|
|
165
|
+
publicKeys: string[];
|
|
166
|
+
}, {
|
|
167
|
+
timestamp: number;
|
|
168
|
+
publicKeys: string[];
|
|
169
|
+
}>;
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
171
|
+
params: {
|
|
172
|
+
timestamp: number;
|
|
173
|
+
publicKeys: string[];
|
|
174
|
+
};
|
|
175
|
+
name: "SvmGetAccountsInfoQuery";
|
|
176
|
+
hash: string;
|
|
177
|
+
}, {
|
|
178
|
+
params: {
|
|
179
|
+
timestamp: number;
|
|
180
|
+
publicKeys: string[];
|
|
181
|
+
};
|
|
182
|
+
name: "SvmGetAccountsInfoQuery";
|
|
183
|
+
hash: string;
|
|
184
|
+
}>;
|
|
185
|
+
result: z.ZodObject<{
|
|
186
|
+
value: z.ZodObject<{
|
|
187
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
188
|
+
executable: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
|
|
189
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
190
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
191
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
192
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
data: string;
|
|
195
|
+
executable: boolean;
|
|
196
|
+
owner: string;
|
|
197
|
+
lamports: string;
|
|
198
|
+
rentEpoch: string;
|
|
199
|
+
}, {
|
|
200
|
+
data: string;
|
|
201
|
+
owner: string;
|
|
202
|
+
lamports: string;
|
|
203
|
+
rentEpoch: string;
|
|
204
|
+
executable?: unknown;
|
|
205
|
+
}>, "many">;
|
|
206
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
207
|
+
}, "strip", z.ZodTypeAny, {
|
|
208
|
+
accountsInfo: {
|
|
209
|
+
data: string;
|
|
210
|
+
executable: boolean;
|
|
211
|
+
owner: string;
|
|
212
|
+
lamports: string;
|
|
213
|
+
rentEpoch: string;
|
|
214
|
+
}[];
|
|
215
|
+
slot: string;
|
|
216
|
+
}, {
|
|
217
|
+
accountsInfo: {
|
|
218
|
+
data: string;
|
|
219
|
+
owner: string;
|
|
220
|
+
lamports: string;
|
|
221
|
+
rentEpoch: string;
|
|
222
|
+
executable?: unknown;
|
|
223
|
+
}[];
|
|
224
|
+
slot: string;
|
|
225
|
+
}>;
|
|
226
|
+
}, "strip", z.ZodTypeAny, {
|
|
227
|
+
value: {
|
|
228
|
+
accountsInfo: {
|
|
229
|
+
data: string;
|
|
230
|
+
executable: boolean;
|
|
231
|
+
owner: string;
|
|
232
|
+
lamports: string;
|
|
233
|
+
rentEpoch: string;
|
|
234
|
+
}[];
|
|
235
|
+
slot: string;
|
|
236
|
+
};
|
|
237
|
+
}, {
|
|
238
|
+
value: {
|
|
239
|
+
accountsInfo: {
|
|
240
|
+
data: string;
|
|
241
|
+
owner: string;
|
|
242
|
+
lamports: string;
|
|
243
|
+
rentEpoch: string;
|
|
244
|
+
executable?: unknown;
|
|
245
|
+
}[];
|
|
246
|
+
slot: string;
|
|
247
|
+
};
|
|
248
|
+
}>;
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
result: {
|
|
251
|
+
value: {
|
|
252
|
+
accountsInfo: {
|
|
253
|
+
data: string;
|
|
254
|
+
executable: boolean;
|
|
255
|
+
owner: string;
|
|
256
|
+
lamports: string;
|
|
257
|
+
rentEpoch: string;
|
|
258
|
+
}[];
|
|
259
|
+
slot: string;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
query: {
|
|
263
|
+
params: {
|
|
264
|
+
timestamp: number;
|
|
265
|
+
publicKeys: string[];
|
|
266
|
+
};
|
|
267
|
+
name: "SvmGetAccountsInfoQuery";
|
|
268
|
+
hash: string;
|
|
269
|
+
};
|
|
270
|
+
signature: string;
|
|
271
|
+
}, {
|
|
272
|
+
result: {
|
|
273
|
+
value: {
|
|
274
|
+
accountsInfo: {
|
|
275
|
+
data: string;
|
|
276
|
+
owner: string;
|
|
277
|
+
lamports: string;
|
|
278
|
+
rentEpoch: string;
|
|
279
|
+
executable?: unknown;
|
|
280
|
+
}[];
|
|
281
|
+
slot: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
query: {
|
|
285
|
+
params: {
|
|
286
|
+
timestamp: number;
|
|
287
|
+
publicKeys: string[];
|
|
288
|
+
};
|
|
289
|
+
name: "SvmGetAccountsInfoQuery";
|
|
290
|
+
hash: string;
|
|
291
|
+
};
|
|
292
|
+
signature: string;
|
|
293
|
+
}>;
|
|
104
294
|
export declare const OracleTokenPriceRequestValidator: z.ZodObject<{
|
|
105
295
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
106
296
|
token: z.ZodObject<{
|
|
@@ -227,10 +417,9 @@ export declare const OracleRelevantTokensRequestValidator: z.ZodObject<{
|
|
|
227
417
|
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
228
418
|
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
229
419
|
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
230
|
-
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
231
420
|
tokens: z.ZodArray<z.ZodObject<{
|
|
232
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
233
421
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
422
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
234
423
|
}, "strip", z.ZodTypeAny, {
|
|
235
424
|
chainId: number;
|
|
236
425
|
address: string;
|
|
@@ -240,22 +429,20 @@ export declare const OracleRelevantTokensRequestValidator: z.ZodObject<{
|
|
|
240
429
|
}>, "many">;
|
|
241
430
|
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
242
431
|
}, "strip", z.ZodTypeAny, {
|
|
243
|
-
|
|
432
|
+
owner: string;
|
|
244
433
|
tokens: {
|
|
245
434
|
chainId: number;
|
|
246
435
|
address: string;
|
|
247
436
|
}[];
|
|
248
|
-
owner: string;
|
|
249
437
|
usdMinAmount: string;
|
|
250
438
|
chainIds: number[];
|
|
251
439
|
tokenFilter: 0 | 1;
|
|
252
440
|
}, {
|
|
253
|
-
|
|
441
|
+
owner: string;
|
|
254
442
|
tokens: {
|
|
255
443
|
chainId: number;
|
|
256
444
|
address: string;
|
|
257
445
|
}[];
|
|
258
|
-
owner: string;
|
|
259
446
|
usdMinAmount: string;
|
|
260
447
|
chainIds: number[];
|
|
261
448
|
tokenFilter: 0 | 1;
|
|
@@ -285,31 +472,52 @@ export declare const OracleRelevantTokenResultValidator: z.ZodObject<{
|
|
|
285
472
|
};
|
|
286
473
|
balance: string;
|
|
287
474
|
}>;
|
|
288
|
-
export declare const OracleRelevantTokensResultValidator: z.
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
475
|
+
export declare const OracleRelevantTokensResultValidator: z.ZodObject<{
|
|
476
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
477
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
478
|
+
token: z.ZodObject<{
|
|
479
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
480
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
481
|
+
}, "strip", z.ZodTypeAny, {
|
|
482
|
+
chainId: number;
|
|
483
|
+
address: string;
|
|
484
|
+
}, {
|
|
485
|
+
chainId: number;
|
|
486
|
+
address: string;
|
|
487
|
+
}>;
|
|
488
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
292
489
|
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
|
|
294
|
-
|
|
490
|
+
token: {
|
|
491
|
+
chainId: number;
|
|
492
|
+
address: string;
|
|
493
|
+
};
|
|
494
|
+
balance: string;
|
|
295
495
|
}, {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
496
|
+
token: {
|
|
497
|
+
chainId: number;
|
|
498
|
+
address: string;
|
|
499
|
+
};
|
|
500
|
+
balance: string;
|
|
501
|
+
}>, "many">;
|
|
300
502
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
503
|
+
timestamp: number;
|
|
504
|
+
balances: {
|
|
505
|
+
token: {
|
|
506
|
+
chainId: number;
|
|
507
|
+
address: string;
|
|
508
|
+
};
|
|
509
|
+
balance: string;
|
|
510
|
+
}[];
|
|
306
511
|
}, {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
512
|
+
timestamp: number;
|
|
513
|
+
balances: {
|
|
514
|
+
token: {
|
|
515
|
+
chainId: number;
|
|
516
|
+
address: string;
|
|
517
|
+
};
|
|
518
|
+
balance: string;
|
|
519
|
+
}[];
|
|
520
|
+
}>;
|
|
313
521
|
export declare const OracleRelevantTokensValidator: z.ZodObject<{
|
|
314
522
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
315
523
|
query: z.ZodObject<{
|
|
@@ -319,10 +527,9 @@ export declare const OracleRelevantTokensValidator: z.ZodObject<{
|
|
|
319
527
|
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
320
528
|
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
321
529
|
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
322
|
-
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
323
530
|
tokens: z.ZodArray<z.ZodObject<{
|
|
324
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
325
531
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
532
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
326
533
|
}, "strip", z.ZodTypeAny, {
|
|
327
534
|
chainId: number;
|
|
328
535
|
address: string;
|
|
@@ -332,34 +539,31 @@ export declare const OracleRelevantTokensValidator: z.ZodObject<{
|
|
|
332
539
|
}>, "many">;
|
|
333
540
|
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
334
541
|
}, "strip", z.ZodTypeAny, {
|
|
335
|
-
|
|
542
|
+
owner: string;
|
|
336
543
|
tokens: {
|
|
337
544
|
chainId: number;
|
|
338
545
|
address: string;
|
|
339
546
|
}[];
|
|
340
|
-
owner: string;
|
|
341
547
|
usdMinAmount: string;
|
|
342
548
|
chainIds: number[];
|
|
343
549
|
tokenFilter: 0 | 1;
|
|
344
550
|
}, {
|
|
345
|
-
|
|
551
|
+
owner: string;
|
|
346
552
|
tokens: {
|
|
347
553
|
chainId: number;
|
|
348
554
|
address: string;
|
|
349
555
|
}[];
|
|
350
|
-
owner: string;
|
|
351
556
|
usdMinAmount: string;
|
|
352
557
|
chainIds: number[];
|
|
353
558
|
tokenFilter: 0 | 1;
|
|
354
559
|
}>;
|
|
355
560
|
}, "strip", z.ZodTypeAny, {
|
|
356
561
|
params: {
|
|
357
|
-
|
|
562
|
+
owner: string;
|
|
358
563
|
tokens: {
|
|
359
564
|
chainId: number;
|
|
360
565
|
address: string;
|
|
361
566
|
}[];
|
|
362
|
-
owner: string;
|
|
363
567
|
usdMinAmount: string;
|
|
364
568
|
chainIds: number[];
|
|
365
569
|
tokenFilter: 0 | 1;
|
|
@@ -368,12 +572,11 @@ export declare const OracleRelevantTokensValidator: z.ZodObject<{
|
|
|
368
572
|
hash: string;
|
|
369
573
|
}, {
|
|
370
574
|
params: {
|
|
371
|
-
|
|
575
|
+
owner: string;
|
|
372
576
|
tokens: {
|
|
373
577
|
chainId: number;
|
|
374
578
|
address: string;
|
|
375
579
|
}[];
|
|
376
|
-
owner: string;
|
|
377
580
|
usdMinAmount: string;
|
|
378
581
|
chainIds: number[];
|
|
379
582
|
tokenFilter: 0 | 1;
|
|
@@ -382,66 +585,95 @@ export declare const OracleRelevantTokensValidator: z.ZodObject<{
|
|
|
382
585
|
hash: string;
|
|
383
586
|
}>;
|
|
384
587
|
result: z.ZodObject<{
|
|
385
|
-
value: z.
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
588
|
+
value: z.ZodObject<{
|
|
589
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
590
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
591
|
+
token: z.ZodObject<{
|
|
592
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
593
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
594
|
+
}, "strip", z.ZodTypeAny, {
|
|
595
|
+
chainId: number;
|
|
596
|
+
address: string;
|
|
597
|
+
}, {
|
|
598
|
+
chainId: number;
|
|
599
|
+
address: string;
|
|
600
|
+
}>;
|
|
601
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
389
602
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
|
|
391
|
-
|
|
603
|
+
token: {
|
|
604
|
+
chainId: number;
|
|
605
|
+
address: string;
|
|
606
|
+
};
|
|
607
|
+
balance: string;
|
|
392
608
|
}, {
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
609
|
+
token: {
|
|
610
|
+
chainId: number;
|
|
611
|
+
address: string;
|
|
612
|
+
};
|
|
613
|
+
balance: string;
|
|
614
|
+
}>, "many">;
|
|
397
615
|
}, "strip", z.ZodTypeAny, {
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
616
|
+
timestamp: number;
|
|
617
|
+
balances: {
|
|
618
|
+
token: {
|
|
619
|
+
chainId: number;
|
|
620
|
+
address: string;
|
|
621
|
+
};
|
|
622
|
+
balance: string;
|
|
623
|
+
}[];
|
|
403
624
|
}, {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
625
|
+
timestamp: number;
|
|
626
|
+
balances: {
|
|
627
|
+
token: {
|
|
628
|
+
chainId: number;
|
|
629
|
+
address: string;
|
|
630
|
+
};
|
|
631
|
+
balance: string;
|
|
632
|
+
}[];
|
|
633
|
+
}>;
|
|
410
634
|
}, "strip", z.ZodTypeAny, {
|
|
411
635
|
value: {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
636
|
+
timestamp: number;
|
|
637
|
+
balances: {
|
|
638
|
+
token: {
|
|
639
|
+
chainId: number;
|
|
640
|
+
address: string;
|
|
641
|
+
};
|
|
642
|
+
balance: string;
|
|
643
|
+
}[];
|
|
644
|
+
};
|
|
418
645
|
}, {
|
|
419
646
|
value: {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
647
|
+
timestamp: number;
|
|
648
|
+
balances: {
|
|
649
|
+
token: {
|
|
650
|
+
chainId: number;
|
|
651
|
+
address: string;
|
|
652
|
+
};
|
|
653
|
+
balance: string;
|
|
654
|
+
}[];
|
|
655
|
+
};
|
|
426
656
|
}>;
|
|
427
657
|
}, "strip", z.ZodTypeAny, {
|
|
428
658
|
result: {
|
|
429
659
|
value: {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
660
|
+
timestamp: number;
|
|
661
|
+
balances: {
|
|
662
|
+
token: {
|
|
663
|
+
chainId: number;
|
|
664
|
+
address: string;
|
|
665
|
+
};
|
|
666
|
+
balance: string;
|
|
667
|
+
}[];
|
|
668
|
+
};
|
|
436
669
|
};
|
|
437
670
|
query: {
|
|
438
671
|
params: {
|
|
439
|
-
|
|
672
|
+
owner: string;
|
|
440
673
|
tokens: {
|
|
441
674
|
chainId: number;
|
|
442
675
|
address: string;
|
|
443
676
|
}[];
|
|
444
|
-
owner: string;
|
|
445
677
|
usdMinAmount: string;
|
|
446
678
|
chainIds: number[];
|
|
447
679
|
tokenFilter: 0 | 1;
|
|
@@ -453,21 +685,23 @@ export declare const OracleRelevantTokensValidator: z.ZodObject<{
|
|
|
453
685
|
}, {
|
|
454
686
|
result: {
|
|
455
687
|
value: {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
688
|
+
timestamp: number;
|
|
689
|
+
balances: {
|
|
690
|
+
token: {
|
|
691
|
+
chainId: number;
|
|
692
|
+
address: string;
|
|
693
|
+
};
|
|
694
|
+
balance: string;
|
|
695
|
+
}[];
|
|
696
|
+
};
|
|
462
697
|
};
|
|
463
698
|
query: {
|
|
464
699
|
params: {
|
|
465
|
-
|
|
700
|
+
owner: string;
|
|
466
701
|
tokens: {
|
|
467
702
|
chainId: number;
|
|
468
703
|
address: string;
|
|
469
704
|
}[];
|
|
470
|
-
owner: string;
|
|
471
705
|
usdMinAmount: string;
|
|
472
706
|
chainIds: number[];
|
|
473
707
|
tokenFilter: 0 | 1;
|
|
@@ -610,7 +844,7 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
610
844
|
params: z.ZodObject<{
|
|
611
845
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
612
846
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
613
|
-
to: z.ZodEffects<z.
|
|
847
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
614
848
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
615
849
|
}, "strip", z.ZodTypeAny, {
|
|
616
850
|
chainId: number;
|
|
@@ -778,10 +1012,9 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
778
1012
|
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
779
1013
|
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
780
1014
|
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
781
|
-
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
782
1015
|
tokens: z.ZodArray<z.ZodObject<{
|
|
783
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
784
1016
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1017
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
785
1018
|
}, "strip", z.ZodTypeAny, {
|
|
786
1019
|
chainId: number;
|
|
787
1020
|
address: string;
|
|
@@ -791,34 +1024,31 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
791
1024
|
}>, "many">;
|
|
792
1025
|
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
793
1026
|
}, "strip", z.ZodTypeAny, {
|
|
794
|
-
|
|
1027
|
+
owner: string;
|
|
795
1028
|
tokens: {
|
|
796
1029
|
chainId: number;
|
|
797
1030
|
address: string;
|
|
798
1031
|
}[];
|
|
799
|
-
owner: string;
|
|
800
1032
|
usdMinAmount: string;
|
|
801
1033
|
chainIds: number[];
|
|
802
1034
|
tokenFilter: 0 | 1;
|
|
803
1035
|
}, {
|
|
804
|
-
|
|
1036
|
+
owner: string;
|
|
805
1037
|
tokens: {
|
|
806
1038
|
chainId: number;
|
|
807
1039
|
address: string;
|
|
808
1040
|
}[];
|
|
809
|
-
owner: string;
|
|
810
1041
|
usdMinAmount: string;
|
|
811
1042
|
chainIds: number[];
|
|
812
1043
|
tokenFilter: 0 | 1;
|
|
813
1044
|
}>;
|
|
814
1045
|
}, "strip", z.ZodTypeAny, {
|
|
815
1046
|
params: {
|
|
816
|
-
|
|
1047
|
+
owner: string;
|
|
817
1048
|
tokens: {
|
|
818
1049
|
chainId: number;
|
|
819
1050
|
address: string;
|
|
820
1051
|
}[];
|
|
821
|
-
owner: string;
|
|
822
1052
|
usdMinAmount: string;
|
|
823
1053
|
chainIds: number[];
|
|
824
1054
|
tokenFilter: 0 | 1;
|
|
@@ -827,12 +1057,11 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
827
1057
|
hash: string;
|
|
828
1058
|
}, {
|
|
829
1059
|
params: {
|
|
830
|
-
|
|
1060
|
+
owner: string;
|
|
831
1061
|
tokens: {
|
|
832
1062
|
chainId: number;
|
|
833
1063
|
address: string;
|
|
834
1064
|
}[];
|
|
835
|
-
owner: string;
|
|
836
1065
|
usdMinAmount: string;
|
|
837
1066
|
chainIds: number[];
|
|
838
1067
|
tokenFilter: 0 | 1;
|
|
@@ -841,66 +1070,95 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
841
1070
|
hash: string;
|
|
842
1071
|
}>;
|
|
843
1072
|
result: z.ZodObject<{
|
|
844
|
-
value: z.
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
1073
|
+
value: z.ZodObject<{
|
|
1074
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1075
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
1076
|
+
token: z.ZodObject<{
|
|
1077
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1078
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1079
|
+
}, "strip", z.ZodTypeAny, {
|
|
1080
|
+
chainId: number;
|
|
1081
|
+
address: string;
|
|
1082
|
+
}, {
|
|
1083
|
+
chainId: number;
|
|
1084
|
+
address: string;
|
|
1085
|
+
}>;
|
|
1086
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
848
1087
|
}, "strip", z.ZodTypeAny, {
|
|
849
|
-
|
|
850
|
-
|
|
1088
|
+
token: {
|
|
1089
|
+
chainId: number;
|
|
1090
|
+
address: string;
|
|
1091
|
+
};
|
|
1092
|
+
balance: string;
|
|
851
1093
|
}, {
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
1094
|
+
token: {
|
|
1095
|
+
chainId: number;
|
|
1096
|
+
address: string;
|
|
1097
|
+
};
|
|
1098
|
+
balance: string;
|
|
1099
|
+
}>, "many">;
|
|
856
1100
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
1101
|
+
timestamp: number;
|
|
1102
|
+
balances: {
|
|
1103
|
+
token: {
|
|
1104
|
+
chainId: number;
|
|
1105
|
+
address: string;
|
|
1106
|
+
};
|
|
1107
|
+
balance: string;
|
|
1108
|
+
}[];
|
|
862
1109
|
}, {
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
1110
|
+
timestamp: number;
|
|
1111
|
+
balances: {
|
|
1112
|
+
token: {
|
|
1113
|
+
chainId: number;
|
|
1114
|
+
address: string;
|
|
1115
|
+
};
|
|
1116
|
+
balance: string;
|
|
1117
|
+
}[];
|
|
1118
|
+
}>;
|
|
869
1119
|
}, "strip", z.ZodTypeAny, {
|
|
870
1120
|
value: {
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
1121
|
+
timestamp: number;
|
|
1122
|
+
balances: {
|
|
1123
|
+
token: {
|
|
1124
|
+
chainId: number;
|
|
1125
|
+
address: string;
|
|
1126
|
+
};
|
|
1127
|
+
balance: string;
|
|
1128
|
+
}[];
|
|
1129
|
+
};
|
|
877
1130
|
}, {
|
|
878
1131
|
value: {
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
1132
|
+
timestamp: number;
|
|
1133
|
+
balances: {
|
|
1134
|
+
token: {
|
|
1135
|
+
chainId: number;
|
|
1136
|
+
address: string;
|
|
1137
|
+
};
|
|
1138
|
+
balance: string;
|
|
1139
|
+
}[];
|
|
1140
|
+
};
|
|
885
1141
|
}>;
|
|
886
1142
|
}, "strip", z.ZodTypeAny, {
|
|
887
1143
|
result: {
|
|
888
1144
|
value: {
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
1145
|
+
timestamp: number;
|
|
1146
|
+
balances: {
|
|
1147
|
+
token: {
|
|
1148
|
+
chainId: number;
|
|
1149
|
+
address: string;
|
|
1150
|
+
};
|
|
1151
|
+
balance: string;
|
|
1152
|
+
}[];
|
|
1153
|
+
};
|
|
895
1154
|
};
|
|
896
1155
|
query: {
|
|
897
1156
|
params: {
|
|
898
|
-
|
|
1157
|
+
owner: string;
|
|
899
1158
|
tokens: {
|
|
900
1159
|
chainId: number;
|
|
901
1160
|
address: string;
|
|
902
1161
|
}[];
|
|
903
|
-
owner: string;
|
|
904
1162
|
usdMinAmount: string;
|
|
905
1163
|
chainIds: number[];
|
|
906
1164
|
tokenFilter: 0 | 1;
|
|
@@ -912,21 +1170,23 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
912
1170
|
}, {
|
|
913
1171
|
result: {
|
|
914
1172
|
value: {
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
1173
|
+
timestamp: number;
|
|
1174
|
+
balances: {
|
|
1175
|
+
token: {
|
|
1176
|
+
chainId: number;
|
|
1177
|
+
address: string;
|
|
1178
|
+
};
|
|
1179
|
+
balance: string;
|
|
1180
|
+
}[];
|
|
1181
|
+
};
|
|
921
1182
|
};
|
|
922
1183
|
query: {
|
|
923
1184
|
params: {
|
|
924
|
-
|
|
1185
|
+
owner: string;
|
|
925
1186
|
tokens: {
|
|
926
1187
|
chainId: number;
|
|
927
1188
|
address: string;
|
|
928
1189
|
}[];
|
|
929
|
-
owner: string;
|
|
930
1190
|
usdMinAmount: string;
|
|
931
1191
|
chainIds: number[];
|
|
932
1192
|
tokenFilter: 0 | 1;
|