@mimicprotocol/sdk 0.0.1-rc.26 → 0.0.1-rc.28

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.
Files changed (57) hide show
  1. package/dist/axia/constants.d.ts +36 -31
  2. package/dist/axia/constants.d.ts.map +1 -1
  3. package/dist/axia/constants.js +31 -36
  4. package/dist/axia/constants.js.map +1 -1
  5. package/dist/axia/validators.d.ts +202 -90
  6. package/dist/axia/validators.d.ts.map +1 -1
  7. package/dist/client/domains/ConfigsClient.d.ts +1 -1
  8. package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
  9. package/dist/client/domains/ConfigsClient.js +7 -3
  10. package/dist/client/domains/ConfigsClient.js.map +1 -1
  11. package/dist/client/domains/IntentsClient.d.ts +9 -9
  12. package/dist/client/domains/IntentsClient.d.ts.map +1 -1
  13. package/dist/client/domains/IntentsClient.js +5 -5
  14. package/dist/client/domains/IntentsClient.js.map +1 -1
  15. package/dist/registry/ConfigSigner.d.ts +1 -1
  16. package/dist/registry/ConfigSigner.d.ts.map +1 -1
  17. package/dist/registry/ConfigSigner.js +11 -6
  18. package/dist/registry/ConfigSigner.js.map +1 -1
  19. package/dist/registry/validators.d.ts +85 -71
  20. package/dist/registry/validators.d.ts.map +1 -1
  21. package/dist/registry/validators.js +2 -1
  22. package/dist/registry/validators.js.map +1 -1
  23. package/dist/relayer/validators.d.ts +98 -53
  24. package/dist/relayer/validators.d.ts.map +1 -1
  25. package/dist/runner/validators.d.ts +10 -8
  26. package/dist/runner/validators.d.ts.map +1 -1
  27. package/dist/shared/codec/encoder.d.ts +4 -5
  28. package/dist/shared/codec/encoder.d.ts.map +1 -1
  29. package/dist/shared/codec/encoder.js +2 -3
  30. package/dist/shared/codec/encoder.js.map +1 -1
  31. package/dist/shared/signer/EthersSigner.d.ts +2 -1
  32. package/dist/shared/signer/EthersSigner.d.ts.map +1 -1
  33. package/dist/shared/signer/EthersSigner.js +3 -0
  34. package/dist/shared/signer/EthersSigner.js.map +1 -1
  35. package/dist/shared/signer/Signer.d.ts +1 -0
  36. package/dist/shared/signer/Signer.d.ts.map +1 -1
  37. package/dist/shared/signer/WindowEthereumSigner.d.ts +2 -1
  38. package/dist/shared/signer/WindowEthereumSigner.d.ts.map +1 -1
  39. package/dist/shared/signer/WindowEthereumSigner.js +3 -0
  40. package/dist/shared/signer/WindowEthereumSigner.js.map +1 -1
  41. package/dist/shared/utils/numbers.d.ts +5 -4
  42. package/dist/shared/utils/numbers.d.ts.map +1 -1
  43. package/dist/shared/utils/numbers.js +7 -9
  44. package/dist/shared/utils/numbers.js.map +1 -1
  45. package/dist/shared/validators/executions.d.ts +23 -13
  46. package/dist/shared/validators/executions.d.ts.map +1 -1
  47. package/dist/shared/validators/executions.js +5 -6
  48. package/dist/shared/validators/executions.js.map +1 -1
  49. package/dist/shared/validators/intents.d.ts +55 -24
  50. package/dist/shared/validators/intents.d.ts.map +1 -1
  51. package/dist/shared/validators/intents.js +7 -8
  52. package/dist/shared/validators/intents.js.map +1 -1
  53. package/dist/shared/validators/primitives.d.ts +9 -5
  54. package/dist/shared/validators/primitives.d.ts.map +1 -1
  55. package/dist/shared/validators/primitives.js +5 -6
  56. package/dist/shared/validators/primitives.js.map +1 -1
  57. package/package.json +1 -1
@@ -609,7 +609,12 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
609
609
  signature: string;
610
610
  }>]>, "many">;
611
611
  outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<Omit<z.objectUtil.extendShape<{
612
- op: z.ZodNativeEnum<typeof import("../shared").OpType>;
612
+ op: z.ZodNativeEnum<{
613
+ readonly Swap: 0;
614
+ readonly Transfer: 1;
615
+ readonly EvmCall: 2;
616
+ readonly SvmCall: 3;
617
+ }>;
613
618
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
614
619
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
615
620
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -664,7 +669,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
664
669
  recipient: string;
665
670
  }>, "many">;
666
671
  }>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
667
- op: import("../shared").OpType;
672
+ op: 0 | 1 | 2 | 3;
668
673
  user: string;
669
674
  settler: string;
670
675
  nonce: string;
@@ -689,7 +694,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
689
694
  recipient: string;
690
695
  }[];
691
696
  }, {
692
- op: import("../shared").OpType;
697
+ op: 0 | 1 | 2 | 3;
693
698
  user: string;
694
699
  settler: string;
695
700
  nonce: string;
@@ -714,7 +719,12 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
714
719
  recipient: string;
715
720
  }[];
716
721
  }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
717
- op: z.ZodNativeEnum<typeof import("../shared").OpType>;
722
+ op: z.ZodNativeEnum<{
723
+ readonly Swap: 0;
724
+ readonly Transfer: 1;
725
+ readonly EvmCall: 2;
726
+ readonly SvmCall: 3;
727
+ }>;
718
728
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
719
729
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
720
730
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -758,7 +768,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
758
768
  recipient: string;
759
769
  }>, "many">;
760
770
  }>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
761
- op: import("../shared").OpType;
771
+ op: 0 | 1 | 2 | 3;
762
772
  user: string;
763
773
  settler: string;
764
774
  nonce: string;
@@ -778,7 +788,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
778
788
  recipient: string;
779
789
  }[];
780
790
  }, {
781
- op: import("../shared").OpType;
791
+ op: 0 | 1 | 2 | 3;
782
792
  user: string;
783
793
  settler: string;
784
794
  nonce: string;
@@ -798,7 +808,12 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
798
808
  recipient: string;
799
809
  }[];
800
810
  }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
801
- op: z.ZodNativeEnum<typeof import("../shared").OpType>;
811
+ op: z.ZodNativeEnum<{
812
+ readonly Swap: 0;
813
+ readonly Transfer: 1;
814
+ readonly EvmCall: 2;
815
+ readonly SvmCall: 3;
816
+ }>;
802
817
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
803
818
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
804
819
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -842,7 +857,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
842
857
  target: string;
843
858
  }>, "many">;
844
859
  }>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
845
- op: import("../shared").OpType;
860
+ op: 0 | 1 | 2 | 3;
846
861
  user: string;
847
862
  settler: string;
848
863
  nonce: string;
@@ -862,7 +877,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
862
877
  target: string;
863
878
  }[];
864
879
  }, {
865
- op: import("../shared").OpType;
880
+ op: 0 | 1 | 2 | 3;
866
881
  user: string;
867
882
  settler: string;
868
883
  nonce: string;
@@ -882,7 +897,12 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
882
897
  target: string;
883
898
  }[];
884
899
  }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
885
- op: z.ZodNativeEnum<typeof import("../shared").OpType>;
900
+ op: z.ZodNativeEnum<{
901
+ readonly Swap: 0;
902
+ readonly Transfer: 1;
903
+ readonly EvmCall: 2;
904
+ readonly SvmCall: 3;
905
+ }>;
886
906
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
887
907
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
888
908
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -945,7 +965,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
945
965
  }[];
946
966
  }>, "many">;
947
967
  }>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
948
- op: import("../shared").OpType;
968
+ op: 0 | 1 | 2 | 3;
949
969
  user: string;
950
970
  settler: string;
951
971
  nonce: string;
@@ -968,7 +988,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
968
988
  }[];
969
989
  }[];
970
990
  }, {
971
- op: import("../shared").OpType;
991
+ op: 0 | 1 | 2 | 3;
972
992
  user: string;
973
993
  settler: string;
974
994
  nonce: string;
@@ -1095,7 +1115,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
1095
1115
  signature: string;
1096
1116
  })[];
1097
1117
  outputs: ({
1098
- op: import("../shared").OpType;
1118
+ op: 0 | 1 | 2 | 3;
1099
1119
  user: string;
1100
1120
  settler: string;
1101
1121
  nonce: string;
@@ -1120,7 +1140,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
1120
1140
  recipient: string;
1121
1141
  }[];
1122
1142
  } | {
1123
- op: import("../shared").OpType;
1143
+ op: 0 | 1 | 2 | 3;
1124
1144
  user: string;
1125
1145
  settler: string;
1126
1146
  nonce: string;
@@ -1140,7 +1160,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
1140
1160
  recipient: string;
1141
1161
  }[];
1142
1162
  } | {
1143
- op: import("../shared").OpType;
1163
+ op: 0 | 1 | 2 | 3;
1144
1164
  user: string;
1145
1165
  settler: string;
1146
1166
  nonce: string;
@@ -1160,7 +1180,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
1160
1180
  target: string;
1161
1181
  }[];
1162
1182
  } | {
1163
- op: import("../shared").OpType;
1183
+ op: 0 | 1 | 2 | 3;
1164
1184
  user: string;
1165
1185
  settler: string;
1166
1186
  nonce: string;
@@ -1287,7 +1307,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
1287
1307
  signature: string;
1288
1308
  })[];
1289
1309
  outputs: ({
1290
- op: import("../shared").OpType;
1310
+ op: 0 | 1 | 2 | 3;
1291
1311
  user: string;
1292
1312
  settler: string;
1293
1313
  nonce: string;
@@ -1312,7 +1332,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
1312
1332
  recipient: string;
1313
1333
  }[];
1314
1334
  } | {
1315
- op: import("../shared").OpType;
1335
+ op: 0 | 1 | 2 | 3;
1316
1336
  user: string;
1317
1337
  settler: string;
1318
1338
  nonce: string;
@@ -1332,7 +1352,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
1332
1352
  recipient: string;
1333
1353
  }[];
1334
1354
  } | {
1335
- op: import("../shared").OpType;
1355
+ op: 0 | 1 | 2 | 3;
1336
1356
  user: string;
1337
1357
  settler: string;
1338
1358
  nonce: string;
@@ -1352,7 +1372,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
1352
1372
  target: string;
1353
1373
  }[];
1354
1374
  } | {
1355
- op: import("../shared").OpType;
1375
+ op: 0 | 1 | 2 | 3;
1356
1376
  user: string;
1357
1377
  settler: string;
1358
1378
  nonce: string;
@@ -1979,7 +1999,12 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
1979
1999
  signature: string;
1980
2000
  }>]>, "many">;
1981
2001
  outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<Omit<z.objectUtil.extendShape<{
1982
- op: z.ZodNativeEnum<typeof import("../shared").OpType>;
2002
+ op: z.ZodNativeEnum<{
2003
+ readonly Swap: 0;
2004
+ readonly Transfer: 1;
2005
+ readonly EvmCall: 2;
2006
+ readonly SvmCall: 3;
2007
+ }>;
1983
2008
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1984
2009
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1985
2010
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -2034,7 +2059,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2034
2059
  recipient: string;
2035
2060
  }>, "many">;
2036
2061
  }>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
2037
- op: import("../shared").OpType;
2062
+ op: 0 | 1 | 2 | 3;
2038
2063
  user: string;
2039
2064
  settler: string;
2040
2065
  nonce: string;
@@ -2059,7 +2084,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2059
2084
  recipient: string;
2060
2085
  }[];
2061
2086
  }, {
2062
- op: import("../shared").OpType;
2087
+ op: 0 | 1 | 2 | 3;
2063
2088
  user: string;
2064
2089
  settler: string;
2065
2090
  nonce: string;
@@ -2084,7 +2109,12 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2084
2109
  recipient: string;
2085
2110
  }[];
2086
2111
  }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2087
- op: z.ZodNativeEnum<typeof import("../shared").OpType>;
2112
+ op: z.ZodNativeEnum<{
2113
+ readonly Swap: 0;
2114
+ readonly Transfer: 1;
2115
+ readonly EvmCall: 2;
2116
+ readonly SvmCall: 3;
2117
+ }>;
2088
2118
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2089
2119
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2090
2120
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -2128,7 +2158,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2128
2158
  recipient: string;
2129
2159
  }>, "many">;
2130
2160
  }>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
2131
- op: import("../shared").OpType;
2161
+ op: 0 | 1 | 2 | 3;
2132
2162
  user: string;
2133
2163
  settler: string;
2134
2164
  nonce: string;
@@ -2148,7 +2178,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2148
2178
  recipient: string;
2149
2179
  }[];
2150
2180
  }, {
2151
- op: import("../shared").OpType;
2181
+ op: 0 | 1 | 2 | 3;
2152
2182
  user: string;
2153
2183
  settler: string;
2154
2184
  nonce: string;
@@ -2168,7 +2198,12 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2168
2198
  recipient: string;
2169
2199
  }[];
2170
2200
  }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2171
- op: z.ZodNativeEnum<typeof import("../shared").OpType>;
2201
+ op: z.ZodNativeEnum<{
2202
+ readonly Swap: 0;
2203
+ readonly Transfer: 1;
2204
+ readonly EvmCall: 2;
2205
+ readonly SvmCall: 3;
2206
+ }>;
2172
2207
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2173
2208
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2174
2209
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -2212,7 +2247,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2212
2247
  target: string;
2213
2248
  }>, "many">;
2214
2249
  }>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
2215
- op: import("../shared").OpType;
2250
+ op: 0 | 1 | 2 | 3;
2216
2251
  user: string;
2217
2252
  settler: string;
2218
2253
  nonce: string;
@@ -2232,7 +2267,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2232
2267
  target: string;
2233
2268
  }[];
2234
2269
  }, {
2235
- op: import("../shared").OpType;
2270
+ op: 0 | 1 | 2 | 3;
2236
2271
  user: string;
2237
2272
  settler: string;
2238
2273
  nonce: string;
@@ -2252,7 +2287,12 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2252
2287
  target: string;
2253
2288
  }[];
2254
2289
  }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2255
- op: z.ZodNativeEnum<typeof import("../shared").OpType>;
2290
+ op: z.ZodNativeEnum<{
2291
+ readonly Swap: 0;
2292
+ readonly Transfer: 1;
2293
+ readonly EvmCall: 2;
2294
+ readonly SvmCall: 3;
2295
+ }>;
2256
2296
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2257
2297
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2258
2298
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -2315,7 +2355,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2315
2355
  }[];
2316
2356
  }>, "many">;
2317
2357
  }>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
2318
- op: import("../shared").OpType;
2358
+ op: 0 | 1 | 2 | 3;
2319
2359
  user: string;
2320
2360
  settler: string;
2321
2361
  nonce: string;
@@ -2338,7 +2378,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2338
2378
  }[];
2339
2379
  }[];
2340
2380
  }, {
2341
- op: import("../shared").OpType;
2381
+ op: 0 | 1 | 2 | 3;
2342
2382
  user: string;
2343
2383
  settler: string;
2344
2384
  nonce: string;
@@ -2465,7 +2505,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2465
2505
  signature: string;
2466
2506
  })[];
2467
2507
  outputs: ({
2468
- op: import("../shared").OpType;
2508
+ op: 0 | 1 | 2 | 3;
2469
2509
  user: string;
2470
2510
  settler: string;
2471
2511
  nonce: string;
@@ -2490,7 +2530,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2490
2530
  recipient: string;
2491
2531
  }[];
2492
2532
  } | {
2493
- op: import("../shared").OpType;
2533
+ op: 0 | 1 | 2 | 3;
2494
2534
  user: string;
2495
2535
  settler: string;
2496
2536
  nonce: string;
@@ -2510,7 +2550,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2510
2550
  recipient: string;
2511
2551
  }[];
2512
2552
  } | {
2513
- op: import("../shared").OpType;
2553
+ op: 0 | 1 | 2 | 3;
2514
2554
  user: string;
2515
2555
  settler: string;
2516
2556
  nonce: string;
@@ -2530,7 +2570,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2530
2570
  target: string;
2531
2571
  }[];
2532
2572
  } | {
2533
- op: import("../shared").OpType;
2573
+ op: 0 | 1 | 2 | 3;
2534
2574
  user: string;
2535
2575
  settler: string;
2536
2576
  nonce: string;
@@ -2657,7 +2697,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2657
2697
  signature: string;
2658
2698
  })[];
2659
2699
  outputs: ({
2660
- op: import("../shared").OpType;
2700
+ op: 0 | 1 | 2 | 3;
2661
2701
  user: string;
2662
2702
  settler: string;
2663
2703
  nonce: string;
@@ -2682,7 +2722,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2682
2722
  recipient: string;
2683
2723
  }[];
2684
2724
  } | {
2685
- op: import("../shared").OpType;
2725
+ op: 0 | 1 | 2 | 3;
2686
2726
  user: string;
2687
2727
  settler: string;
2688
2728
  nonce: string;
@@ -2702,7 +2742,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2702
2742
  recipient: string;
2703
2743
  }[];
2704
2744
  } | {
2705
- op: import("../shared").OpType;
2745
+ op: 0 | 1 | 2 | 3;
2706
2746
  user: string;
2707
2747
  settler: string;
2708
2748
  nonce: string;
@@ -2722,7 +2762,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2722
2762
  target: string;
2723
2763
  }[];
2724
2764
  } | {
2725
- op: import("../shared").OpType;
2765
+ op: 0 | 1 | 2 | 3;
2726
2766
  user: string;
2727
2767
  settler: string;
2728
2768
  nonce: string;
@@ -2851,7 +2891,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2851
2891
  signature: string;
2852
2892
  })[];
2853
2893
  outputs: ({
2854
- op: import("../shared").OpType;
2894
+ op: 0 | 1 | 2 | 3;
2855
2895
  user: string;
2856
2896
  settler: string;
2857
2897
  nonce: string;
@@ -2876,7 +2916,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2876
2916
  recipient: string;
2877
2917
  }[];
2878
2918
  } | {
2879
- op: import("../shared").OpType;
2919
+ op: 0 | 1 | 2 | 3;
2880
2920
  user: string;
2881
2921
  settler: string;
2882
2922
  nonce: string;
@@ -2896,7 +2936,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2896
2936
  recipient: string;
2897
2937
  }[];
2898
2938
  } | {
2899
- op: import("../shared").OpType;
2939
+ op: 0 | 1 | 2 | 3;
2900
2940
  user: string;
2901
2941
  settler: string;
2902
2942
  nonce: string;
@@ -2916,7 +2956,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
2916
2956
  target: string;
2917
2957
  }[];
2918
2958
  } | {
2919
- op: import("../shared").OpType;
2959
+ op: 0 | 1 | 2 | 3;
2920
2960
  user: string;
2921
2961
  settler: string;
2922
2962
  nonce: string;
@@ -3047,7 +3087,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
3047
3087
  signature: string;
3048
3088
  })[];
3049
3089
  outputs: ({
3050
- op: import("../shared").OpType;
3090
+ op: 0 | 1 | 2 | 3;
3051
3091
  user: string;
3052
3092
  settler: string;
3053
3093
  nonce: string;
@@ -3072,7 +3112,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
3072
3112
  recipient: string;
3073
3113
  }[];
3074
3114
  } | {
3075
- op: import("../shared").OpType;
3115
+ op: 0 | 1 | 2 | 3;
3076
3116
  user: string;
3077
3117
  settler: string;
3078
3118
  nonce: string;
@@ -3092,7 +3132,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
3092
3132
  recipient: string;
3093
3133
  }[];
3094
3134
  } | {
3095
- op: import("../shared").OpType;
3135
+ op: 0 | 1 | 2 | 3;
3096
3136
  user: string;
3097
3137
  settler: string;
3098
3138
  nonce: string;
@@ -3112,7 +3152,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
3112
3152
  target: string;
3113
3153
  }[];
3114
3154
  } | {
3115
- op: import("../shared").OpType;
3155
+ op: 0 | 1 | 2 | 3;
3116
3156
  user: string;
3117
3157
  settler: string;
3118
3158
  nonce: string;
@@ -3145,7 +3185,12 @@ export declare const RelayerExecutionResultValidator: z.ZodObject<{
3145
3185
  fuelUsed: z.ZodNumber;
3146
3186
  inputs: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
3147
3187
  outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3148
- op: z.ZodNativeEnum<typeof import("../shared").OpType>;
3188
+ op: z.ZodNativeEnum<{
3189
+ readonly Swap: 0;
3190
+ readonly Transfer: 1;
3191
+ readonly EvmCall: 2;
3192
+ readonly SvmCall: 3;
3193
+ }>;
3149
3194
  user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
3150
3195
  settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
3151
3196
  nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -3176,7 +3221,7 @@ export declare const RelayerExecutionResultValidator: z.ZodObject<{
3176
3221
  }, {
3177
3222
  hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
3178
3223
  }>, "strip", z.ZodTypeAny, {
3179
- op: import("../shared").OpType;
3224
+ op: 0 | 1 | 2 | 3;
3180
3225
  user: string;
3181
3226
  settler: string;
3182
3227
  nonce: string;
@@ -3194,7 +3239,7 @@ export declare const RelayerExecutionResultValidator: z.ZodObject<{
3194
3239
  minValidations: number;
3195
3240
  hash: string;
3196
3241
  }, {
3197
- op: import("../shared").OpType;
3242
+ op: 0 | 1 | 2 | 3;
3198
3243
  user: string;
3199
3244
  settler: string;
3200
3245
  nonce: string;
@@ -3220,7 +3265,7 @@ export declare const RelayerExecutionResultValidator: z.ZodObject<{
3220
3265
  fuelUsed: number;
3221
3266
  inputs: string[];
3222
3267
  outputs: {
3223
- op: import("../shared").OpType;
3268
+ op: 0 | 1 | 2 | 3;
3224
3269
  user: string;
3225
3270
  settler: string;
3226
3271
  nonce: string;
@@ -3245,7 +3290,7 @@ export declare const RelayerExecutionResultValidator: z.ZodObject<{
3245
3290
  fuelUsed: number;
3246
3291
  inputs: string[];
3247
3292
  outputs: {
3248
- op: import("../shared").OpType;
3293
+ op: 0 | 1 | 2 | 3;
3249
3294
  user: string;
3250
3295
  settler: string;
3251
3296
  nonce: string;
@@ -1 +1 @@
1
- {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/relayer/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;EAO1C,CAAA"}
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod';
2
- import { TriggerType } from '../shared';
3
2
  export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
4
3
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5
4
  callbackUrl: z.ZodEffects<z.ZodString, string, string>;
@@ -607,13 +606,16 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
607
606
  hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
608
607
  trigger: z.ZodObject<{
609
608
  data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
610
- type: z.ZodNativeEnum<typeof TriggerType>;
609
+ type: z.ZodNativeEnum<{
610
+ readonly Cron: 0;
611
+ readonly Event: 1;
612
+ }>;
611
613
  }, "strip", z.ZodTypeAny, {
612
614
  data: string;
613
- type: TriggerType;
615
+ type: 0 | 1;
614
616
  }, {
615
617
  data: string;
616
- type: TriggerType;
618
+ type: 0 | 1;
617
619
  }>;
618
620
  }, "strip", z.ZodTypeAny, {
619
621
  user: string;
@@ -622,7 +624,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
622
624
  hash: string;
623
625
  trigger: {
624
626
  data: string;
625
- type: TriggerType;
627
+ type: 0 | 1;
626
628
  };
627
629
  input: Record<string, unknown>;
628
630
  callbackUrl: string;
@@ -735,7 +737,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
735
737
  hash: string;
736
738
  trigger: {
737
739
  data: string;
738
- type: TriggerType;
740
+ type: 0 | 1;
739
741
  };
740
742
  input: Record<string, unknown>;
741
743
  callbackUrl: string;
@@ -848,7 +850,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
848
850
  hash: string;
849
851
  trigger: {
850
852
  data: string;
851
- type: TriggerType;
853
+ type: 0 | 1;
852
854
  };
853
855
  input: Record<string, unknown>;
854
856
  callbackUrl: string;
@@ -961,7 +963,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
961
963
  hash: string;
962
964
  trigger: {
963
965
  data: string;
964
- type: TriggerType;
966
+ type: 0 | 1;
965
967
  };
966
968
  input: Record<string, unknown>;
967
969
  callbackUrl: string;
@@ -1 +1 @@
1
- {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/runner/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,OAAO,EAML,WAAW,EAEZ,MAAM,WAAW,CAAA;AAElB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBrC,CAAA;AAEJ,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAA"}
@@ -1,5 +1,4 @@
1
1
  import { CronExecutionData, EventExecutionData, EvmCallIntent, EvmCallIntentData, Execution, Intent, Proposal, SvmCallIntent, SvmCallIntentData, SwapIntent, SwapIntentData, SwapProposalData, TransferIntent, TransferIntentData } from '../types';
2
- import { OpType } from '../validators';
3
2
  export declare function hashIntent(intent: Intent): string;
4
3
  export declare function encodeIntent(intent: Intent): string;
5
4
  export declare function hashProposal(proposal: Proposal, intentOrHash: string | Intent): string;
@@ -16,7 +15,7 @@ export declare function encodeEventExecution(execution: EventExecutionData): str
16
15
  export declare function toRawIntent(output: Omit<SwapIntent, 'data'> | Omit<TransferIntent, 'data'> | Omit<EvmCallIntent, 'data'> | Omit<SvmCallIntent, 'data'>): {
17
16
  data: string;
18
17
  hash: string;
19
- op: OpType;
18
+ op: 0 | 1 | 2 | 3;
20
19
  user: string;
21
20
  settler: string;
22
21
  nonce: string;
@@ -45,7 +44,7 @@ export declare function toRawIntent(output: Omit<SwapIntent, 'data'> | Omit<Tran
45
44
  } | {
46
45
  data: string;
47
46
  hash: string;
48
- op: OpType;
47
+ op: 0 | 1 | 2 | 3;
49
48
  user: string;
50
49
  settler: string;
51
50
  nonce: string;
@@ -69,7 +68,7 @@ export declare function toRawIntent(output: Omit<SwapIntent, 'data'> | Omit<Tran
69
68
  } | {
70
69
  data: string;
71
70
  hash: string;
72
- op: OpType;
71
+ op: 0 | 1 | 2 | 3;
73
72
  user: string;
74
73
  settler: string;
75
74
  nonce: string;
@@ -93,7 +92,7 @@ export declare function toRawIntent(output: Omit<SwapIntent, 'data'> | Omit<Tran
93
92
  } | {
94
93
  data: string;
95
94
  hash: string;
96
- op: OpType;
95
+ op: 0 | 1 | 2 | 3;
97
96
  user: string;
98
97
  settler: string;
99
98
  nonce: string;
@@ -1 +1 @@
1
- {"version":3,"file":"encoder.d.ts","sourceRoot":"","sources":["../../../src/shared/codec/encoder.ts"],"names":[],"mappings":"AASA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAEjB,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAKtC,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAGnD;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAEtF;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBhC"}
@@ -54,10 +54,9 @@ function encodeFees(fees) {
54
54
  function encodeSwapIntent(intent) {
55
55
  if (intent.sourceChain === utils_1.Chains.Solana && intent.destinationChain === utils_1.Chains.Solana)
56
56
  return (0, svm_1.svmEncodeSwapIntent)(intent);
57
- else if (intent.sourceChain !== utils_1.Chains.Solana && intent.destinationChain !== utils_1.Chains.Solana)
57
+ if (intent.sourceChain !== utils_1.Chains.Solana && intent.destinationChain !== utils_1.Chains.Solana)
58
58
  return (0, evm_1.evmEncodeSwapIntent)(intent);
59
- else
60
- throw new Error('Unsupported combination of sourceChain and destinationChain for Swap Intent');
59
+ throw new Error('Unsupported combination of sourceChain and destinationChain for Swap Intent');
61
60
  }
62
61
  function encodeSwapProposal(proposal) {
63
62
  return ethers_1.AbiCoder.defaultAbiCoder().encode([eip712Types_1.SWAP_PROPOSAL_ABI_TYPE], [[proposal.executor, proposal.executorData, proposal.amountsOut]]);