@apibara/starknet 2.1.0-beta.13 → 2.1.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +308 -265
- package/dist/index.d.mts +308 -265
- package/dist/index.d.ts +308 -265
- package/package.json +2 -2
- package/src/block.ts +62 -0
- package/src/filter.ts +28 -0
package/dist/index.d.cts
CHANGED
|
@@ -1391,46 +1391,57 @@ declare const InvokeTransactionV0Filter: Schema.Struct<{
|
|
|
1391
1391
|
_tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
|
|
1392
1392
|
invokeV0: Schema.Struct<{}>;
|
|
1393
1393
|
}>;
|
|
1394
|
+
type InvokeTransactionV0Filter = typeof InvokeTransactionV0Filter.Type;
|
|
1394
1395
|
declare const InvokeTransactionV1Filter: Schema.Struct<{
|
|
1395
1396
|
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
1396
1397
|
invokeV1: Schema.Struct<{}>;
|
|
1397
1398
|
}>;
|
|
1399
|
+
type InvokeTransactionV1Filter = typeof InvokeTransactionV1Filter.Type;
|
|
1398
1400
|
declare const InvokeTransactionV3Filter: Schema.Struct<{
|
|
1399
1401
|
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
1400
1402
|
invokeV3: Schema.Struct<{}>;
|
|
1401
1403
|
}>;
|
|
1404
|
+
type InvokeTransactionV3Filter = typeof InvokeTransactionV3Filter.Type;
|
|
1402
1405
|
declare const DeployTransactionFilter: Schema.Struct<{
|
|
1403
1406
|
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
1404
1407
|
deploy: Schema.Struct<{}>;
|
|
1405
1408
|
}>;
|
|
1409
|
+
type DeployTransactionFilter = typeof DeployTransactionFilter.Type;
|
|
1406
1410
|
declare const DeclareV0TransactionFilter: Schema.Struct<{
|
|
1407
1411
|
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
1408
1412
|
declareV0: Schema.Struct<{}>;
|
|
1409
1413
|
}>;
|
|
1414
|
+
type DeclareV0TransactionFilter = typeof DeclareV0TransactionFilter.Type;
|
|
1410
1415
|
declare const DeclareV1TransactionFilter: Schema.Struct<{
|
|
1411
1416
|
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
1412
1417
|
declareV1: Schema.Struct<{}>;
|
|
1413
1418
|
}>;
|
|
1419
|
+
type DeclareV1TransactionFilter = typeof DeclareV1TransactionFilter.Type;
|
|
1414
1420
|
declare const DeclareV2TransactionFilter: Schema.Struct<{
|
|
1415
1421
|
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
1416
1422
|
declareV2: Schema.Struct<{}>;
|
|
1417
1423
|
}>;
|
|
1424
|
+
type DeclareV2TransactionFilter = typeof DeclareV2TransactionFilter.Type;
|
|
1418
1425
|
declare const DeclareV3TransactionFilter: Schema.Struct<{
|
|
1419
1426
|
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
1420
1427
|
declareV3: Schema.Struct<{}>;
|
|
1421
1428
|
}>;
|
|
1429
|
+
type DeclareV3TransactionFilter = typeof DeclareV3TransactionFilter.Type;
|
|
1422
1430
|
declare const L1HandlerTransactionFilter: Schema.Struct<{
|
|
1423
1431
|
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
1424
1432
|
l1Handler: Schema.Struct<{}>;
|
|
1425
1433
|
}>;
|
|
1434
|
+
type L1HandlerTransactionFilter = typeof L1HandlerTransactionFilter.Type;
|
|
1426
1435
|
declare const DeployAccountV1TransactionFilter: Schema.Struct<{
|
|
1427
1436
|
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
1428
1437
|
deployAccountV1: Schema.Struct<{}>;
|
|
1429
1438
|
}>;
|
|
1439
|
+
type DeployAccountV1TransactionFilter = typeof DeployAccountV1TransactionFilter.Type;
|
|
1430
1440
|
declare const DeployAccountV3TransactionFilter: Schema.Struct<{
|
|
1431
1441
|
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
1432
1442
|
deployAccountV3: Schema.Struct<{}>;
|
|
1433
1443
|
}>;
|
|
1444
|
+
type DeployAccountV3TransactionFilter = typeof DeployAccountV3TransactionFilter.Type;
|
|
1434
1445
|
/** Filter transactions.
|
|
1435
1446
|
*
|
|
1436
1447
|
* @prop transactionStatus Filter based on the transaction status.
|
|
@@ -1527,6 +1538,7 @@ declare const ContractChangeFilter: Schema.Struct<{
|
|
|
1527
1538
|
deployedContract: Schema.Struct<{}>;
|
|
1528
1539
|
}>]>>;
|
|
1529
1540
|
}>;
|
|
1541
|
+
type ContractChangeFilter = typeof ContractChangeFilter.Type;
|
|
1530
1542
|
/** Filter updates to nonces.
|
|
1531
1543
|
*
|
|
1532
1544
|
* @prop contractAddress Filter by contract address.
|
|
@@ -1540,6 +1552,7 @@ declare const NonceUpdateFilter: Schema.Struct<{
|
|
|
1540
1552
|
x3: typeof Schema.BigIntFromSelf;
|
|
1541
1553
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
1542
1554
|
}>;
|
|
1555
|
+
type NonceUpdateFilter = typeof NonceUpdateFilter.Type;
|
|
1543
1556
|
declare const Filter: Schema.Struct<{
|
|
1544
1557
|
header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
|
|
1545
1558
|
transactions: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
@@ -1667,130 +1680,130 @@ declare const Filter: Schema.Struct<{
|
|
|
1667
1680
|
}>;
|
|
1668
1681
|
type Filter = typeof Filter.Type;
|
|
1669
1682
|
declare const filterToProto: (a: {
|
|
1670
|
-
readonly header?: "
|
|
1683
|
+
readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
|
|
1671
1684
|
readonly transactions?: readonly {
|
|
1685
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
1672
1686
|
readonly id?: number | undefined;
|
|
1673
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1674
1687
|
readonly includeReceipt?: boolean | undefined;
|
|
1675
1688
|
readonly includeMessages?: boolean | undefined;
|
|
1676
1689
|
readonly includeEvents?: boolean | undefined;
|
|
1677
1690
|
readonly transactionType?: {
|
|
1678
|
-
readonly _tag: "invokeV0";
|
|
1679
1691
|
readonly invokeV0: {};
|
|
1692
|
+
readonly _tag: "invokeV0";
|
|
1680
1693
|
} | {
|
|
1681
|
-
readonly _tag: "invokeV1";
|
|
1682
1694
|
readonly invokeV1: {};
|
|
1695
|
+
readonly _tag: "invokeV1";
|
|
1683
1696
|
} | {
|
|
1684
|
-
readonly _tag: "invokeV3";
|
|
1685
1697
|
readonly invokeV3: {};
|
|
1698
|
+
readonly _tag: "invokeV3";
|
|
1686
1699
|
} | {
|
|
1687
|
-
readonly _tag: "deploy";
|
|
1688
1700
|
readonly deploy: {};
|
|
1701
|
+
readonly _tag: "deploy";
|
|
1689
1702
|
} | {
|
|
1690
|
-
readonly _tag: "declareV0";
|
|
1691
1703
|
readonly declareV0: {};
|
|
1704
|
+
readonly _tag: "declareV0";
|
|
1692
1705
|
} | {
|
|
1693
|
-
readonly _tag: "declareV1";
|
|
1694
1706
|
readonly declareV1: {};
|
|
1707
|
+
readonly _tag: "declareV1";
|
|
1695
1708
|
} | {
|
|
1696
|
-
readonly _tag: "declareV2";
|
|
1697
1709
|
readonly declareV2: {};
|
|
1710
|
+
readonly _tag: "declareV2";
|
|
1698
1711
|
} | {
|
|
1699
|
-
readonly _tag: "declareV3";
|
|
1700
1712
|
readonly declareV3: {};
|
|
1713
|
+
readonly _tag: "declareV3";
|
|
1701
1714
|
} | {
|
|
1702
|
-
readonly _tag: "l1Handler";
|
|
1703
1715
|
readonly l1Handler: {};
|
|
1716
|
+
readonly _tag: "l1Handler";
|
|
1704
1717
|
} | {
|
|
1705
|
-
readonly _tag: "deployAccountV1";
|
|
1706
1718
|
readonly deployAccountV1: {};
|
|
1719
|
+
readonly _tag: "deployAccountV1";
|
|
1707
1720
|
} | {
|
|
1708
|
-
readonly _tag: "deployAccountV3";
|
|
1709
1721
|
readonly deployAccountV3: {};
|
|
1722
|
+
readonly _tag: "deployAccountV3";
|
|
1710
1723
|
} | undefined;
|
|
1711
1724
|
}[] | undefined;
|
|
1712
1725
|
readonly events?: readonly {
|
|
1713
1726
|
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
1714
|
-
readonly
|
|
1715
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1716
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1717
|
-
readonly includeMessages?: boolean | undefined;
|
|
1727
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
1718
1728
|
readonly address?: `0x${string}` | undefined;
|
|
1729
|
+
readonly id?: number | undefined;
|
|
1719
1730
|
readonly strict?: boolean | undefined;
|
|
1720
1731
|
readonly includeTransaction?: boolean | undefined;
|
|
1732
|
+
readonly includeReceipt?: boolean | undefined;
|
|
1733
|
+
readonly includeMessages?: boolean | undefined;
|
|
1721
1734
|
readonly includeSiblings?: boolean | undefined;
|
|
1722
1735
|
}[] | undefined;
|
|
1723
1736
|
readonly messages?: readonly {
|
|
1737
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
1738
|
+
readonly fromAddress?: `0x${string}` | undefined;
|
|
1739
|
+
readonly toAddress?: `0x${string}` | undefined;
|
|
1724
1740
|
readonly id?: number | undefined;
|
|
1725
|
-
readonly
|
|
1741
|
+
readonly includeTransaction?: boolean | undefined;
|
|
1726
1742
|
readonly includeReceipt?: boolean | undefined;
|
|
1727
1743
|
readonly includeEvents?: boolean | undefined;
|
|
1728
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1729
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
1730
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
1731
1744
|
}[] | undefined;
|
|
1732
1745
|
readonly storageDiffs?: readonly {
|
|
1733
|
-
readonly id?: number | undefined;
|
|
1734
1746
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
1747
|
+
readonly id?: number | undefined;
|
|
1735
1748
|
}[] | undefined;
|
|
1736
1749
|
readonly contractChanges?: readonly {
|
|
1737
|
-
readonly id?: number | undefined;
|
|
1738
1750
|
readonly change?: {
|
|
1739
|
-
readonly _tag: "declaredClass";
|
|
1740
1751
|
readonly declaredClass: {};
|
|
1752
|
+
readonly _tag: "declaredClass";
|
|
1741
1753
|
} | {
|
|
1742
|
-
readonly _tag: "replacedClass";
|
|
1743
1754
|
readonly replacedClass: {};
|
|
1755
|
+
readonly _tag: "replacedClass";
|
|
1744
1756
|
} | {
|
|
1745
|
-
readonly _tag: "deployedContract";
|
|
1746
1757
|
readonly deployedContract: {};
|
|
1758
|
+
readonly _tag: "deployedContract";
|
|
1747
1759
|
} | undefined;
|
|
1760
|
+
readonly id?: number | undefined;
|
|
1748
1761
|
}[] | undefined;
|
|
1749
1762
|
readonly nonceUpdates?: readonly {
|
|
1750
|
-
readonly id?: number | undefined;
|
|
1751
1763
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
1764
|
+
readonly id?: number | undefined;
|
|
1752
1765
|
}[] | undefined;
|
|
1753
1766
|
}, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
1754
1767
|
readonly header?: HeaderFilter$1 | undefined;
|
|
1755
1768
|
readonly transactions?: readonly {
|
|
1756
|
-
readonly id?: number | undefined;
|
|
1757
1769
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1770
|
+
readonly id?: number | undefined;
|
|
1758
1771
|
readonly includeReceipt?: boolean | undefined;
|
|
1759
1772
|
readonly includeMessages?: boolean | undefined;
|
|
1760
1773
|
readonly includeEvents?: boolean | undefined;
|
|
1761
1774
|
readonly transactionType?: {
|
|
1762
|
-
readonly $case: "invokeV0";
|
|
1763
1775
|
readonly invokeV0: {};
|
|
1776
|
+
readonly $case: "invokeV0";
|
|
1764
1777
|
} | {
|
|
1765
|
-
readonly $case: "invokeV1";
|
|
1766
1778
|
readonly invokeV1: {};
|
|
1779
|
+
readonly $case: "invokeV1";
|
|
1767
1780
|
} | {
|
|
1768
|
-
readonly $case: "invokeV3";
|
|
1769
1781
|
readonly invokeV3: {};
|
|
1782
|
+
readonly $case: "invokeV3";
|
|
1770
1783
|
} | {
|
|
1771
|
-
readonly $case: "deploy";
|
|
1772
1784
|
readonly deploy: {};
|
|
1785
|
+
readonly $case: "deploy";
|
|
1773
1786
|
} | {
|
|
1774
|
-
readonly $case: "declareV0";
|
|
1775
1787
|
readonly declareV0: {};
|
|
1788
|
+
readonly $case: "declareV0";
|
|
1776
1789
|
} | {
|
|
1777
|
-
readonly $case: "declareV1";
|
|
1778
1790
|
readonly declareV1: {};
|
|
1791
|
+
readonly $case: "declareV1";
|
|
1779
1792
|
} | {
|
|
1780
|
-
readonly $case: "declareV2";
|
|
1781
1793
|
readonly declareV2: {};
|
|
1794
|
+
readonly $case: "declareV2";
|
|
1782
1795
|
} | {
|
|
1783
|
-
readonly $case: "declareV3";
|
|
1784
1796
|
readonly declareV3: {};
|
|
1797
|
+
readonly $case: "declareV3";
|
|
1785
1798
|
} | {
|
|
1786
|
-
readonly $case: "l1Handler";
|
|
1787
1799
|
readonly l1Handler: {};
|
|
1800
|
+
readonly $case: "l1Handler";
|
|
1788
1801
|
} | {
|
|
1789
|
-
readonly $case: "deployAccountV1";
|
|
1790
1802
|
readonly deployAccountV1: {};
|
|
1803
|
+
readonly $case: "deployAccountV1";
|
|
1791
1804
|
} | {
|
|
1792
|
-
readonly $case: "deployAccountV3";
|
|
1793
1805
|
readonly deployAccountV3: {};
|
|
1806
|
+
readonly $case: "deployAccountV3";
|
|
1794
1807
|
} | undefined;
|
|
1795
1808
|
}[] | undefined;
|
|
1796
1809
|
readonly events?: readonly {
|
|
@@ -1802,26 +1815,22 @@ declare const filterToProto: (a: {
|
|
|
1802
1815
|
readonly x3: bigint;
|
|
1803
1816
|
} | undefined;
|
|
1804
1817
|
}[] | undefined;
|
|
1805
|
-
readonly id?: number | undefined;
|
|
1806
1818
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1807
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1808
|
-
readonly includeMessages?: boolean | undefined;
|
|
1809
1819
|
readonly address?: {
|
|
1810
1820
|
readonly x0: bigint;
|
|
1811
1821
|
readonly x1: bigint;
|
|
1812
1822
|
readonly x2: bigint;
|
|
1813
1823
|
readonly x3: bigint;
|
|
1814
1824
|
} | undefined;
|
|
1825
|
+
readonly id?: number | undefined;
|
|
1815
1826
|
readonly strict?: boolean | undefined;
|
|
1816
1827
|
readonly includeTransaction?: boolean | undefined;
|
|
1828
|
+
readonly includeReceipt?: boolean | undefined;
|
|
1829
|
+
readonly includeMessages?: boolean | undefined;
|
|
1817
1830
|
readonly includeSiblings?: boolean | undefined;
|
|
1818
1831
|
}[] | undefined;
|
|
1819
1832
|
readonly messages?: readonly {
|
|
1820
|
-
readonly id?: number | undefined;
|
|
1821
1833
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1822
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1823
|
-
readonly includeEvents?: boolean | undefined;
|
|
1824
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1825
1834
|
readonly fromAddress?: {
|
|
1826
1835
|
readonly x0: bigint;
|
|
1827
1836
|
readonly x1: bigint;
|
|
@@ -1834,80 +1843,84 @@ declare const filterToProto: (a: {
|
|
|
1834
1843
|
readonly x2: bigint;
|
|
1835
1844
|
readonly x3: bigint;
|
|
1836
1845
|
} | undefined;
|
|
1846
|
+
readonly id?: number | undefined;
|
|
1847
|
+
readonly includeTransaction?: boolean | undefined;
|
|
1848
|
+
readonly includeReceipt?: boolean | undefined;
|
|
1849
|
+
readonly includeEvents?: boolean | undefined;
|
|
1837
1850
|
}[] | undefined;
|
|
1838
1851
|
readonly storageDiffs?: readonly {
|
|
1839
|
-
readonly id?: number | undefined;
|
|
1840
1852
|
readonly contractAddress?: {
|
|
1841
1853
|
readonly x0: bigint;
|
|
1842
1854
|
readonly x1: bigint;
|
|
1843
1855
|
readonly x2: bigint;
|
|
1844
1856
|
readonly x3: bigint;
|
|
1845
1857
|
} | undefined;
|
|
1858
|
+
readonly id?: number | undefined;
|
|
1846
1859
|
}[] | undefined;
|
|
1847
1860
|
readonly contractChanges?: readonly {
|
|
1848
|
-
readonly id?: number | undefined;
|
|
1849
1861
|
readonly change?: {
|
|
1850
|
-
readonly $case: "declaredClass";
|
|
1851
1862
|
readonly declaredClass: {};
|
|
1863
|
+
readonly $case: "declaredClass";
|
|
1852
1864
|
} | {
|
|
1853
|
-
readonly $case: "replacedClass";
|
|
1854
1865
|
readonly replacedClass: {};
|
|
1866
|
+
readonly $case: "replacedClass";
|
|
1855
1867
|
} | {
|
|
1856
|
-
readonly $case: "deployedContract";
|
|
1857
1868
|
readonly deployedContract: {};
|
|
1869
|
+
readonly $case: "deployedContract";
|
|
1858
1870
|
} | undefined;
|
|
1871
|
+
readonly id?: number | undefined;
|
|
1859
1872
|
}[] | undefined;
|
|
1860
1873
|
readonly nonceUpdates?: readonly {
|
|
1861
|
-
readonly id?: number | undefined;
|
|
1862
1874
|
readonly contractAddress?: {
|
|
1863
1875
|
readonly x0: bigint;
|
|
1864
1876
|
readonly x1: bigint;
|
|
1865
1877
|
readonly x2: bigint;
|
|
1866
1878
|
readonly x3: bigint;
|
|
1867
1879
|
} | undefined;
|
|
1880
|
+
readonly id?: number | undefined;
|
|
1868
1881
|
}[] | undefined;
|
|
1869
1882
|
};
|
|
1870
1883
|
declare const filterFromProto: (i: {
|
|
1871
1884
|
readonly header?: HeaderFilter$1 | undefined;
|
|
1872
1885
|
readonly transactions?: readonly {
|
|
1873
|
-
readonly id?: number | undefined;
|
|
1874
1886
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1887
|
+
readonly id?: number | undefined;
|
|
1875
1888
|
readonly includeReceipt?: boolean | undefined;
|
|
1876
1889
|
readonly includeMessages?: boolean | undefined;
|
|
1877
1890
|
readonly includeEvents?: boolean | undefined;
|
|
1878
1891
|
readonly transactionType?: {
|
|
1879
|
-
readonly $case: "invokeV0";
|
|
1880
1892
|
readonly invokeV0: {};
|
|
1893
|
+
readonly $case: "invokeV0";
|
|
1881
1894
|
} | {
|
|
1882
|
-
readonly $case: "invokeV1";
|
|
1883
1895
|
readonly invokeV1: {};
|
|
1896
|
+
readonly $case: "invokeV1";
|
|
1884
1897
|
} | {
|
|
1885
|
-
readonly $case: "invokeV3";
|
|
1886
1898
|
readonly invokeV3: {};
|
|
1899
|
+
readonly $case: "invokeV3";
|
|
1887
1900
|
} | {
|
|
1888
|
-
readonly $case: "deploy";
|
|
1889
1901
|
readonly deploy: {};
|
|
1902
|
+
readonly $case: "deploy";
|
|
1890
1903
|
} | {
|
|
1891
|
-
readonly $case: "declareV0";
|
|
1892
1904
|
readonly declareV0: {};
|
|
1905
|
+
readonly $case: "declareV0";
|
|
1893
1906
|
} | {
|
|
1894
|
-
readonly $case: "declareV1";
|
|
1895
1907
|
readonly declareV1: {};
|
|
1908
|
+
readonly $case: "declareV1";
|
|
1896
1909
|
} | {
|
|
1897
|
-
readonly $case: "declareV2";
|
|
1898
1910
|
readonly declareV2: {};
|
|
1911
|
+
readonly $case: "declareV2";
|
|
1899
1912
|
} | {
|
|
1900
|
-
readonly $case: "declareV3";
|
|
1901
1913
|
readonly declareV3: {};
|
|
1914
|
+
readonly $case: "declareV3";
|
|
1902
1915
|
} | {
|
|
1903
|
-
readonly $case: "l1Handler";
|
|
1904
1916
|
readonly l1Handler: {};
|
|
1917
|
+
readonly $case: "l1Handler";
|
|
1905
1918
|
} | {
|
|
1906
|
-
readonly $case: "deployAccountV1";
|
|
1907
1919
|
readonly deployAccountV1: {};
|
|
1920
|
+
readonly $case: "deployAccountV1";
|
|
1908
1921
|
} | {
|
|
1909
|
-
readonly $case: "deployAccountV3";
|
|
1910
1922
|
readonly deployAccountV3: {};
|
|
1923
|
+
readonly $case: "deployAccountV3";
|
|
1911
1924
|
} | undefined;
|
|
1912
1925
|
}[] | undefined;
|
|
1913
1926
|
readonly events?: readonly {
|
|
@@ -1919,26 +1932,22 @@ declare const filterFromProto: (i: {
|
|
|
1919
1932
|
readonly x3: bigint;
|
|
1920
1933
|
} | undefined;
|
|
1921
1934
|
}[] | undefined;
|
|
1922
|
-
readonly id?: number | undefined;
|
|
1923
1935
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1924
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1925
|
-
readonly includeMessages?: boolean | undefined;
|
|
1926
1936
|
readonly address?: {
|
|
1927
1937
|
readonly x0: bigint;
|
|
1928
1938
|
readonly x1: bigint;
|
|
1929
1939
|
readonly x2: bigint;
|
|
1930
1940
|
readonly x3: bigint;
|
|
1931
1941
|
} | undefined;
|
|
1942
|
+
readonly id?: number | undefined;
|
|
1932
1943
|
readonly strict?: boolean | undefined;
|
|
1933
1944
|
readonly includeTransaction?: boolean | undefined;
|
|
1945
|
+
readonly includeReceipt?: boolean | undefined;
|
|
1946
|
+
readonly includeMessages?: boolean | undefined;
|
|
1934
1947
|
readonly includeSiblings?: boolean | undefined;
|
|
1935
1948
|
}[] | undefined;
|
|
1936
1949
|
readonly messages?: readonly {
|
|
1937
|
-
readonly id?: number | undefined;
|
|
1938
1950
|
readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
|
|
1939
|
-
readonly includeReceipt?: boolean | undefined;
|
|
1940
|
-
readonly includeEvents?: boolean | undefined;
|
|
1941
|
-
readonly includeTransaction?: boolean | undefined;
|
|
1942
1951
|
readonly fromAddress?: {
|
|
1943
1952
|
readonly x0: bigint;
|
|
1944
1953
|
readonly x1: bigint;
|
|
@@ -1951,121 +1960,125 @@ declare const filterFromProto: (i: {
|
|
|
1951
1960
|
readonly x2: bigint;
|
|
1952
1961
|
readonly x3: bigint;
|
|
1953
1962
|
} | undefined;
|
|
1963
|
+
readonly id?: number | undefined;
|
|
1964
|
+
readonly includeTransaction?: boolean | undefined;
|
|
1965
|
+
readonly includeReceipt?: boolean | undefined;
|
|
1966
|
+
readonly includeEvents?: boolean | undefined;
|
|
1954
1967
|
}[] | undefined;
|
|
1955
1968
|
readonly storageDiffs?: readonly {
|
|
1956
|
-
readonly id?: number | undefined;
|
|
1957
1969
|
readonly contractAddress?: {
|
|
1958
1970
|
readonly x0: bigint;
|
|
1959
1971
|
readonly x1: bigint;
|
|
1960
1972
|
readonly x2: bigint;
|
|
1961
1973
|
readonly x3: bigint;
|
|
1962
1974
|
} | undefined;
|
|
1975
|
+
readonly id?: number | undefined;
|
|
1963
1976
|
}[] | undefined;
|
|
1964
1977
|
readonly contractChanges?: readonly {
|
|
1965
|
-
readonly id?: number | undefined;
|
|
1966
1978
|
readonly change?: {
|
|
1967
|
-
readonly $case: "declaredClass";
|
|
1968
1979
|
readonly declaredClass: {};
|
|
1980
|
+
readonly $case: "declaredClass";
|
|
1969
1981
|
} | {
|
|
1970
|
-
readonly $case: "replacedClass";
|
|
1971
1982
|
readonly replacedClass: {};
|
|
1983
|
+
readonly $case: "replacedClass";
|
|
1972
1984
|
} | {
|
|
1973
|
-
readonly $case: "deployedContract";
|
|
1974
1985
|
readonly deployedContract: {};
|
|
1986
|
+
readonly $case: "deployedContract";
|
|
1975
1987
|
} | undefined;
|
|
1988
|
+
readonly id?: number | undefined;
|
|
1976
1989
|
}[] | undefined;
|
|
1977
1990
|
readonly nonceUpdates?: readonly {
|
|
1978
|
-
readonly id?: number | undefined;
|
|
1979
1991
|
readonly contractAddress?: {
|
|
1980
1992
|
readonly x0: bigint;
|
|
1981
1993
|
readonly x1: bigint;
|
|
1982
1994
|
readonly x2: bigint;
|
|
1983
1995
|
readonly x3: bigint;
|
|
1984
1996
|
} | undefined;
|
|
1997
|
+
readonly id?: number | undefined;
|
|
1985
1998
|
}[] | undefined;
|
|
1986
1999
|
}, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
1987
|
-
readonly header?: "
|
|
2000
|
+
readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
|
|
1988
2001
|
readonly transactions?: readonly {
|
|
2002
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
1989
2003
|
readonly id?: number | undefined;
|
|
1990
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
1991
2004
|
readonly includeReceipt?: boolean | undefined;
|
|
1992
2005
|
readonly includeMessages?: boolean | undefined;
|
|
1993
2006
|
readonly includeEvents?: boolean | undefined;
|
|
1994
2007
|
readonly transactionType?: {
|
|
1995
|
-
readonly _tag: "invokeV0";
|
|
1996
2008
|
readonly invokeV0: {};
|
|
2009
|
+
readonly _tag: "invokeV0";
|
|
1997
2010
|
} | {
|
|
1998
|
-
readonly _tag: "invokeV1";
|
|
1999
2011
|
readonly invokeV1: {};
|
|
2012
|
+
readonly _tag: "invokeV1";
|
|
2000
2013
|
} | {
|
|
2001
|
-
readonly _tag: "invokeV3";
|
|
2002
2014
|
readonly invokeV3: {};
|
|
2015
|
+
readonly _tag: "invokeV3";
|
|
2003
2016
|
} | {
|
|
2004
|
-
readonly _tag: "deploy";
|
|
2005
2017
|
readonly deploy: {};
|
|
2018
|
+
readonly _tag: "deploy";
|
|
2006
2019
|
} | {
|
|
2007
|
-
readonly _tag: "declareV0";
|
|
2008
2020
|
readonly declareV0: {};
|
|
2021
|
+
readonly _tag: "declareV0";
|
|
2009
2022
|
} | {
|
|
2010
|
-
readonly _tag: "declareV1";
|
|
2011
2023
|
readonly declareV1: {};
|
|
2024
|
+
readonly _tag: "declareV1";
|
|
2012
2025
|
} | {
|
|
2013
|
-
readonly _tag: "declareV2";
|
|
2014
2026
|
readonly declareV2: {};
|
|
2027
|
+
readonly _tag: "declareV2";
|
|
2015
2028
|
} | {
|
|
2016
|
-
readonly _tag: "declareV3";
|
|
2017
2029
|
readonly declareV3: {};
|
|
2030
|
+
readonly _tag: "declareV3";
|
|
2018
2031
|
} | {
|
|
2019
|
-
readonly _tag: "l1Handler";
|
|
2020
2032
|
readonly l1Handler: {};
|
|
2033
|
+
readonly _tag: "l1Handler";
|
|
2021
2034
|
} | {
|
|
2022
|
-
readonly _tag: "deployAccountV1";
|
|
2023
2035
|
readonly deployAccountV1: {};
|
|
2036
|
+
readonly _tag: "deployAccountV1";
|
|
2024
2037
|
} | {
|
|
2025
|
-
readonly _tag: "deployAccountV3";
|
|
2026
2038
|
readonly deployAccountV3: {};
|
|
2039
|
+
readonly _tag: "deployAccountV3";
|
|
2027
2040
|
} | undefined;
|
|
2028
2041
|
}[] | undefined;
|
|
2029
2042
|
readonly events?: readonly {
|
|
2030
2043
|
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
2031
|
-
readonly
|
|
2032
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2033
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2034
|
-
readonly includeMessages?: boolean | undefined;
|
|
2044
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
2035
2045
|
readonly address?: `0x${string}` | undefined;
|
|
2046
|
+
readonly id?: number | undefined;
|
|
2036
2047
|
readonly strict?: boolean | undefined;
|
|
2037
2048
|
readonly includeTransaction?: boolean | undefined;
|
|
2049
|
+
readonly includeReceipt?: boolean | undefined;
|
|
2050
|
+
readonly includeMessages?: boolean | undefined;
|
|
2038
2051
|
readonly includeSiblings?: boolean | undefined;
|
|
2039
2052
|
}[] | undefined;
|
|
2040
2053
|
readonly messages?: readonly {
|
|
2054
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
2055
|
+
readonly fromAddress?: `0x${string}` | undefined;
|
|
2056
|
+
readonly toAddress?: `0x${string}` | undefined;
|
|
2041
2057
|
readonly id?: number | undefined;
|
|
2042
|
-
readonly
|
|
2058
|
+
readonly includeTransaction?: boolean | undefined;
|
|
2043
2059
|
readonly includeReceipt?: boolean | undefined;
|
|
2044
2060
|
readonly includeEvents?: boolean | undefined;
|
|
2045
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2046
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
2047
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
2048
2061
|
}[] | undefined;
|
|
2049
2062
|
readonly storageDiffs?: readonly {
|
|
2050
|
-
readonly id?: number | undefined;
|
|
2051
2063
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
2064
|
+
readonly id?: number | undefined;
|
|
2052
2065
|
}[] | undefined;
|
|
2053
2066
|
readonly contractChanges?: readonly {
|
|
2054
|
-
readonly id?: number | undefined;
|
|
2055
2067
|
readonly change?: {
|
|
2056
|
-
readonly _tag: "declaredClass";
|
|
2057
2068
|
readonly declaredClass: {};
|
|
2069
|
+
readonly _tag: "declaredClass";
|
|
2058
2070
|
} | {
|
|
2059
|
-
readonly _tag: "replacedClass";
|
|
2060
2071
|
readonly replacedClass: {};
|
|
2072
|
+
readonly _tag: "replacedClass";
|
|
2061
2073
|
} | {
|
|
2062
|
-
readonly _tag: "deployedContract";
|
|
2063
2074
|
readonly deployedContract: {};
|
|
2075
|
+
readonly _tag: "deployedContract";
|
|
2064
2076
|
} | undefined;
|
|
2077
|
+
readonly id?: number | undefined;
|
|
2065
2078
|
}[] | undefined;
|
|
2066
2079
|
readonly nonceUpdates?: readonly {
|
|
2067
|
-
readonly id?: number | undefined;
|
|
2068
2080
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
2081
|
+
readonly id?: number | undefined;
|
|
2069
2082
|
}[] | undefined;
|
|
2070
2083
|
};
|
|
2071
2084
|
declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
|
|
@@ -2194,173 +2207,173 @@ declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8A
|
|
|
2194
2207
|
}>>>;
|
|
2195
2208
|
}>>;
|
|
2196
2209
|
declare const filterToBytes: (a: {
|
|
2197
|
-
readonly header?: "
|
|
2210
|
+
readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
|
|
2198
2211
|
readonly transactions?: readonly {
|
|
2212
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
2199
2213
|
readonly id?: number | undefined;
|
|
2200
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2201
2214
|
readonly includeReceipt?: boolean | undefined;
|
|
2202
2215
|
readonly includeMessages?: boolean | undefined;
|
|
2203
2216
|
readonly includeEvents?: boolean | undefined;
|
|
2204
2217
|
readonly transactionType?: {
|
|
2205
|
-
readonly _tag: "invokeV0";
|
|
2206
2218
|
readonly invokeV0: {};
|
|
2219
|
+
readonly _tag: "invokeV0";
|
|
2207
2220
|
} | {
|
|
2208
|
-
readonly _tag: "invokeV1";
|
|
2209
2221
|
readonly invokeV1: {};
|
|
2222
|
+
readonly _tag: "invokeV1";
|
|
2210
2223
|
} | {
|
|
2211
|
-
readonly _tag: "invokeV3";
|
|
2212
2224
|
readonly invokeV3: {};
|
|
2225
|
+
readonly _tag: "invokeV3";
|
|
2213
2226
|
} | {
|
|
2214
|
-
readonly _tag: "deploy";
|
|
2215
2227
|
readonly deploy: {};
|
|
2228
|
+
readonly _tag: "deploy";
|
|
2216
2229
|
} | {
|
|
2217
|
-
readonly _tag: "declareV0";
|
|
2218
2230
|
readonly declareV0: {};
|
|
2231
|
+
readonly _tag: "declareV0";
|
|
2219
2232
|
} | {
|
|
2220
|
-
readonly _tag: "declareV1";
|
|
2221
2233
|
readonly declareV1: {};
|
|
2234
|
+
readonly _tag: "declareV1";
|
|
2222
2235
|
} | {
|
|
2223
|
-
readonly _tag: "declareV2";
|
|
2224
2236
|
readonly declareV2: {};
|
|
2237
|
+
readonly _tag: "declareV2";
|
|
2225
2238
|
} | {
|
|
2226
|
-
readonly _tag: "declareV3";
|
|
2227
2239
|
readonly declareV3: {};
|
|
2240
|
+
readonly _tag: "declareV3";
|
|
2228
2241
|
} | {
|
|
2229
|
-
readonly _tag: "l1Handler";
|
|
2230
2242
|
readonly l1Handler: {};
|
|
2243
|
+
readonly _tag: "l1Handler";
|
|
2231
2244
|
} | {
|
|
2232
|
-
readonly _tag: "deployAccountV1";
|
|
2233
2245
|
readonly deployAccountV1: {};
|
|
2246
|
+
readonly _tag: "deployAccountV1";
|
|
2234
2247
|
} | {
|
|
2235
|
-
readonly _tag: "deployAccountV3";
|
|
2236
2248
|
readonly deployAccountV3: {};
|
|
2249
|
+
readonly _tag: "deployAccountV3";
|
|
2237
2250
|
} | undefined;
|
|
2238
2251
|
}[] | undefined;
|
|
2239
2252
|
readonly events?: readonly {
|
|
2240
2253
|
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
2241
|
-
readonly
|
|
2242
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2243
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2244
|
-
readonly includeMessages?: boolean | undefined;
|
|
2254
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
2245
2255
|
readonly address?: `0x${string}` | undefined;
|
|
2256
|
+
readonly id?: number | undefined;
|
|
2246
2257
|
readonly strict?: boolean | undefined;
|
|
2247
2258
|
readonly includeTransaction?: boolean | undefined;
|
|
2259
|
+
readonly includeReceipt?: boolean | undefined;
|
|
2260
|
+
readonly includeMessages?: boolean | undefined;
|
|
2248
2261
|
readonly includeSiblings?: boolean | undefined;
|
|
2249
2262
|
}[] | undefined;
|
|
2250
2263
|
readonly messages?: readonly {
|
|
2264
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
2265
|
+
readonly fromAddress?: `0x${string}` | undefined;
|
|
2266
|
+
readonly toAddress?: `0x${string}` | undefined;
|
|
2251
2267
|
readonly id?: number | undefined;
|
|
2252
|
-
readonly
|
|
2268
|
+
readonly includeTransaction?: boolean | undefined;
|
|
2253
2269
|
readonly includeReceipt?: boolean | undefined;
|
|
2254
2270
|
readonly includeEvents?: boolean | undefined;
|
|
2255
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2256
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
2257
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
2258
2271
|
}[] | undefined;
|
|
2259
2272
|
readonly storageDiffs?: readonly {
|
|
2260
|
-
readonly id?: number | undefined;
|
|
2261
2273
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
2274
|
+
readonly id?: number | undefined;
|
|
2262
2275
|
}[] | undefined;
|
|
2263
2276
|
readonly contractChanges?: readonly {
|
|
2264
|
-
readonly id?: number | undefined;
|
|
2265
2277
|
readonly change?: {
|
|
2266
|
-
readonly _tag: "declaredClass";
|
|
2267
2278
|
readonly declaredClass: {};
|
|
2279
|
+
readonly _tag: "declaredClass";
|
|
2268
2280
|
} | {
|
|
2269
|
-
readonly _tag: "replacedClass";
|
|
2270
2281
|
readonly replacedClass: {};
|
|
2282
|
+
readonly _tag: "replacedClass";
|
|
2271
2283
|
} | {
|
|
2272
|
-
readonly _tag: "deployedContract";
|
|
2273
2284
|
readonly deployedContract: {};
|
|
2285
|
+
readonly _tag: "deployedContract";
|
|
2274
2286
|
} | undefined;
|
|
2287
|
+
readonly id?: number | undefined;
|
|
2275
2288
|
}[] | undefined;
|
|
2276
2289
|
readonly nonceUpdates?: readonly {
|
|
2277
|
-
readonly id?: number | undefined;
|
|
2278
2290
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
2291
|
+
readonly id?: number | undefined;
|
|
2279
2292
|
}[] | undefined;
|
|
2280
2293
|
}, overrideOptions?: _effect_schema_AST.ParseOptions) => Uint8Array;
|
|
2281
2294
|
declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions) => {
|
|
2282
|
-
readonly header?: "
|
|
2295
|
+
readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
|
|
2283
2296
|
readonly transactions?: readonly {
|
|
2297
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
2284
2298
|
readonly id?: number | undefined;
|
|
2285
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2286
2299
|
readonly includeReceipt?: boolean | undefined;
|
|
2287
2300
|
readonly includeMessages?: boolean | undefined;
|
|
2288
2301
|
readonly includeEvents?: boolean | undefined;
|
|
2289
2302
|
readonly transactionType?: {
|
|
2290
|
-
readonly _tag: "invokeV0";
|
|
2291
2303
|
readonly invokeV0: {};
|
|
2304
|
+
readonly _tag: "invokeV0";
|
|
2292
2305
|
} | {
|
|
2293
|
-
readonly _tag: "invokeV1";
|
|
2294
2306
|
readonly invokeV1: {};
|
|
2307
|
+
readonly _tag: "invokeV1";
|
|
2295
2308
|
} | {
|
|
2296
|
-
readonly _tag: "invokeV3";
|
|
2297
2309
|
readonly invokeV3: {};
|
|
2310
|
+
readonly _tag: "invokeV3";
|
|
2298
2311
|
} | {
|
|
2299
|
-
readonly _tag: "deploy";
|
|
2300
2312
|
readonly deploy: {};
|
|
2313
|
+
readonly _tag: "deploy";
|
|
2301
2314
|
} | {
|
|
2302
|
-
readonly _tag: "declareV0";
|
|
2303
2315
|
readonly declareV0: {};
|
|
2316
|
+
readonly _tag: "declareV0";
|
|
2304
2317
|
} | {
|
|
2305
|
-
readonly _tag: "declareV1";
|
|
2306
2318
|
readonly declareV1: {};
|
|
2319
|
+
readonly _tag: "declareV1";
|
|
2307
2320
|
} | {
|
|
2308
|
-
readonly _tag: "declareV2";
|
|
2309
2321
|
readonly declareV2: {};
|
|
2322
|
+
readonly _tag: "declareV2";
|
|
2310
2323
|
} | {
|
|
2311
|
-
readonly _tag: "declareV3";
|
|
2312
2324
|
readonly declareV3: {};
|
|
2325
|
+
readonly _tag: "declareV3";
|
|
2313
2326
|
} | {
|
|
2314
|
-
readonly _tag: "l1Handler";
|
|
2315
2327
|
readonly l1Handler: {};
|
|
2328
|
+
readonly _tag: "l1Handler";
|
|
2316
2329
|
} | {
|
|
2317
|
-
readonly _tag: "deployAccountV1";
|
|
2318
2330
|
readonly deployAccountV1: {};
|
|
2331
|
+
readonly _tag: "deployAccountV1";
|
|
2319
2332
|
} | {
|
|
2320
|
-
readonly _tag: "deployAccountV3";
|
|
2321
2333
|
readonly deployAccountV3: {};
|
|
2334
|
+
readonly _tag: "deployAccountV3";
|
|
2322
2335
|
} | undefined;
|
|
2323
2336
|
}[] | undefined;
|
|
2324
2337
|
readonly events?: readonly {
|
|
2325
2338
|
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
2326
|
-
readonly
|
|
2327
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
2328
|
-
readonly includeReceipt?: boolean | undefined;
|
|
2329
|
-
readonly includeMessages?: boolean | undefined;
|
|
2339
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
2330
2340
|
readonly address?: `0x${string}` | undefined;
|
|
2341
|
+
readonly id?: number | undefined;
|
|
2331
2342
|
readonly strict?: boolean | undefined;
|
|
2332
2343
|
readonly includeTransaction?: boolean | undefined;
|
|
2344
|
+
readonly includeReceipt?: boolean | undefined;
|
|
2345
|
+
readonly includeMessages?: boolean | undefined;
|
|
2333
2346
|
readonly includeSiblings?: boolean | undefined;
|
|
2334
2347
|
}[] | undefined;
|
|
2335
2348
|
readonly messages?: readonly {
|
|
2349
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
2350
|
+
readonly fromAddress?: `0x${string}` | undefined;
|
|
2351
|
+
readonly toAddress?: `0x${string}` | undefined;
|
|
2336
2352
|
readonly id?: number | undefined;
|
|
2337
|
-
readonly
|
|
2353
|
+
readonly includeTransaction?: boolean | undefined;
|
|
2338
2354
|
readonly includeReceipt?: boolean | undefined;
|
|
2339
2355
|
readonly includeEvents?: boolean | undefined;
|
|
2340
|
-
readonly includeTransaction?: boolean | undefined;
|
|
2341
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
2342
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
2343
2356
|
}[] | undefined;
|
|
2344
2357
|
readonly storageDiffs?: readonly {
|
|
2345
|
-
readonly id?: number | undefined;
|
|
2346
2358
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
2359
|
+
readonly id?: number | undefined;
|
|
2347
2360
|
}[] | undefined;
|
|
2348
2361
|
readonly contractChanges?: readonly {
|
|
2349
|
-
readonly id?: number | undefined;
|
|
2350
2362
|
readonly change?: {
|
|
2351
|
-
readonly _tag: "declaredClass";
|
|
2352
2363
|
readonly declaredClass: {};
|
|
2364
|
+
readonly _tag: "declaredClass";
|
|
2353
2365
|
} | {
|
|
2354
|
-
readonly _tag: "replacedClass";
|
|
2355
2366
|
readonly replacedClass: {};
|
|
2367
|
+
readonly _tag: "replacedClass";
|
|
2356
2368
|
} | {
|
|
2357
|
-
readonly _tag: "deployedContract";
|
|
2358
2369
|
readonly deployedContract: {};
|
|
2370
|
+
readonly _tag: "deployedContract";
|
|
2359
2371
|
} | undefined;
|
|
2372
|
+
readonly id?: number | undefined;
|
|
2360
2373
|
}[] | undefined;
|
|
2361
2374
|
readonly nonceUpdates?: readonly {
|
|
2362
|
-
readonly id?: number | undefined;
|
|
2363
2375
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
2376
|
+
readonly id?: number | undefined;
|
|
2364
2377
|
}[] | undefined;
|
|
2365
2378
|
};
|
|
2366
2379
|
declare function mergeFilter(a: Filter, b: Filter): Filter;
|
|
@@ -2384,14 +2397,17 @@ declare const ResourcePrice: Schema.Struct<{
|
|
|
2384
2397
|
x3: typeof Schema.BigIntFromSelf;
|
|
2385
2398
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2386
2399
|
}>;
|
|
2400
|
+
type ResourcePrice = typeof ResourcePrice.Type;
|
|
2387
2401
|
/** How data is posted to L1. */
|
|
2388
2402
|
declare const L1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
|
|
2403
|
+
type L1DataAvailabilityMode = typeof L1DataAvailabilityMode.Type;
|
|
2389
2404
|
declare const TransactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
|
|
2390
2405
|
type TransactionStatus = typeof TransactionStatus.Type;
|
|
2391
2406
|
declare const U128: Schema.transform<Schema.Struct<{
|
|
2392
2407
|
x0: typeof Schema.BigIntFromSelf;
|
|
2393
2408
|
x1: typeof Schema.BigIntFromSelf;
|
|
2394
2409
|
}>, typeof Schema.BigIntFromSelf>;
|
|
2410
|
+
type U128 = typeof U128.Type;
|
|
2395
2411
|
declare const ResourceBounds: Schema.Struct<{
|
|
2396
2412
|
maxAmount: typeof Schema.BigIntFromSelf;
|
|
2397
2413
|
maxPricePerUnit: Schema.transform<Schema.Struct<{
|
|
@@ -2399,6 +2415,7 @@ declare const ResourceBounds: Schema.Struct<{
|
|
|
2399
2415
|
x1: typeof Schema.BigIntFromSelf;
|
|
2400
2416
|
}>, typeof Schema.BigIntFromSelf>;
|
|
2401
2417
|
}>;
|
|
2418
|
+
type ResourceBounds = typeof ResourceBounds.Type;
|
|
2402
2419
|
declare const ResourceBoundsMapping: Schema.Struct<{
|
|
2403
2420
|
l1Gas: Schema.Struct<{
|
|
2404
2421
|
maxAmount: typeof Schema.BigIntFromSelf;
|
|
@@ -2415,7 +2432,9 @@ declare const ResourceBoundsMapping: Schema.Struct<{
|
|
|
2415
2432
|
}>, typeof Schema.BigIntFromSelf>;
|
|
2416
2433
|
}>;
|
|
2417
2434
|
}>;
|
|
2435
|
+
type ResourceBoundsMapping = typeof ResourceBoundsMapping.Type;
|
|
2418
2436
|
declare const DataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2437
|
+
type DataAvailabilityMode = typeof DataAvailabilityMode.Type;
|
|
2419
2438
|
/** Starknet block header.
|
|
2420
2439
|
*
|
|
2421
2440
|
* @prop blockHash The hash of the block.
|
|
@@ -2542,6 +2561,7 @@ declare const InvokeTransactionV0: Schema.Struct<{
|
|
|
2542
2561
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2543
2562
|
}>;
|
|
2544
2563
|
}>;
|
|
2564
|
+
type InvokeTransactionV0 = typeof InvokeTransactionV0.Type;
|
|
2545
2565
|
declare const InvokeTransactionV1: Schema.Struct<{
|
|
2546
2566
|
_tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
|
|
2547
2567
|
invokeV1: Schema.Struct<{
|
|
@@ -2577,6 +2597,7 @@ declare const InvokeTransactionV1: Schema.Struct<{
|
|
|
2577
2597
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2578
2598
|
}>;
|
|
2579
2599
|
}>;
|
|
2600
|
+
type InvokeTransactionV1 = typeof InvokeTransactionV1.Type;
|
|
2580
2601
|
declare const InvokeTransactionV3: Schema.Struct<{
|
|
2581
2602
|
_tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
|
|
2582
2603
|
invokeV3: Schema.Struct<{
|
|
@@ -2637,6 +2658,7 @@ declare const InvokeTransactionV3: Schema.Struct<{
|
|
|
2637
2658
|
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2638
2659
|
}>;
|
|
2639
2660
|
}>;
|
|
2661
|
+
type InvokeTransactionV3 = typeof InvokeTransactionV3.Type;
|
|
2640
2662
|
declare const L1HandlerTransaction: Schema.Struct<{
|
|
2641
2663
|
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
2642
2664
|
l1Handler: Schema.Struct<{
|
|
@@ -2661,6 +2683,7 @@ declare const L1HandlerTransaction: Schema.Struct<{
|
|
|
2661
2683
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
|
|
2662
2684
|
}>;
|
|
2663
2685
|
}>;
|
|
2686
|
+
type L1HandlerTransaction = typeof L1HandlerTransaction.Type;
|
|
2664
2687
|
declare const DeployTransaction: Schema.Struct<{
|
|
2665
2688
|
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
2666
2689
|
deploy: Schema.Struct<{
|
|
@@ -2684,6 +2707,7 @@ declare const DeployTransaction: Schema.Struct<{
|
|
|
2684
2707
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2685
2708
|
}>;
|
|
2686
2709
|
}>;
|
|
2710
|
+
type DeployTransaction = typeof DeployTransaction.Type;
|
|
2687
2711
|
declare const DeclareTransactionV0: Schema.Struct<{
|
|
2688
2712
|
_tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
|
|
2689
2713
|
declareV0: Schema.Struct<{
|
|
@@ -2713,6 +2737,7 @@ declare const DeclareTransactionV0: Schema.Struct<{
|
|
|
2713
2737
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2714
2738
|
}>;
|
|
2715
2739
|
}>;
|
|
2740
|
+
type DeclareTransactionV0 = typeof DeclareTransactionV0.Type;
|
|
2716
2741
|
declare const DeclareTransactionV1: Schema.Struct<{
|
|
2717
2742
|
_tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
|
|
2718
2743
|
declareV1: Schema.Struct<{
|
|
@@ -2748,6 +2773,7 @@ declare const DeclareTransactionV1: Schema.Struct<{
|
|
|
2748
2773
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2749
2774
|
}>;
|
|
2750
2775
|
}>;
|
|
2776
|
+
type DeclareTransactionV1 = typeof DeclareTransactionV1.Type;
|
|
2751
2777
|
declare const DeclareTransactionV2: Schema.Struct<{
|
|
2752
2778
|
_tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
|
|
2753
2779
|
declareV2: Schema.Struct<{
|
|
@@ -2789,6 +2815,7 @@ declare const DeclareTransactionV2: Schema.Struct<{
|
|
|
2789
2815
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2790
2816
|
}>;
|
|
2791
2817
|
}>;
|
|
2818
|
+
type DeclareTransactionV2 = typeof DeclareTransactionV2.Type;
|
|
2792
2819
|
declare const DeclareTransactionV3: Schema.Struct<{
|
|
2793
2820
|
_tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
|
|
2794
2821
|
declareV3: Schema.Struct<{
|
|
@@ -2855,6 +2882,7 @@ declare const DeclareTransactionV3: Schema.Struct<{
|
|
|
2855
2882
|
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2856
2883
|
}>;
|
|
2857
2884
|
}>;
|
|
2885
|
+
type DeclareTransactionV3 = typeof DeclareTransactionV3.Type;
|
|
2858
2886
|
declare const DeployAccountTransactionV1: Schema.Struct<{
|
|
2859
2887
|
_tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
|
|
2860
2888
|
deployAccountV1: Schema.Struct<{
|
|
@@ -2896,6 +2924,7 @@ declare const DeployAccountTransactionV1: Schema.Struct<{
|
|
|
2896
2924
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
2897
2925
|
}>;
|
|
2898
2926
|
}>;
|
|
2927
|
+
type DeployAccountTransactionV1 = typeof DeployAccountTransactionV1.Type;
|
|
2899
2928
|
declare const DeployAccountTransactionV3: Schema.Struct<{
|
|
2900
2929
|
_tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
|
|
2901
2930
|
deployAccountV3: Schema.Struct<{
|
|
@@ -2956,6 +2985,7 @@ declare const DeployAccountTransactionV3: Schema.Struct<{
|
|
|
2956
2985
|
feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
|
|
2957
2986
|
}>;
|
|
2958
2987
|
}>;
|
|
2988
|
+
type DeployAccountTransactionV3 = typeof DeployAccountTransactionV3.Type;
|
|
2959
2989
|
/** A transaction.
|
|
2960
2990
|
*
|
|
2961
2991
|
* @prop meta Transaction metadata.
|
|
@@ -3414,6 +3444,7 @@ declare const Transaction: Schema.Struct<{
|
|
|
3414
3444
|
}>;
|
|
3415
3445
|
type Transaction = typeof Transaction.Type;
|
|
3416
3446
|
declare const PriceUnit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
|
|
3447
|
+
type PriceUnit = typeof PriceUnit.Type;
|
|
3417
3448
|
declare const FeePayment: Schema.Struct<{
|
|
3418
3449
|
amount: Schema.transform<Schema.Struct<{
|
|
3419
3450
|
x0: typeof Schema.BigIntFromSelf;
|
|
@@ -3423,6 +3454,7 @@ declare const FeePayment: Schema.Struct<{
|
|
|
3423
3454
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3424
3455
|
unit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
|
|
3425
3456
|
}>;
|
|
3457
|
+
type FeePayment = typeof FeePayment.Type;
|
|
3426
3458
|
declare const ComputationResources: Schema.Struct<{
|
|
3427
3459
|
steps: typeof Schema.BigIntFromSelf;
|
|
3428
3460
|
memoryHoles: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
@@ -3435,10 +3467,12 @@ declare const ComputationResources: Schema.Struct<{
|
|
|
3435
3467
|
keccakBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
3436
3468
|
segmentArenaBuiltin: Schema.optional<typeof Schema.BigIntFromSelf>;
|
|
3437
3469
|
}>;
|
|
3470
|
+
type ComputationResources = typeof ComputationResources.Type;
|
|
3438
3471
|
declare const DataAvailabilityResources: Schema.Struct<{
|
|
3439
3472
|
l1Gas: typeof Schema.BigIntFromSelf;
|
|
3440
3473
|
l1DataGas: typeof Schema.BigIntFromSelf;
|
|
3441
3474
|
}>;
|
|
3475
|
+
type DataAvailabilityResources = typeof DataAvailabilityResources.Type;
|
|
3442
3476
|
declare const ExecutionResources: Schema.Struct<{
|
|
3443
3477
|
computation: Schema.Struct<{
|
|
3444
3478
|
steps: typeof Schema.BigIntFromSelf;
|
|
@@ -3457,16 +3491,19 @@ declare const ExecutionResources: Schema.Struct<{
|
|
|
3457
3491
|
l1DataGas: typeof Schema.BigIntFromSelf;
|
|
3458
3492
|
}>;
|
|
3459
3493
|
}>;
|
|
3494
|
+
type ExecutionResources = typeof ExecutionResources.Type;
|
|
3460
3495
|
declare const ExecutionSucceeded: Schema.Struct<{
|
|
3461
3496
|
_tag: Schema.PropertySignature<":", "succeeded", "$case", ":", "succeeded", false, never>;
|
|
3462
3497
|
succeeded: Schema.Struct<{}>;
|
|
3463
3498
|
}>;
|
|
3499
|
+
type ExecutionSucceeded = typeof ExecutionSucceeded.Type;
|
|
3464
3500
|
declare const ExecutionReverted: Schema.Struct<{
|
|
3465
3501
|
_tag: Schema.PropertySignature<":", "reverted", "$case", ":", "reverted", false, never>;
|
|
3466
3502
|
reverted: Schema.Struct<{
|
|
3467
3503
|
reason: Schema.optional<typeof Schema.String>;
|
|
3468
3504
|
}>;
|
|
3469
3505
|
}>;
|
|
3506
|
+
type ExecutionReverted = typeof ExecutionReverted.Type;
|
|
3470
3507
|
/** Common fields for all transaction receipts. */
|
|
3471
3508
|
declare const TransactionReceiptMeta: Schema.Struct<{
|
|
3472
3509
|
transactionIndex: typeof Schema.Number;
|
|
@@ -3513,20 +3550,24 @@ declare const TransactionReceiptMeta: Schema.Struct<{
|
|
|
3513
3550
|
}>;
|
|
3514
3551
|
}>]>;
|
|
3515
3552
|
}>;
|
|
3553
|
+
type TransactionReceiptMeta = typeof TransactionReceiptMeta.Type;
|
|
3516
3554
|
declare const InvokeTransactionReceipt: Schema.Struct<{
|
|
3517
3555
|
_tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
|
|
3518
3556
|
invoke: Schema.Struct<{}>;
|
|
3519
3557
|
}>;
|
|
3558
|
+
type InvokeTransactionReceipt = typeof InvokeTransactionReceipt.Type;
|
|
3520
3559
|
declare const L1HandlerTransactionReceipt: Schema.Struct<{
|
|
3521
3560
|
_tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
|
|
3522
3561
|
l1Handler: Schema.Struct<{
|
|
3523
3562
|
messageHash: Schema.Schema<Uint8Array, Uint8Array, never>;
|
|
3524
3563
|
}>;
|
|
3525
3564
|
}>;
|
|
3565
|
+
type L1HandlerTransactionReceipt = typeof L1HandlerTransactionReceipt.Type;
|
|
3526
3566
|
declare const DeclareTransactionReceipt: Schema.Struct<{
|
|
3527
3567
|
_tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
|
|
3528
3568
|
declare: Schema.Struct<{}>;
|
|
3529
3569
|
}>;
|
|
3570
|
+
type DeclareTransactionReceipt = typeof DeclareTransactionReceipt.Type;
|
|
3530
3571
|
declare const DeployTransactionReceipt: Schema.Struct<{
|
|
3531
3572
|
_tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
|
|
3532
3573
|
deploy: Schema.Struct<{
|
|
@@ -3538,6 +3579,7 @@ declare const DeployTransactionReceipt: Schema.Struct<{
|
|
|
3538
3579
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3539
3580
|
}>;
|
|
3540
3581
|
}>;
|
|
3582
|
+
type DeployTransactionReceipt = typeof DeployTransactionReceipt.Type;
|
|
3541
3583
|
declare const DeployAccountTransactionReceipt: Schema.Struct<{
|
|
3542
3584
|
_tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
|
|
3543
3585
|
deployAccount: Schema.Struct<{
|
|
@@ -3549,6 +3591,7 @@ declare const DeployAccountTransactionReceipt: Schema.Struct<{
|
|
|
3549
3591
|
}>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
|
|
3550
3592
|
}>;
|
|
3551
3593
|
}>;
|
|
3594
|
+
type DeployAccountTransactionReceipt = typeof DeployAccountTransactionReceipt.Type;
|
|
3552
3595
|
/** A transaction receipt.
|
|
3553
3596
|
*
|
|
3554
3597
|
* @prop meta Transaction receipt metadata.
|
|
@@ -5465,88 +5508,88 @@ declare module "abi-wan-kanabi" {
|
|
|
5465
5508
|
}
|
|
5466
5509
|
}
|
|
5467
5510
|
declare const StarknetStream: StreamConfig<{
|
|
5468
|
-
readonly header?: "
|
|
5511
|
+
readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
|
|
5469
5512
|
readonly transactions?: readonly {
|
|
5513
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
5470
5514
|
readonly id?: number | undefined;
|
|
5471
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5472
5515
|
readonly includeReceipt?: boolean | undefined;
|
|
5473
5516
|
readonly includeMessages?: boolean | undefined;
|
|
5474
5517
|
readonly includeEvents?: boolean | undefined;
|
|
5475
5518
|
readonly transactionType?: {
|
|
5476
|
-
readonly _tag: "invokeV0";
|
|
5477
5519
|
readonly invokeV0: {};
|
|
5520
|
+
readonly _tag: "invokeV0";
|
|
5478
5521
|
} | {
|
|
5479
|
-
readonly _tag: "invokeV1";
|
|
5480
5522
|
readonly invokeV1: {};
|
|
5523
|
+
readonly _tag: "invokeV1";
|
|
5481
5524
|
} | {
|
|
5482
|
-
readonly _tag: "invokeV3";
|
|
5483
5525
|
readonly invokeV3: {};
|
|
5526
|
+
readonly _tag: "invokeV3";
|
|
5484
5527
|
} | {
|
|
5485
|
-
readonly _tag: "deploy";
|
|
5486
5528
|
readonly deploy: {};
|
|
5529
|
+
readonly _tag: "deploy";
|
|
5487
5530
|
} | {
|
|
5488
|
-
readonly _tag: "declareV0";
|
|
5489
5531
|
readonly declareV0: {};
|
|
5532
|
+
readonly _tag: "declareV0";
|
|
5490
5533
|
} | {
|
|
5491
|
-
readonly _tag: "declareV1";
|
|
5492
5534
|
readonly declareV1: {};
|
|
5535
|
+
readonly _tag: "declareV1";
|
|
5493
5536
|
} | {
|
|
5494
|
-
readonly _tag: "declareV2";
|
|
5495
5537
|
readonly declareV2: {};
|
|
5538
|
+
readonly _tag: "declareV2";
|
|
5496
5539
|
} | {
|
|
5497
|
-
readonly _tag: "declareV3";
|
|
5498
5540
|
readonly declareV3: {};
|
|
5541
|
+
readonly _tag: "declareV3";
|
|
5499
5542
|
} | {
|
|
5500
|
-
readonly _tag: "l1Handler";
|
|
5501
5543
|
readonly l1Handler: {};
|
|
5544
|
+
readonly _tag: "l1Handler";
|
|
5502
5545
|
} | {
|
|
5503
|
-
readonly _tag: "deployAccountV1";
|
|
5504
5546
|
readonly deployAccountV1: {};
|
|
5547
|
+
readonly _tag: "deployAccountV1";
|
|
5505
5548
|
} | {
|
|
5506
|
-
readonly _tag: "deployAccountV3";
|
|
5507
5549
|
readonly deployAccountV3: {};
|
|
5550
|
+
readonly _tag: "deployAccountV3";
|
|
5508
5551
|
} | undefined;
|
|
5509
5552
|
}[] | undefined;
|
|
5510
5553
|
readonly events?: readonly {
|
|
5511
5554
|
readonly keys?: readonly (`0x${string}` | null)[] | undefined;
|
|
5512
|
-
readonly
|
|
5513
|
-
readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
|
|
5514
|
-
readonly includeReceipt?: boolean | undefined;
|
|
5515
|
-
readonly includeMessages?: boolean | undefined;
|
|
5555
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
5516
5556
|
readonly address?: `0x${string}` | undefined;
|
|
5557
|
+
readonly id?: number | undefined;
|
|
5517
5558
|
readonly strict?: boolean | undefined;
|
|
5518
5559
|
readonly includeTransaction?: boolean | undefined;
|
|
5560
|
+
readonly includeReceipt?: boolean | undefined;
|
|
5561
|
+
readonly includeMessages?: boolean | undefined;
|
|
5519
5562
|
readonly includeSiblings?: boolean | undefined;
|
|
5520
5563
|
}[] | undefined;
|
|
5521
5564
|
readonly messages?: readonly {
|
|
5565
|
+
readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
|
|
5566
|
+
readonly fromAddress?: `0x${string}` | undefined;
|
|
5567
|
+
readonly toAddress?: `0x${string}` | undefined;
|
|
5522
5568
|
readonly id?: number | undefined;
|
|
5523
|
-
readonly
|
|
5569
|
+
readonly includeTransaction?: boolean | undefined;
|
|
5524
5570
|
readonly includeReceipt?: boolean | undefined;
|
|
5525
5571
|
readonly includeEvents?: boolean | undefined;
|
|
5526
|
-
readonly includeTransaction?: boolean | undefined;
|
|
5527
|
-
readonly fromAddress?: `0x${string}` | undefined;
|
|
5528
|
-
readonly toAddress?: `0x${string}` | undefined;
|
|
5529
5572
|
}[] | undefined;
|
|
5530
5573
|
readonly storageDiffs?: readonly {
|
|
5531
|
-
readonly id?: number | undefined;
|
|
5532
5574
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
5575
|
+
readonly id?: number | undefined;
|
|
5533
5576
|
}[] | undefined;
|
|
5534
5577
|
readonly contractChanges?: readonly {
|
|
5535
|
-
readonly id?: number | undefined;
|
|
5536
5578
|
readonly change?: {
|
|
5537
|
-
readonly _tag: "declaredClass";
|
|
5538
5579
|
readonly declaredClass: {};
|
|
5580
|
+
readonly _tag: "declaredClass";
|
|
5539
5581
|
} | {
|
|
5540
|
-
readonly _tag: "replacedClass";
|
|
5541
5582
|
readonly replacedClass: {};
|
|
5583
|
+
readonly _tag: "replacedClass";
|
|
5542
5584
|
} | {
|
|
5543
|
-
readonly _tag: "deployedContract";
|
|
5544
5585
|
readonly deployedContract: {};
|
|
5586
|
+
readonly _tag: "deployedContract";
|
|
5545
5587
|
} | undefined;
|
|
5588
|
+
readonly id?: number | undefined;
|
|
5546
5589
|
}[] | undefined;
|
|
5547
5590
|
readonly nonceUpdates?: readonly {
|
|
5548
|
-
readonly id?: number | undefined;
|
|
5549
5591
|
readonly contractAddress?: `0x${string}` | undefined;
|
|
5592
|
+
readonly id?: number | undefined;
|
|
5550
5593
|
}[] | undefined;
|
|
5551
5594
|
}, {
|
|
5552
5595
|
readonly header: {
|
|
@@ -5565,38 +5608,37 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5565
5608
|
readonly priceInFri?: `0x${string}` | undefined;
|
|
5566
5609
|
readonly priceInWei?: `0x${string}` | undefined;
|
|
5567
5610
|
};
|
|
5568
|
-
readonly l1DataAvailabilityMode: "
|
|
5611
|
+
readonly l1DataAvailabilityMode: "calldata" | "blob" | "unknown";
|
|
5569
5612
|
};
|
|
5570
5613
|
readonly transactions: readonly {
|
|
5571
5614
|
readonly filterIds: readonly number[];
|
|
5572
5615
|
readonly meta: {
|
|
5573
|
-
readonly transactionStatus: "unknown" | "succeeded" | "reverted";
|
|
5574
5616
|
readonly transactionIndex: number;
|
|
5575
5617
|
readonly transactionHash: `0x${string}`;
|
|
5618
|
+
readonly transactionStatus: "succeeded" | "reverted" | "unknown";
|
|
5576
5619
|
};
|
|
5577
5620
|
readonly transaction: {
|
|
5578
|
-
readonly _tag: "invokeV0";
|
|
5579
5621
|
readonly invokeV0: {
|
|
5580
|
-
readonly contractAddress: `0x${string}`;
|
|
5581
|
-
readonly calldata: readonly `0x${string}`[];
|
|
5582
5622
|
readonly maxFee: `0x${string}`;
|
|
5583
5623
|
readonly signature: readonly `0x${string}`[];
|
|
5624
|
+
readonly contractAddress: `0x${string}`;
|
|
5584
5625
|
readonly entryPointSelector: `0x${string}`;
|
|
5626
|
+
readonly calldata: readonly `0x${string}`[];
|
|
5585
5627
|
};
|
|
5628
|
+
readonly _tag: "invokeV0";
|
|
5586
5629
|
} | {
|
|
5587
|
-
readonly _tag: "invokeV1";
|
|
5588
5630
|
readonly invokeV1: {
|
|
5589
|
-
readonly calldata: readonly `0x${string}`[];
|
|
5590
5631
|
readonly maxFee: `0x${string}`;
|
|
5591
5632
|
readonly signature: readonly `0x${string}`[];
|
|
5633
|
+
readonly calldata: readonly `0x${string}`[];
|
|
5592
5634
|
readonly senderAddress: `0x${string}`;
|
|
5593
5635
|
readonly nonce: `0x${string}`;
|
|
5594
5636
|
};
|
|
5637
|
+
readonly _tag: "invokeV1";
|
|
5595
5638
|
} | {
|
|
5596
|
-
readonly _tag: "invokeV3";
|
|
5597
5639
|
readonly invokeV3: {
|
|
5598
|
-
readonly calldata: readonly `0x${string}`[];
|
|
5599
5640
|
readonly signature: readonly `0x${string}`[];
|
|
5641
|
+
readonly calldata: readonly `0x${string}`[];
|
|
5600
5642
|
readonly senderAddress: `0x${string}`;
|
|
5601
5643
|
readonly nonce: `0x${string}`;
|
|
5602
5644
|
readonly resourceBounds: {
|
|
@@ -5615,31 +5657,31 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5615
5657
|
readonly nonceDataAvailabilityMode: "unknown" | "l1" | "l2";
|
|
5616
5658
|
readonly feeDataAvailabilityMode: "unknown" | "l1" | "l2";
|
|
5617
5659
|
};
|
|
5660
|
+
readonly _tag: "invokeV3";
|
|
5618
5661
|
} | {
|
|
5619
|
-
readonly _tag: "l1Handler";
|
|
5620
5662
|
readonly l1Handler: {
|
|
5621
5663
|
readonly contractAddress: `0x${string}`;
|
|
5622
|
-
readonly calldata: readonly `0x${string}`[];
|
|
5623
5664
|
readonly entryPointSelector: `0x${string}`;
|
|
5665
|
+
readonly calldata: readonly `0x${string}`[];
|
|
5624
5666
|
readonly nonce: bigint;
|
|
5625
5667
|
};
|
|
5668
|
+
readonly _tag: "l1Handler";
|
|
5626
5669
|
} | {
|
|
5627
|
-
readonly _tag: "deploy";
|
|
5628
5670
|
readonly deploy: {
|
|
5629
5671
|
readonly contractAddressSalt: `0x${string}`;
|
|
5630
5672
|
readonly constructorCalldata: readonly `0x${string}`[];
|
|
5631
5673
|
readonly classHash: `0x${string}`;
|
|
5632
5674
|
};
|
|
5675
|
+
readonly _tag: "deploy";
|
|
5633
5676
|
} | {
|
|
5634
|
-
readonly _tag: "declareV0";
|
|
5635
5677
|
readonly declareV0: {
|
|
5636
5678
|
readonly maxFee: `0x${string}`;
|
|
5637
5679
|
readonly signature: readonly `0x${string}`[];
|
|
5638
5680
|
readonly senderAddress: `0x${string}`;
|
|
5639
5681
|
readonly classHash: `0x${string}`;
|
|
5640
5682
|
};
|
|
5683
|
+
readonly _tag: "declareV0";
|
|
5641
5684
|
} | {
|
|
5642
|
-
readonly _tag: "declareV1";
|
|
5643
5685
|
readonly declareV1: {
|
|
5644
5686
|
readonly maxFee: `0x${string}`;
|
|
5645
5687
|
readonly signature: readonly `0x${string}`[];
|
|
@@ -5647,8 +5689,8 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5647
5689
|
readonly nonce: `0x${string}`;
|
|
5648
5690
|
readonly classHash: `0x${string}`;
|
|
5649
5691
|
};
|
|
5692
|
+
readonly _tag: "declareV1";
|
|
5650
5693
|
} | {
|
|
5651
|
-
readonly _tag: "declareV2";
|
|
5652
5694
|
readonly declareV2: {
|
|
5653
5695
|
readonly maxFee: `0x${string}`;
|
|
5654
5696
|
readonly signature: readonly `0x${string}`[];
|
|
@@ -5657,8 +5699,8 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5657
5699
|
readonly classHash: `0x${string}`;
|
|
5658
5700
|
readonly compiledClassHash: `0x${string}`;
|
|
5659
5701
|
};
|
|
5702
|
+
readonly _tag: "declareV2";
|
|
5660
5703
|
} | {
|
|
5661
|
-
readonly _tag: "declareV3";
|
|
5662
5704
|
readonly declareV3: {
|
|
5663
5705
|
readonly signature: readonly `0x${string}`[];
|
|
5664
5706
|
readonly senderAddress: `0x${string}`;
|
|
@@ -5681,8 +5723,8 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5681
5723
|
readonly classHash: `0x${string}`;
|
|
5682
5724
|
readonly compiledClassHash: `0x${string}`;
|
|
5683
5725
|
};
|
|
5726
|
+
readonly _tag: "declareV3";
|
|
5684
5727
|
} | {
|
|
5685
|
-
readonly _tag: "deployAccountV1";
|
|
5686
5728
|
readonly deployAccountV1: {
|
|
5687
5729
|
readonly maxFee: `0x${string}`;
|
|
5688
5730
|
readonly signature: readonly `0x${string}`[];
|
|
@@ -5691,8 +5733,8 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5691
5733
|
readonly constructorCalldata: readonly `0x${string}`[];
|
|
5692
5734
|
readonly classHash: `0x${string}`;
|
|
5693
5735
|
};
|
|
5736
|
+
readonly _tag: "deployAccountV1";
|
|
5694
5737
|
} | {
|
|
5695
|
-
readonly _tag: "deployAccountV3";
|
|
5696
5738
|
readonly deployAccountV3: {
|
|
5697
5739
|
readonly signature: readonly `0x${string}`[];
|
|
5698
5740
|
readonly nonce: `0x${string}`;
|
|
@@ -5714,65 +5756,9 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5714
5756
|
readonly constructorCalldata: readonly `0x${string}`[];
|
|
5715
5757
|
readonly classHash: `0x${string}`;
|
|
5716
5758
|
};
|
|
5759
|
+
readonly _tag: "deployAccountV3";
|
|
5717
5760
|
};
|
|
5718
5761
|
}[];
|
|
5719
|
-
readonly events: readonly {
|
|
5720
|
-
readonly keys: readonly `0x${string}`[];
|
|
5721
|
-
readonly transactionStatus: "unknown" | "succeeded" | "reverted";
|
|
5722
|
-
readonly address: `0x${string}`;
|
|
5723
|
-
readonly filterIds: readonly number[];
|
|
5724
|
-
readonly transactionIndex: number;
|
|
5725
|
-
readonly transactionHash: `0x${string}`;
|
|
5726
|
-
readonly data: readonly `0x${string}`[];
|
|
5727
|
-
readonly eventIndex: number;
|
|
5728
|
-
readonly eventIndexInTransaction: number;
|
|
5729
|
-
}[];
|
|
5730
|
-
readonly messages: readonly {
|
|
5731
|
-
readonly transactionStatus: "unknown" | "succeeded" | "reverted";
|
|
5732
|
-
readonly fromAddress: `0x${string}`;
|
|
5733
|
-
readonly toAddress: `0x${string}`;
|
|
5734
|
-
readonly filterIds: readonly number[];
|
|
5735
|
-
readonly transactionIndex: number;
|
|
5736
|
-
readonly transactionHash: `0x${string}`;
|
|
5737
|
-
readonly payload: readonly `0x${string}`[];
|
|
5738
|
-
readonly messageIndex: number;
|
|
5739
|
-
readonly messageIndexInTransaction: number;
|
|
5740
|
-
}[];
|
|
5741
|
-
readonly storageDiffs: readonly {
|
|
5742
|
-
readonly contractAddress: `0x${string}`;
|
|
5743
|
-
readonly filterIds: readonly number[];
|
|
5744
|
-
readonly storageEntries: readonly {
|
|
5745
|
-
readonly key: `0x${string}`;
|
|
5746
|
-
readonly value: `0x${string}`;
|
|
5747
|
-
}[];
|
|
5748
|
-
}[];
|
|
5749
|
-
readonly contractChanges: readonly {
|
|
5750
|
-
readonly change: {
|
|
5751
|
-
readonly _tag: "declaredClass";
|
|
5752
|
-
readonly declaredClass: {
|
|
5753
|
-
readonly classHash?: `0x${string}` | undefined;
|
|
5754
|
-
readonly compiledClassHash?: `0x${string}` | undefined;
|
|
5755
|
-
};
|
|
5756
|
-
} | {
|
|
5757
|
-
readonly _tag: "replacedClass";
|
|
5758
|
-
readonly replacedClass: {
|
|
5759
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
5760
|
-
readonly classHash?: `0x${string}` | undefined;
|
|
5761
|
-
};
|
|
5762
|
-
} | {
|
|
5763
|
-
readonly _tag: "deployedContract";
|
|
5764
|
-
readonly deployedContract: {
|
|
5765
|
-
readonly contractAddress?: `0x${string}` | undefined;
|
|
5766
|
-
readonly classHash?: `0x${string}` | undefined;
|
|
5767
|
-
};
|
|
5768
|
-
};
|
|
5769
|
-
readonly filterIds: readonly number[];
|
|
5770
|
-
}[];
|
|
5771
|
-
readonly nonceUpdates: readonly {
|
|
5772
|
-
readonly contractAddress: `0x${string}`;
|
|
5773
|
-
readonly filterIds: readonly number[];
|
|
5774
|
-
readonly nonce: `0x${string}`;
|
|
5775
|
-
}[];
|
|
5776
5762
|
readonly receipts: readonly {
|
|
5777
5763
|
readonly filterIds: readonly number[];
|
|
5778
5764
|
readonly meta: {
|
|
@@ -5811,28 +5797,85 @@ declare const StarknetStream: StreamConfig<{
|
|
|
5811
5797
|
};
|
|
5812
5798
|
};
|
|
5813
5799
|
readonly receipt: {
|
|
5814
|
-
readonly _tag: "invoke";
|
|
5815
5800
|
readonly invoke: {};
|
|
5801
|
+
readonly _tag: "invoke";
|
|
5816
5802
|
} | {
|
|
5817
|
-
readonly _tag: "l1Handler";
|
|
5818
5803
|
readonly l1Handler: {
|
|
5819
5804
|
readonly messageHash: Uint8Array;
|
|
5820
5805
|
};
|
|
5806
|
+
readonly _tag: "l1Handler";
|
|
5821
5807
|
} | {
|
|
5822
|
-
readonly _tag: "declare";
|
|
5823
5808
|
readonly declare: {};
|
|
5809
|
+
readonly _tag: "declare";
|
|
5824
5810
|
} | {
|
|
5825
|
-
readonly _tag: "deploy";
|
|
5826
5811
|
readonly deploy: {
|
|
5827
5812
|
readonly contractAddress: `0x${string}`;
|
|
5828
5813
|
};
|
|
5814
|
+
readonly _tag: "deploy";
|
|
5829
5815
|
} | {
|
|
5830
|
-
readonly _tag: "deployAccount";
|
|
5831
5816
|
readonly deployAccount: {
|
|
5832
5817
|
readonly contractAddress: `0x${string}`;
|
|
5833
5818
|
};
|
|
5819
|
+
readonly _tag: "deployAccount";
|
|
5820
|
+
};
|
|
5821
|
+
}[];
|
|
5822
|
+
readonly events: readonly {
|
|
5823
|
+
readonly keys: readonly `0x${string}`[];
|
|
5824
|
+
readonly filterIds: readonly number[];
|
|
5825
|
+
readonly transactionIndex: number;
|
|
5826
|
+
readonly transactionHash: `0x${string}`;
|
|
5827
|
+
readonly transactionStatus: "succeeded" | "reverted" | "unknown";
|
|
5828
|
+
readonly address: `0x${string}`;
|
|
5829
|
+
readonly data: readonly `0x${string}`[];
|
|
5830
|
+
readonly eventIndex: number;
|
|
5831
|
+
readonly eventIndexInTransaction: number;
|
|
5832
|
+
}[];
|
|
5833
|
+
readonly messages: readonly {
|
|
5834
|
+
readonly filterIds: readonly number[];
|
|
5835
|
+
readonly transactionIndex: number;
|
|
5836
|
+
readonly transactionHash: `0x${string}`;
|
|
5837
|
+
readonly transactionStatus: "succeeded" | "reverted" | "unknown";
|
|
5838
|
+
readonly fromAddress: `0x${string}`;
|
|
5839
|
+
readonly toAddress: `0x${string}`;
|
|
5840
|
+
readonly payload: readonly `0x${string}`[];
|
|
5841
|
+
readonly messageIndex: number;
|
|
5842
|
+
readonly messageIndexInTransaction: number;
|
|
5843
|
+
}[];
|
|
5844
|
+
readonly storageDiffs: readonly {
|
|
5845
|
+
readonly filterIds: readonly number[];
|
|
5846
|
+
readonly contractAddress: `0x${string}`;
|
|
5847
|
+
readonly storageEntries: readonly {
|
|
5848
|
+
readonly key: `0x${string}`;
|
|
5849
|
+
readonly value: `0x${string}`;
|
|
5850
|
+
}[];
|
|
5851
|
+
}[];
|
|
5852
|
+
readonly contractChanges: readonly {
|
|
5853
|
+
readonly filterIds: readonly number[];
|
|
5854
|
+
readonly change: {
|
|
5855
|
+
readonly declaredClass: {
|
|
5856
|
+
readonly classHash?: `0x${string}` | undefined;
|
|
5857
|
+
readonly compiledClassHash?: `0x${string}` | undefined;
|
|
5858
|
+
};
|
|
5859
|
+
readonly _tag: "declaredClass";
|
|
5860
|
+
} | {
|
|
5861
|
+
readonly replacedClass: {
|
|
5862
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5863
|
+
readonly classHash?: `0x${string}` | undefined;
|
|
5864
|
+
};
|
|
5865
|
+
readonly _tag: "replacedClass";
|
|
5866
|
+
} | {
|
|
5867
|
+
readonly deployedContract: {
|
|
5868
|
+
readonly contractAddress?: `0x${string}` | undefined;
|
|
5869
|
+
readonly classHash?: `0x${string}` | undefined;
|
|
5870
|
+
};
|
|
5871
|
+
readonly _tag: "deployedContract";
|
|
5834
5872
|
};
|
|
5835
5873
|
}[];
|
|
5874
|
+
readonly nonceUpdates: readonly {
|
|
5875
|
+
readonly filterIds: readonly number[];
|
|
5876
|
+
readonly contractAddress: `0x${string}`;
|
|
5877
|
+
readonly nonce: `0x${string}`;
|
|
5878
|
+
}[];
|
|
5836
5879
|
}>;
|
|
5837
5880
|
|
|
5838
5881
|
export { Block, BlockFromBytes, BlockHeader, ComputationResources, ContractChange, ContractChangeFilter, DataAvailabilityMode, DataAvailabilityResources, DeclareTransactionReceipt, DeclareTransactionV0, DeclareTransactionV1, DeclareTransactionV2, DeclareTransactionV3, DeclareV0TransactionFilter, DeclareV1TransactionFilter, DeclareV2TransactionFilter, DeclareV3TransactionFilter, DeclaredClass, DeclaredClassFilter, type DecodeEventArgs, DecodeEventError, type DecodeEventReturn, type DecodedEvent, DeployAccountTransactionReceipt, DeployAccountTransactionV1, DeployAccountTransactionV3, DeployAccountV1TransactionFilter, DeployAccountV3TransactionFilter, DeployTransaction, DeployTransactionFilter, DeployTransactionReceipt, DeployedContract, DeployedContractFilter, Event, EventFilter, ExecutionResources, ExecutionReverted, ExecutionSucceeded, FeePayment, FieldElement$1 as FieldElement, Filter, FilterFromBytes, HeaderFilter, InvokeTransactionReceipt, InvokeTransactionV0, InvokeTransactionV0Filter, InvokeTransactionV1, InvokeTransactionV1Filter, InvokeTransactionV3, InvokeTransactionV3Filter, Key, L1DataAvailabilityMode, L1HandlerTransaction, L1HandlerTransactionFilter, L1HandlerTransactionReceipt, MessageToL1, MessageToL1Filter, NonceUpdate, NonceUpdateFilter, PriceUnit, ReplacedClass, ReplacedClassFilter, ResourceBounds, ResourceBoundsMapping, ResourcePrice, StarknetStream, StorageDiff, StorageDiffFilter, StorageEntry, Transaction, TransactionFilter, TransactionMeta, TransactionReceipt, TransactionReceiptMeta, TransactionStatus, TransactionStatusFilter, U128, decodeEvent, filterFromBytes, filterFromProto, filterToBytes, filterToProto, getBigIntSelector, getEventSelector, getReceipt, getSelector, getTransaction, mergeFilter, index as proto };
|