@mimicprotocol/sdk 0.0.1-rc.27 → 0.0.1-rc.29
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 +50 -50
- package/dist/client/domains/ConfigsClient.d.ts +1 -1
- package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.js +5 -1
- package/dist/client/domains/ConfigsClient.js.map +1 -1
- package/dist/registry/ConfigSigner.d.ts +1 -1
- package/dist/registry/ConfigSigner.d.ts.map +1 -1
- package/dist/registry/ConfigSigner.js +11 -6
- package/dist/registry/ConfigSigner.js.map +1 -1
- package/dist/registry/validators.d.ts +76 -76
- package/dist/relayer/validators.d.ts +8 -8
- package/dist/runner/validators.d.ts +8 -8
- package/dist/shared/signer/EthersSigner.d.ts +2 -1
- package/dist/shared/signer/EthersSigner.d.ts.map +1 -1
- package/dist/shared/signer/EthersSigner.js +3 -0
- package/dist/shared/signer/EthersSigner.js.map +1 -1
- package/dist/shared/signer/Signer.d.ts +1 -0
- package/dist/shared/signer/Signer.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts +2 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.js +3 -0
- package/dist/shared/signer/WindowEthereumSigner.js.map +1 -1
- package/dist/shared/utils/time.d.ts +2 -0
- package/dist/shared/utils/time.d.ts.map +1 -1
- package/dist/shared/utils/time.js +12 -0
- package/dist/shared/utils/time.js.map +1 -1
- package/dist/shared/validators/executions.d.ts +4 -4
- package/package.json +1 -1
|
@@ -67,17 +67,17 @@ export declare const EventTriggerValidator: z.ZodObject<{
|
|
|
67
67
|
}, "strict", z.ZodTypeAny, {
|
|
68
68
|
chainId: number;
|
|
69
69
|
type: 1;
|
|
70
|
-
topics: string[][];
|
|
71
70
|
delta: string;
|
|
72
71
|
endDate: number;
|
|
73
72
|
contract: string;
|
|
73
|
+
topics: string[][];
|
|
74
74
|
}, {
|
|
75
75
|
chainId: number;
|
|
76
76
|
type: 1;
|
|
77
|
-
topics: string[][];
|
|
78
77
|
delta: string;
|
|
79
78
|
endDate: number;
|
|
80
79
|
contract: string;
|
|
80
|
+
topics: string[][];
|
|
81
81
|
}>;
|
|
82
82
|
export declare const TriggerValidator: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
83
83
|
type: z.ZodLiteral<1>;
|
|
@@ -89,17 +89,17 @@ export declare const TriggerValidator: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
89
89
|
}, "strict", z.ZodTypeAny, {
|
|
90
90
|
chainId: number;
|
|
91
91
|
type: 1;
|
|
92
|
-
topics: string[][];
|
|
93
92
|
delta: string;
|
|
94
93
|
endDate: number;
|
|
95
94
|
contract: string;
|
|
95
|
+
topics: string[][];
|
|
96
96
|
}, {
|
|
97
97
|
chainId: number;
|
|
98
98
|
type: 1;
|
|
99
|
-
topics: string[][];
|
|
100
99
|
delta: string;
|
|
101
100
|
endDate: number;
|
|
102
101
|
contract: string;
|
|
102
|
+
topics: string[][];
|
|
103
103
|
}>, z.ZodObject<{
|
|
104
104
|
type: z.ZodLiteral<0>;
|
|
105
105
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -150,8 +150,8 @@ export declare const ManifestValidator: z.ZodObject<{
|
|
|
150
150
|
}>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
152
|
name: string;
|
|
153
|
-
version: string;
|
|
154
153
|
description: string;
|
|
154
|
+
version: string;
|
|
155
155
|
inputs: Record<string, string | {
|
|
156
156
|
type: string;
|
|
157
157
|
description?: string | undefined;
|
|
@@ -162,8 +162,8 @@ export declare const ManifestValidator: z.ZodObject<{
|
|
|
162
162
|
};
|
|
163
163
|
}, {
|
|
164
164
|
name: string;
|
|
165
|
-
version: string;
|
|
166
165
|
description: string;
|
|
166
|
+
version: string;
|
|
167
167
|
inputs: Record<string, string | {
|
|
168
168
|
type: string;
|
|
169
169
|
description?: string | undefined;
|
|
@@ -304,14 +304,14 @@ export declare const BalanceValidator: z.ZodObject<{
|
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
amount: number;
|
|
306
306
|
address: string;
|
|
307
|
-
createdAt: Date;
|
|
308
307
|
description: string;
|
|
308
|
+
createdAt: Date;
|
|
309
309
|
expiresAt?: Date | undefined;
|
|
310
310
|
}, {
|
|
311
311
|
amount: number;
|
|
312
312
|
address: string;
|
|
313
|
-
createdAt: Date;
|
|
314
313
|
description: string;
|
|
314
|
+
createdAt: Date;
|
|
315
315
|
expiresAt?: Date | undefined;
|
|
316
316
|
}>;
|
|
317
317
|
export declare const BalancesValidator: z.ZodArray<z.ZodObject<{
|
|
@@ -323,14 +323,14 @@ export declare const BalancesValidator: z.ZodArray<z.ZodObject<{
|
|
|
323
323
|
}, "strip", z.ZodTypeAny, {
|
|
324
324
|
amount: number;
|
|
325
325
|
address: string;
|
|
326
|
-
createdAt: Date;
|
|
327
326
|
description: string;
|
|
327
|
+
createdAt: Date;
|
|
328
328
|
expiresAt?: Date | undefined;
|
|
329
329
|
}, {
|
|
330
330
|
amount: number;
|
|
331
331
|
address: string;
|
|
332
|
-
createdAt: Date;
|
|
333
332
|
description: string;
|
|
333
|
+
createdAt: Date;
|
|
334
334
|
expiresAt?: Date | undefined;
|
|
335
335
|
}>, "many">;
|
|
336
336
|
export declare const BalanceTotalValidator: z.ZodObject<{
|
|
@@ -380,15 +380,15 @@ export declare const TaskValidator: z.ZodObject<{
|
|
|
380
380
|
createdAt: z.ZodDate;
|
|
381
381
|
}, "strip", z.ZodTypeAny, {
|
|
382
382
|
name: string;
|
|
383
|
+
description: string;
|
|
383
384
|
version: string;
|
|
384
385
|
createdAt: Date;
|
|
385
|
-
description: string;
|
|
386
386
|
CID: string;
|
|
387
387
|
}, {
|
|
388
388
|
name: string;
|
|
389
|
+
description: string;
|
|
389
390
|
version: string;
|
|
390
391
|
createdAt: Date;
|
|
391
|
-
description: string;
|
|
392
392
|
CID: string;
|
|
393
393
|
}>;
|
|
394
394
|
export declare const TasksValidator: z.ZodArray<z.ZodObject<{
|
|
@@ -399,15 +399,15 @@ export declare const TasksValidator: z.ZodArray<z.ZodObject<{
|
|
|
399
399
|
createdAt: z.ZodDate;
|
|
400
400
|
}, "strip", z.ZodTypeAny, {
|
|
401
401
|
name: string;
|
|
402
|
+
description: string;
|
|
402
403
|
version: string;
|
|
403
404
|
createdAt: Date;
|
|
404
|
-
description: string;
|
|
405
405
|
CID: string;
|
|
406
406
|
}, {
|
|
407
407
|
name: string;
|
|
408
|
+
description: string;
|
|
408
409
|
version: string;
|
|
409
410
|
createdAt: Date;
|
|
410
|
-
description: string;
|
|
411
411
|
CID: string;
|
|
412
412
|
}>, "many">;
|
|
413
413
|
export declare const TaskCreateRequestValidator: z.ZodObject<{
|
|
@@ -522,17 +522,17 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
522
522
|
}, "strict", z.ZodTypeAny, {
|
|
523
523
|
chainId: number;
|
|
524
524
|
type: 1;
|
|
525
|
-
topics: string[][];
|
|
526
525
|
delta: string;
|
|
527
526
|
endDate: number;
|
|
528
527
|
contract: string;
|
|
528
|
+
topics: string[][];
|
|
529
529
|
}, {
|
|
530
530
|
chainId: number;
|
|
531
531
|
type: 1;
|
|
532
|
-
topics: string[][];
|
|
533
532
|
delta: string;
|
|
534
533
|
endDate: number;
|
|
535
534
|
contract: string;
|
|
535
|
+
topics: string[][];
|
|
536
536
|
}>, z.ZodObject<{
|
|
537
537
|
type: z.ZodLiteral<0>;
|
|
538
538
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -554,6 +554,8 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
554
554
|
}, "strict", z.ZodTypeAny, {
|
|
555
555
|
minValidations: number;
|
|
556
556
|
version: string;
|
|
557
|
+
taskCid: string;
|
|
558
|
+
input: Record<string, unknown>;
|
|
557
559
|
trigger: {
|
|
558
560
|
type: 0;
|
|
559
561
|
schedule: string;
|
|
@@ -562,17 +564,17 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
562
564
|
} | {
|
|
563
565
|
chainId: number;
|
|
564
566
|
type: 1;
|
|
565
|
-
topics: string[][];
|
|
566
567
|
delta: string;
|
|
567
568
|
endDate: number;
|
|
568
569
|
contract: string;
|
|
570
|
+
topics: string[][];
|
|
569
571
|
};
|
|
570
|
-
taskCid: string;
|
|
571
|
-
input: Record<string, unknown>;
|
|
572
572
|
executionFeeLimit: string;
|
|
573
573
|
}, {
|
|
574
574
|
minValidations: number;
|
|
575
575
|
version: string;
|
|
576
|
+
taskCid: string;
|
|
577
|
+
input: Record<string, unknown>;
|
|
576
578
|
trigger: {
|
|
577
579
|
type: 0;
|
|
578
580
|
schedule: string;
|
|
@@ -581,19 +583,19 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
581
583
|
} | {
|
|
582
584
|
chainId: number;
|
|
583
585
|
type: 1;
|
|
584
|
-
topics: string[][];
|
|
585
586
|
delta: string;
|
|
586
587
|
endDate: number;
|
|
587
588
|
contract: string;
|
|
589
|
+
topics: string[][];
|
|
588
590
|
};
|
|
589
|
-
taskCid: string;
|
|
590
|
-
input: Record<string, unknown>;
|
|
591
591
|
executionFeeLimit: string;
|
|
592
592
|
}>;
|
|
593
593
|
}, "strip", z.ZodTypeAny, {
|
|
594
594
|
values: {
|
|
595
595
|
minValidations: number;
|
|
596
596
|
version: string;
|
|
597
|
+
taskCid: string;
|
|
598
|
+
input: Record<string, unknown>;
|
|
597
599
|
trigger: {
|
|
598
600
|
type: 0;
|
|
599
601
|
schedule: string;
|
|
@@ -602,13 +604,11 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
602
604
|
} | {
|
|
603
605
|
chainId: number;
|
|
604
606
|
type: 1;
|
|
605
|
-
topics: string[][];
|
|
606
607
|
delta: string;
|
|
607
608
|
endDate: number;
|
|
608
609
|
contract: string;
|
|
610
|
+
topics: string[][];
|
|
609
611
|
};
|
|
610
|
-
taskCid: string;
|
|
611
|
-
input: Record<string, unknown>;
|
|
612
612
|
executionFeeLimit: string;
|
|
613
613
|
};
|
|
614
614
|
types: {
|
|
@@ -626,6 +626,8 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
626
626
|
values: {
|
|
627
627
|
minValidations: number;
|
|
628
628
|
version: string;
|
|
629
|
+
taskCid: string;
|
|
630
|
+
input: Record<string, unknown>;
|
|
629
631
|
trigger: {
|
|
630
632
|
type: 0;
|
|
631
633
|
schedule: string;
|
|
@@ -634,13 +636,11 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
634
636
|
} | {
|
|
635
637
|
chainId: number;
|
|
636
638
|
type: 1;
|
|
637
|
-
topics: string[][];
|
|
638
639
|
delta: string;
|
|
639
640
|
endDate: number;
|
|
640
641
|
contract: string;
|
|
642
|
+
topics: string[][];
|
|
641
643
|
};
|
|
642
|
-
taskCid: string;
|
|
643
|
-
input: Record<string, unknown>;
|
|
644
644
|
executionFeeLimit: string;
|
|
645
645
|
};
|
|
646
646
|
types: {
|
|
@@ -709,17 +709,17 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
709
709
|
}, "strict", z.ZodTypeAny, {
|
|
710
710
|
chainId: number;
|
|
711
711
|
type: 1;
|
|
712
|
-
topics: string[][];
|
|
713
712
|
delta: string;
|
|
714
713
|
endDate: number;
|
|
715
714
|
contract: string;
|
|
715
|
+
topics: string[][];
|
|
716
716
|
}, {
|
|
717
717
|
chainId: number;
|
|
718
718
|
type: 1;
|
|
719
|
-
topics: string[][];
|
|
720
719
|
delta: string;
|
|
721
720
|
endDate: number;
|
|
722
721
|
contract: string;
|
|
722
|
+
topics: string[][];
|
|
723
723
|
}>, z.ZodObject<{
|
|
724
724
|
type: z.ZodLiteral<0>;
|
|
725
725
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -741,6 +741,8 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
741
741
|
}, "strict", z.ZodTypeAny, {
|
|
742
742
|
minValidations: number;
|
|
743
743
|
version: string;
|
|
744
|
+
taskCid: string;
|
|
745
|
+
input: Record<string, unknown>;
|
|
744
746
|
trigger: {
|
|
745
747
|
type: 0;
|
|
746
748
|
schedule: string;
|
|
@@ -749,17 +751,17 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
749
751
|
} | {
|
|
750
752
|
chainId: number;
|
|
751
753
|
type: 1;
|
|
752
|
-
topics: string[][];
|
|
753
754
|
delta: string;
|
|
754
755
|
endDate: number;
|
|
755
756
|
contract: string;
|
|
757
|
+
topics: string[][];
|
|
756
758
|
};
|
|
757
|
-
taskCid: string;
|
|
758
|
-
input: Record<string, unknown>;
|
|
759
759
|
executionFeeLimit: string;
|
|
760
760
|
}, {
|
|
761
761
|
minValidations: number;
|
|
762
762
|
version: string;
|
|
763
|
+
taskCid: string;
|
|
764
|
+
input: Record<string, unknown>;
|
|
763
765
|
trigger: {
|
|
764
766
|
type: 0;
|
|
765
767
|
schedule: string;
|
|
@@ -768,19 +770,19 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
768
770
|
} | {
|
|
769
771
|
chainId: number;
|
|
770
772
|
type: 1;
|
|
771
|
-
topics: string[][];
|
|
772
773
|
delta: string;
|
|
773
774
|
endDate: number;
|
|
774
775
|
contract: string;
|
|
776
|
+
topics: string[][];
|
|
775
777
|
};
|
|
776
|
-
taskCid: string;
|
|
777
|
-
input: Record<string, unknown>;
|
|
778
778
|
executionFeeLimit: string;
|
|
779
779
|
}>;
|
|
780
780
|
}, "strip", z.ZodTypeAny, {
|
|
781
781
|
values: {
|
|
782
782
|
minValidations: number;
|
|
783
783
|
version: string;
|
|
784
|
+
taskCid: string;
|
|
785
|
+
input: Record<string, unknown>;
|
|
784
786
|
trigger: {
|
|
785
787
|
type: 0;
|
|
786
788
|
schedule: string;
|
|
@@ -789,13 +791,11 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
789
791
|
} | {
|
|
790
792
|
chainId: number;
|
|
791
793
|
type: 1;
|
|
792
|
-
topics: string[][];
|
|
793
794
|
delta: string;
|
|
794
795
|
endDate: number;
|
|
795
796
|
contract: string;
|
|
797
|
+
topics: string[][];
|
|
796
798
|
};
|
|
797
|
-
taskCid: string;
|
|
798
|
-
input: Record<string, unknown>;
|
|
799
799
|
executionFeeLimit: string;
|
|
800
800
|
};
|
|
801
801
|
types: {
|
|
@@ -813,6 +813,8 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
813
813
|
values: {
|
|
814
814
|
minValidations: number;
|
|
815
815
|
version: string;
|
|
816
|
+
taskCid: string;
|
|
817
|
+
input: Record<string, unknown>;
|
|
816
818
|
trigger: {
|
|
817
819
|
type: 0;
|
|
818
820
|
schedule: string;
|
|
@@ -821,13 +823,11 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
821
823
|
} | {
|
|
822
824
|
chainId: number;
|
|
823
825
|
type: 1;
|
|
824
|
-
topics: string[][];
|
|
825
826
|
delta: string;
|
|
826
827
|
endDate: number;
|
|
827
828
|
contract: string;
|
|
829
|
+
topics: string[][];
|
|
828
830
|
};
|
|
829
|
-
taskCid: string;
|
|
830
|
-
input: Record<string, unknown>;
|
|
831
831
|
executionFeeLimit: string;
|
|
832
832
|
};
|
|
833
833
|
types: {
|
|
@@ -850,6 +850,8 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
850
850
|
values: {
|
|
851
851
|
minValidations: number;
|
|
852
852
|
version: string;
|
|
853
|
+
taskCid: string;
|
|
854
|
+
input: Record<string, unknown>;
|
|
853
855
|
trigger: {
|
|
854
856
|
type: 0;
|
|
855
857
|
schedule: string;
|
|
@@ -858,13 +860,11 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
858
860
|
} | {
|
|
859
861
|
chainId: number;
|
|
860
862
|
type: 1;
|
|
861
|
-
topics: string[][];
|
|
862
863
|
delta: string;
|
|
863
864
|
endDate: number;
|
|
864
865
|
contract: string;
|
|
866
|
+
topics: string[][];
|
|
865
867
|
};
|
|
866
|
-
taskCid: string;
|
|
867
|
-
input: Record<string, unknown>;
|
|
868
868
|
executionFeeLimit: string;
|
|
869
869
|
};
|
|
870
870
|
types: {
|
|
@@ -887,6 +887,8 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
887
887
|
values: {
|
|
888
888
|
minValidations: number;
|
|
889
889
|
version: string;
|
|
890
|
+
taskCid: string;
|
|
891
|
+
input: Record<string, unknown>;
|
|
890
892
|
trigger: {
|
|
891
893
|
type: 0;
|
|
892
894
|
schedule: string;
|
|
@@ -895,13 +897,11 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
895
897
|
} | {
|
|
896
898
|
chainId: number;
|
|
897
899
|
type: 1;
|
|
898
|
-
topics: string[][];
|
|
899
900
|
delta: string;
|
|
900
901
|
endDate: number;
|
|
901
902
|
contract: string;
|
|
903
|
+
topics: string[][];
|
|
902
904
|
};
|
|
903
|
-
taskCid: string;
|
|
904
|
-
input: Record<string, unknown>;
|
|
905
905
|
executionFeeLimit: string;
|
|
906
906
|
};
|
|
907
907
|
types: {
|
|
@@ -936,22 +936,22 @@ export declare const ConfigsGetRequestValidator: z.ZodObject<{
|
|
|
936
936
|
sort?: 1 | -1 | undefined;
|
|
937
937
|
offset?: number | undefined;
|
|
938
938
|
limit?: number | undefined;
|
|
939
|
-
createdAfter?: number | undefined;
|
|
940
|
-
createdBefore?: number | undefined;
|
|
941
939
|
taskCid?: string | undefined;
|
|
942
940
|
signer?: string | undefined;
|
|
943
941
|
sigs?: string[] | undefined;
|
|
944
942
|
active?: boolean | undefined;
|
|
943
|
+
createdAfter?: number | undefined;
|
|
944
|
+
createdBefore?: number | undefined;
|
|
945
945
|
}, {
|
|
946
946
|
sort?: unknown;
|
|
947
947
|
offset?: number | undefined;
|
|
948
948
|
limit?: number | undefined;
|
|
949
|
-
createdAfter?: number | undefined;
|
|
950
|
-
createdBefore?: number | undefined;
|
|
951
949
|
taskCid?: string | undefined;
|
|
952
950
|
signer?: string | undefined;
|
|
953
951
|
sigs?: unknown;
|
|
954
952
|
active?: unknown;
|
|
953
|
+
createdAfter?: number | undefined;
|
|
954
|
+
createdBefore?: number | undefined;
|
|
955
955
|
}>;
|
|
956
956
|
export declare const ConfigValidator: z.ZodObject<{
|
|
957
957
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -972,17 +972,17 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
972
972
|
}, "strict", z.ZodTypeAny, {
|
|
973
973
|
chainId: number;
|
|
974
974
|
type: 1;
|
|
975
|
-
topics: string[][];
|
|
976
975
|
delta: string;
|
|
977
976
|
endDate: number;
|
|
978
977
|
contract: string;
|
|
978
|
+
topics: string[][];
|
|
979
979
|
}, {
|
|
980
980
|
chainId: number;
|
|
981
981
|
type: 1;
|
|
982
|
-
topics: string[][];
|
|
983
982
|
delta: string;
|
|
984
983
|
endDate: number;
|
|
985
984
|
contract: string;
|
|
985
|
+
topics: string[][];
|
|
986
986
|
}>, z.ZodObject<{
|
|
987
987
|
type: z.ZodLiteral<0>;
|
|
988
988
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1041,9 +1041,12 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
1041
1041
|
endDate: z.ZodNumber;
|
|
1042
1042
|
}, "strip", z.ZodTypeAny, {
|
|
1043
1043
|
minValidations: number;
|
|
1044
|
+
endDate: number;
|
|
1045
|
+
description: string;
|
|
1044
1046
|
version: string;
|
|
1045
1047
|
createdAt: Date;
|
|
1046
|
-
|
|
1048
|
+
taskCid: string;
|
|
1049
|
+
input: Record<string, unknown>;
|
|
1047
1050
|
trigger: {
|
|
1048
1051
|
type: 0;
|
|
1049
1052
|
schedule: string;
|
|
@@ -1052,14 +1055,11 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
1052
1055
|
} | {
|
|
1053
1056
|
chainId: number;
|
|
1054
1057
|
type: 1;
|
|
1055
|
-
topics: string[][];
|
|
1056
1058
|
delta: string;
|
|
1057
1059
|
endDate: number;
|
|
1058
1060
|
contract: string;
|
|
1061
|
+
topics: string[][];
|
|
1059
1062
|
};
|
|
1060
|
-
endDate: number;
|
|
1061
|
-
taskCid: string;
|
|
1062
|
-
input: Record<string, unknown>;
|
|
1063
1063
|
executionFeeLimit: string;
|
|
1064
1064
|
types: {
|
|
1065
1065
|
Input: {
|
|
@@ -1077,9 +1077,12 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
1077
1077
|
deactivateSig?: string | undefined;
|
|
1078
1078
|
}, {
|
|
1079
1079
|
minValidations: number;
|
|
1080
|
+
endDate: number;
|
|
1081
|
+
description: string;
|
|
1080
1082
|
version: string;
|
|
1081
1083
|
createdAt: Date;
|
|
1082
|
-
|
|
1084
|
+
taskCid: string;
|
|
1085
|
+
input: Record<string, unknown>;
|
|
1083
1086
|
trigger: {
|
|
1084
1087
|
type: 0;
|
|
1085
1088
|
schedule: string;
|
|
@@ -1088,14 +1091,11 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
1088
1091
|
} | {
|
|
1089
1092
|
chainId: number;
|
|
1090
1093
|
type: 1;
|
|
1091
|
-
topics: string[][];
|
|
1092
1094
|
delta: string;
|
|
1093
1095
|
endDate: number;
|
|
1094
1096
|
contract: string;
|
|
1097
|
+
topics: string[][];
|
|
1095
1098
|
};
|
|
1096
|
-
endDate: number;
|
|
1097
|
-
taskCid: string;
|
|
1098
|
-
input: Record<string, unknown>;
|
|
1099
1099
|
executionFeeLimit: string;
|
|
1100
1100
|
types: {
|
|
1101
1101
|
Input: {
|
|
@@ -1131,17 +1131,17 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1131
1131
|
}, "strict", z.ZodTypeAny, {
|
|
1132
1132
|
chainId: number;
|
|
1133
1133
|
type: 1;
|
|
1134
|
-
topics: string[][];
|
|
1135
1134
|
delta: string;
|
|
1136
1135
|
endDate: number;
|
|
1137
1136
|
contract: string;
|
|
1137
|
+
topics: string[][];
|
|
1138
1138
|
}, {
|
|
1139
1139
|
chainId: number;
|
|
1140
1140
|
type: 1;
|
|
1141
|
-
topics: string[][];
|
|
1142
1141
|
delta: string;
|
|
1143
1142
|
endDate: number;
|
|
1144
1143
|
contract: string;
|
|
1144
|
+
topics: string[][];
|
|
1145
1145
|
}>, z.ZodObject<{
|
|
1146
1146
|
type: z.ZodLiteral<0>;
|
|
1147
1147
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1200,9 +1200,12 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1200
1200
|
endDate: z.ZodNumber;
|
|
1201
1201
|
}, "strip", z.ZodTypeAny, {
|
|
1202
1202
|
minValidations: number;
|
|
1203
|
+
endDate: number;
|
|
1204
|
+
description: string;
|
|
1203
1205
|
version: string;
|
|
1204
1206
|
createdAt: Date;
|
|
1205
|
-
|
|
1207
|
+
taskCid: string;
|
|
1208
|
+
input: Record<string, unknown>;
|
|
1206
1209
|
trigger: {
|
|
1207
1210
|
type: 0;
|
|
1208
1211
|
schedule: string;
|
|
@@ -1211,14 +1214,11 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1211
1214
|
} | {
|
|
1212
1215
|
chainId: number;
|
|
1213
1216
|
type: 1;
|
|
1214
|
-
topics: string[][];
|
|
1215
1217
|
delta: string;
|
|
1216
1218
|
endDate: number;
|
|
1217
1219
|
contract: string;
|
|
1220
|
+
topics: string[][];
|
|
1218
1221
|
};
|
|
1219
|
-
endDate: number;
|
|
1220
|
-
taskCid: string;
|
|
1221
|
-
input: Record<string, unknown>;
|
|
1222
1222
|
executionFeeLimit: string;
|
|
1223
1223
|
types: {
|
|
1224
1224
|
Input: {
|
|
@@ -1236,9 +1236,12 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1236
1236
|
deactivateSig?: string | undefined;
|
|
1237
1237
|
}, {
|
|
1238
1238
|
minValidations: number;
|
|
1239
|
+
endDate: number;
|
|
1240
|
+
description: string;
|
|
1239
1241
|
version: string;
|
|
1240
1242
|
createdAt: Date;
|
|
1241
|
-
|
|
1243
|
+
taskCid: string;
|
|
1244
|
+
input: Record<string, unknown>;
|
|
1242
1245
|
trigger: {
|
|
1243
1246
|
type: 0;
|
|
1244
1247
|
schedule: string;
|
|
@@ -1247,14 +1250,11 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1247
1250
|
} | {
|
|
1248
1251
|
chainId: number;
|
|
1249
1252
|
type: 1;
|
|
1250
|
-
topics: string[][];
|
|
1251
1253
|
delta: string;
|
|
1252
1254
|
endDate: number;
|
|
1253
1255
|
contract: string;
|
|
1256
|
+
topics: string[][];
|
|
1254
1257
|
};
|
|
1255
|
-
endDate: number;
|
|
1256
|
-
taskCid: string;
|
|
1257
|
-
input: Record<string, unknown>;
|
|
1258
1258
|
executionFeeLimit: string;
|
|
1259
1259
|
types: {
|
|
1260
1260
|
Input: {
|
|
@@ -1013,7 +1013,6 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
1013
1013
|
}>]>, "many">;
|
|
1014
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
1015
|
timestamp: number;
|
|
1016
|
-
fuelUsed: number;
|
|
1017
1016
|
inputs: ({
|
|
1018
1017
|
result: {
|
|
1019
1018
|
value: string;
|
|
@@ -1114,6 +1113,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
1114
1113
|
};
|
|
1115
1114
|
signature: string;
|
|
1116
1115
|
})[];
|
|
1116
|
+
fuelUsed: number;
|
|
1117
1117
|
outputs: ({
|
|
1118
1118
|
op: 0 | 1 | 2 | 3;
|
|
1119
1119
|
user: string;
|
|
@@ -1205,7 +1205,6 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
1205
1205
|
})[];
|
|
1206
1206
|
}, {
|
|
1207
1207
|
timestamp: number;
|
|
1208
|
-
fuelUsed: number;
|
|
1209
1208
|
inputs: ({
|
|
1210
1209
|
result: {
|
|
1211
1210
|
value: string;
|
|
@@ -1306,6 +1305,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
1306
1305
|
};
|
|
1307
1306
|
signature: string;
|
|
1308
1307
|
})[];
|
|
1308
|
+
fuelUsed: number;
|
|
1309
1309
|
outputs: ({
|
|
1310
1310
|
op: 0 | 1 | 2 | 3;
|
|
1311
1311
|
user: string;
|
|
@@ -2403,7 +2403,6 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2403
2403
|
}>]>, "many">;
|
|
2404
2404
|
}, "strip", z.ZodTypeAny, {
|
|
2405
2405
|
timestamp: number;
|
|
2406
|
-
fuelUsed: number;
|
|
2407
2406
|
inputs: ({
|
|
2408
2407
|
result: {
|
|
2409
2408
|
value: string;
|
|
@@ -2504,6 +2503,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2504
2503
|
};
|
|
2505
2504
|
signature: string;
|
|
2506
2505
|
})[];
|
|
2506
|
+
fuelUsed: number;
|
|
2507
2507
|
outputs: ({
|
|
2508
2508
|
op: 0 | 1 | 2 | 3;
|
|
2509
2509
|
user: string;
|
|
@@ -2595,7 +2595,6 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2595
2595
|
})[];
|
|
2596
2596
|
}, {
|
|
2597
2597
|
timestamp: number;
|
|
2598
|
-
fuelUsed: number;
|
|
2599
2598
|
inputs: ({
|
|
2600
2599
|
result: {
|
|
2601
2600
|
value: string;
|
|
@@ -2696,6 +2695,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2696
2695
|
};
|
|
2697
2696
|
signature: string;
|
|
2698
2697
|
})[];
|
|
2698
|
+
fuelUsed: number;
|
|
2699
2699
|
outputs: ({
|
|
2700
2700
|
op: 0 | 1 | 2 | 3;
|
|
2701
2701
|
user: string;
|
|
@@ -2789,7 +2789,6 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2789
2789
|
}, "strip", z.ZodTypeAny, {
|
|
2790
2790
|
result: {
|
|
2791
2791
|
timestamp: number;
|
|
2792
|
-
fuelUsed: number;
|
|
2793
2792
|
inputs: ({
|
|
2794
2793
|
result: {
|
|
2795
2794
|
value: string;
|
|
@@ -2890,6 +2889,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2890
2889
|
};
|
|
2891
2890
|
signature: string;
|
|
2892
2891
|
})[];
|
|
2892
|
+
fuelUsed: number;
|
|
2893
2893
|
outputs: ({
|
|
2894
2894
|
op: 0 | 1 | 2 | 3;
|
|
2895
2895
|
user: string;
|
|
@@ -2985,7 +2985,6 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2985
2985
|
}, {
|
|
2986
2986
|
result: {
|
|
2987
2987
|
timestamp: number;
|
|
2988
|
-
fuelUsed: number;
|
|
2989
2988
|
inputs: ({
|
|
2990
2989
|
result: {
|
|
2991
2990
|
value: string;
|
|
@@ -3086,6 +3085,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
3086
3085
|
};
|
|
3087
3086
|
signature: string;
|
|
3088
3087
|
})[];
|
|
3088
|
+
fuelUsed: number;
|
|
3089
3089
|
outputs: ({
|
|
3090
3090
|
op: 0 | 1 | 2 | 3;
|
|
3091
3091
|
user: string;
|
|
@@ -3260,10 +3260,10 @@ export declare const RelayerExecutionResultValidator: z.ZodObject<{
|
|
|
3260
3260
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3261
3261
|
}, "strip", z.ZodTypeAny, {
|
|
3262
3262
|
timestamp: number;
|
|
3263
|
+
inputs: string[];
|
|
3263
3264
|
signature: string;
|
|
3264
3265
|
hash: string;
|
|
3265
3266
|
fuelUsed: number;
|
|
3266
|
-
inputs: string[];
|
|
3267
3267
|
outputs: {
|
|
3268
3268
|
op: 0 | 1 | 2 | 3;
|
|
3269
3269
|
user: string;
|
|
@@ -3285,10 +3285,10 @@ export declare const RelayerExecutionResultValidator: z.ZodObject<{
|
|
|
3285
3285
|
}[];
|
|
3286
3286
|
}, {
|
|
3287
3287
|
timestamp: number;
|
|
3288
|
+
inputs: string[];
|
|
3288
3289
|
signature: string;
|
|
3289
3290
|
hash: string;
|
|
3290
3291
|
fuelUsed: number;
|
|
3291
|
-
inputs: string[];
|
|
3292
3292
|
outputs: {
|
|
3293
3293
|
op: 0 | 1 | 2 | 3;
|
|
3294
3294
|
user: string;
|