@apibara/starknet 2.1.0-beta.5 → 2.1.0-beta.7

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
@@ -1667,130 +1667,130 @@ declare const Filter: Schema.Struct<{
1667
1667
  }>;
1668
1668
  type Filter = typeof Filter.Type;
1669
1669
  declare const filterToProto: (a: {
1670
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
1670
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
1671
1671
  readonly transactions?: readonly {
1672
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1673
1672
  readonly id?: number | undefined;
1673
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1674
1674
  readonly includeReceipt?: boolean | undefined;
1675
1675
  readonly includeMessages?: boolean | undefined;
1676
1676
  readonly includeEvents?: boolean | undefined;
1677
1677
  readonly transactionType?: {
1678
- readonly invokeV0: {};
1679
1678
  readonly _tag: "invokeV0";
1679
+ readonly invokeV0: {};
1680
1680
  } | {
1681
- readonly invokeV1: {};
1682
1681
  readonly _tag: "invokeV1";
1682
+ readonly invokeV1: {};
1683
1683
  } | {
1684
- readonly invokeV3: {};
1685
1684
  readonly _tag: "invokeV3";
1685
+ readonly invokeV3: {};
1686
1686
  } | {
1687
- readonly deploy: {};
1688
1687
  readonly _tag: "deploy";
1688
+ readonly deploy: {};
1689
1689
  } | {
1690
- readonly declareV0: {};
1691
1690
  readonly _tag: "declareV0";
1691
+ readonly declareV0: {};
1692
1692
  } | {
1693
- readonly declareV1: {};
1694
1693
  readonly _tag: "declareV1";
1694
+ readonly declareV1: {};
1695
1695
  } | {
1696
- readonly declareV2: {};
1697
1696
  readonly _tag: "declareV2";
1697
+ readonly declareV2: {};
1698
1698
  } | {
1699
- readonly declareV3: {};
1700
1699
  readonly _tag: "declareV3";
1700
+ readonly declareV3: {};
1701
1701
  } | {
1702
- readonly l1Handler: {};
1703
1702
  readonly _tag: "l1Handler";
1703
+ readonly l1Handler: {};
1704
1704
  } | {
1705
- readonly deployAccountV1: {};
1706
1705
  readonly _tag: "deployAccountV1";
1706
+ readonly deployAccountV1: {};
1707
1707
  } | {
1708
- readonly deployAccountV3: {};
1709
1708
  readonly _tag: "deployAccountV3";
1709
+ readonly deployAccountV3: {};
1710
1710
  } | undefined;
1711
1711
  }[] | undefined;
1712
1712
  readonly events?: readonly {
1713
1713
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
1714
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1715
- readonly address?: `0x${string}` | undefined;
1716
1714
  readonly id?: number | undefined;
1717
- readonly strict?: boolean | undefined;
1718
- readonly includeTransaction?: boolean | undefined;
1715
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1719
1716
  readonly includeReceipt?: boolean | undefined;
1720
1717
  readonly includeMessages?: boolean | undefined;
1718
+ readonly address?: `0x${string}` | undefined;
1719
+ readonly strict?: boolean | undefined;
1720
+ readonly includeTransaction?: boolean | undefined;
1721
1721
  readonly includeSiblings?: boolean | undefined;
1722
1722
  }[] | undefined;
1723
1723
  readonly messages?: readonly {
1724
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1725
- readonly fromAddress?: `0x${string}` | undefined;
1726
- readonly toAddress?: `0x${string}` | undefined;
1727
1724
  readonly id?: number | undefined;
1728
- readonly includeTransaction?: boolean | undefined;
1725
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1729
1726
  readonly includeReceipt?: boolean | undefined;
1730
1727
  readonly includeEvents?: boolean | undefined;
1728
+ readonly includeTransaction?: boolean | undefined;
1729
+ readonly fromAddress?: `0x${string}` | undefined;
1730
+ readonly toAddress?: `0x${string}` | undefined;
1731
1731
  }[] | undefined;
1732
1732
  readonly storageDiffs?: readonly {
1733
- readonly contractAddress?: `0x${string}` | undefined;
1734
1733
  readonly id?: number | undefined;
1734
+ readonly contractAddress?: `0x${string}` | undefined;
1735
1735
  }[] | undefined;
1736
1736
  readonly contractChanges?: readonly {
1737
+ readonly id?: number | undefined;
1737
1738
  readonly change?: {
1738
- readonly declaredClass: {};
1739
1739
  readonly _tag: "declaredClass";
1740
+ readonly declaredClass: {};
1740
1741
  } | {
1741
- readonly replacedClass: {};
1742
1742
  readonly _tag: "replacedClass";
1743
+ readonly replacedClass: {};
1743
1744
  } | {
1744
- readonly deployedContract: {};
1745
1745
  readonly _tag: "deployedContract";
1746
+ readonly deployedContract: {};
1746
1747
  } | undefined;
1747
- readonly id?: number | undefined;
1748
1748
  }[] | undefined;
1749
1749
  readonly nonceUpdates?: readonly {
1750
- readonly contractAddress?: `0x${string}` | undefined;
1751
1750
  readonly id?: number | undefined;
1751
+ readonly contractAddress?: `0x${string}` | undefined;
1752
1752
  }[] | undefined;
1753
1753
  }, overrideOptions?: _effect_schema_AST.ParseOptions) => {
1754
1754
  readonly header?: HeaderFilter$1 | undefined;
1755
1755
  readonly transactions?: readonly {
1756
- readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1757
1756
  readonly id?: number | undefined;
1757
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1758
1758
  readonly includeReceipt?: boolean | undefined;
1759
1759
  readonly includeMessages?: boolean | undefined;
1760
1760
  readonly includeEvents?: boolean | undefined;
1761
1761
  readonly transactionType?: {
1762
- readonly invokeV0: {};
1763
1762
  readonly $case: "invokeV0";
1763
+ readonly invokeV0: {};
1764
1764
  } | {
1765
- readonly invokeV1: {};
1766
1765
  readonly $case: "invokeV1";
1766
+ readonly invokeV1: {};
1767
1767
  } | {
1768
- readonly invokeV3: {};
1769
1768
  readonly $case: "invokeV3";
1769
+ readonly invokeV3: {};
1770
1770
  } | {
1771
- readonly deploy: {};
1772
1771
  readonly $case: "deploy";
1772
+ readonly deploy: {};
1773
1773
  } | {
1774
- readonly declareV0: {};
1775
1774
  readonly $case: "declareV0";
1775
+ readonly declareV0: {};
1776
1776
  } | {
1777
- readonly declareV1: {};
1778
1777
  readonly $case: "declareV1";
1778
+ readonly declareV1: {};
1779
1779
  } | {
1780
- readonly declareV2: {};
1781
1780
  readonly $case: "declareV2";
1781
+ readonly declareV2: {};
1782
1782
  } | {
1783
- readonly declareV3: {};
1784
1783
  readonly $case: "declareV3";
1784
+ readonly declareV3: {};
1785
1785
  } | {
1786
- readonly l1Handler: {};
1787
1786
  readonly $case: "l1Handler";
1787
+ readonly l1Handler: {};
1788
1788
  } | {
1789
- readonly deployAccountV1: {};
1790
1789
  readonly $case: "deployAccountV1";
1790
+ readonly deployAccountV1: {};
1791
1791
  } | {
1792
- readonly deployAccountV3: {};
1793
1792
  readonly $case: "deployAccountV3";
1793
+ readonly deployAccountV3: {};
1794
1794
  } | undefined;
1795
1795
  }[] | undefined;
1796
1796
  readonly events?: readonly {
@@ -1802,22 +1802,26 @@ declare const filterToProto: (a: {
1802
1802
  readonly x3: bigint;
1803
1803
  } | undefined;
1804
1804
  }[] | undefined;
1805
+ readonly id?: number | undefined;
1805
1806
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1807
+ readonly includeReceipt?: boolean | undefined;
1808
+ readonly includeMessages?: boolean | undefined;
1806
1809
  readonly address?: {
1807
1810
  readonly x0: bigint;
1808
1811
  readonly x1: bigint;
1809
1812
  readonly x2: bigint;
1810
1813
  readonly x3: bigint;
1811
1814
  } | undefined;
1812
- readonly id?: number | undefined;
1813
1815
  readonly strict?: boolean | undefined;
1814
1816
  readonly includeTransaction?: boolean | undefined;
1815
- readonly includeReceipt?: boolean | undefined;
1816
- readonly includeMessages?: boolean | undefined;
1817
1817
  readonly includeSiblings?: boolean | undefined;
1818
1818
  }[] | undefined;
1819
1819
  readonly messages?: readonly {
1820
+ readonly id?: number | undefined;
1820
1821
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1822
+ readonly includeReceipt?: boolean | undefined;
1823
+ readonly includeEvents?: boolean | undefined;
1824
+ readonly includeTransaction?: boolean | undefined;
1821
1825
  readonly fromAddress?: {
1822
1826
  readonly x0: bigint;
1823
1827
  readonly x1: bigint;
@@ -1830,84 +1834,80 @@ declare const filterToProto: (a: {
1830
1834
  readonly x2: bigint;
1831
1835
  readonly x3: bigint;
1832
1836
  } | undefined;
1833
- readonly id?: number | undefined;
1834
- readonly includeTransaction?: boolean | undefined;
1835
- readonly includeReceipt?: boolean | undefined;
1836
- readonly includeEvents?: boolean | undefined;
1837
1837
  }[] | undefined;
1838
1838
  readonly storageDiffs?: readonly {
1839
+ readonly id?: number | undefined;
1839
1840
  readonly contractAddress?: {
1840
1841
  readonly x0: bigint;
1841
1842
  readonly x1: bigint;
1842
1843
  readonly x2: bigint;
1843
1844
  readonly x3: bigint;
1844
1845
  } | undefined;
1845
- readonly id?: number | undefined;
1846
1846
  }[] | undefined;
1847
1847
  readonly contractChanges?: readonly {
1848
+ readonly id?: number | undefined;
1848
1849
  readonly change?: {
1849
- readonly declaredClass: {};
1850
1850
  readonly $case: "declaredClass";
1851
+ readonly declaredClass: {};
1851
1852
  } | {
1852
- readonly replacedClass: {};
1853
1853
  readonly $case: "replacedClass";
1854
+ readonly replacedClass: {};
1854
1855
  } | {
1855
- readonly deployedContract: {};
1856
1856
  readonly $case: "deployedContract";
1857
+ readonly deployedContract: {};
1857
1858
  } | undefined;
1858
- readonly id?: number | undefined;
1859
1859
  }[] | undefined;
1860
1860
  readonly nonceUpdates?: readonly {
1861
+ readonly id?: number | undefined;
1861
1862
  readonly contractAddress?: {
1862
1863
  readonly x0: bigint;
1863
1864
  readonly x1: bigint;
1864
1865
  readonly x2: bigint;
1865
1866
  readonly x3: bigint;
1866
1867
  } | undefined;
1867
- readonly id?: number | undefined;
1868
1868
  }[] | undefined;
1869
1869
  };
1870
1870
  declare const filterFromProto: (i: {
1871
1871
  readonly header?: HeaderFilter$1 | undefined;
1872
1872
  readonly transactions?: readonly {
1873
- readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1874
1873
  readonly id?: number | undefined;
1874
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1875
1875
  readonly includeReceipt?: boolean | undefined;
1876
1876
  readonly includeMessages?: boolean | undefined;
1877
1877
  readonly includeEvents?: boolean | undefined;
1878
1878
  readonly transactionType?: {
1879
- readonly invokeV0: {};
1880
1879
  readonly $case: "invokeV0";
1880
+ readonly invokeV0: {};
1881
1881
  } | {
1882
- readonly invokeV1: {};
1883
1882
  readonly $case: "invokeV1";
1883
+ readonly invokeV1: {};
1884
1884
  } | {
1885
- readonly invokeV3: {};
1886
1885
  readonly $case: "invokeV3";
1886
+ readonly invokeV3: {};
1887
1887
  } | {
1888
- readonly deploy: {};
1889
1888
  readonly $case: "deploy";
1889
+ readonly deploy: {};
1890
1890
  } | {
1891
- readonly declareV0: {};
1892
1891
  readonly $case: "declareV0";
1892
+ readonly declareV0: {};
1893
1893
  } | {
1894
- readonly declareV1: {};
1895
1894
  readonly $case: "declareV1";
1895
+ readonly declareV1: {};
1896
1896
  } | {
1897
- readonly declareV2: {};
1898
1897
  readonly $case: "declareV2";
1898
+ readonly declareV2: {};
1899
1899
  } | {
1900
- readonly declareV3: {};
1901
1900
  readonly $case: "declareV3";
1901
+ readonly declareV3: {};
1902
1902
  } | {
1903
- readonly l1Handler: {};
1904
1903
  readonly $case: "l1Handler";
1904
+ readonly l1Handler: {};
1905
1905
  } | {
1906
- readonly deployAccountV1: {};
1907
1906
  readonly $case: "deployAccountV1";
1907
+ readonly deployAccountV1: {};
1908
1908
  } | {
1909
- readonly deployAccountV3: {};
1910
1909
  readonly $case: "deployAccountV3";
1910
+ readonly deployAccountV3: {};
1911
1911
  } | undefined;
1912
1912
  }[] | undefined;
1913
1913
  readonly events?: readonly {
@@ -1919,22 +1919,26 @@ declare const filterFromProto: (i: {
1919
1919
  readonly x3: bigint;
1920
1920
  } | undefined;
1921
1921
  }[] | undefined;
1922
+ readonly id?: number | undefined;
1922
1923
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1924
+ readonly includeReceipt?: boolean | undefined;
1925
+ readonly includeMessages?: boolean | undefined;
1923
1926
  readonly address?: {
1924
1927
  readonly x0: bigint;
1925
1928
  readonly x1: bigint;
1926
1929
  readonly x2: bigint;
1927
1930
  readonly x3: bigint;
1928
1931
  } | undefined;
1929
- readonly id?: number | undefined;
1930
1932
  readonly strict?: boolean | undefined;
1931
1933
  readonly includeTransaction?: boolean | undefined;
1932
- readonly includeReceipt?: boolean | undefined;
1933
- readonly includeMessages?: boolean | undefined;
1934
1934
  readonly includeSiblings?: boolean | undefined;
1935
1935
  }[] | undefined;
1936
1936
  readonly messages?: readonly {
1937
+ readonly id?: number | undefined;
1937
1938
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1939
+ readonly includeReceipt?: boolean | undefined;
1940
+ readonly includeEvents?: boolean | undefined;
1941
+ readonly includeTransaction?: boolean | undefined;
1938
1942
  readonly fromAddress?: {
1939
1943
  readonly x0: bigint;
1940
1944
  readonly x1: bigint;
@@ -1947,125 +1951,121 @@ declare const filterFromProto: (i: {
1947
1951
  readonly x2: bigint;
1948
1952
  readonly x3: bigint;
1949
1953
  } | undefined;
1950
- readonly id?: number | undefined;
1951
- readonly includeTransaction?: boolean | undefined;
1952
- readonly includeReceipt?: boolean | undefined;
1953
- readonly includeEvents?: boolean | undefined;
1954
1954
  }[] | undefined;
1955
1955
  readonly storageDiffs?: readonly {
1956
+ readonly id?: number | undefined;
1956
1957
  readonly contractAddress?: {
1957
1958
  readonly x0: bigint;
1958
1959
  readonly x1: bigint;
1959
1960
  readonly x2: bigint;
1960
1961
  readonly x3: bigint;
1961
1962
  } | undefined;
1962
- readonly id?: number | undefined;
1963
1963
  }[] | undefined;
1964
1964
  readonly contractChanges?: readonly {
1965
+ readonly id?: number | undefined;
1965
1966
  readonly change?: {
1966
- readonly declaredClass: {};
1967
1967
  readonly $case: "declaredClass";
1968
+ readonly declaredClass: {};
1968
1969
  } | {
1969
- readonly replacedClass: {};
1970
1970
  readonly $case: "replacedClass";
1971
+ readonly replacedClass: {};
1971
1972
  } | {
1972
- readonly deployedContract: {};
1973
1973
  readonly $case: "deployedContract";
1974
+ readonly deployedContract: {};
1974
1975
  } | undefined;
1975
- readonly id?: number | undefined;
1976
1976
  }[] | undefined;
1977
1977
  readonly nonceUpdates?: readonly {
1978
+ readonly id?: number | undefined;
1978
1979
  readonly contractAddress?: {
1979
1980
  readonly x0: bigint;
1980
1981
  readonly x1: bigint;
1981
1982
  readonly x2: bigint;
1982
1983
  readonly x3: bigint;
1983
1984
  } | undefined;
1984
- readonly id?: number | undefined;
1985
1985
  }[] | undefined;
1986
1986
  }, overrideOptions?: _effect_schema_AST.ParseOptions) => {
1987
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
1987
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
1988
1988
  readonly transactions?: readonly {
1989
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1990
1989
  readonly id?: number | undefined;
1990
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1991
1991
  readonly includeReceipt?: boolean | undefined;
1992
1992
  readonly includeMessages?: boolean | undefined;
1993
1993
  readonly includeEvents?: boolean | undefined;
1994
1994
  readonly transactionType?: {
1995
- readonly invokeV0: {};
1996
1995
  readonly _tag: "invokeV0";
1996
+ readonly invokeV0: {};
1997
1997
  } | {
1998
- readonly invokeV1: {};
1999
1998
  readonly _tag: "invokeV1";
1999
+ readonly invokeV1: {};
2000
2000
  } | {
2001
- readonly invokeV3: {};
2002
2001
  readonly _tag: "invokeV3";
2002
+ readonly invokeV3: {};
2003
2003
  } | {
2004
- readonly deploy: {};
2005
2004
  readonly _tag: "deploy";
2005
+ readonly deploy: {};
2006
2006
  } | {
2007
- readonly declareV0: {};
2008
2007
  readonly _tag: "declareV0";
2008
+ readonly declareV0: {};
2009
2009
  } | {
2010
- readonly declareV1: {};
2011
2010
  readonly _tag: "declareV1";
2011
+ readonly declareV1: {};
2012
2012
  } | {
2013
- readonly declareV2: {};
2014
2013
  readonly _tag: "declareV2";
2014
+ readonly declareV2: {};
2015
2015
  } | {
2016
- readonly declareV3: {};
2017
2016
  readonly _tag: "declareV3";
2017
+ readonly declareV3: {};
2018
2018
  } | {
2019
- readonly l1Handler: {};
2020
2019
  readonly _tag: "l1Handler";
2020
+ readonly l1Handler: {};
2021
2021
  } | {
2022
- readonly deployAccountV1: {};
2023
2022
  readonly _tag: "deployAccountV1";
2023
+ readonly deployAccountV1: {};
2024
2024
  } | {
2025
- readonly deployAccountV3: {};
2026
2025
  readonly _tag: "deployAccountV3";
2026
+ readonly deployAccountV3: {};
2027
2027
  } | undefined;
2028
2028
  }[] | undefined;
2029
2029
  readonly events?: readonly {
2030
2030
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
2031
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2032
- readonly address?: `0x${string}` | undefined;
2033
2031
  readonly id?: number | undefined;
2034
- readonly strict?: boolean | undefined;
2035
- readonly includeTransaction?: boolean | undefined;
2032
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2036
2033
  readonly includeReceipt?: boolean | undefined;
2037
2034
  readonly includeMessages?: boolean | undefined;
2035
+ readonly address?: `0x${string}` | undefined;
2036
+ readonly strict?: boolean | undefined;
2037
+ readonly includeTransaction?: boolean | undefined;
2038
2038
  readonly includeSiblings?: boolean | undefined;
2039
2039
  }[] | undefined;
2040
2040
  readonly messages?: readonly {
2041
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2042
- readonly fromAddress?: `0x${string}` | undefined;
2043
- readonly toAddress?: `0x${string}` | undefined;
2044
2041
  readonly id?: number | undefined;
2045
- readonly includeTransaction?: boolean | undefined;
2042
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2046
2043
  readonly includeReceipt?: boolean | undefined;
2047
2044
  readonly includeEvents?: boolean | undefined;
2045
+ readonly includeTransaction?: boolean | undefined;
2046
+ readonly fromAddress?: `0x${string}` | undefined;
2047
+ readonly toAddress?: `0x${string}` | undefined;
2048
2048
  }[] | undefined;
2049
2049
  readonly storageDiffs?: readonly {
2050
- readonly contractAddress?: `0x${string}` | undefined;
2051
2050
  readonly id?: number | undefined;
2051
+ readonly contractAddress?: `0x${string}` | undefined;
2052
2052
  }[] | undefined;
2053
2053
  readonly contractChanges?: readonly {
2054
+ readonly id?: number | undefined;
2054
2055
  readonly change?: {
2055
- readonly declaredClass: {};
2056
2056
  readonly _tag: "declaredClass";
2057
+ readonly declaredClass: {};
2057
2058
  } | {
2058
- readonly replacedClass: {};
2059
2059
  readonly _tag: "replacedClass";
2060
+ readonly replacedClass: {};
2060
2061
  } | {
2061
- readonly deployedContract: {};
2062
2062
  readonly _tag: "deployedContract";
2063
+ readonly deployedContract: {};
2063
2064
  } | undefined;
2064
- readonly id?: number | undefined;
2065
2065
  }[] | undefined;
2066
2066
  readonly nonceUpdates?: readonly {
2067
- readonly contractAddress?: `0x${string}` | undefined;
2068
2067
  readonly id?: number | undefined;
2068
+ readonly contractAddress?: `0x${string}` | undefined;
2069
2069
  }[] | undefined;
2070
2070
  };
2071
2071
  declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
@@ -2194,173 +2194,173 @@ declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8A
2194
2194
  }>>>;
2195
2195
  }>>;
2196
2196
  declare const filterToBytes: (a: {
2197
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
2197
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
2198
2198
  readonly transactions?: readonly {
2199
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2200
2199
  readonly id?: number | undefined;
2200
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2201
2201
  readonly includeReceipt?: boolean | undefined;
2202
2202
  readonly includeMessages?: boolean | undefined;
2203
2203
  readonly includeEvents?: boolean | undefined;
2204
2204
  readonly transactionType?: {
2205
- readonly invokeV0: {};
2206
2205
  readonly _tag: "invokeV0";
2206
+ readonly invokeV0: {};
2207
2207
  } | {
2208
- readonly invokeV1: {};
2209
2208
  readonly _tag: "invokeV1";
2209
+ readonly invokeV1: {};
2210
2210
  } | {
2211
- readonly invokeV3: {};
2212
2211
  readonly _tag: "invokeV3";
2212
+ readonly invokeV3: {};
2213
2213
  } | {
2214
- readonly deploy: {};
2215
2214
  readonly _tag: "deploy";
2215
+ readonly deploy: {};
2216
2216
  } | {
2217
- readonly declareV0: {};
2218
2217
  readonly _tag: "declareV0";
2218
+ readonly declareV0: {};
2219
2219
  } | {
2220
- readonly declareV1: {};
2221
2220
  readonly _tag: "declareV1";
2221
+ readonly declareV1: {};
2222
2222
  } | {
2223
- readonly declareV2: {};
2224
2223
  readonly _tag: "declareV2";
2224
+ readonly declareV2: {};
2225
2225
  } | {
2226
- readonly declareV3: {};
2227
2226
  readonly _tag: "declareV3";
2227
+ readonly declareV3: {};
2228
2228
  } | {
2229
- readonly l1Handler: {};
2230
2229
  readonly _tag: "l1Handler";
2230
+ readonly l1Handler: {};
2231
2231
  } | {
2232
- readonly deployAccountV1: {};
2233
2232
  readonly _tag: "deployAccountV1";
2233
+ readonly deployAccountV1: {};
2234
2234
  } | {
2235
- readonly deployAccountV3: {};
2236
2235
  readonly _tag: "deployAccountV3";
2236
+ readonly deployAccountV3: {};
2237
2237
  } | undefined;
2238
2238
  }[] | undefined;
2239
2239
  readonly events?: readonly {
2240
2240
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
2241
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2242
- readonly address?: `0x${string}` | undefined;
2243
2241
  readonly id?: number | undefined;
2244
- readonly strict?: boolean | undefined;
2245
- readonly includeTransaction?: boolean | undefined;
2242
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2246
2243
  readonly includeReceipt?: boolean | undefined;
2247
2244
  readonly includeMessages?: boolean | undefined;
2245
+ readonly address?: `0x${string}` | undefined;
2246
+ readonly strict?: boolean | undefined;
2247
+ readonly includeTransaction?: boolean | undefined;
2248
2248
  readonly includeSiblings?: boolean | undefined;
2249
2249
  }[] | undefined;
2250
2250
  readonly messages?: readonly {
2251
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2252
- readonly fromAddress?: `0x${string}` | undefined;
2253
- readonly toAddress?: `0x${string}` | undefined;
2254
2251
  readonly id?: number | undefined;
2255
- readonly includeTransaction?: boolean | undefined;
2252
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2256
2253
  readonly includeReceipt?: boolean | undefined;
2257
2254
  readonly includeEvents?: boolean | undefined;
2255
+ readonly includeTransaction?: boolean | undefined;
2256
+ readonly fromAddress?: `0x${string}` | undefined;
2257
+ readonly toAddress?: `0x${string}` | undefined;
2258
2258
  }[] | undefined;
2259
2259
  readonly storageDiffs?: readonly {
2260
- readonly contractAddress?: `0x${string}` | undefined;
2261
2260
  readonly id?: number | undefined;
2261
+ readonly contractAddress?: `0x${string}` | undefined;
2262
2262
  }[] | undefined;
2263
2263
  readonly contractChanges?: readonly {
2264
+ readonly id?: number | undefined;
2264
2265
  readonly change?: {
2265
- readonly declaredClass: {};
2266
2266
  readonly _tag: "declaredClass";
2267
+ readonly declaredClass: {};
2267
2268
  } | {
2268
- readonly replacedClass: {};
2269
2269
  readonly _tag: "replacedClass";
2270
+ readonly replacedClass: {};
2270
2271
  } | {
2271
- readonly deployedContract: {};
2272
2272
  readonly _tag: "deployedContract";
2273
+ readonly deployedContract: {};
2273
2274
  } | undefined;
2274
- readonly id?: number | undefined;
2275
2275
  }[] | undefined;
2276
2276
  readonly nonceUpdates?: readonly {
2277
- readonly contractAddress?: `0x${string}` | undefined;
2278
2277
  readonly id?: number | undefined;
2278
+ readonly contractAddress?: `0x${string}` | undefined;
2279
2279
  }[] | undefined;
2280
2280
  }, overrideOptions?: _effect_schema_AST.ParseOptions) => Uint8Array;
2281
2281
  declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions) => {
2282
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
2282
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
2283
2283
  readonly transactions?: readonly {
2284
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2285
2284
  readonly id?: number | undefined;
2285
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2286
2286
  readonly includeReceipt?: boolean | undefined;
2287
2287
  readonly includeMessages?: boolean | undefined;
2288
2288
  readonly includeEvents?: boolean | undefined;
2289
2289
  readonly transactionType?: {
2290
- readonly invokeV0: {};
2291
2290
  readonly _tag: "invokeV0";
2291
+ readonly invokeV0: {};
2292
2292
  } | {
2293
- readonly invokeV1: {};
2294
2293
  readonly _tag: "invokeV1";
2294
+ readonly invokeV1: {};
2295
2295
  } | {
2296
- readonly invokeV3: {};
2297
2296
  readonly _tag: "invokeV3";
2297
+ readonly invokeV3: {};
2298
2298
  } | {
2299
- readonly deploy: {};
2300
2299
  readonly _tag: "deploy";
2300
+ readonly deploy: {};
2301
2301
  } | {
2302
- readonly declareV0: {};
2303
2302
  readonly _tag: "declareV0";
2303
+ readonly declareV0: {};
2304
2304
  } | {
2305
- readonly declareV1: {};
2306
2305
  readonly _tag: "declareV1";
2306
+ readonly declareV1: {};
2307
2307
  } | {
2308
- readonly declareV2: {};
2309
2308
  readonly _tag: "declareV2";
2309
+ readonly declareV2: {};
2310
2310
  } | {
2311
- readonly declareV3: {};
2312
2311
  readonly _tag: "declareV3";
2312
+ readonly declareV3: {};
2313
2313
  } | {
2314
- readonly l1Handler: {};
2315
2314
  readonly _tag: "l1Handler";
2315
+ readonly l1Handler: {};
2316
2316
  } | {
2317
- readonly deployAccountV1: {};
2318
2317
  readonly _tag: "deployAccountV1";
2318
+ readonly deployAccountV1: {};
2319
2319
  } | {
2320
- readonly deployAccountV3: {};
2321
2320
  readonly _tag: "deployAccountV3";
2321
+ readonly deployAccountV3: {};
2322
2322
  } | undefined;
2323
2323
  }[] | undefined;
2324
2324
  readonly events?: readonly {
2325
2325
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
2326
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2327
- readonly address?: `0x${string}` | undefined;
2328
2326
  readonly id?: number | undefined;
2329
- readonly strict?: boolean | undefined;
2330
- readonly includeTransaction?: boolean | undefined;
2327
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2331
2328
  readonly includeReceipt?: boolean | undefined;
2332
2329
  readonly includeMessages?: boolean | undefined;
2330
+ readonly address?: `0x${string}` | undefined;
2331
+ readonly strict?: boolean | undefined;
2332
+ readonly includeTransaction?: boolean | undefined;
2333
2333
  readonly includeSiblings?: boolean | undefined;
2334
2334
  }[] | undefined;
2335
2335
  readonly messages?: readonly {
2336
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2337
- readonly fromAddress?: `0x${string}` | undefined;
2338
- readonly toAddress?: `0x${string}` | undefined;
2339
2336
  readonly id?: number | undefined;
2340
- readonly includeTransaction?: boolean | undefined;
2337
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2341
2338
  readonly includeReceipt?: boolean | undefined;
2342
2339
  readonly includeEvents?: boolean | undefined;
2340
+ readonly includeTransaction?: boolean | undefined;
2341
+ readonly fromAddress?: `0x${string}` | undefined;
2342
+ readonly toAddress?: `0x${string}` | undefined;
2343
2343
  }[] | undefined;
2344
2344
  readonly storageDiffs?: readonly {
2345
- readonly contractAddress?: `0x${string}` | undefined;
2346
2345
  readonly id?: number | undefined;
2346
+ readonly contractAddress?: `0x${string}` | undefined;
2347
2347
  }[] | undefined;
2348
2348
  readonly contractChanges?: readonly {
2349
+ readonly id?: number | undefined;
2349
2350
  readonly change?: {
2350
- readonly declaredClass: {};
2351
2351
  readonly _tag: "declaredClass";
2352
+ readonly declaredClass: {};
2352
2353
  } | {
2353
- readonly replacedClass: {};
2354
2354
  readonly _tag: "replacedClass";
2355
+ readonly replacedClass: {};
2355
2356
  } | {
2356
- readonly deployedContract: {};
2357
2357
  readonly _tag: "deployedContract";
2358
+ readonly deployedContract: {};
2358
2359
  } | undefined;
2359
- readonly id?: number | undefined;
2360
2360
  }[] | undefined;
2361
2361
  readonly nonceUpdates?: readonly {
2362
- readonly contractAddress?: `0x${string}` | undefined;
2363
2362
  readonly id?: number | undefined;
2363
+ readonly contractAddress?: `0x${string}` | undefined;
2364
2364
  }[] | undefined;
2365
2365
  };
2366
2366
  declare function mergeFilter(a: Filter, b: Filter): Filter;
@@ -5465,88 +5465,88 @@ declare module "abi-wan-kanabi" {
5465
5465
  }
5466
5466
  }
5467
5467
  declare const StarknetStream: StreamConfig<{
5468
- readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
5468
+ readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
5469
5469
  readonly transactions?: readonly {
5470
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
5471
5470
  readonly id?: number | undefined;
5471
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
5472
5472
  readonly includeReceipt?: boolean | undefined;
5473
5473
  readonly includeMessages?: boolean | undefined;
5474
5474
  readonly includeEvents?: boolean | undefined;
5475
5475
  readonly transactionType?: {
5476
- readonly invokeV0: {};
5477
5476
  readonly _tag: "invokeV0";
5477
+ readonly invokeV0: {};
5478
5478
  } | {
5479
- readonly invokeV1: {};
5480
5479
  readonly _tag: "invokeV1";
5480
+ readonly invokeV1: {};
5481
5481
  } | {
5482
- readonly invokeV3: {};
5483
5482
  readonly _tag: "invokeV3";
5483
+ readonly invokeV3: {};
5484
5484
  } | {
5485
- readonly deploy: {};
5486
5485
  readonly _tag: "deploy";
5486
+ readonly deploy: {};
5487
5487
  } | {
5488
- readonly declareV0: {};
5489
5488
  readonly _tag: "declareV0";
5489
+ readonly declareV0: {};
5490
5490
  } | {
5491
- readonly declareV1: {};
5492
5491
  readonly _tag: "declareV1";
5492
+ readonly declareV1: {};
5493
5493
  } | {
5494
- readonly declareV2: {};
5495
5494
  readonly _tag: "declareV2";
5495
+ readonly declareV2: {};
5496
5496
  } | {
5497
- readonly declareV3: {};
5498
5497
  readonly _tag: "declareV3";
5498
+ readonly declareV3: {};
5499
5499
  } | {
5500
- readonly l1Handler: {};
5501
5500
  readonly _tag: "l1Handler";
5501
+ readonly l1Handler: {};
5502
5502
  } | {
5503
- readonly deployAccountV1: {};
5504
5503
  readonly _tag: "deployAccountV1";
5504
+ readonly deployAccountV1: {};
5505
5505
  } | {
5506
- readonly deployAccountV3: {};
5507
5506
  readonly _tag: "deployAccountV3";
5507
+ readonly deployAccountV3: {};
5508
5508
  } | undefined;
5509
5509
  }[] | undefined;
5510
5510
  readonly events?: readonly {
5511
5511
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
5512
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
5513
- readonly address?: `0x${string}` | undefined;
5514
5512
  readonly id?: number | undefined;
5515
- readonly strict?: boolean | undefined;
5516
- readonly includeTransaction?: boolean | undefined;
5513
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
5517
5514
  readonly includeReceipt?: boolean | undefined;
5518
5515
  readonly includeMessages?: boolean | undefined;
5516
+ readonly address?: `0x${string}` | undefined;
5517
+ readonly strict?: boolean | undefined;
5518
+ readonly includeTransaction?: boolean | undefined;
5519
5519
  readonly includeSiblings?: boolean | undefined;
5520
5520
  }[] | undefined;
5521
5521
  readonly messages?: readonly {
5522
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
5523
- readonly fromAddress?: `0x${string}` | undefined;
5524
- readonly toAddress?: `0x${string}` | undefined;
5525
5522
  readonly id?: number | undefined;
5526
- readonly includeTransaction?: boolean | undefined;
5523
+ readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
5527
5524
  readonly includeReceipt?: boolean | undefined;
5528
5525
  readonly includeEvents?: boolean | undefined;
5526
+ readonly includeTransaction?: boolean | undefined;
5527
+ readonly fromAddress?: `0x${string}` | undefined;
5528
+ readonly toAddress?: `0x${string}` | undefined;
5529
5529
  }[] | undefined;
5530
5530
  readonly storageDiffs?: readonly {
5531
- readonly contractAddress?: `0x${string}` | undefined;
5532
5531
  readonly id?: number | undefined;
5532
+ readonly contractAddress?: `0x${string}` | undefined;
5533
5533
  }[] | undefined;
5534
5534
  readonly contractChanges?: readonly {
5535
+ readonly id?: number | undefined;
5535
5536
  readonly change?: {
5536
- readonly declaredClass: {};
5537
5537
  readonly _tag: "declaredClass";
5538
+ readonly declaredClass: {};
5538
5539
  } | {
5539
- readonly replacedClass: {};
5540
5540
  readonly _tag: "replacedClass";
5541
+ readonly replacedClass: {};
5541
5542
  } | {
5542
- readonly deployedContract: {};
5543
5543
  readonly _tag: "deployedContract";
5544
+ readonly deployedContract: {};
5544
5545
  } | undefined;
5545
- readonly id?: number | undefined;
5546
5546
  }[] | undefined;
5547
5547
  readonly nonceUpdates?: readonly {
5548
- readonly contractAddress?: `0x${string}` | undefined;
5549
5548
  readonly id?: number | undefined;
5549
+ readonly contractAddress?: `0x${string}` | undefined;
5550
5550
  }[] | undefined;
5551
5551
  }, {
5552
5552
  readonly header: {
@@ -5565,37 +5565,38 @@ declare const StarknetStream: StreamConfig<{
5565
5565
  readonly priceInFri?: `0x${string}` | undefined;
5566
5566
  readonly priceInWei?: `0x${string}` | undefined;
5567
5567
  };
5568
- readonly l1DataAvailabilityMode: "calldata" | "blob" | "unknown";
5568
+ readonly l1DataAvailabilityMode: "unknown" | "blob" | "calldata";
5569
5569
  };
5570
5570
  readonly transactions: readonly {
5571
5571
  readonly filterIds: readonly number[];
5572
5572
  readonly meta: {
5573
+ readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5573
5574
  readonly transactionIndex: number;
5574
5575
  readonly transactionHash: `0x${string}`;
5575
- readonly transactionStatus: "succeeded" | "reverted" | "unknown";
5576
5576
  };
5577
5577
  readonly transaction: {
5578
+ readonly _tag: "invokeV0";
5578
5579
  readonly invokeV0: {
5580
+ readonly contractAddress: `0x${string}`;
5581
+ readonly calldata: readonly `0x${string}`[];
5579
5582
  readonly maxFee: `0x${string}`;
5580
5583
  readonly signature: readonly `0x${string}`[];
5581
- readonly contractAddress: `0x${string}`;
5582
5584
  readonly entryPointSelector: `0x${string}`;
5583
- readonly calldata: readonly `0x${string}`[];
5584
5585
  };
5585
- readonly _tag: "invokeV0";
5586
5586
  } | {
5587
+ readonly _tag: "invokeV1";
5587
5588
  readonly invokeV1: {
5589
+ readonly calldata: readonly `0x${string}`[];
5588
5590
  readonly maxFee: `0x${string}`;
5589
5591
  readonly signature: readonly `0x${string}`[];
5590
- readonly calldata: readonly `0x${string}`[];
5591
5592
  readonly senderAddress: `0x${string}`;
5592
5593
  readonly nonce: `0x${string}`;
5593
5594
  };
5594
- readonly _tag: "invokeV1";
5595
5595
  } | {
5596
+ readonly _tag: "invokeV3";
5596
5597
  readonly invokeV3: {
5597
- readonly signature: readonly `0x${string}`[];
5598
5598
  readonly calldata: readonly `0x${string}`[];
5599
+ readonly signature: readonly `0x${string}`[];
5599
5600
  readonly senderAddress: `0x${string}`;
5600
5601
  readonly nonce: `0x${string}`;
5601
5602
  readonly resourceBounds: {
@@ -5614,31 +5615,31 @@ declare const StarknetStream: StreamConfig<{
5614
5615
  readonly nonceDataAvailabilityMode: "unknown" | "l1" | "l2";
5615
5616
  readonly feeDataAvailabilityMode: "unknown" | "l1" | "l2";
5616
5617
  };
5617
- readonly _tag: "invokeV3";
5618
5618
  } | {
5619
+ readonly _tag: "l1Handler";
5619
5620
  readonly l1Handler: {
5620
5621
  readonly contractAddress: `0x${string}`;
5621
- readonly entryPointSelector: `0x${string}`;
5622
5622
  readonly calldata: readonly `0x${string}`[];
5623
+ readonly entryPointSelector: `0x${string}`;
5623
5624
  readonly nonce: bigint;
5624
5625
  };
5625
- readonly _tag: "l1Handler";
5626
5626
  } | {
5627
+ readonly _tag: "deploy";
5627
5628
  readonly deploy: {
5628
5629
  readonly contractAddressSalt: `0x${string}`;
5629
5630
  readonly constructorCalldata: readonly `0x${string}`[];
5630
5631
  readonly classHash: `0x${string}`;
5631
5632
  };
5632
- readonly _tag: "deploy";
5633
5633
  } | {
5634
+ readonly _tag: "declareV0";
5634
5635
  readonly declareV0: {
5635
5636
  readonly maxFee: `0x${string}`;
5636
5637
  readonly signature: readonly `0x${string}`[];
5637
5638
  readonly senderAddress: `0x${string}`;
5638
5639
  readonly classHash: `0x${string}`;
5639
5640
  };
5640
- readonly _tag: "declareV0";
5641
5641
  } | {
5642
+ readonly _tag: "declareV1";
5642
5643
  readonly declareV1: {
5643
5644
  readonly maxFee: `0x${string}`;
5644
5645
  readonly signature: readonly `0x${string}`[];
@@ -5646,8 +5647,8 @@ declare const StarknetStream: StreamConfig<{
5646
5647
  readonly nonce: `0x${string}`;
5647
5648
  readonly classHash: `0x${string}`;
5648
5649
  };
5649
- readonly _tag: "declareV1";
5650
5650
  } | {
5651
+ readonly _tag: "declareV2";
5651
5652
  readonly declareV2: {
5652
5653
  readonly maxFee: `0x${string}`;
5653
5654
  readonly signature: readonly `0x${string}`[];
@@ -5656,8 +5657,8 @@ declare const StarknetStream: StreamConfig<{
5656
5657
  readonly classHash: `0x${string}`;
5657
5658
  readonly compiledClassHash: `0x${string}`;
5658
5659
  };
5659
- readonly _tag: "declareV2";
5660
5660
  } | {
5661
+ readonly _tag: "declareV3";
5661
5662
  readonly declareV3: {
5662
5663
  readonly signature: readonly `0x${string}`[];
5663
5664
  readonly senderAddress: `0x${string}`;
@@ -5680,8 +5681,8 @@ declare const StarknetStream: StreamConfig<{
5680
5681
  readonly classHash: `0x${string}`;
5681
5682
  readonly compiledClassHash: `0x${string}`;
5682
5683
  };
5683
- readonly _tag: "declareV3";
5684
5684
  } | {
5685
+ readonly _tag: "deployAccountV1";
5685
5686
  readonly deployAccountV1: {
5686
5687
  readonly maxFee: `0x${string}`;
5687
5688
  readonly signature: readonly `0x${string}`[];
@@ -5690,8 +5691,8 @@ declare const StarknetStream: StreamConfig<{
5690
5691
  readonly constructorCalldata: readonly `0x${string}`[];
5691
5692
  readonly classHash: `0x${string}`;
5692
5693
  };
5693
- readonly _tag: "deployAccountV1";
5694
5694
  } | {
5695
+ readonly _tag: "deployAccountV3";
5695
5696
  readonly deployAccountV3: {
5696
5697
  readonly signature: readonly `0x${string}`[];
5697
5698
  readonly nonce: `0x${string}`;
@@ -5713,9 +5714,65 @@ declare const StarknetStream: StreamConfig<{
5713
5714
  readonly constructorCalldata: readonly `0x${string}`[];
5714
5715
  readonly classHash: `0x${string}`;
5715
5716
  };
5716
- readonly _tag: "deployAccountV3";
5717
5717
  };
5718
5718
  }[];
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
+ }[];
5719
5776
  readonly receipts: readonly {
5720
5777
  readonly filterIds: readonly number[];
5721
5778
  readonly meta: {
@@ -5754,85 +5811,28 @@ declare const StarknetStream: StreamConfig<{
5754
5811
  };
5755
5812
  };
5756
5813
  readonly receipt: {
5757
- readonly invoke: {};
5758
5814
  readonly _tag: "invoke";
5815
+ readonly invoke: {};
5759
5816
  } | {
5817
+ readonly _tag: "l1Handler";
5760
5818
  readonly l1Handler: {
5761
5819
  readonly messageHash: Uint8Array;
5762
5820
  };
5763
- readonly _tag: "l1Handler";
5764
5821
  } | {
5765
- readonly declare: {};
5766
5822
  readonly _tag: "declare";
5823
+ readonly declare: {};
5767
5824
  } | {
5825
+ readonly _tag: "deploy";
5768
5826
  readonly deploy: {
5769
5827
  readonly contractAddress: `0x${string}`;
5770
5828
  };
5771
- readonly _tag: "deploy";
5772
5829
  } | {
5830
+ readonly _tag: "deployAccount";
5773
5831
  readonly deployAccount: {
5774
5832
  readonly contractAddress: `0x${string}`;
5775
5833
  };
5776
- readonly _tag: "deployAccount";
5777
- };
5778
- }[];
5779
- readonly events: readonly {
5780
- readonly keys: readonly `0x${string}`[];
5781
- readonly filterIds: readonly number[];
5782
- readonly transactionIndex: number;
5783
- readonly transactionHash: `0x${string}`;
5784
- readonly transactionStatus: "succeeded" | "reverted" | "unknown";
5785
- readonly address: `0x${string}`;
5786
- readonly data: readonly `0x${string}`[];
5787
- readonly eventIndex: number;
5788
- readonly eventIndexInTransaction: number;
5789
- }[];
5790
- readonly messages: readonly {
5791
- readonly filterIds: readonly number[];
5792
- readonly transactionIndex: number;
5793
- readonly transactionHash: `0x${string}`;
5794
- readonly transactionStatus: "succeeded" | "reverted" | "unknown";
5795
- readonly fromAddress: `0x${string}`;
5796
- readonly toAddress: `0x${string}`;
5797
- readonly payload: readonly `0x${string}`[];
5798
- readonly messageIndex: number;
5799
- readonly messageIndexInTransaction: number;
5800
- }[];
5801
- readonly storageDiffs: readonly {
5802
- readonly filterIds: readonly number[];
5803
- readonly contractAddress: `0x${string}`;
5804
- readonly storageEntries: readonly {
5805
- readonly key: `0x${string}`;
5806
- readonly value: `0x${string}`;
5807
- }[];
5808
- }[];
5809
- readonly contractChanges: readonly {
5810
- readonly filterIds: readonly number[];
5811
- readonly change: {
5812
- readonly declaredClass: {
5813
- readonly classHash?: `0x${string}` | undefined;
5814
- readonly compiledClassHash?: `0x${string}` | undefined;
5815
- };
5816
- readonly _tag: "declaredClass";
5817
- } | {
5818
- readonly replacedClass: {
5819
- readonly contractAddress?: `0x${string}` | undefined;
5820
- readonly classHash?: `0x${string}` | undefined;
5821
- };
5822
- readonly _tag: "replacedClass";
5823
- } | {
5824
- readonly deployedContract: {
5825
- readonly contractAddress?: `0x${string}` | undefined;
5826
- readonly classHash?: `0x${string}` | undefined;
5827
- };
5828
- readonly _tag: "deployedContract";
5829
5834
  };
5830
5835
  }[];
5831
- readonly nonceUpdates: readonly {
5832
- readonly filterIds: readonly number[];
5833
- readonly contractAddress: `0x${string}`;
5834
- readonly nonce: `0x${string}`;
5835
- }[];
5836
5836
  }>;
5837
5837
 
5838
5838
  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 };