@mimicprotocol/sdk 0.0.2-rc.1 → 0.1.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.
- package/dist/axia/validators.d.ts +217 -208
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +2 -0
- package/dist/axia/validators.js.map +1 -1
- package/dist/client/domains/IntentsClient.d.ts +1 -16
- package/dist/client/domains/IntentsClient.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.js +0 -16
- package/dist/client/domains/IntentsClient.js.map +1 -1
- package/dist/oracle/validators.d.ts +62 -62
- package/dist/registry/TriggerSigner.d.ts.map +1 -1
- package/dist/registry/TriggerSigner.js +2 -1
- package/dist/registry/TriggerSigner.js.map +1 -1
- package/dist/registry/validators.d.ts +579 -124
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +17 -2
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/validators.d.ts +156 -132
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/runner/validators.d.ts +46 -46
- package/dist/settler/svm/Controller.d.ts +4 -0
- package/dist/settler/svm/Controller.d.ts.map +1 -1
- package/dist/settler/svm/Controller.js +11 -0
- package/dist/settler/svm/Controller.js.map +1 -1
- package/dist/settler/svm/Settler.d.ts +14 -2
- package/dist/settler/svm/Settler.d.ts.map +1 -1
- package/dist/settler/svm/Settler.js +51 -2
- package/dist/settler/svm/Settler.js.map +1 -1
- package/dist/settler/svm/types.d.ts +5 -1
- package/dist/settler/svm/types.d.ts.map +1 -1
- package/dist/shared/codec/chains/evm.d.ts.map +1 -1
- package/dist/shared/codec/chains/evm.js +10 -2
- package/dist/shared/codec/chains/evm.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +6 -5
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/eip712Types/index.d.ts +1 -1
- package/dist/shared/eip712Types/index.d.ts.map +1 -1
- package/dist/shared/eip712Types/index.js +1 -1
- package/dist/shared/eip712Types/index.js.map +1 -1
- package/dist/shared/utils/addresses.d.ts +1 -1
- package/dist/shared/utils/addresses.js +1 -1
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/index.js +1 -0
- package/dist/shared/utils/index.js.map +1 -1
- package/dist/shared/utils/operations.d.ts +24 -0
- package/dist/shared/utils/operations.d.ts.map +1 -0
- package/dist/shared/utils/operations.js +32 -0
- package/dist/shared/utils/operations.js.map +1 -0
- package/dist/shared/utils/tokens.d.ts +3 -0
- package/dist/shared/utils/tokens.d.ts.map +1 -1
- package/dist/shared/utils/tokens.js +6 -1
- package/dist/shared/utils/tokens.js.map +1 -1
- package/dist/shared/validators/executions.d.ts +10 -10
- package/dist/shared/validators/intents.d.ts +88 -50
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +1 -0
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +2 -2
- package/dist/shared/validators/primitives.js +13 -13
- package/dist/shared/validators/primitives.js.map +1 -1
- package/package.json +1 -1
|
@@ -66,17 +66,17 @@ export declare const EventTriggerConfigValidator: z.ZodObject<{
|
|
|
66
66
|
}, "strict", z.ZodTypeAny, {
|
|
67
67
|
type: 1;
|
|
68
68
|
chainId: number;
|
|
69
|
+
topics: string[][];
|
|
69
70
|
delta: string;
|
|
70
71
|
endDate: number;
|
|
71
72
|
contract: string;
|
|
72
|
-
topics: string[][];
|
|
73
73
|
}, {
|
|
74
74
|
type: 1;
|
|
75
75
|
chainId: number;
|
|
76
|
+
topics: string[][];
|
|
76
77
|
delta: string;
|
|
77
78
|
endDate: number;
|
|
78
79
|
contract: string;
|
|
79
|
-
topics: string[][];
|
|
80
80
|
}>;
|
|
81
81
|
export declare const OnceTriggerConfigValidator: z.ZodObject<{
|
|
82
82
|
type: z.ZodLiteral<2>;
|
|
@@ -85,14 +85,14 @@ export declare const OnceTriggerConfigValidator: z.ZodObject<{
|
|
|
85
85
|
endDate: z.ZodNumber;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
type: 2;
|
|
88
|
+
startDate: number;
|
|
88
89
|
delta: string;
|
|
89
90
|
endDate: number;
|
|
90
|
-
startDate: number;
|
|
91
91
|
}, {
|
|
92
92
|
type: 2;
|
|
93
|
+
startDate: number;
|
|
93
94
|
delta: string;
|
|
94
95
|
endDate: number;
|
|
95
|
-
startDate: number;
|
|
96
96
|
}>;
|
|
97
97
|
export declare const TriggerConfigValidator: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
98
98
|
type: z.ZodLiteral<1>;
|
|
@@ -104,17 +104,17 @@ export declare const TriggerConfigValidator: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
104
104
|
}, "strict", z.ZodTypeAny, {
|
|
105
105
|
type: 1;
|
|
106
106
|
chainId: number;
|
|
107
|
+
topics: string[][];
|
|
107
108
|
delta: string;
|
|
108
109
|
endDate: number;
|
|
109
110
|
contract: string;
|
|
110
|
-
topics: string[][];
|
|
111
111
|
}, {
|
|
112
112
|
type: 1;
|
|
113
113
|
chainId: number;
|
|
114
|
+
topics: string[][];
|
|
114
115
|
delta: string;
|
|
115
116
|
endDate: number;
|
|
116
117
|
contract: string;
|
|
117
|
-
topics: string[][];
|
|
118
118
|
}>, z.ZodObject<{
|
|
119
119
|
type: z.ZodLiteral<0>;
|
|
120
120
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -137,14 +137,14 @@ export declare const TriggerConfigValidator: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
137
137
|
endDate: z.ZodNumber;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
type: 2;
|
|
140
|
+
startDate: number;
|
|
140
141
|
delta: string;
|
|
141
142
|
endDate: number;
|
|
142
|
-
startDate: number;
|
|
143
143
|
}, {
|
|
144
144
|
type: 2;
|
|
145
|
+
startDate: number;
|
|
145
146
|
delta: string;
|
|
146
147
|
endDate: number;
|
|
147
|
-
startDate: number;
|
|
148
148
|
}>]>, {
|
|
149
149
|
type: 0;
|
|
150
150
|
schedule: string;
|
|
@@ -153,15 +153,15 @@ export declare const TriggerConfigValidator: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
153
153
|
} | {
|
|
154
154
|
type: 1;
|
|
155
155
|
chainId: number;
|
|
156
|
+
topics: string[][];
|
|
156
157
|
delta: string;
|
|
157
158
|
endDate: number;
|
|
158
159
|
contract: string;
|
|
159
|
-
topics: string[][];
|
|
160
160
|
} | {
|
|
161
161
|
type: 2;
|
|
162
|
+
startDate: number;
|
|
162
163
|
delta: string;
|
|
163
164
|
endDate: number;
|
|
164
|
-
startDate: number;
|
|
165
165
|
}, {
|
|
166
166
|
type: 0;
|
|
167
167
|
schedule: string;
|
|
@@ -170,15 +170,15 @@ export declare const TriggerConfigValidator: z.ZodEffects<z.ZodDiscriminatedUnio
|
|
|
170
170
|
} | {
|
|
171
171
|
type: 1;
|
|
172
172
|
chainId: number;
|
|
173
|
+
topics: string[][];
|
|
173
174
|
delta: string;
|
|
174
175
|
endDate: number;
|
|
175
176
|
contract: string;
|
|
176
|
-
topics: string[][];
|
|
177
177
|
} | {
|
|
178
178
|
type: 2;
|
|
179
|
+
startDate: number;
|
|
179
180
|
delta: string;
|
|
180
181
|
endDate: number;
|
|
181
|
-
startDate: number;
|
|
182
182
|
}>;
|
|
183
183
|
export declare const ManifestInputsValidator: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
184
184
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -257,12 +257,12 @@ export declare const UserAuthenticationValidator: z.ZodObject<{
|
|
|
257
257
|
token: z.ZodString;
|
|
258
258
|
email: z.ZodOptional<z.ZodString>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
token: string;
|
|
261
260
|
address: string;
|
|
261
|
+
token: string;
|
|
262
262
|
email?: string | undefined;
|
|
263
263
|
}, {
|
|
264
|
-
token: string;
|
|
265
264
|
address: string;
|
|
265
|
+
token: string;
|
|
266
266
|
email?: string | undefined;
|
|
267
267
|
}>;
|
|
268
268
|
export declare const UserNonceRequestValidator: z.ZodObject<{
|
|
@@ -276,11 +276,11 @@ export declare const UserNonceValidator: z.ZodObject<{
|
|
|
276
276
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
277
277
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
nonce: string;
|
|
280
279
|
address: string;
|
|
281
|
-
}, {
|
|
282
280
|
nonce: string;
|
|
281
|
+
}, {
|
|
283
282
|
address: string;
|
|
283
|
+
nonce: string;
|
|
284
284
|
}>;
|
|
285
285
|
export declare const UserApiKeyValidator: z.ZodObject<{
|
|
286
286
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -303,18 +303,18 @@ export declare const UserTokenValidator: z.ZodObject<{
|
|
|
303
303
|
logo: z.ZodString;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
symbol: string;
|
|
306
|
-
decimals: number;
|
|
307
306
|
address: string;
|
|
308
307
|
chainId: number;
|
|
308
|
+
decimals: number;
|
|
309
309
|
balance: string;
|
|
310
310
|
allowance: string;
|
|
311
311
|
price: number;
|
|
312
312
|
logo: string;
|
|
313
313
|
}, {
|
|
314
314
|
symbol: string;
|
|
315
|
-
decimals: number;
|
|
316
315
|
address: string;
|
|
317
316
|
chainId: number;
|
|
317
|
+
decimals: number;
|
|
318
318
|
balance: string;
|
|
319
319
|
allowance: string;
|
|
320
320
|
price: number;
|
|
@@ -331,18 +331,18 @@ export declare const UserTokensValidator: z.ZodArray<z.ZodObject<{
|
|
|
331
331
|
logo: z.ZodString;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
333
|
symbol: string;
|
|
334
|
-
decimals: number;
|
|
335
334
|
address: string;
|
|
336
335
|
chainId: number;
|
|
336
|
+
decimals: number;
|
|
337
337
|
balance: string;
|
|
338
338
|
allowance: string;
|
|
339
339
|
price: number;
|
|
340
340
|
logo: string;
|
|
341
341
|
}, {
|
|
342
342
|
symbol: string;
|
|
343
|
-
decimals: number;
|
|
344
343
|
address: string;
|
|
345
344
|
chainId: number;
|
|
345
|
+
decimals: number;
|
|
346
346
|
balance: string;
|
|
347
347
|
allowance: string;
|
|
348
348
|
price: number;
|
|
@@ -374,14 +374,14 @@ export declare const BalanceValidator: z.ZodObject<{
|
|
|
374
374
|
description: z.ZodString;
|
|
375
375
|
createdAt: z.ZodDate;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
amount: string;
|
|
378
377
|
address: string;
|
|
378
|
+
amount: string;
|
|
379
379
|
description: string;
|
|
380
380
|
createdAt: Date;
|
|
381
381
|
expiresAt?: Date | undefined;
|
|
382
382
|
}, {
|
|
383
|
-
amount: string;
|
|
384
383
|
address: string;
|
|
384
|
+
amount: string;
|
|
385
385
|
description: string;
|
|
386
386
|
createdAt: Date;
|
|
387
387
|
expiresAt?: Date | undefined;
|
|
@@ -393,14 +393,14 @@ export declare const BalancesValidator: z.ZodArray<z.ZodObject<{
|
|
|
393
393
|
description: z.ZodString;
|
|
394
394
|
createdAt: z.ZodDate;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
amount: string;
|
|
397
396
|
address: string;
|
|
397
|
+
amount: string;
|
|
398
398
|
description: string;
|
|
399
399
|
createdAt: Date;
|
|
400
400
|
expiresAt?: Date | undefined;
|
|
401
401
|
}, {
|
|
402
|
-
amount: string;
|
|
403
402
|
address: string;
|
|
403
|
+
amount: string;
|
|
404
404
|
description: string;
|
|
405
405
|
createdAt: Date;
|
|
406
406
|
expiresAt?: Date | undefined;
|
|
@@ -422,16 +422,16 @@ export declare const BalancesCreateFromDepositRequestValidator: z.ZodObject<{
|
|
|
422
422
|
transactionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
423
423
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
424
424
|
}, "strip", z.ZodTypeAny, {
|
|
425
|
-
decimals: number;
|
|
426
|
-
amount: string;
|
|
427
425
|
address: string;
|
|
428
426
|
chainId: number;
|
|
427
|
+
amount: string;
|
|
428
|
+
decimals: number;
|
|
429
429
|
transactionHash: string;
|
|
430
430
|
}, {
|
|
431
|
-
decimals: number;
|
|
432
|
-
amount: string;
|
|
433
431
|
address: string;
|
|
434
432
|
chainId: number;
|
|
433
|
+
amount: string;
|
|
434
|
+
decimals: number;
|
|
435
435
|
transactionHash: string;
|
|
436
436
|
}>;
|
|
437
437
|
export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
@@ -456,32 +456,32 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
456
456
|
to: z.ZodEffects<z.ZodString, string, string>;
|
|
457
457
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
|
-
data: string;
|
|
460
459
|
chainId: number;
|
|
461
|
-
|
|
460
|
+
data: string;
|
|
462
461
|
timestamp: number;
|
|
462
|
+
to: string;
|
|
463
463
|
}, {
|
|
464
|
-
data: string;
|
|
465
464
|
chainId: number;
|
|
466
|
-
|
|
465
|
+
data: string;
|
|
467
466
|
timestamp: number;
|
|
467
|
+
to: string;
|
|
468
468
|
}>;
|
|
469
469
|
}, "strip", z.ZodTypeAny, {
|
|
470
470
|
name: "EvmCallQuery";
|
|
471
471
|
params: {
|
|
472
|
-
data: string;
|
|
473
472
|
chainId: number;
|
|
474
|
-
|
|
473
|
+
data: string;
|
|
475
474
|
timestamp: number;
|
|
475
|
+
to: string;
|
|
476
476
|
};
|
|
477
477
|
hash: string;
|
|
478
478
|
}, {
|
|
479
479
|
name: "EvmCallQuery";
|
|
480
480
|
params: {
|
|
481
|
-
data: string;
|
|
482
481
|
chainId: number;
|
|
483
|
-
|
|
482
|
+
data: string;
|
|
484
483
|
timestamp: number;
|
|
484
|
+
to: string;
|
|
485
485
|
};
|
|
486
486
|
hash: string;
|
|
487
487
|
}>;
|
|
@@ -499,10 +499,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
499
499
|
query: {
|
|
500
500
|
name: "EvmCallQuery";
|
|
501
501
|
params: {
|
|
502
|
-
data: string;
|
|
503
502
|
chainId: number;
|
|
504
|
-
|
|
503
|
+
data: string;
|
|
505
504
|
timestamp: number;
|
|
505
|
+
to: string;
|
|
506
506
|
};
|
|
507
507
|
hash: string;
|
|
508
508
|
};
|
|
@@ -514,10 +514,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
514
514
|
query: {
|
|
515
515
|
name: "EvmCallQuery";
|
|
516
516
|
params: {
|
|
517
|
-
data: string;
|
|
518
517
|
chainId: number;
|
|
519
|
-
|
|
518
|
+
data: string;
|
|
520
519
|
timestamp: number;
|
|
520
|
+
to: string;
|
|
521
521
|
};
|
|
522
522
|
hash: string;
|
|
523
523
|
};
|
|
@@ -540,36 +540,36 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
540
540
|
chainId: number;
|
|
541
541
|
}>;
|
|
542
542
|
}, "strip", z.ZodTypeAny, {
|
|
543
|
+
timestamp: number;
|
|
543
544
|
token: {
|
|
544
545
|
address: string;
|
|
545
546
|
chainId: number;
|
|
546
547
|
};
|
|
547
|
-
timestamp: number;
|
|
548
548
|
}, {
|
|
549
|
+
timestamp: number;
|
|
549
550
|
token: {
|
|
550
551
|
address: string;
|
|
551
552
|
chainId: number;
|
|
552
553
|
};
|
|
553
|
-
timestamp: number;
|
|
554
554
|
}>;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
556
|
name: "TokenPriceQuery";
|
|
557
557
|
params: {
|
|
558
|
+
timestamp: number;
|
|
558
559
|
token: {
|
|
559
560
|
address: string;
|
|
560
561
|
chainId: number;
|
|
561
562
|
};
|
|
562
|
-
timestamp: number;
|
|
563
563
|
};
|
|
564
564
|
hash: string;
|
|
565
565
|
}, {
|
|
566
566
|
name: "TokenPriceQuery";
|
|
567
567
|
params: {
|
|
568
|
+
timestamp: number;
|
|
568
569
|
token: {
|
|
569
570
|
address: string;
|
|
570
571
|
chainId: number;
|
|
571
572
|
};
|
|
572
|
-
timestamp: number;
|
|
573
573
|
};
|
|
574
574
|
hash: string;
|
|
575
575
|
}>;
|
|
@@ -587,11 +587,11 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
587
587
|
query: {
|
|
588
588
|
name: "TokenPriceQuery";
|
|
589
589
|
params: {
|
|
590
|
+
timestamp: number;
|
|
590
591
|
token: {
|
|
591
592
|
address: string;
|
|
592
593
|
chainId: number;
|
|
593
594
|
};
|
|
594
|
-
timestamp: number;
|
|
595
595
|
};
|
|
596
596
|
hash: string;
|
|
597
597
|
};
|
|
@@ -603,11 +603,11 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
603
603
|
query: {
|
|
604
604
|
name: "TokenPriceQuery";
|
|
605
605
|
params: {
|
|
606
|
+
timestamp: number;
|
|
606
607
|
token: {
|
|
607
608
|
address: string;
|
|
608
609
|
chainId: number;
|
|
609
610
|
};
|
|
610
|
-
timestamp: number;
|
|
611
611
|
};
|
|
612
612
|
hash: string;
|
|
613
613
|
};
|
|
@@ -941,34 +941,34 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
941
941
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
942
942
|
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
943
943
|
}, "strip", z.ZodTypeAny, {
|
|
944
|
-
data: string;
|
|
945
944
|
executable: boolean;
|
|
946
945
|
owner: string;
|
|
947
946
|
lamports: string;
|
|
947
|
+
data: string;
|
|
948
948
|
rentEpoch: string;
|
|
949
949
|
}, {
|
|
950
|
-
data: string;
|
|
951
950
|
executable: boolean;
|
|
952
951
|
owner: string;
|
|
953
952
|
lamports: string;
|
|
953
|
+
data: string;
|
|
954
954
|
rentEpoch: string;
|
|
955
955
|
}>, "many">;
|
|
956
956
|
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
957
957
|
}, "strip", z.ZodTypeAny, {
|
|
958
958
|
accountsInfo: {
|
|
959
|
-
data: string;
|
|
960
959
|
executable: boolean;
|
|
961
960
|
owner: string;
|
|
962
961
|
lamports: string;
|
|
962
|
+
data: string;
|
|
963
963
|
rentEpoch: string;
|
|
964
964
|
}[];
|
|
965
965
|
slot: string;
|
|
966
966
|
}, {
|
|
967
967
|
accountsInfo: {
|
|
968
|
-
data: string;
|
|
969
968
|
executable: boolean;
|
|
970
969
|
owner: string;
|
|
971
970
|
lamports: string;
|
|
971
|
+
data: string;
|
|
972
972
|
rentEpoch: string;
|
|
973
973
|
}[];
|
|
974
974
|
slot: string;
|
|
@@ -976,10 +976,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
976
976
|
}, "strip", z.ZodTypeAny, {
|
|
977
977
|
value: {
|
|
978
978
|
accountsInfo: {
|
|
979
|
-
data: string;
|
|
980
979
|
executable: boolean;
|
|
981
980
|
owner: string;
|
|
982
981
|
lamports: string;
|
|
982
|
+
data: string;
|
|
983
983
|
rentEpoch: string;
|
|
984
984
|
}[];
|
|
985
985
|
slot: string;
|
|
@@ -987,10 +987,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
987
987
|
}, {
|
|
988
988
|
value: {
|
|
989
989
|
accountsInfo: {
|
|
990
|
-
data: string;
|
|
991
990
|
executable: boolean;
|
|
992
991
|
owner: string;
|
|
993
992
|
lamports: string;
|
|
993
|
+
data: string;
|
|
994
994
|
rentEpoch: string;
|
|
995
995
|
}[];
|
|
996
996
|
slot: string;
|
|
@@ -1000,10 +1000,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1000
1000
|
result: {
|
|
1001
1001
|
value: {
|
|
1002
1002
|
accountsInfo: {
|
|
1003
|
-
data: string;
|
|
1004
1003
|
executable: boolean;
|
|
1005
1004
|
owner: string;
|
|
1006
1005
|
lamports: string;
|
|
1006
|
+
data: string;
|
|
1007
1007
|
rentEpoch: string;
|
|
1008
1008
|
}[];
|
|
1009
1009
|
slot: string;
|
|
@@ -1022,10 +1022,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1022
1022
|
result: {
|
|
1023
1023
|
value: {
|
|
1024
1024
|
accountsInfo: {
|
|
1025
|
-
data: string;
|
|
1026
1025
|
executable: boolean;
|
|
1027
1026
|
owner: string;
|
|
1028
1027
|
lamports: string;
|
|
1028
|
+
data: string;
|
|
1029
1029
|
rentEpoch: string;
|
|
1030
1030
|
}[];
|
|
1031
1031
|
slot: string;
|
|
@@ -1045,6 +1045,7 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1045
1045
|
validatorAddresses: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
1046
1046
|
}, "strip", z.ZodTypeAny, {
|
|
1047
1047
|
triggerSig: string;
|
|
1048
|
+
triggerType: 0 | 1 | 2;
|
|
1048
1049
|
timestamp: number;
|
|
1049
1050
|
hash: string;
|
|
1050
1051
|
inputs: ({
|
|
@@ -1054,10 +1055,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1054
1055
|
query: {
|
|
1055
1056
|
name: "EvmCallQuery";
|
|
1056
1057
|
params: {
|
|
1057
|
-
data: string;
|
|
1058
1058
|
chainId: number;
|
|
1059
|
-
|
|
1059
|
+
data: string;
|
|
1060
1060
|
timestamp: number;
|
|
1061
|
+
to: string;
|
|
1061
1062
|
};
|
|
1062
1063
|
hash: string;
|
|
1063
1064
|
};
|
|
@@ -1066,10 +1067,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1066
1067
|
result: {
|
|
1067
1068
|
value: {
|
|
1068
1069
|
accountsInfo: {
|
|
1069
|
-
data: string;
|
|
1070
1070
|
executable: boolean;
|
|
1071
1071
|
owner: string;
|
|
1072
1072
|
lamports: string;
|
|
1073
|
+
data: string;
|
|
1073
1074
|
rentEpoch: string;
|
|
1074
1075
|
}[];
|
|
1075
1076
|
slot: string;
|
|
@@ -1091,11 +1092,11 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1091
1092
|
query: {
|
|
1092
1093
|
name: "TokenPriceQuery";
|
|
1093
1094
|
params: {
|
|
1095
|
+
timestamp: number;
|
|
1094
1096
|
token: {
|
|
1095
1097
|
address: string;
|
|
1096
1098
|
chainId: number;
|
|
1097
1099
|
};
|
|
1098
|
-
timestamp: number;
|
|
1099
1100
|
};
|
|
1100
1101
|
hash: string;
|
|
1101
1102
|
};
|
|
@@ -1148,12 +1149,12 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1148
1149
|
signature: string;
|
|
1149
1150
|
})[];
|
|
1150
1151
|
relayer: string;
|
|
1151
|
-
triggerType: 0 | 1 | 2;
|
|
1152
1152
|
fuelUsed: number;
|
|
1153
1153
|
outputsLength: number;
|
|
1154
1154
|
validatorAddresses: string[];
|
|
1155
1155
|
}, {
|
|
1156
1156
|
triggerSig: string;
|
|
1157
|
+
triggerType: 0 | 1 | 2;
|
|
1157
1158
|
timestamp: number;
|
|
1158
1159
|
hash: string;
|
|
1159
1160
|
inputs: ({
|
|
@@ -1163,10 +1164,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1163
1164
|
query: {
|
|
1164
1165
|
name: "EvmCallQuery";
|
|
1165
1166
|
params: {
|
|
1166
|
-
data: string;
|
|
1167
1167
|
chainId: number;
|
|
1168
|
-
|
|
1168
|
+
data: string;
|
|
1169
1169
|
timestamp: number;
|
|
1170
|
+
to: string;
|
|
1170
1171
|
};
|
|
1171
1172
|
hash: string;
|
|
1172
1173
|
};
|
|
@@ -1175,10 +1176,10 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1175
1176
|
result: {
|
|
1176
1177
|
value: {
|
|
1177
1178
|
accountsInfo: {
|
|
1178
|
-
data: string;
|
|
1179
1179
|
executable: boolean;
|
|
1180
1180
|
owner: string;
|
|
1181
1181
|
lamports: string;
|
|
1182
|
+
data: string;
|
|
1182
1183
|
rentEpoch: string;
|
|
1183
1184
|
}[];
|
|
1184
1185
|
slot: string;
|
|
@@ -1200,11 +1201,11 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1200
1201
|
query: {
|
|
1201
1202
|
name: "TokenPriceQuery";
|
|
1202
1203
|
params: {
|
|
1204
|
+
timestamp: number;
|
|
1203
1205
|
token: {
|
|
1204
1206
|
address: string;
|
|
1205
1207
|
chainId: number;
|
|
1206
1208
|
};
|
|
1207
|
-
timestamp: number;
|
|
1208
1209
|
};
|
|
1209
1210
|
hash: string;
|
|
1210
1211
|
};
|
|
@@ -1257,7 +1258,6 @@ export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
|
1257
1258
|
signature: string;
|
|
1258
1259
|
})[];
|
|
1259
1260
|
relayer: string;
|
|
1260
|
-
triggerType: 0 | 1 | 2;
|
|
1261
1261
|
fuelUsed: number;
|
|
1262
1262
|
outputsLength: number;
|
|
1263
1263
|
validatorAddresses: string[];
|
|
@@ -1500,17 +1500,17 @@ export declare const TriggerTypedDataValidator: z.ZodObject<{
|
|
|
1500
1500
|
}, "strict", z.ZodTypeAny, {
|
|
1501
1501
|
type: 1;
|
|
1502
1502
|
chainId: number;
|
|
1503
|
+
topics: string[][];
|
|
1503
1504
|
delta: string;
|
|
1504
1505
|
endDate: number;
|
|
1505
1506
|
contract: string;
|
|
1506
|
-
topics: string[][];
|
|
1507
1507
|
}, {
|
|
1508
1508
|
type: 1;
|
|
1509
1509
|
chainId: number;
|
|
1510
|
+
topics: string[][];
|
|
1510
1511
|
delta: string;
|
|
1511
1512
|
endDate: number;
|
|
1512
1513
|
contract: string;
|
|
1513
|
-
topics: string[][];
|
|
1514
1514
|
}>, z.ZodObject<{
|
|
1515
1515
|
type: z.ZodLiteral<0>;
|
|
1516
1516
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1533,14 +1533,14 @@ export declare const TriggerTypedDataValidator: z.ZodObject<{
|
|
|
1533
1533
|
endDate: z.ZodNumber;
|
|
1534
1534
|
}, "strip", z.ZodTypeAny, {
|
|
1535
1535
|
type: 2;
|
|
1536
|
+
startDate: number;
|
|
1536
1537
|
delta: string;
|
|
1537
1538
|
endDate: number;
|
|
1538
|
-
startDate: number;
|
|
1539
1539
|
}, {
|
|
1540
1540
|
type: 2;
|
|
1541
|
+
startDate: number;
|
|
1541
1542
|
delta: string;
|
|
1542
1543
|
endDate: number;
|
|
1543
|
-
startDate: number;
|
|
1544
1544
|
}>]>, {
|
|
1545
1545
|
type: 0;
|
|
1546
1546
|
schedule: string;
|
|
@@ -1549,15 +1549,15 @@ export declare const TriggerTypedDataValidator: z.ZodObject<{
|
|
|
1549
1549
|
} | {
|
|
1550
1550
|
type: 1;
|
|
1551
1551
|
chainId: number;
|
|
1552
|
+
topics: string[][];
|
|
1552
1553
|
delta: string;
|
|
1553
1554
|
endDate: number;
|
|
1554
1555
|
contract: string;
|
|
1555
|
-
topics: string[][];
|
|
1556
1556
|
} | {
|
|
1557
1557
|
type: 2;
|
|
1558
|
+
startDate: number;
|
|
1558
1559
|
delta: string;
|
|
1559
1560
|
endDate: number;
|
|
1560
|
-
startDate: number;
|
|
1561
1561
|
}, {
|
|
1562
1562
|
type: 0;
|
|
1563
1563
|
schedule: string;
|
|
@@ -1566,15 +1566,15 @@ export declare const TriggerTypedDataValidator: z.ZodObject<{
|
|
|
1566
1566
|
} | {
|
|
1567
1567
|
type: 1;
|
|
1568
1568
|
chainId: number;
|
|
1569
|
+
topics: string[][];
|
|
1569
1570
|
delta: string;
|
|
1570
1571
|
endDate: number;
|
|
1571
1572
|
contract: string;
|
|
1572
|
-
topics: string[][];
|
|
1573
1573
|
} | {
|
|
1574
1574
|
type: 2;
|
|
1575
|
+
startDate: number;
|
|
1575
1576
|
delta: string;
|
|
1576
1577
|
endDate: number;
|
|
1577
|
-
startDate: number;
|
|
1578
1578
|
}>;
|
|
1579
1579
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
1580
1580
|
minValidations: z.ZodNumber;
|
|
@@ -1591,15 +1591,15 @@ export declare const TriggerTypedDataValidator: z.ZodObject<{
|
|
|
1591
1591
|
} | {
|
|
1592
1592
|
type: 1;
|
|
1593
1593
|
chainId: number;
|
|
1594
|
+
topics: string[][];
|
|
1594
1595
|
delta: string;
|
|
1595
1596
|
endDate: number;
|
|
1596
1597
|
contract: string;
|
|
1597
|
-
topics: string[][];
|
|
1598
1598
|
} | {
|
|
1599
1599
|
type: 2;
|
|
1600
|
+
startDate: number;
|
|
1600
1601
|
delta: string;
|
|
1601
1602
|
endDate: number;
|
|
1602
|
-
startDate: number;
|
|
1603
1603
|
};
|
|
1604
1604
|
executionFeeLimit: string;
|
|
1605
1605
|
}, {
|
|
@@ -1615,15 +1615,15 @@ export declare const TriggerTypedDataValidator: z.ZodObject<{
|
|
|
1615
1615
|
} | {
|
|
1616
1616
|
type: 1;
|
|
1617
1617
|
chainId: number;
|
|
1618
|
+
topics: string[][];
|
|
1618
1619
|
delta: string;
|
|
1619
1620
|
endDate: number;
|
|
1620
1621
|
contract: string;
|
|
1621
|
-
topics: string[][];
|
|
1622
1622
|
} | {
|
|
1623
1623
|
type: 2;
|
|
1624
|
+
startDate: number;
|
|
1624
1625
|
delta: string;
|
|
1625
1626
|
endDate: number;
|
|
1626
|
-
startDate: number;
|
|
1627
1627
|
};
|
|
1628
1628
|
executionFeeLimit: string;
|
|
1629
1629
|
}>;
|
|
@@ -1641,15 +1641,15 @@ export declare const TriggerTypedDataValidator: z.ZodObject<{
|
|
|
1641
1641
|
} | {
|
|
1642
1642
|
type: 1;
|
|
1643
1643
|
chainId: number;
|
|
1644
|
+
topics: string[][];
|
|
1644
1645
|
delta: string;
|
|
1645
1646
|
endDate: number;
|
|
1646
1647
|
contract: string;
|
|
1647
|
-
topics: string[][];
|
|
1648
1648
|
} | {
|
|
1649
1649
|
type: 2;
|
|
1650
|
+
startDate: number;
|
|
1650
1651
|
delta: string;
|
|
1651
1652
|
endDate: number;
|
|
1652
|
-
startDate: number;
|
|
1653
1653
|
};
|
|
1654
1654
|
executionFeeLimit: string;
|
|
1655
1655
|
};
|
|
@@ -1678,15 +1678,15 @@ export declare const TriggerTypedDataValidator: z.ZodObject<{
|
|
|
1678
1678
|
} | {
|
|
1679
1679
|
type: 1;
|
|
1680
1680
|
chainId: number;
|
|
1681
|
+
topics: string[][];
|
|
1681
1682
|
delta: string;
|
|
1682
1683
|
endDate: number;
|
|
1683
1684
|
contract: string;
|
|
1684
|
-
topics: string[][];
|
|
1685
1685
|
} | {
|
|
1686
1686
|
type: 2;
|
|
1687
|
+
startDate: number;
|
|
1687
1688
|
delta: string;
|
|
1688
1689
|
endDate: number;
|
|
1689
|
-
startDate: number;
|
|
1690
1690
|
};
|
|
1691
1691
|
executionFeeLimit: string;
|
|
1692
1692
|
};
|
|
@@ -1756,17 +1756,17 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
1756
1756
|
}, "strict", z.ZodTypeAny, {
|
|
1757
1757
|
type: 1;
|
|
1758
1758
|
chainId: number;
|
|
1759
|
+
topics: string[][];
|
|
1759
1760
|
delta: string;
|
|
1760
1761
|
endDate: number;
|
|
1761
1762
|
contract: string;
|
|
1762
|
-
topics: string[][];
|
|
1763
1763
|
}, {
|
|
1764
1764
|
type: 1;
|
|
1765
1765
|
chainId: number;
|
|
1766
|
+
topics: string[][];
|
|
1766
1767
|
delta: string;
|
|
1767
1768
|
endDate: number;
|
|
1768
1769
|
contract: string;
|
|
1769
|
-
topics: string[][];
|
|
1770
1770
|
}>, z.ZodObject<{
|
|
1771
1771
|
type: z.ZodLiteral<0>;
|
|
1772
1772
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1789,14 +1789,14 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
1789
1789
|
endDate: z.ZodNumber;
|
|
1790
1790
|
}, "strip", z.ZodTypeAny, {
|
|
1791
1791
|
type: 2;
|
|
1792
|
+
startDate: number;
|
|
1792
1793
|
delta: string;
|
|
1793
1794
|
endDate: number;
|
|
1794
|
-
startDate: number;
|
|
1795
1795
|
}, {
|
|
1796
1796
|
type: 2;
|
|
1797
|
+
startDate: number;
|
|
1797
1798
|
delta: string;
|
|
1798
1799
|
endDate: number;
|
|
1799
|
-
startDate: number;
|
|
1800
1800
|
}>]>, {
|
|
1801
1801
|
type: 0;
|
|
1802
1802
|
schedule: string;
|
|
@@ -1805,15 +1805,15 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
1805
1805
|
} | {
|
|
1806
1806
|
type: 1;
|
|
1807
1807
|
chainId: number;
|
|
1808
|
+
topics: string[][];
|
|
1808
1809
|
delta: string;
|
|
1809
1810
|
endDate: number;
|
|
1810
1811
|
contract: string;
|
|
1811
|
-
topics: string[][];
|
|
1812
1812
|
} | {
|
|
1813
1813
|
type: 2;
|
|
1814
|
+
startDate: number;
|
|
1814
1815
|
delta: string;
|
|
1815
1816
|
endDate: number;
|
|
1816
|
-
startDate: number;
|
|
1817
1817
|
}, {
|
|
1818
1818
|
type: 0;
|
|
1819
1819
|
schedule: string;
|
|
@@ -1822,15 +1822,15 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
1822
1822
|
} | {
|
|
1823
1823
|
type: 1;
|
|
1824
1824
|
chainId: number;
|
|
1825
|
+
topics: string[][];
|
|
1825
1826
|
delta: string;
|
|
1826
1827
|
endDate: number;
|
|
1827
1828
|
contract: string;
|
|
1828
|
-
topics: string[][];
|
|
1829
1829
|
} | {
|
|
1830
1830
|
type: 2;
|
|
1831
|
+
startDate: number;
|
|
1831
1832
|
delta: string;
|
|
1832
1833
|
endDate: number;
|
|
1833
|
-
startDate: number;
|
|
1834
1834
|
}>;
|
|
1835
1835
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
1836
1836
|
minValidations: z.ZodNumber;
|
|
@@ -1847,15 +1847,15 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
1847
1847
|
} | {
|
|
1848
1848
|
type: 1;
|
|
1849
1849
|
chainId: number;
|
|
1850
|
+
topics: string[][];
|
|
1850
1851
|
delta: string;
|
|
1851
1852
|
endDate: number;
|
|
1852
1853
|
contract: string;
|
|
1853
|
-
topics: string[][];
|
|
1854
1854
|
} | {
|
|
1855
1855
|
type: 2;
|
|
1856
|
+
startDate: number;
|
|
1856
1857
|
delta: string;
|
|
1857
1858
|
endDate: number;
|
|
1858
|
-
startDate: number;
|
|
1859
1859
|
};
|
|
1860
1860
|
executionFeeLimit: string;
|
|
1861
1861
|
}, {
|
|
@@ -1871,15 +1871,15 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
1871
1871
|
} | {
|
|
1872
1872
|
type: 1;
|
|
1873
1873
|
chainId: number;
|
|
1874
|
+
topics: string[][];
|
|
1874
1875
|
delta: string;
|
|
1875
1876
|
endDate: number;
|
|
1876
1877
|
contract: string;
|
|
1877
|
-
topics: string[][];
|
|
1878
1878
|
} | {
|
|
1879
1879
|
type: 2;
|
|
1880
|
+
startDate: number;
|
|
1880
1881
|
delta: string;
|
|
1881
1882
|
endDate: number;
|
|
1882
|
-
startDate: number;
|
|
1883
1883
|
};
|
|
1884
1884
|
executionFeeLimit: string;
|
|
1885
1885
|
}>;
|
|
@@ -1897,15 +1897,15 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
1897
1897
|
} | {
|
|
1898
1898
|
type: 1;
|
|
1899
1899
|
chainId: number;
|
|
1900
|
+
topics: string[][];
|
|
1900
1901
|
delta: string;
|
|
1901
1902
|
endDate: number;
|
|
1902
1903
|
contract: string;
|
|
1903
|
-
topics: string[][];
|
|
1904
1904
|
} | {
|
|
1905
1905
|
type: 2;
|
|
1906
|
+
startDate: number;
|
|
1906
1907
|
delta: string;
|
|
1907
1908
|
endDate: number;
|
|
1908
|
-
startDate: number;
|
|
1909
1909
|
};
|
|
1910
1910
|
executionFeeLimit: string;
|
|
1911
1911
|
};
|
|
@@ -1934,15 +1934,15 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
1934
1934
|
} | {
|
|
1935
1935
|
type: 1;
|
|
1936
1936
|
chainId: number;
|
|
1937
|
+
topics: string[][];
|
|
1937
1938
|
delta: string;
|
|
1938
1939
|
endDate: number;
|
|
1939
1940
|
contract: string;
|
|
1940
|
-
topics: string[][];
|
|
1941
1941
|
} | {
|
|
1942
1942
|
type: 2;
|
|
1943
|
+
startDate: number;
|
|
1943
1944
|
delta: string;
|
|
1944
1945
|
endDate: number;
|
|
1945
|
-
startDate: number;
|
|
1946
1946
|
};
|
|
1947
1947
|
executionFeeLimit: string;
|
|
1948
1948
|
};
|
|
@@ -1976,15 +1976,15 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
1976
1976
|
} | {
|
|
1977
1977
|
type: 1;
|
|
1978
1978
|
chainId: number;
|
|
1979
|
+
topics: string[][];
|
|
1979
1980
|
delta: string;
|
|
1980
1981
|
endDate: number;
|
|
1981
1982
|
contract: string;
|
|
1982
|
-
topics: string[][];
|
|
1983
1983
|
} | {
|
|
1984
1984
|
type: 2;
|
|
1985
|
+
startDate: number;
|
|
1985
1986
|
delta: string;
|
|
1986
1987
|
endDate: number;
|
|
1987
|
-
startDate: number;
|
|
1988
1988
|
};
|
|
1989
1989
|
executionFeeLimit: string;
|
|
1990
1990
|
};
|
|
@@ -2018,15 +2018,15 @@ export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
|
2018
2018
|
} | {
|
|
2019
2019
|
type: 1;
|
|
2020
2020
|
chainId: number;
|
|
2021
|
+
topics: string[][];
|
|
2021
2022
|
delta: string;
|
|
2022
2023
|
endDate: number;
|
|
2023
2024
|
contract: string;
|
|
2024
|
-
topics: string[][];
|
|
2025
2025
|
} | {
|
|
2026
2026
|
type: 2;
|
|
2027
|
+
startDate: number;
|
|
2027
2028
|
delta: string;
|
|
2028
2029
|
endDate: number;
|
|
2029
|
-
startDate: number;
|
|
2030
2030
|
};
|
|
2031
2031
|
executionFeeLimit: string;
|
|
2032
2032
|
};
|
|
@@ -2098,17 +2098,17 @@ export declare const TriggerValidator: z.ZodObject<{
|
|
|
2098
2098
|
}, "strict", z.ZodTypeAny, {
|
|
2099
2099
|
type: 1;
|
|
2100
2100
|
chainId: number;
|
|
2101
|
+
topics: string[][];
|
|
2101
2102
|
delta: string;
|
|
2102
2103
|
endDate: number;
|
|
2103
2104
|
contract: string;
|
|
2104
|
-
topics: string[][];
|
|
2105
2105
|
}, {
|
|
2106
2106
|
type: 1;
|
|
2107
2107
|
chainId: number;
|
|
2108
|
+
topics: string[][];
|
|
2108
2109
|
delta: string;
|
|
2109
2110
|
endDate: number;
|
|
2110
2111
|
contract: string;
|
|
2111
|
-
topics: string[][];
|
|
2112
2112
|
}>, z.ZodObject<{
|
|
2113
2113
|
type: z.ZodLiteral<0>;
|
|
2114
2114
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2131,14 +2131,14 @@ export declare const TriggerValidator: z.ZodObject<{
|
|
|
2131
2131
|
endDate: z.ZodNumber;
|
|
2132
2132
|
}, "strip", z.ZodTypeAny, {
|
|
2133
2133
|
type: 2;
|
|
2134
|
+
startDate: number;
|
|
2134
2135
|
delta: string;
|
|
2135
2136
|
endDate: number;
|
|
2136
|
-
startDate: number;
|
|
2137
2137
|
}, {
|
|
2138
2138
|
type: 2;
|
|
2139
|
+
startDate: number;
|
|
2139
2140
|
delta: string;
|
|
2140
2141
|
endDate: number;
|
|
2141
|
-
startDate: number;
|
|
2142
2142
|
}>]>, {
|
|
2143
2143
|
type: 0;
|
|
2144
2144
|
schedule: string;
|
|
@@ -2147,15 +2147,15 @@ export declare const TriggerValidator: z.ZodObject<{
|
|
|
2147
2147
|
} | {
|
|
2148
2148
|
type: 1;
|
|
2149
2149
|
chainId: number;
|
|
2150
|
+
topics: string[][];
|
|
2150
2151
|
delta: string;
|
|
2151
2152
|
endDate: number;
|
|
2152
2153
|
contract: string;
|
|
2153
|
-
topics: string[][];
|
|
2154
2154
|
} | {
|
|
2155
2155
|
type: 2;
|
|
2156
|
+
startDate: number;
|
|
2156
2157
|
delta: string;
|
|
2157
2158
|
endDate: number;
|
|
2158
|
-
startDate: number;
|
|
2159
2159
|
}, {
|
|
2160
2160
|
type: 0;
|
|
2161
2161
|
schedule: string;
|
|
@@ -2164,15 +2164,15 @@ export declare const TriggerValidator: z.ZodObject<{
|
|
|
2164
2164
|
} | {
|
|
2165
2165
|
type: 1;
|
|
2166
2166
|
chainId: number;
|
|
2167
|
+
topics: string[][];
|
|
2167
2168
|
delta: string;
|
|
2168
2169
|
endDate: number;
|
|
2169
2170
|
contract: string;
|
|
2170
|
-
topics: string[][];
|
|
2171
2171
|
} | {
|
|
2172
2172
|
type: 2;
|
|
2173
|
+
startDate: number;
|
|
2173
2174
|
delta: string;
|
|
2174
2175
|
endDate: number;
|
|
2175
|
-
startDate: number;
|
|
2176
2176
|
}>;
|
|
2177
2177
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
2178
2178
|
minValidations: z.ZodNumber;
|
|
@@ -2230,15 +2230,15 @@ export declare const TriggerValidator: z.ZodObject<{
|
|
|
2230
2230
|
} | {
|
|
2231
2231
|
type: 1;
|
|
2232
2232
|
chainId: number;
|
|
2233
|
+
topics: string[][];
|
|
2233
2234
|
delta: string;
|
|
2234
2235
|
endDate: number;
|
|
2235
2236
|
contract: string;
|
|
2236
|
-
topics: string[][];
|
|
2237
2237
|
} | {
|
|
2238
2238
|
type: 2;
|
|
2239
|
+
startDate: number;
|
|
2239
2240
|
delta: string;
|
|
2240
2241
|
endDate: number;
|
|
2241
|
-
startDate: number;
|
|
2242
2242
|
};
|
|
2243
2243
|
executionFeeLimit: string;
|
|
2244
2244
|
types: {
|
|
@@ -2271,15 +2271,15 @@ export declare const TriggerValidator: z.ZodObject<{
|
|
|
2271
2271
|
} | {
|
|
2272
2272
|
type: 1;
|
|
2273
2273
|
chainId: number;
|
|
2274
|
+
topics: string[][];
|
|
2274
2275
|
delta: string;
|
|
2275
2276
|
endDate: number;
|
|
2276
2277
|
contract: string;
|
|
2277
|
-
topics: string[][];
|
|
2278
2278
|
} | {
|
|
2279
2279
|
type: 2;
|
|
2280
|
+
startDate: number;
|
|
2280
2281
|
delta: string;
|
|
2281
2282
|
endDate: number;
|
|
2282
|
-
startDate: number;
|
|
2283
2283
|
};
|
|
2284
2284
|
executionFeeLimit: string;
|
|
2285
2285
|
types: {
|
|
@@ -2316,17 +2316,17 @@ export declare const TriggersValidator: z.ZodArray<z.ZodObject<{
|
|
|
2316
2316
|
}, "strict", z.ZodTypeAny, {
|
|
2317
2317
|
type: 1;
|
|
2318
2318
|
chainId: number;
|
|
2319
|
+
topics: string[][];
|
|
2319
2320
|
delta: string;
|
|
2320
2321
|
endDate: number;
|
|
2321
2322
|
contract: string;
|
|
2322
|
-
topics: string[][];
|
|
2323
2323
|
}, {
|
|
2324
2324
|
type: 1;
|
|
2325
2325
|
chainId: number;
|
|
2326
|
+
topics: string[][];
|
|
2326
2327
|
delta: string;
|
|
2327
2328
|
endDate: number;
|
|
2328
2329
|
contract: string;
|
|
2329
|
-
topics: string[][];
|
|
2330
2330
|
}>, z.ZodObject<{
|
|
2331
2331
|
type: z.ZodLiteral<0>;
|
|
2332
2332
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2349,14 +2349,14 @@ export declare const TriggersValidator: z.ZodArray<z.ZodObject<{
|
|
|
2349
2349
|
endDate: z.ZodNumber;
|
|
2350
2350
|
}, "strip", z.ZodTypeAny, {
|
|
2351
2351
|
type: 2;
|
|
2352
|
+
startDate: number;
|
|
2352
2353
|
delta: string;
|
|
2353
2354
|
endDate: number;
|
|
2354
|
-
startDate: number;
|
|
2355
2355
|
}, {
|
|
2356
2356
|
type: 2;
|
|
2357
|
+
startDate: number;
|
|
2357
2358
|
delta: string;
|
|
2358
2359
|
endDate: number;
|
|
2359
|
-
startDate: number;
|
|
2360
2360
|
}>]>, {
|
|
2361
2361
|
type: 0;
|
|
2362
2362
|
schedule: string;
|
|
@@ -2365,15 +2365,15 @@ export declare const TriggersValidator: z.ZodArray<z.ZodObject<{
|
|
|
2365
2365
|
} | {
|
|
2366
2366
|
type: 1;
|
|
2367
2367
|
chainId: number;
|
|
2368
|
+
topics: string[][];
|
|
2368
2369
|
delta: string;
|
|
2369
2370
|
endDate: number;
|
|
2370
2371
|
contract: string;
|
|
2371
|
-
topics: string[][];
|
|
2372
2372
|
} | {
|
|
2373
2373
|
type: 2;
|
|
2374
|
+
startDate: number;
|
|
2374
2375
|
delta: string;
|
|
2375
2376
|
endDate: number;
|
|
2376
|
-
startDate: number;
|
|
2377
2377
|
}, {
|
|
2378
2378
|
type: 0;
|
|
2379
2379
|
schedule: string;
|
|
@@ -2382,15 +2382,15 @@ export declare const TriggersValidator: z.ZodArray<z.ZodObject<{
|
|
|
2382
2382
|
} | {
|
|
2383
2383
|
type: 1;
|
|
2384
2384
|
chainId: number;
|
|
2385
|
+
topics: string[][];
|
|
2385
2386
|
delta: string;
|
|
2386
2387
|
endDate: number;
|
|
2387
2388
|
contract: string;
|
|
2388
|
-
topics: string[][];
|
|
2389
2389
|
} | {
|
|
2390
2390
|
type: 2;
|
|
2391
|
+
startDate: number;
|
|
2391
2392
|
delta: string;
|
|
2392
2393
|
endDate: number;
|
|
2393
|
-
startDate: number;
|
|
2394
2394
|
}>;
|
|
2395
2395
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
2396
2396
|
minValidations: z.ZodNumber;
|
|
@@ -2448,15 +2448,15 @@ export declare const TriggersValidator: z.ZodArray<z.ZodObject<{
|
|
|
2448
2448
|
} | {
|
|
2449
2449
|
type: 1;
|
|
2450
2450
|
chainId: number;
|
|
2451
|
+
topics: string[][];
|
|
2451
2452
|
delta: string;
|
|
2452
2453
|
endDate: number;
|
|
2453
2454
|
contract: string;
|
|
2454
|
-
topics: string[][];
|
|
2455
2455
|
} | {
|
|
2456
2456
|
type: 2;
|
|
2457
|
+
startDate: number;
|
|
2457
2458
|
delta: string;
|
|
2458
2459
|
endDate: number;
|
|
2459
|
-
startDate: number;
|
|
2460
2460
|
};
|
|
2461
2461
|
executionFeeLimit: string;
|
|
2462
2462
|
types: {
|
|
@@ -2489,15 +2489,15 @@ export declare const TriggersValidator: z.ZodArray<z.ZodObject<{
|
|
|
2489
2489
|
} | {
|
|
2490
2490
|
type: 1;
|
|
2491
2491
|
chainId: number;
|
|
2492
|
+
topics: string[][];
|
|
2492
2493
|
delta: string;
|
|
2493
2494
|
endDate: number;
|
|
2494
2495
|
contract: string;
|
|
2495
|
-
topics: string[][];
|
|
2496
2496
|
} | {
|
|
2497
2497
|
type: 2;
|
|
2498
|
+
startDate: number;
|
|
2498
2499
|
delta: string;
|
|
2499
2500
|
endDate: number;
|
|
2500
|
-
startDate: number;
|
|
2501
2501
|
};
|
|
2502
2502
|
executionFeeLimit: string;
|
|
2503
2503
|
types: {
|
|
@@ -2522,6 +2522,461 @@ export declare const TriggerDeactivateRequestValidator: z.ZodObject<{
|
|
|
2522
2522
|
}, {
|
|
2523
2523
|
deactivateSig: string;
|
|
2524
2524
|
}>;
|
|
2525
|
+
export declare const TriggerSignParamsRequestValidator: z.ZodObject<Pick<{
|
|
2526
|
+
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2527
|
+
functionCid: z.ZodEffects<z.ZodString, string, string>;
|
|
2528
|
+
signer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2529
|
+
version: z.ZodEffects<z.ZodString, string, string>;
|
|
2530
|
+
description: z.ZodString;
|
|
2531
|
+
deactivateSig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2532
|
+
createdAt: z.ZodDate;
|
|
2533
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2534
|
+
config: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2535
|
+
type: z.ZodLiteral<1>;
|
|
2536
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2537
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
2538
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
2539
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2540
|
+
endDate: z.ZodNumber;
|
|
2541
|
+
}, "strict", z.ZodTypeAny, {
|
|
2542
|
+
type: 1;
|
|
2543
|
+
chainId: number;
|
|
2544
|
+
topics: string[][];
|
|
2545
|
+
delta: string;
|
|
2546
|
+
endDate: number;
|
|
2547
|
+
contract: string;
|
|
2548
|
+
}, {
|
|
2549
|
+
type: 1;
|
|
2550
|
+
chainId: number;
|
|
2551
|
+
topics: string[][];
|
|
2552
|
+
delta: string;
|
|
2553
|
+
endDate: number;
|
|
2554
|
+
contract: string;
|
|
2555
|
+
}>, z.ZodObject<{
|
|
2556
|
+
type: z.ZodLiteral<0>;
|
|
2557
|
+
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
2558
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2559
|
+
endDate: z.ZodNumber;
|
|
2560
|
+
}, "strict", z.ZodTypeAny, {
|
|
2561
|
+
type: 0;
|
|
2562
|
+
schedule: string;
|
|
2563
|
+
delta: string;
|
|
2564
|
+
endDate: number;
|
|
2565
|
+
}, {
|
|
2566
|
+
type: 0;
|
|
2567
|
+
schedule: string;
|
|
2568
|
+
delta: string;
|
|
2569
|
+
endDate: number;
|
|
2570
|
+
}>, z.ZodObject<{
|
|
2571
|
+
type: z.ZodLiteral<2>;
|
|
2572
|
+
startDate: z.ZodNumber;
|
|
2573
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2574
|
+
endDate: z.ZodNumber;
|
|
2575
|
+
}, "strip", z.ZodTypeAny, {
|
|
2576
|
+
type: 2;
|
|
2577
|
+
startDate: number;
|
|
2578
|
+
delta: string;
|
|
2579
|
+
endDate: number;
|
|
2580
|
+
}, {
|
|
2581
|
+
type: 2;
|
|
2582
|
+
startDate: number;
|
|
2583
|
+
delta: string;
|
|
2584
|
+
endDate: number;
|
|
2585
|
+
}>]>, {
|
|
2586
|
+
type: 0;
|
|
2587
|
+
schedule: string;
|
|
2588
|
+
delta: string;
|
|
2589
|
+
endDate: number;
|
|
2590
|
+
} | {
|
|
2591
|
+
type: 1;
|
|
2592
|
+
chainId: number;
|
|
2593
|
+
topics: string[][];
|
|
2594
|
+
delta: string;
|
|
2595
|
+
endDate: number;
|
|
2596
|
+
contract: string;
|
|
2597
|
+
} | {
|
|
2598
|
+
type: 2;
|
|
2599
|
+
startDate: number;
|
|
2600
|
+
delta: string;
|
|
2601
|
+
endDate: number;
|
|
2602
|
+
}, {
|
|
2603
|
+
type: 0;
|
|
2604
|
+
schedule: string;
|
|
2605
|
+
delta: string;
|
|
2606
|
+
endDate: number;
|
|
2607
|
+
} | {
|
|
2608
|
+
type: 1;
|
|
2609
|
+
chainId: number;
|
|
2610
|
+
topics: string[][];
|
|
2611
|
+
delta: string;
|
|
2612
|
+
endDate: number;
|
|
2613
|
+
contract: string;
|
|
2614
|
+
} | {
|
|
2615
|
+
type: 2;
|
|
2616
|
+
startDate: number;
|
|
2617
|
+
delta: string;
|
|
2618
|
+
endDate: number;
|
|
2619
|
+
}>;
|
|
2620
|
+
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
2621
|
+
minValidations: z.ZodNumber;
|
|
2622
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
2623
|
+
Input: z.ZodArray<z.ZodObject<{
|
|
2624
|
+
name: z.ZodString;
|
|
2625
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
2626
|
+
}, "strict", z.ZodTypeAny, {
|
|
2627
|
+
name: string;
|
|
2628
|
+
type: string;
|
|
2629
|
+
}, {
|
|
2630
|
+
name: string;
|
|
2631
|
+
type: string;
|
|
2632
|
+
}>, "many">;
|
|
2633
|
+
Config: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
2634
|
+
Trigger: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
2635
|
+
}, "strip", z.ZodTypeAny, {
|
|
2636
|
+
Input: {
|
|
2637
|
+
name: string;
|
|
2638
|
+
type: string;
|
|
2639
|
+
}[];
|
|
2640
|
+
Config: [any, ...any[]];
|
|
2641
|
+
Trigger: [any, ...any[]];
|
|
2642
|
+
}, {
|
|
2643
|
+
Input: {
|
|
2644
|
+
name: string;
|
|
2645
|
+
type: string;
|
|
2646
|
+
}[];
|
|
2647
|
+
Config: [any, ...any[]];
|
|
2648
|
+
Trigger: [any, ...any[]];
|
|
2649
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2650
|
+
name: z.ZodString;
|
|
2651
|
+
type: z.ZodString;
|
|
2652
|
+
}, "strip", z.ZodTypeAny, {
|
|
2653
|
+
name: string;
|
|
2654
|
+
type: string;
|
|
2655
|
+
}, {
|
|
2656
|
+
name: string;
|
|
2657
|
+
type: string;
|
|
2658
|
+
}>, "many">>>;
|
|
2659
|
+
endDate: z.ZodNumber;
|
|
2660
|
+
}, "version" | "functionCid" | "input" | "config">, "strip", z.ZodTypeAny, {
|
|
2661
|
+
version: string;
|
|
2662
|
+
functionCid: string;
|
|
2663
|
+
input: Record<string, unknown>;
|
|
2664
|
+
config: {
|
|
2665
|
+
type: 0;
|
|
2666
|
+
schedule: string;
|
|
2667
|
+
delta: string;
|
|
2668
|
+
endDate: number;
|
|
2669
|
+
} | {
|
|
2670
|
+
type: 1;
|
|
2671
|
+
chainId: number;
|
|
2672
|
+
topics: string[][];
|
|
2673
|
+
delta: string;
|
|
2674
|
+
endDate: number;
|
|
2675
|
+
contract: string;
|
|
2676
|
+
} | {
|
|
2677
|
+
type: 2;
|
|
2678
|
+
startDate: number;
|
|
2679
|
+
delta: string;
|
|
2680
|
+
endDate: number;
|
|
2681
|
+
};
|
|
2682
|
+
}, {
|
|
2683
|
+
version: string;
|
|
2684
|
+
functionCid: string;
|
|
2685
|
+
input: Record<string, unknown>;
|
|
2686
|
+
config: {
|
|
2687
|
+
type: 0;
|
|
2688
|
+
schedule: string;
|
|
2689
|
+
delta: string;
|
|
2690
|
+
endDate: number;
|
|
2691
|
+
} | {
|
|
2692
|
+
type: 1;
|
|
2693
|
+
chainId: number;
|
|
2694
|
+
topics: string[][];
|
|
2695
|
+
delta: string;
|
|
2696
|
+
endDate: number;
|
|
2697
|
+
contract: string;
|
|
2698
|
+
} | {
|
|
2699
|
+
type: 2;
|
|
2700
|
+
startDate: number;
|
|
2701
|
+
delta: string;
|
|
2702
|
+
endDate: number;
|
|
2703
|
+
};
|
|
2704
|
+
}>;
|
|
2705
|
+
export declare const TriggerSignParamsValidator: z.ZodObject<{
|
|
2706
|
+
domain: z.ZodObject<{
|
|
2707
|
+
name: z.ZodLiteral<"Mimic Protocol - Registry">;
|
|
2708
|
+
version: z.ZodLiteral<"1">;
|
|
2709
|
+
}, "strip", z.ZodTypeAny, {
|
|
2710
|
+
name: "Mimic Protocol - Registry";
|
|
2711
|
+
version: "1";
|
|
2712
|
+
}, {
|
|
2713
|
+
name: "Mimic Protocol - Registry";
|
|
2714
|
+
version: "1";
|
|
2715
|
+
}>;
|
|
2716
|
+
primaryType: z.ZodLiteral<"Trigger">;
|
|
2717
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
2718
|
+
Input: z.ZodArray<z.ZodObject<{
|
|
2719
|
+
name: z.ZodString;
|
|
2720
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
2721
|
+
}, "strict", z.ZodTypeAny, {
|
|
2722
|
+
name: string;
|
|
2723
|
+
type: string;
|
|
2724
|
+
}, {
|
|
2725
|
+
name: string;
|
|
2726
|
+
type: string;
|
|
2727
|
+
}>, "many">;
|
|
2728
|
+
Config: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
2729
|
+
Trigger: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
2730
|
+
}, "strip", z.ZodTypeAny, {
|
|
2731
|
+
Input: {
|
|
2732
|
+
name: string;
|
|
2733
|
+
type: string;
|
|
2734
|
+
}[];
|
|
2735
|
+
Config: [any, ...any[]];
|
|
2736
|
+
Trigger: [any, ...any[]];
|
|
2737
|
+
}, {
|
|
2738
|
+
Input: {
|
|
2739
|
+
name: string;
|
|
2740
|
+
type: string;
|
|
2741
|
+
}[];
|
|
2742
|
+
Config: [any, ...any[]];
|
|
2743
|
+
Trigger: [any, ...any[]];
|
|
2744
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2745
|
+
name: z.ZodString;
|
|
2746
|
+
type: z.ZodString;
|
|
2747
|
+
}, "strip", z.ZodTypeAny, {
|
|
2748
|
+
name: string;
|
|
2749
|
+
type: string;
|
|
2750
|
+
}, {
|
|
2751
|
+
name: string;
|
|
2752
|
+
type: string;
|
|
2753
|
+
}>, "many">>>;
|
|
2754
|
+
message: z.ZodObject<{
|
|
2755
|
+
functionCid: z.ZodEffects<z.ZodString, string, string>;
|
|
2756
|
+
version: z.ZodEffects<z.ZodString, string, string>;
|
|
2757
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2758
|
+
config: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2759
|
+
type: z.ZodLiteral<1>;
|
|
2760
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2761
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
2762
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
2763
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2764
|
+
endDate: z.ZodNumber;
|
|
2765
|
+
}, "strict", z.ZodTypeAny, {
|
|
2766
|
+
type: 1;
|
|
2767
|
+
chainId: number;
|
|
2768
|
+
topics: string[][];
|
|
2769
|
+
delta: string;
|
|
2770
|
+
endDate: number;
|
|
2771
|
+
contract: string;
|
|
2772
|
+
}, {
|
|
2773
|
+
type: 1;
|
|
2774
|
+
chainId: number;
|
|
2775
|
+
topics: string[][];
|
|
2776
|
+
delta: string;
|
|
2777
|
+
endDate: number;
|
|
2778
|
+
contract: string;
|
|
2779
|
+
}>, z.ZodObject<{
|
|
2780
|
+
type: z.ZodLiteral<0>;
|
|
2781
|
+
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
2782
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2783
|
+
endDate: z.ZodNumber;
|
|
2784
|
+
}, "strict", z.ZodTypeAny, {
|
|
2785
|
+
type: 0;
|
|
2786
|
+
schedule: string;
|
|
2787
|
+
delta: string;
|
|
2788
|
+
endDate: number;
|
|
2789
|
+
}, {
|
|
2790
|
+
type: 0;
|
|
2791
|
+
schedule: string;
|
|
2792
|
+
delta: string;
|
|
2793
|
+
endDate: number;
|
|
2794
|
+
}>, z.ZodObject<{
|
|
2795
|
+
type: z.ZodLiteral<2>;
|
|
2796
|
+
startDate: z.ZodNumber;
|
|
2797
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2798
|
+
endDate: z.ZodNumber;
|
|
2799
|
+
}, "strip", z.ZodTypeAny, {
|
|
2800
|
+
type: 2;
|
|
2801
|
+
startDate: number;
|
|
2802
|
+
delta: string;
|
|
2803
|
+
endDate: number;
|
|
2804
|
+
}, {
|
|
2805
|
+
type: 2;
|
|
2806
|
+
startDate: number;
|
|
2807
|
+
delta: string;
|
|
2808
|
+
endDate: number;
|
|
2809
|
+
}>]>, {
|
|
2810
|
+
type: 0;
|
|
2811
|
+
schedule: string;
|
|
2812
|
+
delta: string;
|
|
2813
|
+
endDate: number;
|
|
2814
|
+
} | {
|
|
2815
|
+
type: 1;
|
|
2816
|
+
chainId: number;
|
|
2817
|
+
topics: string[][];
|
|
2818
|
+
delta: string;
|
|
2819
|
+
endDate: number;
|
|
2820
|
+
contract: string;
|
|
2821
|
+
} | {
|
|
2822
|
+
type: 2;
|
|
2823
|
+
startDate: number;
|
|
2824
|
+
delta: string;
|
|
2825
|
+
endDate: number;
|
|
2826
|
+
}, {
|
|
2827
|
+
type: 0;
|
|
2828
|
+
schedule: string;
|
|
2829
|
+
delta: string;
|
|
2830
|
+
endDate: number;
|
|
2831
|
+
} | {
|
|
2832
|
+
type: 1;
|
|
2833
|
+
chainId: number;
|
|
2834
|
+
topics: string[][];
|
|
2835
|
+
delta: string;
|
|
2836
|
+
endDate: number;
|
|
2837
|
+
contract: string;
|
|
2838
|
+
} | {
|
|
2839
|
+
type: 2;
|
|
2840
|
+
startDate: number;
|
|
2841
|
+
delta: string;
|
|
2842
|
+
endDate: number;
|
|
2843
|
+
}>;
|
|
2844
|
+
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
2845
|
+
minValidations: z.ZodNumber;
|
|
2846
|
+
}, "strict", z.ZodTypeAny, {
|
|
2847
|
+
minValidations: number;
|
|
2848
|
+
version: string;
|
|
2849
|
+
functionCid: string;
|
|
2850
|
+
input: Record<string, unknown>;
|
|
2851
|
+
config: {
|
|
2852
|
+
type: 0;
|
|
2853
|
+
schedule: string;
|
|
2854
|
+
delta: string;
|
|
2855
|
+
endDate: number;
|
|
2856
|
+
} | {
|
|
2857
|
+
type: 1;
|
|
2858
|
+
chainId: number;
|
|
2859
|
+
topics: string[][];
|
|
2860
|
+
delta: string;
|
|
2861
|
+
endDate: number;
|
|
2862
|
+
contract: string;
|
|
2863
|
+
} | {
|
|
2864
|
+
type: 2;
|
|
2865
|
+
startDate: number;
|
|
2866
|
+
delta: string;
|
|
2867
|
+
endDate: number;
|
|
2868
|
+
};
|
|
2869
|
+
executionFeeLimit: string;
|
|
2870
|
+
}, {
|
|
2871
|
+
minValidations: number;
|
|
2872
|
+
version: string;
|
|
2873
|
+
functionCid: string;
|
|
2874
|
+
input: Record<string, unknown>;
|
|
2875
|
+
config: {
|
|
2876
|
+
type: 0;
|
|
2877
|
+
schedule: string;
|
|
2878
|
+
delta: string;
|
|
2879
|
+
endDate: number;
|
|
2880
|
+
} | {
|
|
2881
|
+
type: 1;
|
|
2882
|
+
chainId: number;
|
|
2883
|
+
topics: string[][];
|
|
2884
|
+
delta: string;
|
|
2885
|
+
endDate: number;
|
|
2886
|
+
contract: string;
|
|
2887
|
+
} | {
|
|
2888
|
+
type: 2;
|
|
2889
|
+
startDate: number;
|
|
2890
|
+
delta: string;
|
|
2891
|
+
endDate: number;
|
|
2892
|
+
};
|
|
2893
|
+
executionFeeLimit: string;
|
|
2894
|
+
}>;
|
|
2895
|
+
}, "strip", z.ZodTypeAny, {
|
|
2896
|
+
message: {
|
|
2897
|
+
minValidations: number;
|
|
2898
|
+
version: string;
|
|
2899
|
+
functionCid: string;
|
|
2900
|
+
input: Record<string, unknown>;
|
|
2901
|
+
config: {
|
|
2902
|
+
type: 0;
|
|
2903
|
+
schedule: string;
|
|
2904
|
+
delta: string;
|
|
2905
|
+
endDate: number;
|
|
2906
|
+
} | {
|
|
2907
|
+
type: 1;
|
|
2908
|
+
chainId: number;
|
|
2909
|
+
topics: string[][];
|
|
2910
|
+
delta: string;
|
|
2911
|
+
endDate: number;
|
|
2912
|
+
contract: string;
|
|
2913
|
+
} | {
|
|
2914
|
+
type: 2;
|
|
2915
|
+
startDate: number;
|
|
2916
|
+
delta: string;
|
|
2917
|
+
endDate: number;
|
|
2918
|
+
};
|
|
2919
|
+
executionFeeLimit: string;
|
|
2920
|
+
};
|
|
2921
|
+
types: {
|
|
2922
|
+
Input: {
|
|
2923
|
+
name: string;
|
|
2924
|
+
type: string;
|
|
2925
|
+
}[];
|
|
2926
|
+
Config: [any, ...any[]];
|
|
2927
|
+
Trigger: [any, ...any[]];
|
|
2928
|
+
} & Record<string, {
|
|
2929
|
+
name: string;
|
|
2930
|
+
type: string;
|
|
2931
|
+
}[]>;
|
|
2932
|
+
domain: {
|
|
2933
|
+
name: "Mimic Protocol - Registry";
|
|
2934
|
+
version: "1";
|
|
2935
|
+
};
|
|
2936
|
+
primaryType: "Trigger";
|
|
2937
|
+
}, {
|
|
2938
|
+
message: {
|
|
2939
|
+
minValidations: number;
|
|
2940
|
+
version: string;
|
|
2941
|
+
functionCid: string;
|
|
2942
|
+
input: Record<string, unknown>;
|
|
2943
|
+
config: {
|
|
2944
|
+
type: 0;
|
|
2945
|
+
schedule: string;
|
|
2946
|
+
delta: string;
|
|
2947
|
+
endDate: number;
|
|
2948
|
+
} | {
|
|
2949
|
+
type: 1;
|
|
2950
|
+
chainId: number;
|
|
2951
|
+
topics: string[][];
|
|
2952
|
+
delta: string;
|
|
2953
|
+
endDate: number;
|
|
2954
|
+
contract: string;
|
|
2955
|
+
} | {
|
|
2956
|
+
type: 2;
|
|
2957
|
+
startDate: number;
|
|
2958
|
+
delta: string;
|
|
2959
|
+
endDate: number;
|
|
2960
|
+
};
|
|
2961
|
+
executionFeeLimit: string;
|
|
2962
|
+
};
|
|
2963
|
+
types: {
|
|
2964
|
+
Input: {
|
|
2965
|
+
name: string;
|
|
2966
|
+
type: string;
|
|
2967
|
+
}[];
|
|
2968
|
+
Config: [any, ...any[]];
|
|
2969
|
+
Trigger: [any, ...any[]];
|
|
2970
|
+
} & Record<string, {
|
|
2971
|
+
name: string;
|
|
2972
|
+
type: string;
|
|
2973
|
+
}[]>;
|
|
2974
|
+
domain: {
|
|
2975
|
+
name: "Mimic Protocol - Registry";
|
|
2976
|
+
version: "1";
|
|
2977
|
+
};
|
|
2978
|
+
primaryType: "Trigger";
|
|
2979
|
+
}>;
|
|
2525
2980
|
export declare const OracleValidator: z.ZodObject<{
|
|
2526
2981
|
name: z.ZodString;
|
|
2527
2982
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|