@apibara/starknet 2.1.0-beta.14 → 2.1.0-beta.15

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 CHANGED
@@ -1680,130 +1680,130 @@ declare const Filter: Schema.Struct<{
1680
1680
  }>;
1681
1681
  type Filter = typeof Filter.Type;
1682
1682
  declare const filterToProto: (a: {
1683
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
1683
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
1684
1684
  readonly transactions?: readonly {
1685
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1686
1685
  readonly id?: number | undefined;
1686
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1687
1687
  readonly includeReceipt?: boolean | undefined;
1688
1688
  readonly includeMessages?: boolean | undefined;
1689
1689
  readonly includeEvents?: boolean | undefined;
1690
1690
  readonly transactionType?: {
1691
- readonly invokeV0: {};
1692
1691
  readonly _tag: "invokeV0";
1692
+ readonly invokeV0: {};
1693
1693
  } | {
1694
- readonly invokeV1: {};
1695
1694
  readonly _tag: "invokeV1";
1695
+ readonly invokeV1: {};
1696
1696
  } | {
1697
- readonly invokeV3: {};
1698
1697
  readonly _tag: "invokeV3";
1698
+ readonly invokeV3: {};
1699
1699
  } | {
1700
- readonly deploy: {};
1701
1700
  readonly _tag: "deploy";
1701
+ readonly deploy: {};
1702
1702
  } | {
1703
- readonly declareV0: {};
1704
1703
  readonly _tag: "declareV0";
1704
+ readonly declareV0: {};
1705
1705
  } | {
1706
- readonly declareV1: {};
1707
1706
  readonly _tag: "declareV1";
1707
+ readonly declareV1: {};
1708
1708
  } | {
1709
- readonly declareV2: {};
1710
1709
  readonly _tag: "declareV2";
1710
+ readonly declareV2: {};
1711
1711
  } | {
1712
- readonly declareV3: {};
1713
1712
  readonly _tag: "declareV3";
1713
+ readonly declareV3: {};
1714
1714
  } | {
1715
- readonly l1Handler: {};
1716
1715
  readonly _tag: "l1Handler";
1716
+ readonly l1Handler: {};
1717
1717
  } | {
1718
- readonly deployAccountV1: {};
1719
1718
  readonly _tag: "deployAccountV1";
1719
+ readonly deployAccountV1: {};
1720
1720
  } | {
1721
- readonly deployAccountV3: {};
1722
1721
  readonly _tag: "deployAccountV3";
1722
+ readonly deployAccountV3: {};
1723
1723
  } | undefined;
1724
1724
  }[] | undefined;
1725
1725
  readonly events?: readonly {
1726
1726
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
1727
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1728
- readonly address?: `0x${string}` | undefined;
1729
1727
  readonly id?: number | undefined;
1730
- readonly strict?: boolean | undefined;
1731
- readonly includeTransaction?: boolean | undefined;
1728
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1732
1729
  readonly includeReceipt?: boolean | undefined;
1733
1730
  readonly includeMessages?: boolean | undefined;
1731
+ readonly address?: `0x${string}` | undefined;
1732
+ readonly strict?: boolean | undefined;
1733
+ readonly includeTransaction?: boolean | undefined;
1734
1734
  readonly includeSiblings?: boolean | undefined;
1735
1735
  }[] | undefined;
1736
1736
  readonly messages?: readonly {
1737
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1738
- readonly fromAddress?: `0x${string}` | undefined;
1739
- readonly toAddress?: `0x${string}` | undefined;
1740
1737
  readonly id?: number | undefined;
1741
- readonly includeTransaction?: boolean | undefined;
1738
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1742
1739
  readonly includeReceipt?: boolean | undefined;
1743
1740
  readonly includeEvents?: boolean | undefined;
1741
+ readonly includeTransaction?: boolean | undefined;
1742
+ readonly fromAddress?: `0x${string}` | undefined;
1743
+ readonly toAddress?: `0x${string}` | undefined;
1744
1744
  }[] | undefined;
1745
1745
  readonly storageDiffs?: readonly {
1746
- readonly contractAddress?: `0x${string}` | undefined;
1747
1746
  readonly id?: number | undefined;
1747
+ readonly contractAddress?: `0x${string}` | undefined;
1748
1748
  }[] | undefined;
1749
1749
  readonly contractChanges?: readonly {
1750
+ readonly id?: number | undefined;
1750
1751
  readonly change?: {
1751
- readonly declaredClass: {};
1752
1752
  readonly _tag: "declaredClass";
1753
+ readonly declaredClass: {};
1753
1754
  } | {
1754
- readonly replacedClass: {};
1755
1755
  readonly _tag: "replacedClass";
1756
+ readonly replacedClass: {};
1756
1757
  } | {
1757
- readonly deployedContract: {};
1758
1758
  readonly _tag: "deployedContract";
1759
+ readonly deployedContract: {};
1759
1760
  } | undefined;
1760
- readonly id?: number | undefined;
1761
1761
  }[] | undefined;
1762
1762
  readonly nonceUpdates?: readonly {
1763
- readonly contractAddress?: `0x${string}` | undefined;
1764
1763
  readonly id?: number | undefined;
1764
+ readonly contractAddress?: `0x${string}` | undefined;
1765
1765
  }[] | undefined;
1766
1766
  }, overrideOptions?: _effect_schema_AST.ParseOptions) => {
1767
1767
  readonly header?: HeaderFilter$1 | undefined;
1768
1768
  readonly transactions?: readonly {
1769
- readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1770
1769
  readonly id?: number | undefined;
1770
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1771
1771
  readonly includeReceipt?: boolean | undefined;
1772
1772
  readonly includeMessages?: boolean | undefined;
1773
1773
  readonly includeEvents?: boolean | undefined;
1774
1774
  readonly transactionType?: {
1775
- readonly invokeV0: {};
1776
1775
  readonly $case: "invokeV0";
1776
+ readonly invokeV0: {};
1777
1777
  } | {
1778
- readonly invokeV1: {};
1779
1778
  readonly $case: "invokeV1";
1779
+ readonly invokeV1: {};
1780
1780
  } | {
1781
- readonly invokeV3: {};
1782
1781
  readonly $case: "invokeV3";
1782
+ readonly invokeV3: {};
1783
1783
  } | {
1784
- readonly deploy: {};
1785
1784
  readonly $case: "deploy";
1785
+ readonly deploy: {};
1786
1786
  } | {
1787
- readonly declareV0: {};
1788
1787
  readonly $case: "declareV0";
1788
+ readonly declareV0: {};
1789
1789
  } | {
1790
- readonly declareV1: {};
1791
1790
  readonly $case: "declareV1";
1791
+ readonly declareV1: {};
1792
1792
  } | {
1793
- readonly declareV2: {};
1794
1793
  readonly $case: "declareV2";
1794
+ readonly declareV2: {};
1795
1795
  } | {
1796
- readonly declareV3: {};
1797
1796
  readonly $case: "declareV3";
1797
+ readonly declareV3: {};
1798
1798
  } | {
1799
- readonly l1Handler: {};
1800
1799
  readonly $case: "l1Handler";
1800
+ readonly l1Handler: {};
1801
1801
  } | {
1802
- readonly deployAccountV1: {};
1803
1802
  readonly $case: "deployAccountV1";
1803
+ readonly deployAccountV1: {};
1804
1804
  } | {
1805
- readonly deployAccountV3: {};
1806
1805
  readonly $case: "deployAccountV3";
1806
+ readonly deployAccountV3: {};
1807
1807
  } | undefined;
1808
1808
  }[] | undefined;
1809
1809
  readonly events?: readonly {
@@ -1815,22 +1815,26 @@ declare const filterToProto: (a: {
1815
1815
  readonly x3: bigint;
1816
1816
  } | undefined;
1817
1817
  }[] | undefined;
1818
+ readonly id?: number | undefined;
1818
1819
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1820
+ readonly includeReceipt?: boolean | undefined;
1821
+ readonly includeMessages?: boolean | undefined;
1819
1822
  readonly address?: {
1820
1823
  readonly x0: bigint;
1821
1824
  readonly x1: bigint;
1822
1825
  readonly x2: bigint;
1823
1826
  readonly x3: bigint;
1824
1827
  } | undefined;
1825
- readonly id?: number | undefined;
1826
1828
  readonly strict?: boolean | undefined;
1827
1829
  readonly includeTransaction?: boolean | undefined;
1828
- readonly includeReceipt?: boolean | undefined;
1829
- readonly includeMessages?: boolean | undefined;
1830
1830
  readonly includeSiblings?: boolean | undefined;
1831
1831
  }[] | undefined;
1832
1832
  readonly messages?: readonly {
1833
+ readonly id?: number | undefined;
1833
1834
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1835
+ readonly includeReceipt?: boolean | undefined;
1836
+ readonly includeEvents?: boolean | undefined;
1837
+ readonly includeTransaction?: boolean | undefined;
1834
1838
  readonly fromAddress?: {
1835
1839
  readonly x0: bigint;
1836
1840
  readonly x1: bigint;
@@ -1843,84 +1847,80 @@ declare const filterToProto: (a: {
1843
1847
  readonly x2: bigint;
1844
1848
  readonly x3: bigint;
1845
1849
  } | undefined;
1846
- readonly id?: number | undefined;
1847
- readonly includeTransaction?: boolean | undefined;
1848
- readonly includeReceipt?: boolean | undefined;
1849
- readonly includeEvents?: boolean | undefined;
1850
1850
  }[] | undefined;
1851
1851
  readonly storageDiffs?: readonly {
1852
+ readonly id?: number | undefined;
1852
1853
  readonly contractAddress?: {
1853
1854
  readonly x0: bigint;
1854
1855
  readonly x1: bigint;
1855
1856
  readonly x2: bigint;
1856
1857
  readonly x3: bigint;
1857
1858
  } | undefined;
1858
- readonly id?: number | undefined;
1859
1859
  }[] | undefined;
1860
1860
  readonly contractChanges?: readonly {
1861
+ readonly id?: number | undefined;
1861
1862
  readonly change?: {
1862
- readonly declaredClass: {};
1863
1863
  readonly $case: "declaredClass";
1864
+ readonly declaredClass: {};
1864
1865
  } | {
1865
- readonly replacedClass: {};
1866
1866
  readonly $case: "replacedClass";
1867
+ readonly replacedClass: {};
1867
1868
  } | {
1868
- readonly deployedContract: {};
1869
1869
  readonly $case: "deployedContract";
1870
+ readonly deployedContract: {};
1870
1871
  } | undefined;
1871
- readonly id?: number | undefined;
1872
1872
  }[] | undefined;
1873
1873
  readonly nonceUpdates?: readonly {
1874
+ readonly id?: number | undefined;
1874
1875
  readonly contractAddress?: {
1875
1876
  readonly x0: bigint;
1876
1877
  readonly x1: bigint;
1877
1878
  readonly x2: bigint;
1878
1879
  readonly x3: bigint;
1879
1880
  } | undefined;
1880
- readonly id?: number | undefined;
1881
1881
  }[] | undefined;
1882
1882
  };
1883
1883
  declare const filterFromProto: (i: {
1884
1884
  readonly header?: HeaderFilter$1 | undefined;
1885
1885
  readonly transactions?: readonly {
1886
- readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1887
1886
  readonly id?: number | undefined;
1887
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1888
1888
  readonly includeReceipt?: boolean | undefined;
1889
1889
  readonly includeMessages?: boolean | undefined;
1890
1890
  readonly includeEvents?: boolean | undefined;
1891
1891
  readonly transactionType?: {
1892
- readonly invokeV0: {};
1893
1892
  readonly $case: "invokeV0";
1893
+ readonly invokeV0: {};
1894
1894
  } | {
1895
- readonly invokeV1: {};
1896
1895
  readonly $case: "invokeV1";
1896
+ readonly invokeV1: {};
1897
1897
  } | {
1898
- readonly invokeV3: {};
1899
1898
  readonly $case: "invokeV3";
1899
+ readonly invokeV3: {};
1900
1900
  } | {
1901
- readonly deploy: {};
1902
1901
  readonly $case: "deploy";
1902
+ readonly deploy: {};
1903
1903
  } | {
1904
- readonly declareV0: {};
1905
1904
  readonly $case: "declareV0";
1905
+ readonly declareV0: {};
1906
1906
  } | {
1907
- readonly declareV1: {};
1908
1907
  readonly $case: "declareV1";
1908
+ readonly declareV1: {};
1909
1909
  } | {
1910
- readonly declareV2: {};
1911
1910
  readonly $case: "declareV2";
1911
+ readonly declareV2: {};
1912
1912
  } | {
1913
- readonly declareV3: {};
1914
1913
  readonly $case: "declareV3";
1914
+ readonly declareV3: {};
1915
1915
  } | {
1916
- readonly l1Handler: {};
1917
1916
  readonly $case: "l1Handler";
1917
+ readonly l1Handler: {};
1918
1918
  } | {
1919
- readonly deployAccountV1: {};
1920
1919
  readonly $case: "deployAccountV1";
1920
+ readonly deployAccountV1: {};
1921
1921
  } | {
1922
- readonly deployAccountV3: {};
1923
1922
  readonly $case: "deployAccountV3";
1923
+ readonly deployAccountV3: {};
1924
1924
  } | undefined;
1925
1925
  }[] | undefined;
1926
1926
  readonly events?: readonly {
@@ -1932,22 +1932,26 @@ declare const filterFromProto: (i: {
1932
1932
  readonly x3: bigint;
1933
1933
  } | undefined;
1934
1934
  }[] | undefined;
1935
+ readonly id?: number | undefined;
1935
1936
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1937
+ readonly includeReceipt?: boolean | undefined;
1938
+ readonly includeMessages?: boolean | undefined;
1936
1939
  readonly address?: {
1937
1940
  readonly x0: bigint;
1938
1941
  readonly x1: bigint;
1939
1942
  readonly x2: bigint;
1940
1943
  readonly x3: bigint;
1941
1944
  } | undefined;
1942
- readonly id?: number | undefined;
1943
1945
  readonly strict?: boolean | undefined;
1944
1946
  readonly includeTransaction?: boolean | undefined;
1945
- readonly includeReceipt?: boolean | undefined;
1946
- readonly includeMessages?: boolean | undefined;
1947
1947
  readonly includeSiblings?: boolean | undefined;
1948
1948
  }[] | undefined;
1949
1949
  readonly messages?: readonly {
1950
+ readonly id?: number | undefined;
1950
1951
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1952
+ readonly includeReceipt?: boolean | undefined;
1953
+ readonly includeEvents?: boolean | undefined;
1954
+ readonly includeTransaction?: boolean | undefined;
1951
1955
  readonly fromAddress?: {
1952
1956
  readonly x0: bigint;
1953
1957
  readonly x1: bigint;
@@ -1960,125 +1964,121 @@ declare const filterFromProto: (i: {
1960
1964
  readonly x2: bigint;
1961
1965
  readonly x3: bigint;
1962
1966
  } | undefined;
1963
- readonly id?: number | undefined;
1964
- readonly includeTransaction?: boolean | undefined;
1965
- readonly includeReceipt?: boolean | undefined;
1966
- readonly includeEvents?: boolean | undefined;
1967
1967
  }[] | undefined;
1968
1968
  readonly storageDiffs?: readonly {
1969
+ readonly id?: number | undefined;
1969
1970
  readonly contractAddress?: {
1970
1971
  readonly x0: bigint;
1971
1972
  readonly x1: bigint;
1972
1973
  readonly x2: bigint;
1973
1974
  readonly x3: bigint;
1974
1975
  } | undefined;
1975
- readonly id?: number | undefined;
1976
1976
  }[] | undefined;
1977
1977
  readonly contractChanges?: readonly {
1978
+ readonly id?: number | undefined;
1978
1979
  readonly change?: {
1979
- readonly declaredClass: {};
1980
1980
  readonly $case: "declaredClass";
1981
+ readonly declaredClass: {};
1981
1982
  } | {
1982
- readonly replacedClass: {};
1983
1983
  readonly $case: "replacedClass";
1984
+ readonly replacedClass: {};
1984
1985
  } | {
1985
- readonly deployedContract: {};
1986
1986
  readonly $case: "deployedContract";
1987
+ readonly deployedContract: {};
1987
1988
  } | undefined;
1988
- readonly id?: number | undefined;
1989
1989
  }[] | undefined;
1990
1990
  readonly nonceUpdates?: readonly {
1991
+ readonly id?: number | undefined;
1991
1992
  readonly contractAddress?: {
1992
1993
  readonly x0: bigint;
1993
1994
  readonly x1: bigint;
1994
1995
  readonly x2: bigint;
1995
1996
  readonly x3: bigint;
1996
1997
  } | undefined;
1997
- readonly id?: number | undefined;
1998
1998
  }[] | undefined;
1999
1999
  }, overrideOptions?: _effect_schema_AST.ParseOptions) => {
2000
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
2000
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
2001
2001
  readonly transactions?: readonly {
2002
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2003
2002
  readonly id?: number | undefined;
2003
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2004
2004
  readonly includeReceipt?: boolean | undefined;
2005
2005
  readonly includeMessages?: boolean | undefined;
2006
2006
  readonly includeEvents?: boolean | undefined;
2007
2007
  readonly transactionType?: {
2008
- readonly invokeV0: {};
2009
2008
  readonly _tag: "invokeV0";
2009
+ readonly invokeV0: {};
2010
2010
  } | {
2011
- readonly invokeV1: {};
2012
2011
  readonly _tag: "invokeV1";
2012
+ readonly invokeV1: {};
2013
2013
  } | {
2014
- readonly invokeV3: {};
2015
2014
  readonly _tag: "invokeV3";
2015
+ readonly invokeV3: {};
2016
2016
  } | {
2017
- readonly deploy: {};
2018
2017
  readonly _tag: "deploy";
2018
+ readonly deploy: {};
2019
2019
  } | {
2020
- readonly declareV0: {};
2021
2020
  readonly _tag: "declareV0";
2021
+ readonly declareV0: {};
2022
2022
  } | {
2023
- readonly declareV1: {};
2024
2023
  readonly _tag: "declareV1";
2024
+ readonly declareV1: {};
2025
2025
  } | {
2026
- readonly declareV2: {};
2027
2026
  readonly _tag: "declareV2";
2027
+ readonly declareV2: {};
2028
2028
  } | {
2029
- readonly declareV3: {};
2030
2029
  readonly _tag: "declareV3";
2030
+ readonly declareV3: {};
2031
2031
  } | {
2032
- readonly l1Handler: {};
2033
2032
  readonly _tag: "l1Handler";
2033
+ readonly l1Handler: {};
2034
2034
  } | {
2035
- readonly deployAccountV1: {};
2036
2035
  readonly _tag: "deployAccountV1";
2036
+ readonly deployAccountV1: {};
2037
2037
  } | {
2038
- readonly deployAccountV3: {};
2039
2038
  readonly _tag: "deployAccountV3";
2039
+ readonly deployAccountV3: {};
2040
2040
  } | undefined;
2041
2041
  }[] | undefined;
2042
2042
  readonly events?: readonly {
2043
2043
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
2044
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2045
- readonly address?: `0x${string}` | undefined;
2046
2044
  readonly id?: number | undefined;
2047
- readonly strict?: boolean | undefined;
2048
- readonly includeTransaction?: boolean | undefined;
2045
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2049
2046
  readonly includeReceipt?: boolean | undefined;
2050
2047
  readonly includeMessages?: boolean | undefined;
2048
+ readonly address?: `0x${string}` | undefined;
2049
+ readonly strict?: boolean | undefined;
2050
+ readonly includeTransaction?: boolean | undefined;
2051
2051
  readonly includeSiblings?: boolean | undefined;
2052
2052
  }[] | undefined;
2053
2053
  readonly messages?: readonly {
2054
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2055
- readonly fromAddress?: `0x${string}` | undefined;
2056
- readonly toAddress?: `0x${string}` | undefined;
2057
2054
  readonly id?: number | undefined;
2058
- readonly includeTransaction?: boolean | undefined;
2055
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2059
2056
  readonly includeReceipt?: boolean | undefined;
2060
2057
  readonly includeEvents?: boolean | undefined;
2058
+ readonly includeTransaction?: boolean | undefined;
2059
+ readonly fromAddress?: `0x${string}` | undefined;
2060
+ readonly toAddress?: `0x${string}` | undefined;
2061
2061
  }[] | undefined;
2062
2062
  readonly storageDiffs?: readonly {
2063
- readonly contractAddress?: `0x${string}` | undefined;
2064
2063
  readonly id?: number | undefined;
2064
+ readonly contractAddress?: `0x${string}` | undefined;
2065
2065
  }[] | undefined;
2066
2066
  readonly contractChanges?: readonly {
2067
+ readonly id?: number | undefined;
2067
2068
  readonly change?: {
2068
- readonly declaredClass: {};
2069
2069
  readonly _tag: "declaredClass";
2070
+ readonly declaredClass: {};
2070
2071
  } | {
2071
- readonly replacedClass: {};
2072
2072
  readonly _tag: "replacedClass";
2073
+ readonly replacedClass: {};
2073
2074
  } | {
2074
- readonly deployedContract: {};
2075
2075
  readonly _tag: "deployedContract";
2076
+ readonly deployedContract: {};
2076
2077
  } | undefined;
2077
- readonly id?: number | undefined;
2078
2078
  }[] | undefined;
2079
2079
  readonly nonceUpdates?: readonly {
2080
- readonly contractAddress?: `0x${string}` | undefined;
2081
2080
  readonly id?: number | undefined;
2081
+ readonly contractAddress?: `0x${string}` | undefined;
2082
2082
  }[] | undefined;
2083
2083
  };
2084
2084
  declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
@@ -2207,173 +2207,173 @@ declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8A
2207
2207
  }>>>;
2208
2208
  }>>;
2209
2209
  declare const filterToBytes: (a: {
2210
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
2210
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
2211
2211
  readonly transactions?: readonly {
2212
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2213
2212
  readonly id?: number | undefined;
2213
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2214
2214
  readonly includeReceipt?: boolean | undefined;
2215
2215
  readonly includeMessages?: boolean | undefined;
2216
2216
  readonly includeEvents?: boolean | undefined;
2217
2217
  readonly transactionType?: {
2218
- readonly invokeV0: {};
2219
2218
  readonly _tag: "invokeV0";
2219
+ readonly invokeV0: {};
2220
2220
  } | {
2221
- readonly invokeV1: {};
2222
2221
  readonly _tag: "invokeV1";
2222
+ readonly invokeV1: {};
2223
2223
  } | {
2224
- readonly invokeV3: {};
2225
2224
  readonly _tag: "invokeV3";
2225
+ readonly invokeV3: {};
2226
2226
  } | {
2227
- readonly deploy: {};
2228
2227
  readonly _tag: "deploy";
2228
+ readonly deploy: {};
2229
2229
  } | {
2230
- readonly declareV0: {};
2231
2230
  readonly _tag: "declareV0";
2231
+ readonly declareV0: {};
2232
2232
  } | {
2233
- readonly declareV1: {};
2234
2233
  readonly _tag: "declareV1";
2234
+ readonly declareV1: {};
2235
2235
  } | {
2236
- readonly declareV2: {};
2237
2236
  readonly _tag: "declareV2";
2237
+ readonly declareV2: {};
2238
2238
  } | {
2239
- readonly declareV3: {};
2240
2239
  readonly _tag: "declareV3";
2240
+ readonly declareV3: {};
2241
2241
  } | {
2242
- readonly l1Handler: {};
2243
2242
  readonly _tag: "l1Handler";
2243
+ readonly l1Handler: {};
2244
2244
  } | {
2245
- readonly deployAccountV1: {};
2246
2245
  readonly _tag: "deployAccountV1";
2246
+ readonly deployAccountV1: {};
2247
2247
  } | {
2248
- readonly deployAccountV3: {};
2249
2248
  readonly _tag: "deployAccountV3";
2249
+ readonly deployAccountV3: {};
2250
2250
  } | undefined;
2251
2251
  }[] | undefined;
2252
2252
  readonly events?: readonly {
2253
2253
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
2254
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2255
- readonly address?: `0x${string}` | undefined;
2256
2254
  readonly id?: number | undefined;
2257
- readonly strict?: boolean | undefined;
2258
- readonly includeTransaction?: boolean | undefined;
2255
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2259
2256
  readonly includeReceipt?: boolean | undefined;
2260
2257
  readonly includeMessages?: boolean | undefined;
2258
+ readonly address?: `0x${string}` | undefined;
2259
+ readonly strict?: boolean | undefined;
2260
+ readonly includeTransaction?: boolean | undefined;
2261
2261
  readonly includeSiblings?: boolean | undefined;
2262
2262
  }[] | undefined;
2263
2263
  readonly messages?: readonly {
2264
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2265
- readonly fromAddress?: `0x${string}` | undefined;
2266
- readonly toAddress?: `0x${string}` | undefined;
2267
2264
  readonly id?: number | undefined;
2268
- readonly includeTransaction?: boolean | undefined;
2265
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2269
2266
  readonly includeReceipt?: boolean | undefined;
2270
2267
  readonly includeEvents?: boolean | undefined;
2268
+ readonly includeTransaction?: boolean | undefined;
2269
+ readonly fromAddress?: `0x${string}` | undefined;
2270
+ readonly toAddress?: `0x${string}` | undefined;
2271
2271
  }[] | undefined;
2272
2272
  readonly storageDiffs?: readonly {
2273
- readonly contractAddress?: `0x${string}` | undefined;
2274
2273
  readonly id?: number | undefined;
2274
+ readonly contractAddress?: `0x${string}` | undefined;
2275
2275
  }[] | undefined;
2276
2276
  readonly contractChanges?: readonly {
2277
+ readonly id?: number | undefined;
2277
2278
  readonly change?: {
2278
- readonly declaredClass: {};
2279
2279
  readonly _tag: "declaredClass";
2280
+ readonly declaredClass: {};
2280
2281
  } | {
2281
- readonly replacedClass: {};
2282
2282
  readonly _tag: "replacedClass";
2283
+ readonly replacedClass: {};
2283
2284
  } | {
2284
- readonly deployedContract: {};
2285
2285
  readonly _tag: "deployedContract";
2286
+ readonly deployedContract: {};
2286
2287
  } | undefined;
2287
- readonly id?: number | undefined;
2288
2288
  }[] | undefined;
2289
2289
  readonly nonceUpdates?: readonly {
2290
- readonly contractAddress?: `0x${string}` | undefined;
2291
2290
  readonly id?: number | undefined;
2291
+ readonly contractAddress?: `0x${string}` | undefined;
2292
2292
  }[] | undefined;
2293
2293
  }, overrideOptions?: _effect_schema_AST.ParseOptions) => Uint8Array;
2294
2294
  declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions) => {
2295
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
2295
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
2296
2296
  readonly transactions?: readonly {
2297
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2298
2297
  readonly id?: number | undefined;
2298
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2299
2299
  readonly includeReceipt?: boolean | undefined;
2300
2300
  readonly includeMessages?: boolean | undefined;
2301
2301
  readonly includeEvents?: boolean | undefined;
2302
2302
  readonly transactionType?: {
2303
- readonly invokeV0: {};
2304
2303
  readonly _tag: "invokeV0";
2304
+ readonly invokeV0: {};
2305
2305
  } | {
2306
- readonly invokeV1: {};
2307
2306
  readonly _tag: "invokeV1";
2307
+ readonly invokeV1: {};
2308
2308
  } | {
2309
- readonly invokeV3: {};
2310
2309
  readonly _tag: "invokeV3";
2310
+ readonly invokeV3: {};
2311
2311
  } | {
2312
- readonly deploy: {};
2313
2312
  readonly _tag: "deploy";
2313
+ readonly deploy: {};
2314
2314
  } | {
2315
- readonly declareV0: {};
2316
2315
  readonly _tag: "declareV0";
2316
+ readonly declareV0: {};
2317
2317
  } | {
2318
- readonly declareV1: {};
2319
2318
  readonly _tag: "declareV1";
2319
+ readonly declareV1: {};
2320
2320
  } | {
2321
- readonly declareV2: {};
2322
2321
  readonly _tag: "declareV2";
2322
+ readonly declareV2: {};
2323
2323
  } | {
2324
- readonly declareV3: {};
2325
2324
  readonly _tag: "declareV3";
2325
+ readonly declareV3: {};
2326
2326
  } | {
2327
- readonly l1Handler: {};
2328
2327
  readonly _tag: "l1Handler";
2328
+ readonly l1Handler: {};
2329
2329
  } | {
2330
- readonly deployAccountV1: {};
2331
2330
  readonly _tag: "deployAccountV1";
2331
+ readonly deployAccountV1: {};
2332
2332
  } | {
2333
- readonly deployAccountV3: {};
2334
2333
  readonly _tag: "deployAccountV3";
2334
+ readonly deployAccountV3: {};
2335
2335
  } | undefined;
2336
2336
  }[] | undefined;
2337
2337
  readonly events?: readonly {
2338
2338
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
2339
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2340
- readonly address?: `0x${string}` | undefined;
2341
2339
  readonly id?: number | undefined;
2342
- readonly strict?: boolean | undefined;
2343
- readonly includeTransaction?: boolean | undefined;
2340
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2344
2341
  readonly includeReceipt?: boolean | undefined;
2345
2342
  readonly includeMessages?: boolean | undefined;
2343
+ readonly address?: `0x${string}` | undefined;
2344
+ readonly strict?: boolean | undefined;
2345
+ readonly includeTransaction?: boolean | undefined;
2346
2346
  readonly includeSiblings?: boolean | undefined;
2347
2347
  }[] | undefined;
2348
2348
  readonly messages?: readonly {
2349
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2350
- readonly fromAddress?: `0x${string}` | undefined;
2351
- readonly toAddress?: `0x${string}` | undefined;
2352
2349
  readonly id?: number | undefined;
2353
- readonly includeTransaction?: boolean | undefined;
2350
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2354
2351
  readonly includeReceipt?: boolean | undefined;
2355
2352
  readonly includeEvents?: boolean | undefined;
2353
+ readonly includeTransaction?: boolean | undefined;
2354
+ readonly fromAddress?: `0x${string}` | undefined;
2355
+ readonly toAddress?: `0x${string}` | undefined;
2356
2356
  }[] | undefined;
2357
2357
  readonly storageDiffs?: readonly {
2358
- readonly contractAddress?: `0x${string}` | undefined;
2359
2358
  readonly id?: number | undefined;
2359
+ readonly contractAddress?: `0x${string}` | undefined;
2360
2360
  }[] | undefined;
2361
2361
  readonly contractChanges?: readonly {
2362
+ readonly id?: number | undefined;
2362
2363
  readonly change?: {
2363
- readonly declaredClass: {};
2364
2364
  readonly _tag: "declaredClass";
2365
+ readonly declaredClass: {};
2365
2366
  } | {
2366
- readonly replacedClass: {};
2367
2367
  readonly _tag: "replacedClass";
2368
+ readonly replacedClass: {};
2368
2369
  } | {
2369
- readonly deployedContract: {};
2370
2370
  readonly _tag: "deployedContract";
2371
+ readonly deployedContract: {};
2371
2372
  } | undefined;
2372
- readonly id?: number | undefined;
2373
2373
  }[] | undefined;
2374
2374
  readonly nonceUpdates?: readonly {
2375
- readonly contractAddress?: `0x${string}` | undefined;
2376
2375
  readonly id?: number | undefined;
2376
+ readonly contractAddress?: `0x${string}` | undefined;
2377
2377
  }[] | undefined;
2378
2378
  };
2379
2379
  declare function mergeFilter(a: Filter, b: Filter): Filter;
@@ -5508,88 +5508,88 @@ declare module "abi-wan-kanabi" {
5508
5508
  }
5509
5509
  }
5510
5510
  declare const StarknetStream: StreamConfig<{
5511
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
5511
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
5512
5512
  readonly transactions?: readonly {
5513
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
5514
5513
  readonly id?: number | undefined;
5514
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
5515
5515
  readonly includeReceipt?: boolean | undefined;
5516
5516
  readonly includeMessages?: boolean | undefined;
5517
5517
  readonly includeEvents?: boolean | undefined;
5518
5518
  readonly transactionType?: {
5519
- readonly invokeV0: {};
5520
5519
  readonly _tag: "invokeV0";
5520
+ readonly invokeV0: {};
5521
5521
  } | {
5522
- readonly invokeV1: {};
5523
5522
  readonly _tag: "invokeV1";
5523
+ readonly invokeV1: {};
5524
5524
  } | {
5525
- readonly invokeV3: {};
5526
5525
  readonly _tag: "invokeV3";
5526
+ readonly invokeV3: {};
5527
5527
  } | {
5528
- readonly deploy: {};
5529
5528
  readonly _tag: "deploy";
5529
+ readonly deploy: {};
5530
5530
  } | {
5531
- readonly declareV0: {};
5532
5531
  readonly _tag: "declareV0";
5532
+ readonly declareV0: {};
5533
5533
  } | {
5534
- readonly declareV1: {};
5535
5534
  readonly _tag: "declareV1";
5535
+ readonly declareV1: {};
5536
5536
  } | {
5537
- readonly declareV2: {};
5538
5537
  readonly _tag: "declareV2";
5538
+ readonly declareV2: {};
5539
5539
  } | {
5540
- readonly declareV3: {};
5541
5540
  readonly _tag: "declareV3";
5541
+ readonly declareV3: {};
5542
5542
  } | {
5543
- readonly l1Handler: {};
5544
5543
  readonly _tag: "l1Handler";
5544
+ readonly l1Handler: {};
5545
5545
  } | {
5546
- readonly deployAccountV1: {};
5547
5546
  readonly _tag: "deployAccountV1";
5547
+ readonly deployAccountV1: {};
5548
5548
  } | {
5549
- readonly deployAccountV3: {};
5550
5549
  readonly _tag: "deployAccountV3";
5550
+ readonly deployAccountV3: {};
5551
5551
  } | undefined;
5552
5552
  }[] | undefined;
5553
5553
  readonly events?: readonly {
5554
5554
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
5555
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
5556
- readonly address?: `0x${string}` | undefined;
5557
5555
  readonly id?: number | undefined;
5558
- readonly strict?: boolean | undefined;
5559
- readonly includeTransaction?: boolean | undefined;
5556
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
5560
5557
  readonly includeReceipt?: boolean | undefined;
5561
5558
  readonly includeMessages?: boolean | undefined;
5559
+ readonly address?: `0x${string}` | undefined;
5560
+ readonly strict?: boolean | undefined;
5561
+ readonly includeTransaction?: boolean | undefined;
5562
5562
  readonly includeSiblings?: boolean | undefined;
5563
5563
  }[] | undefined;
5564
5564
  readonly messages?: readonly {
5565
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
5566
- readonly fromAddress?: `0x${string}` | undefined;
5567
- readonly toAddress?: `0x${string}` | undefined;
5568
5565
  readonly id?: number | undefined;
5569
- readonly includeTransaction?: boolean | undefined;
5566
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
5570
5567
  readonly includeReceipt?: boolean | undefined;
5571
5568
  readonly includeEvents?: boolean | undefined;
5569
+ readonly includeTransaction?: boolean | undefined;
5570
+ readonly fromAddress?: `0x${string}` | undefined;
5571
+ readonly toAddress?: `0x${string}` | undefined;
5572
5572
  }[] | undefined;
5573
5573
  readonly storageDiffs?: readonly {
5574
- readonly contractAddress?: `0x${string}` | undefined;
5575
5574
  readonly id?: number | undefined;
5575
+ readonly contractAddress?: `0x${string}` | undefined;
5576
5576
  }[] | undefined;
5577
5577
  readonly contractChanges?: readonly {
5578
+ readonly id?: number | undefined;
5578
5579
  readonly change?: {
5579
- readonly declaredClass: {};
5580
5580
  readonly _tag: "declaredClass";
5581
+ readonly declaredClass: {};
5581
5582
  } | {
5582
- readonly replacedClass: {};
5583
5583
  readonly _tag: "replacedClass";
5584
+ readonly replacedClass: {};
5584
5585
  } | {
5585
- readonly deployedContract: {};
5586
5586
  readonly _tag: "deployedContract";
5587
+ readonly deployedContract: {};
5587
5588
  } | undefined;
5588
- readonly id?: number | undefined;
5589
5589
  }[] | undefined;
5590
5590
  readonly nonceUpdates?: readonly {
5591
- readonly contractAddress?: `0x${string}` | undefined;
5592
5591
  readonly id?: number | undefined;
5592
+ readonly contractAddress?: `0x${string}` | undefined;
5593
5593
  }[] | undefined;
5594
5594
  }, {
5595
5595
  readonly header: {
@@ -5608,37 +5608,38 @@ declare const StarknetStream: StreamConfig<{
5608
5608
  readonly priceInFri?: `0x${string}` | undefined;
5609
5609
  readonly priceInWei?: `0x${string}` | undefined;
5610
5610
  };
5611
- readonly l1DataAvailabilityMode: "calldata" | "blob" | "unknown";
5611
+ readonly l1DataAvailabilityMode: "unknown" | "blob" | "calldata";
5612
5612
  };
5613
5613
  readonly transactions: readonly {
5614
5614
  readonly filterIds: readonly number[];
5615
5615
  readonly meta: {
5616
+ readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5616
5617
  readonly transactionIndex: number;
5617
5618
  readonly transactionHash: `0x${string}`;
5618
- readonly transactionStatus: "succeeded" | "reverted" | "unknown";
5619
5619
  };
5620
5620
  readonly transaction: {
5621
+ readonly _tag: "invokeV0";
5621
5622
  readonly invokeV0: {
5623
+ readonly contractAddress: `0x${string}`;
5624
+ readonly calldata: readonly `0x${string}`[];
5622
5625
  readonly maxFee: `0x${string}`;
5623
5626
  readonly signature: readonly `0x${string}`[];
5624
- readonly contractAddress: `0x${string}`;
5625
5627
  readonly entryPointSelector: `0x${string}`;
5626
- readonly calldata: readonly `0x${string}`[];
5627
5628
  };
5628
- readonly _tag: "invokeV0";
5629
5629
  } | {
5630
+ readonly _tag: "invokeV1";
5630
5631
  readonly invokeV1: {
5632
+ readonly calldata: readonly `0x${string}`[];
5631
5633
  readonly maxFee: `0x${string}`;
5632
5634
  readonly signature: readonly `0x${string}`[];
5633
- readonly calldata: readonly `0x${string}`[];
5634
5635
  readonly senderAddress: `0x${string}`;
5635
5636
  readonly nonce: `0x${string}`;
5636
5637
  };
5637
- readonly _tag: "invokeV1";
5638
5638
  } | {
5639
+ readonly _tag: "invokeV3";
5639
5640
  readonly invokeV3: {
5640
- readonly signature: readonly `0x${string}`[];
5641
5641
  readonly calldata: readonly `0x${string}`[];
5642
+ readonly signature: readonly `0x${string}`[];
5642
5643
  readonly senderAddress: `0x${string}`;
5643
5644
  readonly nonce: `0x${string}`;
5644
5645
  readonly resourceBounds: {
@@ -5657,31 +5658,31 @@ declare const StarknetStream: StreamConfig<{
5657
5658
  readonly nonceDataAvailabilityMode: "unknown" | "l1" | "l2";
5658
5659
  readonly feeDataAvailabilityMode: "unknown" | "l1" | "l2";
5659
5660
  };
5660
- readonly _tag: "invokeV3";
5661
5661
  } | {
5662
+ readonly _tag: "l1Handler";
5662
5663
  readonly l1Handler: {
5663
5664
  readonly contractAddress: `0x${string}`;
5664
- readonly entryPointSelector: `0x${string}`;
5665
5665
  readonly calldata: readonly `0x${string}`[];
5666
+ readonly entryPointSelector: `0x${string}`;
5666
5667
  readonly nonce: bigint;
5667
5668
  };
5668
- readonly _tag: "l1Handler";
5669
5669
  } | {
5670
+ readonly _tag: "deploy";
5670
5671
  readonly deploy: {
5671
5672
  readonly contractAddressSalt: `0x${string}`;
5672
5673
  readonly constructorCalldata: readonly `0x${string}`[];
5673
5674
  readonly classHash: `0x${string}`;
5674
5675
  };
5675
- readonly _tag: "deploy";
5676
5676
  } | {
5677
+ readonly _tag: "declareV0";
5677
5678
  readonly declareV0: {
5678
5679
  readonly maxFee: `0x${string}`;
5679
5680
  readonly signature: readonly `0x${string}`[];
5680
5681
  readonly senderAddress: `0x${string}`;
5681
5682
  readonly classHash: `0x${string}`;
5682
5683
  };
5683
- readonly _tag: "declareV0";
5684
5684
  } | {
5685
+ readonly _tag: "declareV1";
5685
5686
  readonly declareV1: {
5686
5687
  readonly maxFee: `0x${string}`;
5687
5688
  readonly signature: readonly `0x${string}`[];
@@ -5689,8 +5690,8 @@ declare const StarknetStream: StreamConfig<{
5689
5690
  readonly nonce: `0x${string}`;
5690
5691
  readonly classHash: `0x${string}`;
5691
5692
  };
5692
- readonly _tag: "declareV1";
5693
5693
  } | {
5694
+ readonly _tag: "declareV2";
5694
5695
  readonly declareV2: {
5695
5696
  readonly maxFee: `0x${string}`;
5696
5697
  readonly signature: readonly `0x${string}`[];
@@ -5699,8 +5700,8 @@ declare const StarknetStream: StreamConfig<{
5699
5700
  readonly classHash: `0x${string}`;
5700
5701
  readonly compiledClassHash: `0x${string}`;
5701
5702
  };
5702
- readonly _tag: "declareV2";
5703
5703
  } | {
5704
+ readonly _tag: "declareV3";
5704
5705
  readonly declareV3: {
5705
5706
  readonly signature: readonly `0x${string}`[];
5706
5707
  readonly senderAddress: `0x${string}`;
@@ -5723,8 +5724,8 @@ declare const StarknetStream: StreamConfig<{
5723
5724
  readonly classHash: `0x${string}`;
5724
5725
  readonly compiledClassHash: `0x${string}`;
5725
5726
  };
5726
- readonly _tag: "declareV3";
5727
5727
  } | {
5728
+ readonly _tag: "deployAccountV1";
5728
5729
  readonly deployAccountV1: {
5729
5730
  readonly maxFee: `0x${string}`;
5730
5731
  readonly signature: readonly `0x${string}`[];
@@ -5733,8 +5734,8 @@ declare const StarknetStream: StreamConfig<{
5733
5734
  readonly constructorCalldata: readonly `0x${string}`[];
5734
5735
  readonly classHash: `0x${string}`;
5735
5736
  };
5736
- readonly _tag: "deployAccountV1";
5737
5737
  } | {
5738
+ readonly _tag: "deployAccountV3";
5738
5739
  readonly deployAccountV3: {
5739
5740
  readonly signature: readonly `0x${string}`[];
5740
5741
  readonly nonce: `0x${string}`;
@@ -5756,9 +5757,65 @@ declare const StarknetStream: StreamConfig<{
5756
5757
  readonly constructorCalldata: readonly `0x${string}`[];
5757
5758
  readonly classHash: `0x${string}`;
5758
5759
  };
5759
- readonly _tag: "deployAccountV3";
5760
5760
  };
5761
5761
  }[];
5762
+ readonly events: readonly {
5763
+ readonly keys: readonly `0x${string}`[];
5764
+ readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5765
+ readonly address: `0x${string}`;
5766
+ readonly filterIds: readonly number[];
5767
+ readonly transactionIndex: number;
5768
+ readonly transactionHash: `0x${string}`;
5769
+ readonly data: readonly `0x${string}`[];
5770
+ readonly eventIndex: number;
5771
+ readonly eventIndexInTransaction: number;
5772
+ }[];
5773
+ readonly messages: readonly {
5774
+ readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5775
+ readonly fromAddress: `0x${string}`;
5776
+ readonly toAddress: `0x${string}`;
5777
+ readonly filterIds: readonly number[];
5778
+ readonly transactionIndex: number;
5779
+ readonly transactionHash: `0x${string}`;
5780
+ readonly payload: readonly `0x${string}`[];
5781
+ readonly messageIndex: number;
5782
+ readonly messageIndexInTransaction: number;
5783
+ }[];
5784
+ readonly storageDiffs: readonly {
5785
+ readonly contractAddress: `0x${string}`;
5786
+ readonly filterIds: readonly number[];
5787
+ readonly storageEntries: readonly {
5788
+ readonly key: `0x${string}`;
5789
+ readonly value: `0x${string}`;
5790
+ }[];
5791
+ }[];
5792
+ readonly contractChanges: readonly {
5793
+ readonly change: {
5794
+ readonly _tag: "declaredClass";
5795
+ readonly declaredClass: {
5796
+ readonly classHash?: `0x${string}` | undefined;
5797
+ readonly compiledClassHash?: `0x${string}` | undefined;
5798
+ };
5799
+ } | {
5800
+ readonly _tag: "replacedClass";
5801
+ readonly replacedClass: {
5802
+ readonly contractAddress?: `0x${string}` | undefined;
5803
+ readonly classHash?: `0x${string}` | undefined;
5804
+ };
5805
+ } | {
5806
+ readonly _tag: "deployedContract";
5807
+ readonly deployedContract: {
5808
+ readonly contractAddress?: `0x${string}` | undefined;
5809
+ readonly classHash?: `0x${string}` | undefined;
5810
+ };
5811
+ };
5812
+ readonly filterIds: readonly number[];
5813
+ }[];
5814
+ readonly nonceUpdates: readonly {
5815
+ readonly contractAddress: `0x${string}`;
5816
+ readonly filterIds: readonly number[];
5817
+ readonly nonce: `0x${string}`;
5818
+ }[];
5762
5819
  readonly receipts: readonly {
5763
5820
  readonly filterIds: readonly number[];
5764
5821
  readonly meta: {
@@ -5797,85 +5854,28 @@ declare const StarknetStream: StreamConfig<{
5797
5854
  };
5798
5855
  };
5799
5856
  readonly receipt: {
5800
- readonly invoke: {};
5801
5857
  readonly _tag: "invoke";
5858
+ readonly invoke: {};
5802
5859
  } | {
5860
+ readonly _tag: "l1Handler";
5803
5861
  readonly l1Handler: {
5804
5862
  readonly messageHash: Uint8Array;
5805
5863
  };
5806
- readonly _tag: "l1Handler";
5807
5864
  } | {
5808
- readonly declare: {};
5809
5865
  readonly _tag: "declare";
5866
+ readonly declare: {};
5810
5867
  } | {
5868
+ readonly _tag: "deploy";
5811
5869
  readonly deploy: {
5812
5870
  readonly contractAddress: `0x${string}`;
5813
5871
  };
5814
- readonly _tag: "deploy";
5815
5872
  } | {
5873
+ readonly _tag: "deployAccount";
5816
5874
  readonly deployAccount: {
5817
5875
  readonly contractAddress: `0x${string}`;
5818
5876
  };
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";
5872
5877
  };
5873
5878
  }[];
5874
- readonly nonceUpdates: readonly {
5875
- readonly filterIds: readonly number[];
5876
- readonly contractAddress: `0x${string}`;
5877
- readonly nonce: `0x${string}`;
5878
- }[];
5879
5879
  }>;
5880
5880
 
5881
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 };