@mimicprotocol/sdk 0.0.1-rc.11 → 0.0.1-rc.13

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 (35) hide show
  1. package/dist/axia/validators.d.ts +454 -36
  2. package/dist/axia/validators.d.ts.map +1 -1
  3. package/dist/axia/validators.js +5 -1
  4. package/dist/axia/validators.js.map +1 -1
  5. package/dist/client/domains/ConfigsClient.d.ts +1 -1
  6. package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
  7. package/dist/client/domains/ConfigsClient.js +2 -1
  8. package/dist/client/domains/ConfigsClient.js.map +1 -1
  9. package/dist/oracle/eip712Types.d.ts +18 -0
  10. package/dist/oracle/eip712Types.d.ts.map +1 -1
  11. package/dist/oracle/eip712Types.js +17 -0
  12. package/dist/oracle/eip712Types.js.map +1 -1
  13. package/dist/oracle/types.d.ts +8 -1
  14. package/dist/oracle/types.d.ts.map +1 -1
  15. package/dist/oracle/validators.d.ts +236 -12
  16. package/dist/oracle/validators.d.ts.map +1 -1
  17. package/dist/oracle/validators.js +16 -1
  18. package/dist/oracle/validators.js.map +1 -1
  19. package/dist/registry/validators.d.ts +0 -6
  20. package/dist/registry/validators.d.ts.map +1 -1
  21. package/dist/registry/validators.js +0 -1
  22. package/dist/registry/validators.js.map +1 -1
  23. package/dist/relayer/validators.d.ts +334 -30
  24. package/dist/relayer/validators.d.ts.map +1 -1
  25. package/dist/runner/validators.d.ts +146 -12
  26. package/dist/runner/validators.d.ts.map +1 -1
  27. package/dist/shared/utils/index.d.ts +1 -0
  28. package/dist/shared/utils/index.d.ts.map +1 -1
  29. package/dist/shared/utils/index.js +1 -0
  30. package/dist/shared/utils/index.js.map +1 -1
  31. package/dist/shared/utils/time.d.ts +11 -0
  32. package/dist/shared/utils/time.d.ts.map +1 -0
  33. package/dist/shared/utils/time.js +42 -0
  34. package/dist/shared/utils/time.js.map +1 -0
  35. package/package.json +1 -1
@@ -742,7 +742,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
742
742
  result: {
743
743
  value: string;
744
744
  };
745
- signature: string;
746
745
  query: {
747
746
  params: {
748
747
  chainId: number;
@@ -753,11 +752,11 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
753
752
  name: "EvmCallQuery";
754
753
  hash: string;
755
754
  };
755
+ signature: string;
756
756
  }, {
757
757
  result: {
758
758
  value: string;
759
759
  };
760
- signature: string;
761
760
  query: {
762
761
  params: {
763
762
  chainId: number;
@@ -768,6 +767,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
768
767
  name: "EvmCallQuery";
769
768
  hash: string;
770
769
  };
770
+ signature: string;
771
771
  }>, z.ZodObject<{
772
772
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
773
773
  query: z.ZodObject<{
@@ -830,7 +830,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
830
830
  result: {
831
831
  value: string;
832
832
  };
833
- signature: string;
834
833
  query: {
835
834
  params: {
836
835
  timestamp: number;
@@ -842,11 +841,11 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
842
841
  name: "TokenPriceQuery";
843
842
  hash: string;
844
843
  };
844
+ signature: string;
845
845
  }, {
846
846
  result: {
847
847
  value: string;
848
848
  };
849
- signature: string;
850
849
  query: {
851
850
  params: {
852
851
  timestamp: number;
@@ -858,6 +857,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
858
857
  name: "TokenPriceQuery";
859
858
  hash: string;
860
859
  };
860
+ signature: string;
861
861
  }>, z.ZodObject<{
862
862
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
863
863
  query: z.ZodObject<{
@@ -982,7 +982,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
982
982
  balance: string;
983
983
  }[];
984
984
  };
985
- signature: string;
986
985
  query: {
987
986
  params: {
988
987
  timestamp: number;
@@ -998,6 +997,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
998
997
  name: "RelevantTokensQuery";
999
998
  hash: string;
1000
999
  };
1000
+ signature: string;
1001
1001
  }, {
1002
1002
  result: {
1003
1003
  value: {
@@ -1008,7 +1008,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1008
1008
  balance: string;
1009
1009
  }[];
1010
1010
  };
1011
- signature: string;
1012
1011
  query: {
1013
1012
  params: {
1014
1013
  timestamp: number;
@@ -1024,6 +1023,105 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1024
1023
  name: "RelevantTokensQuery";
1025
1024
  hash: string;
1026
1025
  };
1026
+ signature: string;
1027
+ }>, z.ZodObject<{
1028
+ signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1029
+ query: z.ZodObject<{
1030
+ name: z.ZodLiteral<"SubgraphQuery">;
1031
+ hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1032
+ params: z.ZodObject<{
1033
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
1034
+ timestamp: z.ZodEffects<z.ZodNumber, number, number>;
1035
+ subgraphId: z.ZodString;
1036
+ query: z.ZodString;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ chainId: number;
1039
+ timestamp: number;
1040
+ subgraphId: string;
1041
+ query: string;
1042
+ }, {
1043
+ chainId: number;
1044
+ timestamp: number;
1045
+ subgraphId: string;
1046
+ query: string;
1047
+ }>;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ params: {
1050
+ chainId: number;
1051
+ timestamp: number;
1052
+ subgraphId: string;
1053
+ query: string;
1054
+ };
1055
+ name: "SubgraphQuery";
1056
+ hash: string;
1057
+ }, {
1058
+ params: {
1059
+ chainId: number;
1060
+ timestamp: number;
1061
+ subgraphId: string;
1062
+ query: string;
1063
+ };
1064
+ name: "SubgraphQuery";
1065
+ hash: string;
1066
+ }>;
1067
+ result: z.ZodObject<{
1068
+ value: z.ZodObject<{
1069
+ blockNumber: z.ZodNumber;
1070
+ data: z.ZodString;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ data: string;
1073
+ blockNumber: number;
1074
+ }, {
1075
+ data: string;
1076
+ blockNumber: number;
1077
+ }>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ value: {
1080
+ data: string;
1081
+ blockNumber: number;
1082
+ };
1083
+ }, {
1084
+ value: {
1085
+ data: string;
1086
+ blockNumber: number;
1087
+ };
1088
+ }>;
1089
+ }, "strip", z.ZodTypeAny, {
1090
+ result: {
1091
+ value: {
1092
+ data: string;
1093
+ blockNumber: number;
1094
+ };
1095
+ };
1096
+ query: {
1097
+ params: {
1098
+ chainId: number;
1099
+ timestamp: number;
1100
+ subgraphId: string;
1101
+ query: string;
1102
+ };
1103
+ name: "SubgraphQuery";
1104
+ hash: string;
1105
+ };
1106
+ signature: string;
1107
+ }, {
1108
+ result: {
1109
+ value: {
1110
+ data: string;
1111
+ blockNumber: number;
1112
+ };
1113
+ };
1114
+ query: {
1115
+ params: {
1116
+ chainId: number;
1117
+ timestamp: number;
1118
+ subgraphId: string;
1119
+ query: string;
1120
+ };
1121
+ name: "SubgraphQuery";
1122
+ hash: string;
1123
+ };
1124
+ signature: string;
1027
1125
  }>]>, "many">;
1028
1126
  outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1029
1127
  op: z.ZodNativeEnum<typeof import("../shared").OpType>;
@@ -1112,7 +1210,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1112
1210
  result: {
1113
1211
  value: string;
1114
1212
  };
1115
- signature: string;
1116
1213
  query: {
1117
1214
  params: {
1118
1215
  chainId: number;
@@ -1123,11 +1220,11 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1123
1220
  name: "EvmCallQuery";
1124
1221
  hash: string;
1125
1222
  };
1223
+ signature: string;
1126
1224
  } | {
1127
1225
  result: {
1128
1226
  value: string;
1129
1227
  };
1130
- signature: string;
1131
1228
  query: {
1132
1229
  params: {
1133
1230
  timestamp: number;
@@ -1139,6 +1236,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1139
1236
  name: "TokenPriceQuery";
1140
1237
  hash: string;
1141
1238
  };
1239
+ signature: string;
1142
1240
  } | {
1143
1241
  result: {
1144
1242
  value: {
@@ -1149,7 +1247,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1149
1247
  balance: string;
1150
1248
  }[];
1151
1249
  };
1152
- signature: string;
1153
1250
  query: {
1154
1251
  params: {
1155
1252
  timestamp: number;
@@ -1165,6 +1262,25 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1165
1262
  name: "RelevantTokensQuery";
1166
1263
  hash: string;
1167
1264
  };
1265
+ signature: string;
1266
+ } | {
1267
+ result: {
1268
+ value: {
1269
+ data: string;
1270
+ blockNumber: number;
1271
+ };
1272
+ };
1273
+ query: {
1274
+ params: {
1275
+ chainId: number;
1276
+ timestamp: number;
1277
+ subgraphId: string;
1278
+ query: string;
1279
+ };
1280
+ name: "SubgraphQuery";
1281
+ hash: string;
1282
+ };
1283
+ signature: string;
1168
1284
  })[];
1169
1285
  outputs: {
1170
1286
  data: string;
@@ -1202,7 +1318,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1202
1318
  result: {
1203
1319
  value: string;
1204
1320
  };
1205
- signature: string;
1206
1321
  query: {
1207
1322
  params: {
1208
1323
  chainId: number;
@@ -1213,11 +1328,11 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1213
1328
  name: "EvmCallQuery";
1214
1329
  hash: string;
1215
1330
  };
1331
+ signature: string;
1216
1332
  } | {
1217
1333
  result: {
1218
1334
  value: string;
1219
1335
  };
1220
- signature: string;
1221
1336
  query: {
1222
1337
  params: {
1223
1338
  timestamp: number;
@@ -1229,6 +1344,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1229
1344
  name: "TokenPriceQuery";
1230
1345
  hash: string;
1231
1346
  };
1347
+ signature: string;
1232
1348
  } | {
1233
1349
  result: {
1234
1350
  value: {
@@ -1239,7 +1355,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1239
1355
  balance: string;
1240
1356
  }[];
1241
1357
  };
1242
- signature: string;
1243
1358
  query: {
1244
1359
  params: {
1245
1360
  timestamp: number;
@@ -1255,6 +1370,25 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
1255
1370
  name: "RelevantTokensQuery";
1256
1371
  hash: string;
1257
1372
  };
1373
+ signature: string;
1374
+ } | {
1375
+ result: {
1376
+ value: {
1377
+ data: string;
1378
+ blockNumber: number;
1379
+ };
1380
+ };
1381
+ query: {
1382
+ params: {
1383
+ chainId: number;
1384
+ timestamp: number;
1385
+ subgraphId: string;
1386
+ query: string;
1387
+ };
1388
+ name: "SubgraphQuery";
1389
+ hash: string;
1390
+ };
1391
+ signature: string;
1258
1392
  })[];
1259
1393
  outputs: {
1260
1394
  data: string;
@@ -1304,12 +1438,15 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
1304
1438
  export declare const ExecutionValidationValidator: z.ZodObject<{
1305
1439
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1306
1440
  succeeded: z.ZodBoolean;
1441
+ description: z.ZodOptional<z.ZodString>;
1307
1442
  }, "strip", z.ZodTypeAny, {
1308
1443
  succeeded: boolean;
1309
1444
  signature: string;
1445
+ description?: string | undefined;
1310
1446
  }, {
1311
1447
  succeeded: boolean;
1312
1448
  signature: string;
1449
+ description?: string | undefined;
1313
1450
  }>;
1314
1451
  export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1315
1452
  configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -1380,7 +1517,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1380
1517
  result: {
1381
1518
  value: string;
1382
1519
  };
1383
- signature: string;
1384
1520
  query: {
1385
1521
  params: {
1386
1522
  chainId: number;
@@ -1391,11 +1527,11 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1391
1527
  name: "EvmCallQuery";
1392
1528
  hash: string;
1393
1529
  };
1530
+ signature: string;
1394
1531
  }, {
1395
1532
  result: {
1396
1533
  value: string;
1397
1534
  };
1398
- signature: string;
1399
1535
  query: {
1400
1536
  params: {
1401
1537
  chainId: number;
@@ -1406,6 +1542,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1406
1542
  name: "EvmCallQuery";
1407
1543
  hash: string;
1408
1544
  };
1545
+ signature: string;
1409
1546
  }>, z.ZodObject<{
1410
1547
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1411
1548
  query: z.ZodObject<{
@@ -1468,7 +1605,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1468
1605
  result: {
1469
1606
  value: string;
1470
1607
  };
1471
- signature: string;
1472
1608
  query: {
1473
1609
  params: {
1474
1610
  timestamp: number;
@@ -1480,11 +1616,11 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1480
1616
  name: "TokenPriceQuery";
1481
1617
  hash: string;
1482
1618
  };
1619
+ signature: string;
1483
1620
  }, {
1484
1621
  result: {
1485
1622
  value: string;
1486
1623
  };
1487
- signature: string;
1488
1624
  query: {
1489
1625
  params: {
1490
1626
  timestamp: number;
@@ -1496,6 +1632,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1496
1632
  name: "TokenPriceQuery";
1497
1633
  hash: string;
1498
1634
  };
1635
+ signature: string;
1499
1636
  }>, z.ZodObject<{
1500
1637
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1501
1638
  query: z.ZodObject<{
@@ -1620,7 +1757,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1620
1757
  balance: string;
1621
1758
  }[];
1622
1759
  };
1623
- signature: string;
1624
1760
  query: {
1625
1761
  params: {
1626
1762
  timestamp: number;
@@ -1636,6 +1772,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1636
1772
  name: "RelevantTokensQuery";
1637
1773
  hash: string;
1638
1774
  };
1775
+ signature: string;
1639
1776
  }, {
1640
1777
  result: {
1641
1778
  value: {
@@ -1646,7 +1783,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1646
1783
  balance: string;
1647
1784
  }[];
1648
1785
  };
1649
- signature: string;
1650
1786
  query: {
1651
1787
  params: {
1652
1788
  timestamp: number;
@@ -1662,6 +1798,105 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1662
1798
  name: "RelevantTokensQuery";
1663
1799
  hash: string;
1664
1800
  };
1801
+ signature: string;
1802
+ }>, z.ZodObject<{
1803
+ signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1804
+ query: z.ZodObject<{
1805
+ name: z.ZodLiteral<"SubgraphQuery">;
1806
+ hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1807
+ params: z.ZodObject<{
1808
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
1809
+ timestamp: z.ZodEffects<z.ZodNumber, number, number>;
1810
+ subgraphId: z.ZodString;
1811
+ query: z.ZodString;
1812
+ }, "strip", z.ZodTypeAny, {
1813
+ chainId: number;
1814
+ timestamp: number;
1815
+ subgraphId: string;
1816
+ query: string;
1817
+ }, {
1818
+ chainId: number;
1819
+ timestamp: number;
1820
+ subgraphId: string;
1821
+ query: string;
1822
+ }>;
1823
+ }, "strip", z.ZodTypeAny, {
1824
+ params: {
1825
+ chainId: number;
1826
+ timestamp: number;
1827
+ subgraphId: string;
1828
+ query: string;
1829
+ };
1830
+ name: "SubgraphQuery";
1831
+ hash: string;
1832
+ }, {
1833
+ params: {
1834
+ chainId: number;
1835
+ timestamp: number;
1836
+ subgraphId: string;
1837
+ query: string;
1838
+ };
1839
+ name: "SubgraphQuery";
1840
+ hash: string;
1841
+ }>;
1842
+ result: z.ZodObject<{
1843
+ value: z.ZodObject<{
1844
+ blockNumber: z.ZodNumber;
1845
+ data: z.ZodString;
1846
+ }, "strip", z.ZodTypeAny, {
1847
+ data: string;
1848
+ blockNumber: number;
1849
+ }, {
1850
+ data: string;
1851
+ blockNumber: number;
1852
+ }>;
1853
+ }, "strip", z.ZodTypeAny, {
1854
+ value: {
1855
+ data: string;
1856
+ blockNumber: number;
1857
+ };
1858
+ }, {
1859
+ value: {
1860
+ data: string;
1861
+ blockNumber: number;
1862
+ };
1863
+ }>;
1864
+ }, "strip", z.ZodTypeAny, {
1865
+ result: {
1866
+ value: {
1867
+ data: string;
1868
+ blockNumber: number;
1869
+ };
1870
+ };
1871
+ query: {
1872
+ params: {
1873
+ chainId: number;
1874
+ timestamp: number;
1875
+ subgraphId: string;
1876
+ query: string;
1877
+ };
1878
+ name: "SubgraphQuery";
1879
+ hash: string;
1880
+ };
1881
+ signature: string;
1882
+ }, {
1883
+ result: {
1884
+ value: {
1885
+ data: string;
1886
+ blockNumber: number;
1887
+ };
1888
+ };
1889
+ query: {
1890
+ params: {
1891
+ chainId: number;
1892
+ timestamp: number;
1893
+ subgraphId: string;
1894
+ query: string;
1895
+ };
1896
+ name: "SubgraphQuery";
1897
+ hash: string;
1898
+ };
1899
+ signature: string;
1665
1900
  }>]>, "many">;
1666
1901
  outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1667
1902
  op: z.ZodNativeEnum<typeof import("../shared").OpType>;
@@ -1767,12 +2002,15 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1767
2002
  validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1768
2003
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1769
2004
  succeeded: z.ZodBoolean;
2005
+ description: z.ZodOptional<z.ZodString>;
1770
2006
  }, "strip", z.ZodTypeAny, {
1771
2007
  succeeded: boolean;
1772
2008
  signature: string;
2009
+ description?: string | undefined;
1773
2010
  }, {
1774
2011
  succeeded: boolean;
1775
2012
  signature: string;
2013
+ description?: string | undefined;
1776
2014
  }>, "many">>;
1777
2015
  }>, "strip", z.ZodTypeAny, {
1778
2016
  result: ExecutionResult;
@@ -1789,7 +2027,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1789
2027
  result: {
1790
2028
  value: string;
1791
2029
  };
1792
- signature: string;
1793
2030
  query: {
1794
2031
  params: {
1795
2032
  chainId: number;
@@ -1800,11 +2037,11 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1800
2037
  name: "EvmCallQuery";
1801
2038
  hash: string;
1802
2039
  };
2040
+ signature: string;
1803
2041
  } | {
1804
2042
  result: {
1805
2043
  value: string;
1806
2044
  };
1807
- signature: string;
1808
2045
  query: {
1809
2046
  params: {
1810
2047
  timestamp: number;
@@ -1816,6 +2053,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1816
2053
  name: "TokenPriceQuery";
1817
2054
  hash: string;
1818
2055
  };
2056
+ signature: string;
1819
2057
  } | {
1820
2058
  result: {
1821
2059
  value: {
@@ -1826,7 +2064,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1826
2064
  balance: string;
1827
2065
  }[];
1828
2066
  };
1829
- signature: string;
1830
2067
  query: {
1831
2068
  params: {
1832
2069
  timestamp: number;
@@ -1842,6 +2079,25 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1842
2079
  name: "RelevantTokensQuery";
1843
2080
  hash: string;
1844
2081
  };
2082
+ signature: string;
2083
+ } | {
2084
+ result: {
2085
+ value: {
2086
+ data: string;
2087
+ blockNumber: number;
2088
+ };
2089
+ };
2090
+ query: {
2091
+ params: {
2092
+ chainId: number;
2093
+ timestamp: number;
2094
+ subgraphId: string;
2095
+ query: string;
2096
+ };
2097
+ name: "SubgraphQuery";
2098
+ hash: string;
2099
+ };
2100
+ signature: string;
1845
2101
  })[];
1846
2102
  outputs: {
1847
2103
  data: string;
@@ -1866,6 +2122,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1866
2122
  validations?: {
1867
2123
  succeeded: boolean;
1868
2124
  signature: string;
2125
+ description?: string | undefined;
1869
2126
  }[] | undefined;
1870
2127
  logs?: string[] | undefined;
1871
2128
  errorLogs?: string[] | undefined;
@@ -1893,7 +2150,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1893
2150
  result: {
1894
2151
  value: string;
1895
2152
  };
1896
- signature: string;
1897
2153
  query: {
1898
2154
  params: {
1899
2155
  chainId: number;
@@ -1904,11 +2160,11 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1904
2160
  name: "EvmCallQuery";
1905
2161
  hash: string;
1906
2162
  };
2163
+ signature: string;
1907
2164
  } | {
1908
2165
  result: {
1909
2166
  value: string;
1910
2167
  };
1911
- signature: string;
1912
2168
  query: {
1913
2169
  params: {
1914
2170
  timestamp: number;
@@ -1920,6 +2176,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1920
2176
  name: "TokenPriceQuery";
1921
2177
  hash: string;
1922
2178
  };
2179
+ signature: string;
1923
2180
  } | {
1924
2181
  result: {
1925
2182
  value: {
@@ -1930,7 +2187,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1930
2187
  balance: string;
1931
2188
  }[];
1932
2189
  };
1933
- signature: string;
1934
2190
  query: {
1935
2191
  params: {
1936
2192
  timestamp: number;
@@ -1946,6 +2202,25 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1946
2202
  name: "RelevantTokensQuery";
1947
2203
  hash: string;
1948
2204
  };
2205
+ signature: string;
2206
+ } | {
2207
+ result: {
2208
+ value: {
2209
+ data: string;
2210
+ blockNumber: number;
2211
+ };
2212
+ };
2213
+ query: {
2214
+ params: {
2215
+ chainId: number;
2216
+ timestamp: number;
2217
+ subgraphId: string;
2218
+ query: string;
2219
+ };
2220
+ name: "SubgraphQuery";
2221
+ hash: string;
2222
+ };
2223
+ signature: string;
1949
2224
  })[];
1950
2225
  outputs: {
1951
2226
  data: string;
@@ -1970,6 +2245,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
1970
2245
  validations?: {
1971
2246
  succeeded: boolean;
1972
2247
  signature: string;
2248
+ description?: string | undefined;
1973
2249
  }[] | undefined;
1974
2250
  logs?: string[] | undefined;
1975
2251
  errorLogs?: string[] | undefined;
@@ -2052,7 +2328,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2052
2328
  result: {
2053
2329
  value: string;
2054
2330
  };
2055
- signature: string;
2056
2331
  query: {
2057
2332
  params: {
2058
2333
  chainId: number;
@@ -2063,11 +2338,11 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2063
2338
  name: "EvmCallQuery";
2064
2339
  hash: string;
2065
2340
  };
2341
+ signature: string;
2066
2342
  }, {
2067
2343
  result: {
2068
2344
  value: string;
2069
2345
  };
2070
- signature: string;
2071
2346
  query: {
2072
2347
  params: {
2073
2348
  chainId: number;
@@ -2078,6 +2353,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2078
2353
  name: "EvmCallQuery";
2079
2354
  hash: string;
2080
2355
  };
2356
+ signature: string;
2081
2357
  }>, z.ZodObject<{
2082
2358
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2083
2359
  query: z.ZodObject<{
@@ -2140,7 +2416,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2140
2416
  result: {
2141
2417
  value: string;
2142
2418
  };
2143
- signature: string;
2144
2419
  query: {
2145
2420
  params: {
2146
2421
  timestamp: number;
@@ -2152,11 +2427,11 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2152
2427
  name: "TokenPriceQuery";
2153
2428
  hash: string;
2154
2429
  };
2430
+ signature: string;
2155
2431
  }, {
2156
2432
  result: {
2157
2433
  value: string;
2158
2434
  };
2159
- signature: string;
2160
2435
  query: {
2161
2436
  params: {
2162
2437
  timestamp: number;
@@ -2168,6 +2443,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2168
2443
  name: "TokenPriceQuery";
2169
2444
  hash: string;
2170
2445
  };
2446
+ signature: string;
2171
2447
  }>, z.ZodObject<{
2172
2448
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2173
2449
  query: z.ZodObject<{
@@ -2292,7 +2568,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2292
2568
  balance: string;
2293
2569
  }[];
2294
2570
  };
2295
- signature: string;
2296
2571
  query: {
2297
2572
  params: {
2298
2573
  timestamp: number;
@@ -2308,6 +2583,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2308
2583
  name: "RelevantTokensQuery";
2309
2584
  hash: string;
2310
2585
  };
2586
+ signature: string;
2311
2587
  }, {
2312
2588
  result: {
2313
2589
  value: {
@@ -2318,7 +2594,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2318
2594
  balance: string;
2319
2595
  }[];
2320
2596
  };
2321
- signature: string;
2322
2597
  query: {
2323
2598
  params: {
2324
2599
  timestamp: number;
@@ -2334,6 +2609,105 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2334
2609
  name: "RelevantTokensQuery";
2335
2610
  hash: string;
2336
2611
  };
2612
+ signature: string;
2613
+ }>, z.ZodObject<{
2614
+ signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2615
+ query: z.ZodObject<{
2616
+ name: z.ZodLiteral<"SubgraphQuery">;
2617
+ hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2618
+ params: z.ZodObject<{
2619
+ chainId: z.ZodEffects<z.ZodNumber, number, number>;
2620
+ timestamp: z.ZodEffects<z.ZodNumber, number, number>;
2621
+ subgraphId: z.ZodString;
2622
+ query: z.ZodString;
2623
+ }, "strip", z.ZodTypeAny, {
2624
+ chainId: number;
2625
+ timestamp: number;
2626
+ subgraphId: string;
2627
+ query: string;
2628
+ }, {
2629
+ chainId: number;
2630
+ timestamp: number;
2631
+ subgraphId: string;
2632
+ query: string;
2633
+ }>;
2634
+ }, "strip", z.ZodTypeAny, {
2635
+ params: {
2636
+ chainId: number;
2637
+ timestamp: number;
2638
+ subgraphId: string;
2639
+ query: string;
2640
+ };
2641
+ name: "SubgraphQuery";
2642
+ hash: string;
2643
+ }, {
2644
+ params: {
2645
+ chainId: number;
2646
+ timestamp: number;
2647
+ subgraphId: string;
2648
+ query: string;
2649
+ };
2650
+ name: "SubgraphQuery";
2651
+ hash: string;
2652
+ }>;
2653
+ result: z.ZodObject<{
2654
+ value: z.ZodObject<{
2655
+ blockNumber: z.ZodNumber;
2656
+ data: z.ZodString;
2657
+ }, "strip", z.ZodTypeAny, {
2658
+ data: string;
2659
+ blockNumber: number;
2660
+ }, {
2661
+ data: string;
2662
+ blockNumber: number;
2663
+ }>;
2664
+ }, "strip", z.ZodTypeAny, {
2665
+ value: {
2666
+ data: string;
2667
+ blockNumber: number;
2668
+ };
2669
+ }, {
2670
+ value: {
2671
+ data: string;
2672
+ blockNumber: number;
2673
+ };
2674
+ }>;
2675
+ }, "strip", z.ZodTypeAny, {
2676
+ result: {
2677
+ value: {
2678
+ data: string;
2679
+ blockNumber: number;
2680
+ };
2681
+ };
2682
+ query: {
2683
+ params: {
2684
+ chainId: number;
2685
+ timestamp: number;
2686
+ subgraphId: string;
2687
+ query: string;
2688
+ };
2689
+ name: "SubgraphQuery";
2690
+ hash: string;
2691
+ };
2692
+ signature: string;
2693
+ }, {
2694
+ result: {
2695
+ value: {
2696
+ data: string;
2697
+ blockNumber: number;
2698
+ };
2699
+ };
2700
+ query: {
2701
+ params: {
2702
+ chainId: number;
2703
+ timestamp: number;
2704
+ subgraphId: string;
2705
+ query: string;
2706
+ };
2707
+ name: "SubgraphQuery";
2708
+ hash: string;
2709
+ };
2710
+ signature: string;
2337
2711
  }>]>, "many">;
2338
2712
  outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2339
2713
  op: z.ZodNativeEnum<typeof import("../shared").OpType>;
@@ -2439,12 +2813,15 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2439
2813
  validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2440
2814
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2441
2815
  succeeded: z.ZodBoolean;
2816
+ description: z.ZodOptional<z.ZodString>;
2442
2817
  }, "strip", z.ZodTypeAny, {
2443
2818
  succeeded: boolean;
2444
2819
  signature: string;
2820
+ description?: string | undefined;
2445
2821
  }, {
2446
2822
  succeeded: boolean;
2447
2823
  signature: string;
2824
+ description?: string | undefined;
2448
2825
  }>, "many">>;
2449
2826
  }>, "strip", z.ZodTypeAny, {
2450
2827
  result: ExecutionResult;
@@ -2461,7 +2838,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2461
2838
  result: {
2462
2839
  value: string;
2463
2840
  };
2464
- signature: string;
2465
2841
  query: {
2466
2842
  params: {
2467
2843
  chainId: number;
@@ -2472,11 +2848,11 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2472
2848
  name: "EvmCallQuery";
2473
2849
  hash: string;
2474
2850
  };
2851
+ signature: string;
2475
2852
  } | {
2476
2853
  result: {
2477
2854
  value: string;
2478
2855
  };
2479
- signature: string;
2480
2856
  query: {
2481
2857
  params: {
2482
2858
  timestamp: number;
@@ -2488,6 +2864,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2488
2864
  name: "TokenPriceQuery";
2489
2865
  hash: string;
2490
2866
  };
2867
+ signature: string;
2491
2868
  } | {
2492
2869
  result: {
2493
2870
  value: {
@@ -2498,7 +2875,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2498
2875
  balance: string;
2499
2876
  }[];
2500
2877
  };
2501
- signature: string;
2502
2878
  query: {
2503
2879
  params: {
2504
2880
  timestamp: number;
@@ -2514,6 +2890,25 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2514
2890
  name: "RelevantTokensQuery";
2515
2891
  hash: string;
2516
2892
  };
2893
+ signature: string;
2894
+ } | {
2895
+ result: {
2896
+ value: {
2897
+ data: string;
2898
+ blockNumber: number;
2899
+ };
2900
+ };
2901
+ query: {
2902
+ params: {
2903
+ chainId: number;
2904
+ timestamp: number;
2905
+ subgraphId: string;
2906
+ query: string;
2907
+ };
2908
+ name: "SubgraphQuery";
2909
+ hash: string;
2910
+ };
2911
+ signature: string;
2517
2912
  })[];
2518
2913
  outputs: {
2519
2914
  data: string;
@@ -2538,6 +2933,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2538
2933
  validations?: {
2539
2934
  succeeded: boolean;
2540
2935
  signature: string;
2936
+ description?: string | undefined;
2541
2937
  }[] | undefined;
2542
2938
  logs?: string[] | undefined;
2543
2939
  errorLogs?: string[] | undefined;
@@ -2565,7 +2961,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2565
2961
  result: {
2566
2962
  value: string;
2567
2963
  };
2568
- signature: string;
2569
2964
  query: {
2570
2965
  params: {
2571
2966
  chainId: number;
@@ -2576,11 +2971,11 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2576
2971
  name: "EvmCallQuery";
2577
2972
  hash: string;
2578
2973
  };
2974
+ signature: string;
2579
2975
  } | {
2580
2976
  result: {
2581
2977
  value: string;
2582
2978
  };
2583
- signature: string;
2584
2979
  query: {
2585
2980
  params: {
2586
2981
  timestamp: number;
@@ -2592,6 +2987,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2592
2987
  name: "TokenPriceQuery";
2593
2988
  hash: string;
2594
2989
  };
2990
+ signature: string;
2595
2991
  } | {
2596
2992
  result: {
2597
2993
  value: {
@@ -2602,7 +2998,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2602
2998
  balance: string;
2603
2999
  }[];
2604
3000
  };
2605
- signature: string;
2606
3001
  query: {
2607
3002
  params: {
2608
3003
  timestamp: number;
@@ -2618,6 +3013,25 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2618
3013
  name: "RelevantTokensQuery";
2619
3014
  hash: string;
2620
3015
  };
3016
+ signature: string;
3017
+ } | {
3018
+ result: {
3019
+ value: {
3020
+ data: string;
3021
+ blockNumber: number;
3022
+ };
3023
+ };
3024
+ query: {
3025
+ params: {
3026
+ chainId: number;
3027
+ timestamp: number;
3028
+ subgraphId: string;
3029
+ query: string;
3030
+ };
3031
+ name: "SubgraphQuery";
3032
+ hash: string;
3033
+ };
3034
+ signature: string;
2621
3035
  })[];
2622
3036
  outputs: {
2623
3037
  data: string;
@@ -2642,6 +3056,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2642
3056
  validations?: {
2643
3057
  succeeded: boolean;
2644
3058
  signature: string;
3059
+ description?: string | undefined;
2645
3060
  }[] | undefined;
2646
3061
  logs?: string[] | undefined;
2647
3062
  errorLogs?: string[] | undefined;
@@ -2658,6 +3073,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
2658
3073
  export declare const ExecutionValidationRequestValidator: z.ZodObject<z.objectUtil.extendShape<{
2659
3074
  signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2660
3075
  succeeded: z.ZodBoolean;
3076
+ description: z.ZodOptional<z.ZodString>;
2661
3077
  }, {
2662
3078
  intents: z.ZodArray<z.ZodObject<{
2663
3079
  intent: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -2676,6 +3092,7 @@ export declare const ExecutionValidationRequestValidator: z.ZodObject<z.objectUt
2676
3092
  intent: string;
2677
3093
  signature: string;
2678
3094
  }[];
3095
+ description?: string | undefined;
2679
3096
  }, {
2680
3097
  succeeded: boolean;
2681
3098
  signature: string;
@@ -2683,6 +3100,7 @@ export declare const ExecutionValidationRequestValidator: z.ZodObject<z.objectUt
2683
3100
  intent: string;
2684
3101
  signature: string;
2685
3102
  }[];
3103
+ description?: string | undefined;
2686
3104
  }>;
2687
3105
  export declare const OracleFeeValidator: z.ZodObject<{
2688
3106
  address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;