@mimicprotocol/sdk 0.0.1-rc.28 → 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.
@@ -19,12 +19,12 @@ export declare const IntentLogValidator: z.ZodObject<{
19
19
  createdAt: z.ZodDate;
20
20
  }, "strip", z.ZodTypeAny, {
21
21
  data: string;
22
- level: "info" | "success" | "error";
23
22
  createdAt: Date;
23
+ level: "info" | "success" | "error";
24
24
  }, {
25
25
  data: string;
26
- level: "info" | "success" | "error";
27
26
  createdAt: Date;
27
+ level: "info" | "success" | "error";
28
28
  }>;
29
29
  export declare const AxiaProposalValidator: z.ZodObject<{
30
30
  solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -164,12 +164,12 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
164
164
  createdAt: z.ZodDate;
165
165
  }, "strip", z.ZodTypeAny, {
166
166
  data: string;
167
- level: "info" | "success" | "error";
168
167
  createdAt: Date;
168
+ level: "info" | "success" | "error";
169
169
  }, {
170
170
  data: string;
171
- level: "info" | "success" | "error";
172
171
  createdAt: Date;
172
+ level: "info" | "success" | "error";
173
173
  }>, "many">;
174
174
  }>, "strip", z.ZodTypeAny, {
175
175
  op: 0 | 1 | 2 | 3;
@@ -205,8 +205,8 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
205
205
  }[];
206
206
  logs: {
207
207
  data: string;
208
- level: "info" | "success" | "error";
209
208
  createdAt: Date;
209
+ level: "info" | "success" | "error";
210
210
  }[];
211
211
  }, {
212
212
  op: 0 | 1 | 2 | 3;
@@ -242,8 +242,8 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
242
242
  }[];
243
243
  logs: {
244
244
  data: string;
245
- level: "info" | "success" | "error";
246
245
  createdAt: Date;
246
+ level: "info" | "success" | "error";
247
247
  }[];
248
248
  }>;
249
249
  export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -439,17 +439,17 @@ export declare const IntentsGetRequestValidator: z.ZodObject<{
439
439
  }, "strip", z.ZodTypeAny, {
440
440
  user?: string | undefined;
441
441
  settler?: string | undefined;
442
- deadlineAfter?: string | undefined;
443
- deadlineBefore?: string | undefined;
444
442
  offset?: number | undefined;
445
443
  limit?: number | undefined;
444
+ deadlineAfter?: string | undefined;
445
+ deadlineBefore?: string | undefined;
446
446
  }, {
447
447
  user?: string | undefined;
448
448
  settler?: string | undefined;
449
- deadlineAfter?: string | undefined;
450
- deadlineBefore?: string | undefined;
451
449
  offset?: number | undefined;
452
450
  limit?: number | undefined;
451
+ deadlineAfter?: string | undefined;
452
+ deadlineBefore?: string | undefined;
453
453
  }>;
454
454
  export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
455
455
  op: z.ZodNativeEnum<{
@@ -548,12 +548,12 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
548
548
  createdAt: z.ZodDate;
549
549
  }, "strip", z.ZodTypeAny, {
550
550
  data: string;
551
- level: "info" | "success" | "error";
552
551
  createdAt: Date;
552
+ level: "info" | "success" | "error";
553
553
  }, {
554
554
  data: string;
555
- level: "info" | "success" | "error";
556
555
  createdAt: Date;
556
+ level: "info" | "success" | "error";
557
557
  }>, "many">;
558
558
  }>, "strip", z.ZodTypeAny, {
559
559
  op: 0 | 1 | 2 | 3;
@@ -589,8 +589,8 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
589
589
  }[];
590
590
  logs: {
591
591
  data: string;
592
- level: "info" | "success" | "error";
593
592
  createdAt: Date;
593
+ level: "info" | "success" | "error";
594
594
  }[];
595
595
  }, {
596
596
  op: 0 | 1 | 2 | 3;
@@ -626,8 +626,8 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
626
626
  }[];
627
627
  logs: {
628
628
  data: string;
629
- level: "info" | "success" | "error";
630
629
  createdAt: Date;
630
+ level: "info" | "success" | "error";
631
631
  }[];
632
632
  }>, "many">;
633
633
  export declare const SettlerValidator: z.ZodObject<{
@@ -1444,12 +1444,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1444
1444
  configSig: string;
1445
1445
  result: "succeeded" | "failed";
1446
1446
  timestamp: number;
1447
- triggerType: 0 | 1;
1448
- triggerData: string;
1449
- signature: string;
1450
- hash: string;
1451
- logs: string[];
1452
- fuelUsed: number;
1453
1447
  inputs: ({
1454
1448
  result: {
1455
1449
  value: string;
@@ -1550,6 +1544,12 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1550
1544
  };
1551
1545
  signature: string;
1552
1546
  })[];
1547
+ signature: string;
1548
+ triggerType: 0 | 1;
1549
+ triggerData: string;
1550
+ hash: string;
1551
+ logs: string[];
1552
+ fuelUsed: number;
1553
1553
  outputs: {
1554
1554
  op: 0 | 1 | 2 | 3;
1555
1555
  user: string;
@@ -1573,12 +1573,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1573
1573
  configSig: string;
1574
1574
  result: "succeeded" | "failed";
1575
1575
  timestamp: number;
1576
- triggerType: 0 | 1;
1577
- triggerData: string;
1578
- signature: string;
1579
- hash: string;
1580
- logs: string[];
1581
- fuelUsed: number;
1582
1576
  inputs: ({
1583
1577
  result: {
1584
1578
  value: string;
@@ -1679,6 +1673,12 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1679
1673
  };
1680
1674
  signature: string;
1681
1675
  })[];
1676
+ signature: string;
1677
+ triggerType: 0 | 1;
1678
+ triggerData: string;
1679
+ hash: string;
1680
+ logs: string[];
1681
+ fuelUsed: number;
1682
1682
  outputs: {
1683
1683
  op: 0 | 1 | 2 | 3;
1684
1684
  user: string;
@@ -2485,12 +2485,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
2485
2485
  result: "succeeded" | "failed";
2486
2486
  timestamp: number;
2487
2487
  status: "pending" | "valid" | "invalid";
2488
- triggerType: 0 | 1;
2489
- triggerData: string;
2490
- signature: string;
2491
- hash: string;
2492
- createdAt: Date;
2493
- fuelUsed: number;
2494
2488
  inputs: ({
2495
2489
  result: {
2496
2490
  value: string;
@@ -2591,6 +2585,12 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
2591
2585
  };
2592
2586
  signature: string;
2593
2587
  })[];
2588
+ signature: string;
2589
+ createdAt: Date;
2590
+ triggerType: 0 | 1;
2591
+ triggerData: string;
2592
+ hash: string;
2593
+ fuelUsed: number;
2594
2594
  outputs: {
2595
2595
  op: 0 | 1 | 2 | 3;
2596
2596
  user: string;
@@ -2635,12 +2635,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
2635
2635
  result: "succeeded" | "failed";
2636
2636
  timestamp: number;
2637
2637
  status: "pending" | "valid" | "invalid";
2638
- triggerType: 0 | 1;
2639
- triggerData: string;
2640
- signature: string;
2641
- hash: string;
2642
- createdAt: Date;
2643
- fuelUsed: number;
2644
2638
  inputs: ({
2645
2639
  result: {
2646
2640
  value: string;
@@ -2741,6 +2735,12 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
2741
2735
  };
2742
2736
  signature: string;
2743
2737
  })[];
2738
+ signature: string;
2739
+ createdAt: Date;
2740
+ triggerType: 0 | 1;
2741
+ triggerData: string;
2742
+ hash: string;
2743
+ fuelUsed: number;
2744
2744
  outputs: {
2745
2745
  op: 0 | 1 | 2 | 3;
2746
2746
  user: string;
@@ -3529,12 +3529,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
3529
3529
  result: "succeeded" | "failed";
3530
3530
  timestamp: number;
3531
3531
  status: "pending" | "valid" | "invalid";
3532
- triggerType: 0 | 1;
3533
- triggerData: string;
3534
- signature: string;
3535
- hash: string;
3536
- createdAt: Date;
3537
- fuelUsed: number;
3538
3532
  inputs: ({
3539
3533
  result: {
3540
3534
  value: string;
@@ -3635,6 +3629,12 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
3635
3629
  };
3636
3630
  signature: string;
3637
3631
  })[];
3632
+ signature: string;
3633
+ createdAt: Date;
3634
+ triggerType: 0 | 1;
3635
+ triggerData: string;
3636
+ hash: string;
3637
+ fuelUsed: number;
3638
3638
  outputs: {
3639
3639
  op: 0 | 1 | 2 | 3;
3640
3640
  user: string;
@@ -3679,12 +3679,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
3679
3679
  result: "succeeded" | "failed";
3680
3680
  timestamp: number;
3681
3681
  status: "pending" | "valid" | "invalid";
3682
- triggerType: 0 | 1;
3683
- triggerData: string;
3684
- signature: string;
3685
- hash: string;
3686
- createdAt: Date;
3687
- fuelUsed: number;
3688
3682
  inputs: ({
3689
3683
  result: {
3690
3684
  value: string;
@@ -3785,6 +3779,12 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
3785
3779
  };
3786
3780
  signature: string;
3787
3781
  })[];
3782
+ signature: string;
3783
+ createdAt: Date;
3784
+ triggerType: 0 | 1;
3785
+ triggerData: string;
3786
+ hash: string;
3787
+ fuelUsed: number;
3788
3788
  outputs: {
3789
3789
  op: 0 | 1 | 2 | 3;
3790
3790
  user: string;
@@ -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
- description: string;
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
- description: string;
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
- description: string;
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
- description: string;
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;
@@ -621,12 +621,12 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
621
621
  user: string;
622
622
  configSig: string;
623
623
  timestamp: number;
624
- hash: string;
624
+ input: Record<string, unknown>;
625
625
  trigger: {
626
626
  data: string;
627
627
  type: 0 | 1;
628
628
  };
629
- input: Record<string, unknown>;
629
+ hash: string;
630
630
  callbackUrl: string;
631
631
  settlers: string;
632
632
  oracleUrls?: string[] | undefined;
@@ -734,12 +734,12 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
734
734
  user: string;
735
735
  configSig: string;
736
736
  timestamp: number;
737
- hash: string;
737
+ input: Record<string, unknown>;
738
738
  trigger: {
739
739
  data: string;
740
740
  type: 0 | 1;
741
741
  };
742
- input: Record<string, unknown>;
742
+ hash: string;
743
743
  callbackUrl: string;
744
744
  settlers: string;
745
745
  oracleUrls?: string[] | undefined;
@@ -847,12 +847,12 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
847
847
  user: string;
848
848
  configSig: string;
849
849
  timestamp: number;
850
- hash: string;
850
+ input: Record<string, unknown>;
851
851
  trigger: {
852
852
  data: string;
853
853
  type: 0 | 1;
854
854
  };
855
- input: Record<string, unknown>;
855
+ hash: string;
856
856
  callbackUrl: string;
857
857
  settlers: string;
858
858
  oracleUrls?: string[] | undefined;
@@ -960,12 +960,12 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
960
960
  user: string;
961
961
  configSig: string;
962
962
  timestamp: number;
963
- hash: string;
963
+ input: Record<string, unknown>;
964
964
  trigger: {
965
965
  data: string;
966
966
  type: 0 | 1;
967
967
  };
968
- input: Record<string, unknown>;
968
+ hash: string;
969
969
  callbackUrl: string;
970
970
  settlers: string;
971
971
  oracleUrls?: string[] | undefined;
@@ -1,3 +1,4 @@
1
+ import { CronTrigger } from '../../registry';
1
2
  export declare const SECOND = 1;
2
3
  export declare const MINUTE: number;
3
4
  export declare const HOUR: number;
@@ -9,4 +10,5 @@ export declare function getNextCronDate(expression: string): Date;
9
10
  export declare function getPreviousCronDate(expression: string): Date;
10
11
  export declare function includesDate(expression: string, date: number): boolean;
11
12
  export declare function getDurationInMilliseconds(duration: string): number;
13
+ export declare function createExecuteOnceTrigger(deltaMins?: number): CronTrigger;
12
14
  //# sourceMappingURL=time.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/time.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,IAAI,CAAA;AACvB,eAAO,MAAM,MAAM,QAAc,CAAA;AACjC,eAAO,MAAM,IAAI,QAAc,CAAA;AAC/B,eAAO,MAAM,GAAG,QAAY,CAAA;AAC5B,eAAO,MAAM,IAAI,QAAU,CAAA;AAC3B,eAAO,MAAM,KAAK,QAAW,CAAA;AAC7B,eAAO,MAAM,IAAI,QAAa,CAAA;AAE9B,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAGxD;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAG5D;AAED,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAGtE;AAED,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAiBlE"}
1
+ {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/time.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAG5C,eAAO,MAAM,MAAM,IAAI,CAAA;AACvB,eAAO,MAAM,MAAM,QAAc,CAAA;AACjC,eAAO,MAAM,IAAI,QAAc,CAAA;AAC/B,eAAO,MAAM,GAAG,QAAY,CAAA;AAC5B,eAAO,MAAM,IAAI,QAAU,CAAA;AAC3B,eAAO,MAAM,KAAK,QAAW,CAAA;AAC7B,eAAO,MAAM,IAAI,QAAa,CAAA;AAE9B,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAGxD;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAG5D;AAED,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAGtE;AAED,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAiBlE;AAED,wBAAgB,wBAAwB,CAAC,SAAS,SAAK,GAAG,WAAW,CASpE"}
@@ -8,7 +8,9 @@ exports.getNextCronDate = getNextCronDate;
8
8
  exports.getPreviousCronDate = getPreviousCronDate;
9
9
  exports.includesDate = includesDate;
10
10
  exports.getDurationInMilliseconds = getDurationInMilliseconds;
11
+ exports.createExecuteOnceTrigger = createExecuteOnceTrigger;
11
12
  const cron_parser_1 = __importDefault(require("cron-parser"));
13
+ const shared_1 = require("../../shared");
12
14
  exports.SECOND = 1;
13
15
  exports.MINUTE = exports.SECOND * 60;
14
16
  exports.HOUR = exports.MINUTE * 60;
@@ -44,4 +46,14 @@ function getDurationInMilliseconds(duration) {
44
46
  const milliseconds = unitToMilliseconds[unit];
45
47
  return value * milliseconds;
46
48
  }
49
+ function createExecuteOnceTrigger(deltaMins = 10) {
50
+ const mins = new Date().getMinutes();
51
+ const endDate = Date.now() + (deltaMins + 1) * exports.MINUTE * 1000;
52
+ return {
53
+ type: shared_1.TriggerType.Cron,
54
+ schedule: `${mins} * * * *`,
55
+ delta: `${deltaMins}m`,
56
+ endDate,
57
+ };
58
+ }
47
59
  //# sourceMappingURL=time.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"time.js","sourceRoot":"","sources":["../../../src/shared/utils/time.ts"],"names":[],"mappings":";;;;;;AAUA,0CAGC;AAED,kDAGC;AAED,oCAGC;AAED,8DAiBC;AA1CD,8DAA8C;AAEjC,QAAA,MAAM,GAAG,CAAC,CAAA;AACV,QAAA,MAAM,GAAG,cAAM,GAAG,EAAE,CAAA;AACpB,QAAA,IAAI,GAAG,cAAM,GAAG,EAAE,CAAA;AAClB,QAAA,GAAG,GAAG,YAAI,GAAG,EAAE,CAAA;AACf,QAAA,IAAI,GAAG,WAAG,GAAG,CAAC,CAAA;AACd,QAAA,KAAK,GAAG,WAAG,GAAG,EAAE,CAAA;AAChB,QAAA,IAAI,GAAG,aAAK,GAAG,EAAE,CAAA;AAE9B,SAAgB,eAAe,CAAC,UAAkB;IAChD,MAAM,QAAQ,GAAG,qBAAoB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IACvD,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,CAAA;AACjC,CAAC;AAED,SAAgB,mBAAmB,CAAC,UAAkB;IACpD,MAAM,QAAQ,GAAG,qBAAoB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IACvD,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,CAAA;AACjC,CAAC;AAED,SAAgB,YAAY,CAAC,UAAkB,EAAE,IAAY;IAC3D,MAAM,QAAQ,GAAG,qBAAoB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IACvD,OAAO,QAAQ,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;AAC9C,CAAC;AAED,SAAgB,yBAAyB,CAAC,QAAgB;IACxD,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAA;IAClD,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,uBAAuB,QAAQ,EAAE,CAAC,CAAA;IAE9D,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IACpC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;IAErB,MAAM,kBAAkB,GAA8B;QACpD,CAAC,EAAE,cAAM,GAAG,IAAI;QAChB,CAAC,EAAE,cAAM,GAAG,IAAI;QAChB,CAAC,EAAE,YAAI,GAAG,IAAI;QACd,CAAC,EAAE,WAAG,GAAG,IAAI;QACb,CAAC,EAAE,YAAI,GAAG,IAAI;KACf,CAAA;IAED,MAAM,YAAY,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAA;IAC7C,OAAO,KAAK,GAAG,YAAY,CAAA;AAC7B,CAAC"}
1
+ {"version":3,"file":"time.js","sourceRoot":"","sources":["../../../src/shared/utils/time.ts"],"names":[],"mappings":";;;;;;AAaA,0CAGC;AAED,kDAGC;AAED,oCAGC;AAED,8DAiBC;AAED,4DASC;AAxDD,8DAA8C;AAG9C,yCAA0C;AAE7B,QAAA,MAAM,GAAG,CAAC,CAAA;AACV,QAAA,MAAM,GAAG,cAAM,GAAG,EAAE,CAAA;AACpB,QAAA,IAAI,GAAG,cAAM,GAAG,EAAE,CAAA;AAClB,QAAA,GAAG,GAAG,YAAI,GAAG,EAAE,CAAA;AACf,QAAA,IAAI,GAAG,WAAG,GAAG,CAAC,CAAA;AACd,QAAA,KAAK,GAAG,WAAG,GAAG,EAAE,CAAA;AAChB,QAAA,IAAI,GAAG,aAAK,GAAG,EAAE,CAAA;AAE9B,SAAgB,eAAe,CAAC,UAAkB;IAChD,MAAM,QAAQ,GAAG,qBAAoB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IACvD,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,CAAA;AACjC,CAAC;AAED,SAAgB,mBAAmB,CAAC,UAAkB;IACpD,MAAM,QAAQ,GAAG,qBAAoB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IACvD,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,CAAA;AACjC,CAAC;AAED,SAAgB,YAAY,CAAC,UAAkB,EAAE,IAAY;IAC3D,MAAM,QAAQ,GAAG,qBAAoB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IACvD,OAAO,QAAQ,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;AAC9C,CAAC;AAED,SAAgB,yBAAyB,CAAC,QAAgB;IACxD,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAA;IAClD,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,uBAAuB,QAAQ,EAAE,CAAC,CAAA;IAE9D,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IACpC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;IAErB,MAAM,kBAAkB,GAA8B;QACpD,CAAC,EAAE,cAAM,GAAG,IAAI;QAChB,CAAC,EAAE,cAAM,GAAG,IAAI;QAChB,CAAC,EAAE,YAAI,GAAG,IAAI;QACd,CAAC,EAAE,WAAG,GAAG,IAAI;QACb,CAAC,EAAE,YAAI,GAAG,IAAI;KACf,CAAA;IAED,MAAM,YAAY,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAA;IAC7C,OAAO,KAAK,GAAG,YAAY,CAAA;AAC7B,CAAC;AAED,SAAgB,wBAAwB,CAAC,SAAS,GAAG,EAAE;IACrD,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC,UAAU,EAAE,CAAA;IACpC,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,cAAM,GAAG,IAAI,CAAA;IAC5D,OAAO;QACL,IAAI,EAAE,oBAAW,CAAC,IAAI;QACtB,QAAQ,EAAE,GAAG,IAAI,UAAU;QAC3B,KAAK,EAAE,GAAG,SAAS,GAAG;QACtB,OAAO;KACR,CAAA;AACH,CAAC"}
@@ -57,16 +57,16 @@ export declare const EventExecutionDataValidator: z.ZodObject<{
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  address: string;
59
59
  chainId: number;
60
+ topics: string[];
60
61
  blockHash: string;
61
62
  index: number;
62
- topics: string[];
63
63
  eventData: string;
64
64
  }, {
65
65
  address: string;
66
66
  chainId: number;
67
+ topics: string[];
67
68
  blockHash: string;
68
69
  index: number;
69
- topics: string[];
70
70
  eventData: string;
71
71
  }>;
72
72
  export declare const EventExecutionValidator: z.ZodObject<z.objectUtil.extendShape<{
@@ -87,21 +87,21 @@ export declare const EventExecutionValidator: z.ZodObject<z.objectUtil.extendSha
87
87
  configSig: string;
88
88
  address: string;
89
89
  chainId: number;
90
+ topics: string[];
90
91
  triggerType: 0 | 1;
91
92
  triggerData: string;
92
93
  blockHash: string;
93
94
  index: number;
94
- topics: string[];
95
95
  eventData: string;
96
96
  }, {
97
97
  configSig: string;
98
98
  address: string;
99
99
  chainId: number;
100
+ topics: string[];
100
101
  triggerType: 0 | 1;
101
102
  triggerData: string;
102
103
  blockHash: string;
103
104
  index: number;
104
- topics: string[];
105
105
  eventData: string;
106
106
  }>;
107
107
  //# sourceMappingURL=executions.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mimicprotocol/sdk",
3
- "version": "0.0.1-rc.28",
3
+ "version": "0.0.1-rc.29",
4
4
  "license": "GPL-3.0",
5
5
  "private": false,
6
6
  "description": "Mimic Protocol SDK",