@zoralabs/protocol-deployments 0.3.7 → 0.3.8-COMMENTS.0

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.cjs CHANGED
@@ -1555,11 +1555,30 @@ var init_getAbiItem = __esm({
1555
1555
  }
1556
1556
  });
1557
1557
 
1558
+ // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/unit.js
1559
+ var etherUnits;
1560
+ var init_unit = __esm({
1561
+ "../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/unit.js"() {
1562
+ "use strict";
1563
+ etherUnits = {
1564
+ gwei: 9,
1565
+ wei: 18
1566
+ };
1567
+ }
1568
+ });
1569
+
1558
1570
  // src/index.ts
1559
1571
  var src_exports = {};
1560
1572
  __export(src_exports, {
1561
1573
  PremintConfigVersion: () => PremintConfigVersion,
1574
+ callerAndCommenterABI: () => callerAndCommenterABI,
1575
+ callerAndCommenterAddress: () => callerAndCommenterAddress,
1576
+ callerAndCommenterConfig: () => callerAndCommenterConfig,
1577
+ commentsABI: () => commentsABI,
1578
+ commentsAddress: () => commentsAddress,
1579
+ commentsConfig: () => commentsConfig,
1562
1580
  contracts1155: () => __exports,
1581
+ emptyCommentIdentifier: () => emptyCommentIdentifier,
1563
1582
  encodePremintConfig: () => encodePremintConfig,
1564
1583
  erc20MinterABI: () => erc20MinterABI,
1565
1584
  erc20MinterAddress: () => erc20MinterAddress,
@@ -1576,6 +1595,10 @@ __export(src_exports, {
1576
1595
  mintsEthUnwrapperAndCallerConfig: () => mintsEthUnwrapperAndCallerConfig,
1577
1596
  mintsSafeTransferBatchTypedDataDefinition: () => mintsSafeTransferBatchTypedDataDefinition,
1578
1597
  mintsSafeTransferTypedDataDefinition: () => mintsSafeTransferTypedDataDefinition,
1598
+ permitBuyOnSecondaryAndCommentTypedDataDefinition: () => permitBuyOnSecondaryAndCommentTypedDataDefinition,
1599
+ permitCommentTypedDataDefinition: () => permitCommentTypedDataDefinition,
1600
+ permitMintAndCommentTypedDataDefinition: () => permitMintAndCommentTypedDataDefinition,
1601
+ permitSparkCommentTypedDataDefinition: () => permitSparkCommentTypedDataDefinition,
1579
1602
  premintTypedDataDefinition: () => premintTypedDataDefinition,
1580
1603
  premintV1TypedDataDefinition: () => premintV1TypedDataDefinition,
1581
1604
  premintV2TypedDataDefinition: () => premintV2TypedDataDefinition,
@@ -1586,6 +1609,7 @@ __export(src_exports, {
1586
1609
  secondarySwapABI: () => secondarySwapABI,
1587
1610
  secondarySwapAddress: () => secondarySwapAddress,
1588
1611
  secondarySwapConfig: () => secondarySwapConfig,
1612
+ sparkValue: () => sparkValue,
1589
1613
  sparks: () => sparks_exports,
1590
1614
  sponsoredSparksBatchTransferTypedDataType: () => sponsoredSparksBatchTransferTypedDataType,
1591
1615
  sponsoredSparksBatchTypedDataDefinition: () => sponsoredSparksBatchTypedDataDefinition,
@@ -1633,6 +1657,2014 @@ __export(src_exports, {
1633
1657
  module.exports = __toCommonJS(src_exports);
1634
1658
 
1635
1659
  // src/generated/wagmi.ts
1660
+ var callerAndCommenterABI = [
1661
+ {
1662
+ stateMutability: "nonpayable",
1663
+ type: "constructor",
1664
+ inputs: [
1665
+ { name: "_comments", internalType: "address", type: "address" },
1666
+ { name: "_zoraTimedSale", internalType: "address", type: "address" },
1667
+ { name: "_swapHelper", internalType: "address", type: "address" },
1668
+ { name: "_sparksValue", internalType: "uint256", type: "uint256" }
1669
+ ]
1670
+ },
1671
+ {
1672
+ stateMutability: "view",
1673
+ type: "function",
1674
+ inputs: [],
1675
+ name: "UPGRADE_INTERFACE_VERSION",
1676
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1677
+ },
1678
+ {
1679
+ stateMutability: "nonpayable",
1680
+ type: "function",
1681
+ inputs: [],
1682
+ name: "acceptOwnership",
1683
+ outputs: []
1684
+ },
1685
+ {
1686
+ stateMutability: "payable",
1687
+ type: "function",
1688
+ inputs: [
1689
+ { name: "commenter", internalType: "address", type: "address" },
1690
+ { name: "quantity", internalType: "uint256", type: "uint256" },
1691
+ { name: "collection", internalType: "address", type: "address" },
1692
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1693
+ {
1694
+ name: "excessRefundRecipient",
1695
+ internalType: "address payable",
1696
+ type: "address"
1697
+ },
1698
+ { name: "maxEthToSpend", internalType: "uint256", type: "uint256" },
1699
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
1700
+ { name: "comment", internalType: "string", type: "string" }
1701
+ ],
1702
+ name: "buyOnSecondaryAndComment",
1703
+ outputs: [
1704
+ {
1705
+ name: "",
1706
+ internalType: "struct IComments.CommentIdentifier",
1707
+ type: "tuple",
1708
+ components: [
1709
+ { name: "commenter", internalType: "address", type: "address" },
1710
+ { name: "contractAddress", internalType: "address", type: "address" },
1711
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1712
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1713
+ ]
1714
+ }
1715
+ ]
1716
+ },
1717
+ {
1718
+ stateMutability: "view",
1719
+ type: "function",
1720
+ inputs: [],
1721
+ name: "comments",
1722
+ outputs: [
1723
+ { name: "", internalType: "contract IComments", type: "address" }
1724
+ ]
1725
+ },
1726
+ {
1727
+ stateMutability: "pure",
1728
+ type: "function",
1729
+ inputs: [],
1730
+ name: "contractName",
1731
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1732
+ },
1733
+ {
1734
+ stateMutability: "pure",
1735
+ type: "function",
1736
+ inputs: [],
1737
+ name: "contractVersion",
1738
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1739
+ },
1740
+ {
1741
+ stateMutability: "view",
1742
+ type: "function",
1743
+ inputs: [],
1744
+ name: "eip712Domain",
1745
+ outputs: [
1746
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
1747
+ { name: "name", internalType: "string", type: "string" },
1748
+ { name: "version", internalType: "string", type: "string" },
1749
+ { name: "chainId", internalType: "uint256", type: "uint256" },
1750
+ { name: "verifyingContract", internalType: "address", type: "address" },
1751
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
1752
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
1753
+ ]
1754
+ },
1755
+ {
1756
+ stateMutability: "view",
1757
+ type: "function",
1758
+ inputs: [
1759
+ {
1760
+ name: "permit",
1761
+ internalType: "struct ICallerAndCommenter.PermitBuyOnSecondaryAndComment",
1762
+ type: "tuple",
1763
+ components: [
1764
+ { name: "commenter", internalType: "address", type: "address" },
1765
+ { name: "quantity", internalType: "uint256", type: "uint256" },
1766
+ { name: "collection", internalType: "address", type: "address" },
1767
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1768
+ { name: "maxEthToSpend", internalType: "uint256", type: "uint256" },
1769
+ {
1770
+ name: "sqrtPriceLimitX96",
1771
+ internalType: "uint160",
1772
+ type: "uint160"
1773
+ },
1774
+ { name: "comment", internalType: "string", type: "string" },
1775
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1776
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
1777
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
1778
+ {
1779
+ name: "destinationChainId",
1780
+ internalType: "uint32",
1781
+ type: "uint32"
1782
+ }
1783
+ ]
1784
+ }
1785
+ ],
1786
+ name: "hashPermitBuyOnSecondaryAndComment",
1787
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1788
+ },
1789
+ {
1790
+ stateMutability: "view",
1791
+ type: "function",
1792
+ inputs: [
1793
+ {
1794
+ name: "permit",
1795
+ internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment",
1796
+ type: "tuple",
1797
+ components: [
1798
+ { name: "commenter", internalType: "address", type: "address" },
1799
+ { name: "quantity", internalType: "uint256", type: "uint256" },
1800
+ { name: "collection", internalType: "address", type: "address" },
1801
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1802
+ { name: "mintReferral", internalType: "address", type: "address" },
1803
+ { name: "comment", internalType: "string", type: "string" },
1804
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1805
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
1806
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
1807
+ {
1808
+ name: "destinationChainId",
1809
+ internalType: "uint32",
1810
+ type: "uint32"
1811
+ }
1812
+ ]
1813
+ }
1814
+ ],
1815
+ name: "hashPermitTimedSaleMintAndComment",
1816
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1817
+ },
1818
+ {
1819
+ stateMutability: "nonpayable",
1820
+ type: "function",
1821
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1822
+ name: "initialize",
1823
+ outputs: []
1824
+ },
1825
+ {
1826
+ stateMutability: "view",
1827
+ type: "function",
1828
+ inputs: [
1829
+ { name: "owner", internalType: "address", type: "address" },
1830
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1831
+ ],
1832
+ name: "nonceUsed",
1833
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1834
+ },
1835
+ {
1836
+ stateMutability: "view",
1837
+ type: "function",
1838
+ inputs: [],
1839
+ name: "owner",
1840
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1841
+ },
1842
+ {
1843
+ stateMutability: "view",
1844
+ type: "function",
1845
+ inputs: [],
1846
+ name: "pendingOwner",
1847
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1848
+ },
1849
+ {
1850
+ stateMutability: "payable",
1851
+ type: "function",
1852
+ inputs: [
1853
+ {
1854
+ name: "permit",
1855
+ internalType: "struct ICallerAndCommenter.PermitBuyOnSecondaryAndComment",
1856
+ type: "tuple",
1857
+ components: [
1858
+ { name: "commenter", internalType: "address", type: "address" },
1859
+ { name: "quantity", internalType: "uint256", type: "uint256" },
1860
+ { name: "collection", internalType: "address", type: "address" },
1861
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1862
+ { name: "maxEthToSpend", internalType: "uint256", type: "uint256" },
1863
+ {
1864
+ name: "sqrtPriceLimitX96",
1865
+ internalType: "uint160",
1866
+ type: "uint160"
1867
+ },
1868
+ { name: "comment", internalType: "string", type: "string" },
1869
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1870
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
1871
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
1872
+ {
1873
+ name: "destinationChainId",
1874
+ internalType: "uint32",
1875
+ type: "uint32"
1876
+ }
1877
+ ]
1878
+ },
1879
+ { name: "signature", internalType: "bytes", type: "bytes" }
1880
+ ],
1881
+ name: "permitBuyOnSecondaryAndComment",
1882
+ outputs: [
1883
+ {
1884
+ name: "",
1885
+ internalType: "struct IComments.CommentIdentifier",
1886
+ type: "tuple",
1887
+ components: [
1888
+ { name: "commenter", internalType: "address", type: "address" },
1889
+ { name: "contractAddress", internalType: "address", type: "address" },
1890
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1891
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1892
+ ]
1893
+ }
1894
+ ]
1895
+ },
1896
+ {
1897
+ stateMutability: "payable",
1898
+ type: "function",
1899
+ inputs: [
1900
+ {
1901
+ name: "permit",
1902
+ internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment",
1903
+ type: "tuple",
1904
+ components: [
1905
+ { name: "commenter", internalType: "address", type: "address" },
1906
+ { name: "quantity", internalType: "uint256", type: "uint256" },
1907
+ { name: "collection", internalType: "address", type: "address" },
1908
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1909
+ { name: "mintReferral", internalType: "address", type: "address" },
1910
+ { name: "comment", internalType: "string", type: "string" },
1911
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1912
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
1913
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
1914
+ {
1915
+ name: "destinationChainId",
1916
+ internalType: "uint32",
1917
+ type: "uint32"
1918
+ }
1919
+ ]
1920
+ },
1921
+ { name: "signature", internalType: "bytes", type: "bytes" }
1922
+ ],
1923
+ name: "permitTimedSaleMintAndComment",
1924
+ outputs: [
1925
+ {
1926
+ name: "",
1927
+ internalType: "struct IComments.CommentIdentifier",
1928
+ type: "tuple",
1929
+ components: [
1930
+ { name: "commenter", internalType: "address", type: "address" },
1931
+ { name: "contractAddress", internalType: "address", type: "address" },
1932
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1933
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1934
+ ]
1935
+ }
1936
+ ]
1937
+ },
1938
+ {
1939
+ stateMutability: "view",
1940
+ type: "function",
1941
+ inputs: [],
1942
+ name: "proxiableUUID",
1943
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1944
+ },
1945
+ {
1946
+ stateMutability: "nonpayable",
1947
+ type: "function",
1948
+ inputs: [],
1949
+ name: "renounceOwnership",
1950
+ outputs: []
1951
+ },
1952
+ {
1953
+ stateMutability: "view",
1954
+ type: "function",
1955
+ inputs: [],
1956
+ name: "secondarySwap",
1957
+ outputs: [
1958
+ { name: "", internalType: "contract ISecondarySwap", type: "address" }
1959
+ ]
1960
+ },
1961
+ {
1962
+ stateMutability: "payable",
1963
+ type: "function",
1964
+ inputs: [
1965
+ { name: "commenter", internalType: "address", type: "address" },
1966
+ { name: "quantity", internalType: "uint256", type: "uint256" },
1967
+ { name: "collection", internalType: "address", type: "address" },
1968
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1969
+ { name: "recipient", internalType: "address payable", type: "address" },
1970
+ { name: "minEthToAcquire", internalType: "uint256", type: "uint256" },
1971
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
1972
+ { name: "comment", internalType: "string", type: "string" }
1973
+ ],
1974
+ name: "sellOnSecondaryAndComment",
1975
+ outputs: [
1976
+ {
1977
+ name: "commentIdentifier",
1978
+ internalType: "struct IComments.CommentIdentifier",
1979
+ type: "tuple",
1980
+ components: [
1981
+ { name: "commenter", internalType: "address", type: "address" },
1982
+ { name: "contractAddress", internalType: "address", type: "address" },
1983
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1984
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1985
+ ]
1986
+ }
1987
+ ]
1988
+ },
1989
+ {
1990
+ stateMutability: "view",
1991
+ type: "function",
1992
+ inputs: [],
1993
+ name: "sparkValue",
1994
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1995
+ },
1996
+ {
1997
+ stateMutability: "payable",
1998
+ type: "function",
1999
+ inputs: [
2000
+ { name: "commenter", internalType: "address", type: "address" },
2001
+ { name: "quantity", internalType: "uint256", type: "uint256" },
2002
+ { name: "collection", internalType: "address", type: "address" },
2003
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2004
+ { name: "mintReferral", internalType: "address", type: "address" },
2005
+ { name: "comment", internalType: "string", type: "string" }
2006
+ ],
2007
+ name: "timedSaleMintAndComment",
2008
+ outputs: [
2009
+ {
2010
+ name: "",
2011
+ internalType: "struct IComments.CommentIdentifier",
2012
+ type: "tuple",
2013
+ components: [
2014
+ { name: "commenter", internalType: "address", type: "address" },
2015
+ { name: "contractAddress", internalType: "address", type: "address" },
2016
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2017
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2018
+ ]
2019
+ }
2020
+ ]
2021
+ },
2022
+ {
2023
+ stateMutability: "nonpayable",
2024
+ type: "function",
2025
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
2026
+ name: "transferOwnership",
2027
+ outputs: []
2028
+ },
2029
+ {
2030
+ stateMutability: "payable",
2031
+ type: "function",
2032
+ inputs: [
2033
+ { name: "newImplementation", internalType: "address", type: "address" },
2034
+ { name: "data", internalType: "bytes", type: "bytes" }
2035
+ ],
2036
+ name: "upgradeToAndCall",
2037
+ outputs: []
2038
+ },
2039
+ {
2040
+ stateMutability: "view",
2041
+ type: "function",
2042
+ inputs: [],
2043
+ name: "zoraTimedSale",
2044
+ outputs: [
2045
+ {
2046
+ name: "",
2047
+ internalType: "contract IZoraTimedSaleStrategy",
2048
+ type: "address"
2049
+ }
2050
+ ]
2051
+ },
2052
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
2053
+ {
2054
+ type: "event",
2055
+ anonymous: false,
2056
+ inputs: [
2057
+ {
2058
+ name: "version",
2059
+ internalType: "uint64",
2060
+ type: "uint64",
2061
+ indexed: false
2062
+ }
2063
+ ],
2064
+ name: "Initialized"
2065
+ },
2066
+ {
2067
+ type: "event",
2068
+ anonymous: false,
2069
+ inputs: [
2070
+ {
2071
+ name: "commentId",
2072
+ internalType: "bytes32",
2073
+ type: "bytes32",
2074
+ indexed: true
2075
+ },
2076
+ {
2077
+ name: "commentIdentifier",
2078
+ internalType: "struct IComments.CommentIdentifier",
2079
+ type: "tuple",
2080
+ components: [
2081
+ { name: "commenter", internalType: "address", type: "address" },
2082
+ { name: "contractAddress", internalType: "address", type: "address" },
2083
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2084
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2085
+ ],
2086
+ indexed: false
2087
+ },
2088
+ {
2089
+ name: "quantity",
2090
+ internalType: "uint256",
2091
+ type: "uint256",
2092
+ indexed: false
2093
+ },
2094
+ { name: "text", internalType: "string", type: "string", indexed: false }
2095
+ ],
2096
+ name: "MintedAndCommented"
2097
+ },
2098
+ {
2099
+ type: "event",
2100
+ anonymous: false,
2101
+ inputs: [
2102
+ {
2103
+ name: "previousOwner",
2104
+ internalType: "address",
2105
+ type: "address",
2106
+ indexed: true
2107
+ },
2108
+ {
2109
+ name: "newOwner",
2110
+ internalType: "address",
2111
+ type: "address",
2112
+ indexed: true
2113
+ }
2114
+ ],
2115
+ name: "OwnershipTransferStarted"
2116
+ },
2117
+ {
2118
+ type: "event",
2119
+ anonymous: false,
2120
+ inputs: [
2121
+ {
2122
+ name: "previousOwner",
2123
+ internalType: "address",
2124
+ type: "address",
2125
+ indexed: true
2126
+ },
2127
+ {
2128
+ name: "newOwner",
2129
+ internalType: "address",
2130
+ type: "address",
2131
+ indexed: true
2132
+ }
2133
+ ],
2134
+ name: "OwnershipTransferred"
2135
+ },
2136
+ {
2137
+ type: "event",
2138
+ anonymous: false,
2139
+ inputs: [
2140
+ {
2141
+ name: "commentId",
2142
+ internalType: "bytes32",
2143
+ type: "bytes32",
2144
+ indexed: true
2145
+ },
2146
+ {
2147
+ name: "commentIdentifier",
2148
+ internalType: "struct IComments.CommentIdentifier",
2149
+ type: "tuple",
2150
+ components: [
2151
+ { name: "commenter", internalType: "address", type: "address" },
2152
+ { name: "contractAddress", internalType: "address", type: "address" },
2153
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2154
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2155
+ ],
2156
+ indexed: false
2157
+ },
2158
+ {
2159
+ name: "quantity",
2160
+ internalType: "uint256",
2161
+ type: "uint256",
2162
+ indexed: true
2163
+ },
2164
+ {
2165
+ name: "comment",
2166
+ internalType: "string",
2167
+ type: "string",
2168
+ indexed: false
2169
+ },
2170
+ {
2171
+ name: "swapDirection",
2172
+ internalType: "enum ICallerAndCommenter.SwapDirection",
2173
+ type: "uint8",
2174
+ indexed: true
2175
+ }
2176
+ ],
2177
+ name: "SwappedOnSecondaryAndCommented"
2178
+ },
2179
+ {
2180
+ type: "event",
2181
+ anonymous: false,
2182
+ inputs: [
2183
+ {
2184
+ name: "implementation",
2185
+ internalType: "address",
2186
+ type: "address",
2187
+ indexed: true
2188
+ }
2189
+ ],
2190
+ name: "Upgraded"
2191
+ },
2192
+ {
2193
+ type: "error",
2194
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
2195
+ name: "AddressEmptyCode"
2196
+ },
2197
+ {
2198
+ type: "error",
2199
+ inputs: [
2200
+ { name: "expected", internalType: "address", type: "address" },
2201
+ { name: "actual", internalType: "address", type: "address" }
2202
+ ],
2203
+ name: "CommenterMismatch"
2204
+ },
2205
+ {
2206
+ type: "error",
2207
+ inputs: [
2208
+ { name: "implementation", internalType: "address", type: "address" }
2209
+ ],
2210
+ name: "ERC1967InvalidImplementation"
2211
+ },
2212
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
2213
+ {
2214
+ type: "error",
2215
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
2216
+ name: "ERC2612ExpiredSignature"
2217
+ },
2218
+ { type: "error", inputs: [], name: "FailedInnerCall" },
2219
+ {
2220
+ type: "error",
2221
+ inputs: [
2222
+ {
2223
+ name: "wrongDestinationChainId",
2224
+ internalType: "uint256",
2225
+ type: "uint256"
2226
+ }
2227
+ ],
2228
+ name: "IncorrectDestinationChain"
2229
+ },
2230
+ {
2231
+ type: "error",
2232
+ inputs: [
2233
+ { name: "account", internalType: "address", type: "address" },
2234
+ { name: "currentNonce", internalType: "bytes32", type: "bytes32" }
2235
+ ],
2236
+ name: "InvalidAccountNonce"
2237
+ },
2238
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2239
+ { type: "error", inputs: [], name: "InvalidSignature" },
2240
+ { type: "error", inputs: [], name: "NotInitializing" },
2241
+ {
2242
+ type: "error",
2243
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
2244
+ name: "OwnableInvalidOwner"
2245
+ },
2246
+ {
2247
+ type: "error",
2248
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2249
+ name: "OwnableUnauthorizedAccount"
2250
+ },
2251
+ {
2252
+ type: "error",
2253
+ inputs: [
2254
+ { name: "collection", internalType: "address", type: "address" },
2255
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
2256
+ ],
2257
+ name: "SaleNotSet"
2258
+ },
2259
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
2260
+ {
2261
+ type: "error",
2262
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
2263
+ name: "UUPSUnsupportedProxiableUUID"
2264
+ },
2265
+ {
2266
+ type: "error",
2267
+ inputs: [
2268
+ { name: "currentName", internalType: "string", type: "string" },
2269
+ { name: "newName", internalType: "string", type: "string" }
2270
+ ],
2271
+ name: "UpgradeToMismatchedContractName"
2272
+ },
2273
+ {
2274
+ type: "error",
2275
+ inputs: [
2276
+ { name: "expected", internalType: "uint256", type: "uint256" },
2277
+ { name: "actual", internalType: "uint256", type: "uint256" }
2278
+ ],
2279
+ name: "WrongValueSent"
2280
+ },
2281
+ {
2282
+ type: "error",
2283
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
2284
+ name: "AddressEmptyCode"
2285
+ },
2286
+ {
2287
+ type: "error",
2288
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2289
+ name: "AddressInsufficientBalance"
2290
+ },
2291
+ { type: "error", inputs: [], name: "AddressZero" },
2292
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
2293
+ {
2294
+ type: "error",
2295
+ inputs: [
2296
+ { name: "implementation", internalType: "address", type: "address" }
2297
+ ],
2298
+ name: "ERC1967InvalidImplementation"
2299
+ },
2300
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
2301
+ { type: "error", inputs: [], name: "EndTimeCannotBeInThePast" },
2302
+ { type: "error", inputs: [], name: "FailedInnerCall" },
2303
+ { type: "error", inputs: [], name: "InsufficientFunds" },
2304
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2305
+ { type: "error", inputs: [], name: "MarketAlreadyLaunched" },
2306
+ { type: "error", inputs: [], name: "MarketMinimumNotReached" },
2307
+ { type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
2308
+ { type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
2309
+ { type: "error", inputs: [], name: "NotInitializing" },
2310
+ { type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
2311
+ {
2312
+ type: "error",
2313
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
2314
+ name: "OwnableInvalidOwner"
2315
+ },
2316
+ {
2317
+ type: "error",
2318
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2319
+ name: "OwnableUnauthorizedAccount"
2320
+ },
2321
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2322
+ { type: "error", inputs: [], name: "RequestMintInvalidUseMint" },
2323
+ { type: "error", inputs: [], name: "ResetSaleNotAvailable" },
2324
+ { type: "error", inputs: [], name: "SaleAlreadySet" },
2325
+ { type: "error", inputs: [], name: "SaleEnded" },
2326
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
2327
+ { type: "error", inputs: [], name: "SaleInProgress" },
2328
+ { type: "error", inputs: [], name: "SaleNotSet" },
2329
+ { type: "error", inputs: [], name: "SaleV2AlreadyStarted" },
2330
+ { type: "error", inputs: [], name: "SaleV2Ended" },
2331
+ { type: "error", inputs: [], name: "SaleV2NotSet" },
2332
+ { type: "error", inputs: [], name: "StartTimeCannotBeAfterEndTime" },
2333
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
2334
+ {
2335
+ type: "error",
2336
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
2337
+ name: "UUPSUnsupportedProxiableUUID"
2338
+ },
2339
+ { type: "error", inputs: [], name: "WrongValueSent" },
2340
+ {
2341
+ type: "error",
2342
+ inputs: [],
2343
+ name: "ZoraCreator1155ContractNeedsToSupportReduceSupply"
2344
+ },
2345
+ { type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
2346
+ { type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
2347
+ {
2348
+ type: "error",
2349
+ inputs: [
2350
+ { name: "operator", internalType: "address", type: "address" },
2351
+ { name: "user", internalType: "address", type: "address" }
2352
+ ],
2353
+ name: "Burn_NotOwnerOrApproved"
2354
+ },
2355
+ { type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
2356
+ {
2357
+ type: "error",
2358
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
2359
+ name: "CallFailed"
2360
+ },
2361
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
2362
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
2363
+ { type: "error", inputs: [], name: "CanOnlyReduceMaxSupply" },
2364
+ {
2365
+ type: "error",
2366
+ inputs: [
2367
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2368
+ { name: "quantity", internalType: "uint256", type: "uint256" },
2369
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
2370
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
2371
+ ],
2372
+ name: "CannotMintMoreTokens"
2373
+ },
2374
+ { type: "error", inputs: [], name: "CannotReduceMaxSupplyBelowMinted" },
2375
+ {
2376
+ type: "error",
2377
+ inputs: [
2378
+ { name: "proposedAddress", internalType: "address", type: "address" }
2379
+ ],
2380
+ name: "Config_TransferHookNotSupported"
2381
+ },
2382
+ {
2383
+ type: "error",
2384
+ inputs: [],
2385
+ name: "ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH"
2386
+ },
2387
+ {
2388
+ type: "error",
2389
+ inputs: [],
2390
+ name: "ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER"
2391
+ },
2392
+ { type: "error", inputs: [], name: "ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE" },
2393
+ { type: "error", inputs: [], name: "ERC1155_BURN_FROM_ZERO_ADDRESS" },
2394
+ {
2395
+ type: "error",
2396
+ inputs: [],
2397
+ name: "ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED"
2398
+ },
2399
+ {
2400
+ type: "error",
2401
+ inputs: [],
2402
+ name: "ERC1155_ERC1155RECEIVER_REJECTED_TOKENS"
2403
+ },
2404
+ {
2405
+ type: "error",
2406
+ inputs: [],
2407
+ name: "ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH"
2408
+ },
2409
+ {
2410
+ type: "error",
2411
+ inputs: [],
2412
+ name: "ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER"
2413
+ },
2414
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
2415
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
2416
+ { type: "error", inputs: [], name: "ERC1155_SETTING_APPROVAL_FOR_SELF" },
2417
+ {
2418
+ type: "error",
2419
+ inputs: [],
2420
+ name: "ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER"
2421
+ },
2422
+ { type: "error", inputs: [], name: "ERC1155_TRANSFER_TO_ZERO_ADDRESS" },
2423
+ { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
2424
+ { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
2425
+ { type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
2426
+ {
2427
+ type: "error",
2428
+ inputs: [
2429
+ { name: "recipient", internalType: "address", type: "address" },
2430
+ { name: "amount", internalType: "uint256", type: "uint256" }
2431
+ ],
2432
+ name: "ETHWithdrawFailed"
2433
+ },
2434
+ {
2435
+ type: "error",
2436
+ inputs: [],
2437
+ name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY"
2438
+ },
2439
+ {
2440
+ type: "error",
2441
+ inputs: [],
2442
+ name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
2443
+ },
2444
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
2445
+ {
2446
+ type: "error",
2447
+ inputs: [
2448
+ { name: "amount", internalType: "uint256", type: "uint256" },
2449
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
2450
+ ],
2451
+ name: "FundsWithdrawInsolvent"
2452
+ },
2453
+ {
2454
+ type: "error",
2455
+ inputs: [],
2456
+ name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
2457
+ },
2458
+ {
2459
+ type: "error",
2460
+ inputs: [],
2461
+ name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
2462
+ },
2463
+ { type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
2464
+ { type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
2465
+ {
2466
+ type: "error",
2467
+ inputs: [
2468
+ { name: "mintTo", internalType: "address", type: "address" },
2469
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
2470
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
2471
+ ],
2472
+ name: "InvalidMerkleProof"
2473
+ },
2474
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
2475
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
2476
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
2477
+ { type: "error", inputs: [], name: "InvalidSignature" },
2478
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
2479
+ {
2480
+ type: "error",
2481
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
2482
+ name: "InvalidSigner"
2483
+ },
2484
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
2485
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
2486
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
2487
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
2488
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
2489
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
2490
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2491
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2492
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
2493
+ {
2494
+ type: "error",
2495
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
2496
+ name: "NoRendererForToken"
2497
+ },
2498
+ { type: "error", inputs: [], name: "NonEthRedemption" },
2499
+ { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
2500
+ { type: "error", inputs: [], name: "OnlyTransfersFromZoraMints" },
2501
+ { type: "error", inputs: [], name: "PremintDeleted" },
2502
+ {
2503
+ type: "error",
2504
+ inputs: [
2505
+ { name: "caller", internalType: "address", type: "address" },
2506
+ { name: "recipient", internalType: "address", type: "address" },
2507
+ { name: "amount", internalType: "uint256", type: "uint256" }
2508
+ ],
2509
+ name: "ProtocolRewardsWithdrawFailed"
2510
+ },
2511
+ {
2512
+ type: "error",
2513
+ inputs: [{ name: "renderer", internalType: "address", type: "address" }],
2514
+ name: "RendererNotValid"
2515
+ },
2516
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
2517
+ { type: "error", inputs: [], name: "SaleEnded" },
2518
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
2519
+ {
2520
+ type: "error",
2521
+ inputs: [
2522
+ { name: "targetContract", internalType: "address", type: "address" }
2523
+ ],
2524
+ name: "Sale_CannotCallNonSalesContract"
2525
+ },
2526
+ {
2527
+ type: "error",
2528
+ inputs: [
2529
+ { name: "expected", internalType: "uint256", type: "uint256" },
2530
+ { name: "actual", internalType: "uint256", type: "uint256" }
2531
+ ],
2532
+ name: "TokenIdMismatch"
2533
+ },
2534
+ {
2535
+ type: "error",
2536
+ inputs: [],
2537
+ name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL"
2538
+ },
2539
+ {
2540
+ type: "error",
2541
+ inputs: [
2542
+ { name: "user", internalType: "address", type: "address" },
2543
+ { name: "limit", internalType: "uint256", type: "uint256" },
2544
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
2545
+ ],
2546
+ name: "UserExceedsMintLimit"
2547
+ },
2548
+ {
2549
+ type: "error",
2550
+ inputs: [
2551
+ { name: "user", internalType: "address", type: "address" },
2552
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2553
+ { name: "role", internalType: "uint256", type: "uint256" }
2554
+ ],
2555
+ name: "UserMissingRoleForToken"
2556
+ },
2557
+ { type: "error", inputs: [], name: "WrongValueSent" },
2558
+ {
2559
+ type: "error",
2560
+ inputs: [],
2561
+ name: "premintSignerContractFailedToRecoverSigner"
2562
+ },
2563
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" },
2564
+ { type: "error", inputs: [], name: "AccessControlBadConfirmation" },
2565
+ {
2566
+ type: "error",
2567
+ inputs: [
2568
+ { name: "account", internalType: "address", type: "address" },
2569
+ { name: "neededRole", internalType: "bytes32", type: "bytes32" }
2570
+ ],
2571
+ name: "AccessControlUnauthorizedAccount"
2572
+ },
2573
+ {
2574
+ type: "error",
2575
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
2576
+ name: "AddressEmptyCode"
2577
+ },
2578
+ { type: "error", inputs: [], name: "AddressZero" },
2579
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
2580
+ { type: "error", inputs: [], name: "CannotSparkOwnComment" },
2581
+ {
2582
+ type: "error",
2583
+ inputs: [
2584
+ { name: "commentAddress", internalType: "address", type: "address" },
2585
+ { name: "commentTokenId", internalType: "uint256", type: "uint256" },
2586
+ { name: "replyAddress", internalType: "address", type: "address" },
2587
+ { name: "replyTokenId", internalType: "uint256", type: "uint256" }
2588
+ ],
2589
+ name: "CommentAddressOrTokenIdsDoNotMatch"
2590
+ },
2591
+ { type: "error", inputs: [], name: "CommentDoesntExist" },
2592
+ {
2593
+ type: "error",
2594
+ inputs: [
2595
+ { name: "expected", internalType: "address", type: "address" },
2596
+ { name: "actual", internalType: "address", type: "address" }
2597
+ ],
2598
+ name: "CommenterMismatch"
2599
+ },
2600
+ {
2601
+ type: "error",
2602
+ inputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }],
2603
+ name: "DuplicateComment"
2604
+ },
2605
+ {
2606
+ type: "error",
2607
+ inputs: [
2608
+ { name: "implementation", internalType: "address", type: "address" }
2609
+ ],
2610
+ name: "ERC1967InvalidImplementation"
2611
+ },
2612
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
2613
+ {
2614
+ type: "error",
2615
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
2616
+ name: "ERC2612ExpiredSignature"
2617
+ },
2618
+ { type: "error", inputs: [], name: "EmptyComment" },
2619
+ { type: "error", inputs: [], name: "FailedInnerCall" },
2620
+ {
2621
+ type: "error",
2622
+ inputs: [
2623
+ {
2624
+ name: "wrongDestinationChainId",
2625
+ internalType: "uint256",
2626
+ type: "uint256"
2627
+ }
2628
+ ],
2629
+ name: "IncorrectDestinationChain"
2630
+ },
2631
+ {
2632
+ type: "error",
2633
+ inputs: [
2634
+ { name: "actual", internalType: "uint256", type: "uint256" },
2635
+ { name: "expected", internalType: "uint256", type: "uint256" }
2636
+ ],
2637
+ name: "IncorrectETHAmountForSparks"
2638
+ },
2639
+ {
2640
+ type: "error",
2641
+ inputs: [
2642
+ { name: "account", internalType: "address", type: "address" },
2643
+ { name: "currentNonce", internalType: "bytes32", type: "bytes32" }
2644
+ ],
2645
+ name: "InvalidAccountNonce"
2646
+ },
2647
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2648
+ { type: "error", inputs: [], name: "InvalidSignature" },
2649
+ { type: "error", inputs: [], name: "MustSendAtLeastOneSpark" },
2650
+ { type: "error", inputs: [], name: "NoFundsRecipient" },
2651
+ { type: "error", inputs: [], name: "NotInitializing" },
2652
+ { type: "error", inputs: [], name: "NotSmartWallet" },
2653
+ { type: "error", inputs: [], name: "NotSmartWalletOwner" },
2654
+ { type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
2655
+ { type: "error", inputs: [], name: "OnlySparksContract" },
2656
+ { type: "error", inputs: [], name: "TransferFailed" },
2657
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
2658
+ {
2659
+ type: "error",
2660
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
2661
+ name: "UUPSUnsupportedProxiableUUID"
2662
+ },
2663
+ {
2664
+ type: "error",
2665
+ inputs: [
2666
+ { name: "currentName", internalType: "string", type: "string" },
2667
+ { name: "newName", internalType: "string", type: "string" }
2668
+ ],
2669
+ name: "UpgradeToMismatchedContractName"
2670
+ }
2671
+ ];
2672
+ var callerAndCommenterAddress = {
2673
+ 10: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
2674
+ 8453: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
2675
+ 42161: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
2676
+ 84532: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
2677
+ 7777777: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
2678
+ 11155111: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
2679
+ 11155420: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
2680
+ 999999999: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5"
2681
+ };
2682
+ var callerAndCommenterConfig = {
2683
+ address: callerAndCommenterAddress,
2684
+ abi: callerAndCommenterABI
2685
+ };
2686
+ var commentsABI = [
2687
+ {
2688
+ stateMutability: "nonpayable",
2689
+ type: "constructor",
2690
+ inputs: [
2691
+ { name: "_sparkValue", internalType: "uint256", type: "uint256" },
2692
+ { name: "_protocolRewards", internalType: "address", type: "address" },
2693
+ { name: "_zoraRecipient", internalType: "address", type: "address" }
2694
+ ]
2695
+ },
2696
+ {
2697
+ stateMutability: "view",
2698
+ type: "function",
2699
+ inputs: [],
2700
+ name: "BACKFILLER_ROLE",
2701
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2702
+ },
2703
+ {
2704
+ stateMutability: "view",
2705
+ type: "function",
2706
+ inputs: [],
2707
+ name: "DEFAULT_ADMIN_ROLE",
2708
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2709
+ },
2710
+ {
2711
+ stateMutability: "view",
2712
+ type: "function",
2713
+ inputs: [],
2714
+ name: "DELEGATE_COMMENTER",
2715
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2716
+ },
2717
+ {
2718
+ stateMutability: "view",
2719
+ type: "function",
2720
+ inputs: [],
2721
+ name: "DOMAIN_NAME",
2722
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2723
+ },
2724
+ {
2725
+ stateMutability: "view",
2726
+ type: "function",
2727
+ inputs: [],
2728
+ name: "DOMAIN_VERSION",
2729
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2730
+ },
2731
+ {
2732
+ stateMutability: "view",
2733
+ type: "function",
2734
+ inputs: [],
2735
+ name: "PERMISSION_BIT_ADMIN",
2736
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2737
+ },
2738
+ {
2739
+ stateMutability: "view",
2740
+ type: "function",
2741
+ inputs: [],
2742
+ name: "REFERRER_REWARD_PCT",
2743
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2744
+ },
2745
+ {
2746
+ stateMutability: "view",
2747
+ type: "function",
2748
+ inputs: [],
2749
+ name: "UPGRADE_INTERFACE_VERSION",
2750
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2751
+ },
2752
+ {
2753
+ stateMutability: "view",
2754
+ type: "function",
2755
+ inputs: [],
2756
+ name: "ZORA_REWARD_NO_REFERRER_PCT",
2757
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2758
+ },
2759
+ {
2760
+ stateMutability: "view",
2761
+ type: "function",
2762
+ inputs: [],
2763
+ name: "ZORA_REWARD_PCT",
2764
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2765
+ },
2766
+ {
2767
+ stateMutability: "nonpayable",
2768
+ type: "function",
2769
+ inputs: [
2770
+ {
2771
+ name: "commentIdentifiers",
2772
+ internalType: "struct IComments.CommentIdentifier[]",
2773
+ type: "tuple[]",
2774
+ components: [
2775
+ { name: "commenter", internalType: "address", type: "address" },
2776
+ { name: "contractAddress", internalType: "address", type: "address" },
2777
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2778
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2779
+ ]
2780
+ },
2781
+ { name: "texts", internalType: "string[]", type: "string[]" },
2782
+ { name: "timestamps", internalType: "uint256[]", type: "uint256[]" },
2783
+ {
2784
+ name: "originalTransactionHashes",
2785
+ internalType: "bytes32[]",
2786
+ type: "bytes32[]"
2787
+ }
2788
+ ],
2789
+ name: "backfillBatchAddComment",
2790
+ outputs: []
2791
+ },
2792
+ {
2793
+ stateMutability: "payable",
2794
+ type: "function",
2795
+ inputs: [
2796
+ { name: "commenter", internalType: "address", type: "address" },
2797
+ { name: "contractAddress", internalType: "address", type: "address" },
2798
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2799
+ { name: "text", internalType: "string", type: "string" },
2800
+ {
2801
+ name: "replyTo",
2802
+ internalType: "struct IComments.CommentIdentifier",
2803
+ type: "tuple",
2804
+ components: [
2805
+ { name: "commenter", internalType: "address", type: "address" },
2806
+ { name: "contractAddress", internalType: "address", type: "address" },
2807
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2808
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2809
+ ]
2810
+ },
2811
+ {
2812
+ name: "commenterSmartWallet",
2813
+ internalType: "address",
2814
+ type: "address"
2815
+ },
2816
+ { name: "referrer", internalType: "address", type: "address" }
2817
+ ],
2818
+ name: "comment",
2819
+ outputs: [
2820
+ {
2821
+ name: "commentIdentifier",
2822
+ internalType: "struct IComments.CommentIdentifier",
2823
+ type: "tuple",
2824
+ components: [
2825
+ { name: "commenter", internalType: "address", type: "address" },
2826
+ { name: "contractAddress", internalType: "address", type: "address" },
2827
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2828
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2829
+ ]
2830
+ }
2831
+ ]
2832
+ },
2833
+ {
2834
+ stateMutability: "view",
2835
+ type: "function",
2836
+ inputs: [
2837
+ {
2838
+ name: "commentIdentifier",
2839
+ internalType: "struct IComments.CommentIdentifier",
2840
+ type: "tuple",
2841
+ components: [
2842
+ { name: "commenter", internalType: "address", type: "address" },
2843
+ { name: "contractAddress", internalType: "address", type: "address" },
2844
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2845
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2846
+ ]
2847
+ }
2848
+ ],
2849
+ name: "commentSparksQuantity",
2850
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2851
+ },
2852
+ {
2853
+ stateMutability: "pure",
2854
+ type: "function",
2855
+ inputs: [],
2856
+ name: "contractName",
2857
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2858
+ },
2859
+ {
2860
+ stateMutability: "pure",
2861
+ type: "function",
2862
+ inputs: [],
2863
+ name: "contractVersion",
2864
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2865
+ },
2866
+ {
2867
+ stateMutability: "payable",
2868
+ type: "function",
2869
+ inputs: [
2870
+ { name: "commenter", internalType: "address", type: "address" },
2871
+ { name: "contractAddress", internalType: "address", type: "address" },
2872
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2873
+ { name: "text", internalType: "string", type: "string" },
2874
+ {
2875
+ name: "replyTo",
2876
+ internalType: "struct IComments.CommentIdentifier",
2877
+ type: "tuple",
2878
+ components: [
2879
+ { name: "commenter", internalType: "address", type: "address" },
2880
+ { name: "contractAddress", internalType: "address", type: "address" },
2881
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2882
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2883
+ ]
2884
+ },
2885
+ {
2886
+ name: "commenterSmartWalletOwner",
2887
+ internalType: "address",
2888
+ type: "address"
2889
+ },
2890
+ { name: "referrer", internalType: "address", type: "address" }
2891
+ ],
2892
+ name: "delegateComment",
2893
+ outputs: [
2894
+ {
2895
+ name: "commentIdentifier",
2896
+ internalType: "struct IComments.CommentIdentifier",
2897
+ type: "tuple",
2898
+ components: [
2899
+ { name: "commenter", internalType: "address", type: "address" },
2900
+ { name: "contractAddress", internalType: "address", type: "address" },
2901
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2902
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2903
+ ]
2904
+ },
2905
+ { name: "commentId", internalType: "bytes32", type: "bytes32" }
2906
+ ]
2907
+ },
2908
+ {
2909
+ stateMutability: "view",
2910
+ type: "function",
2911
+ inputs: [],
2912
+ name: "eip712Domain",
2913
+ outputs: [
2914
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
2915
+ { name: "name", internalType: "string", type: "string" },
2916
+ { name: "version", internalType: "string", type: "string" },
2917
+ { name: "chainId", internalType: "uint256", type: "uint256" },
2918
+ { name: "verifyingContract", internalType: "address", type: "address" },
2919
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
2920
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
2921
+ ]
2922
+ },
2923
+ {
2924
+ stateMutability: "view",
2925
+ type: "function",
2926
+ inputs: [{ name: "role", internalType: "bytes32", type: "bytes32" }],
2927
+ name: "getRoleAdmin",
2928
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2929
+ },
2930
+ {
2931
+ stateMutability: "nonpayable",
2932
+ type: "function",
2933
+ inputs: [
2934
+ { name: "role", internalType: "bytes32", type: "bytes32" },
2935
+ { name: "account", internalType: "address", type: "address" }
2936
+ ],
2937
+ name: "grantRole",
2938
+ outputs: []
2939
+ },
2940
+ {
2941
+ stateMutability: "view",
2942
+ type: "function",
2943
+ inputs: [
2944
+ { name: "role", internalType: "bytes32", type: "bytes32" },
2945
+ { name: "account", internalType: "address", type: "address" }
2946
+ ],
2947
+ name: "hasRole",
2948
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
2949
+ },
2950
+ {
2951
+ stateMutability: "view",
2952
+ type: "function",
2953
+ inputs: [
2954
+ {
2955
+ name: "commentIdentifier",
2956
+ internalType: "struct IComments.CommentIdentifier",
2957
+ type: "tuple",
2958
+ components: [
2959
+ { name: "commenter", internalType: "address", type: "address" },
2960
+ { name: "contractAddress", internalType: "address", type: "address" },
2961
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2962
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2963
+ ]
2964
+ }
2965
+ ],
2966
+ name: "hashAndCheckCommentExists",
2967
+ outputs: [
2968
+ { name: "commentId", internalType: "bytes32", type: "bytes32" },
2969
+ { name: "exists", internalType: "bool", type: "bool" }
2970
+ ]
2971
+ },
2972
+ {
2973
+ stateMutability: "view",
2974
+ type: "function",
2975
+ inputs: [
2976
+ {
2977
+ name: "commentIdentifier",
2978
+ internalType: "struct IComments.CommentIdentifier",
2979
+ type: "tuple",
2980
+ components: [
2981
+ { name: "commenter", internalType: "address", type: "address" },
2982
+ { name: "contractAddress", internalType: "address", type: "address" },
2983
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2984
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
2985
+ ]
2986
+ }
2987
+ ],
2988
+ name: "hashAndValidateCommentExists",
2989
+ outputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }]
2990
+ },
2991
+ {
2992
+ stateMutability: "pure",
2993
+ type: "function",
2994
+ inputs: [
2995
+ {
2996
+ name: "commentIdentifier",
2997
+ internalType: "struct IComments.CommentIdentifier",
2998
+ type: "tuple",
2999
+ components: [
3000
+ { name: "commenter", internalType: "address", type: "address" },
3001
+ { name: "contractAddress", internalType: "address", type: "address" },
3002
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3003
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3004
+ ]
3005
+ }
3006
+ ],
3007
+ name: "hashCommentIdentifier",
3008
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3009
+ },
3010
+ {
3011
+ stateMutability: "view",
3012
+ type: "function",
3013
+ inputs: [
3014
+ {
3015
+ name: "permit",
3016
+ internalType: "struct IComments.PermitComment",
3017
+ type: "tuple",
3018
+ components: [
3019
+ { name: "commenter", internalType: "address", type: "address" },
3020
+ {
3021
+ name: "commenterSmartWallet",
3022
+ internalType: "address",
3023
+ type: "address"
3024
+ },
3025
+ { name: "contractAddress", internalType: "address", type: "address" },
3026
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3027
+ {
3028
+ name: "replyTo",
3029
+ internalType: "struct IComments.CommentIdentifier",
3030
+ type: "tuple",
3031
+ components: [
3032
+ { name: "commenter", internalType: "address", type: "address" },
3033
+ {
3034
+ name: "contractAddress",
3035
+ internalType: "address",
3036
+ type: "address"
3037
+ },
3038
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3039
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3040
+ ]
3041
+ },
3042
+ { name: "text", internalType: "string", type: "string" },
3043
+ { name: "referrer", internalType: "address", type: "address" },
3044
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3045
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
3046
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
3047
+ {
3048
+ name: "destinationChainId",
3049
+ internalType: "uint32",
3050
+ type: "uint32"
3051
+ }
3052
+ ]
3053
+ }
3054
+ ],
3055
+ name: "hashPermitComment",
3056
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3057
+ },
3058
+ {
3059
+ stateMutability: "view",
3060
+ type: "function",
3061
+ inputs: [
3062
+ {
3063
+ name: "permit",
3064
+ internalType: "struct IComments.PermitSparkComment",
3065
+ type: "tuple",
3066
+ components: [
3067
+ {
3068
+ name: "comment",
3069
+ internalType: "struct IComments.CommentIdentifier",
3070
+ type: "tuple",
3071
+ components: [
3072
+ { name: "commenter", internalType: "address", type: "address" },
3073
+ {
3074
+ name: "contractAddress",
3075
+ internalType: "address",
3076
+ type: "address"
3077
+ },
3078
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3079
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3080
+ ]
3081
+ },
3082
+ { name: "sparker", internalType: "address", type: "address" },
3083
+ { name: "sparksQuantity", internalType: "uint256", type: "uint256" },
3084
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3085
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
3086
+ { name: "referrer", internalType: "address", type: "address" },
3087
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
3088
+ {
3089
+ name: "destinationChainId",
3090
+ internalType: "uint32",
3091
+ type: "uint32"
3092
+ }
3093
+ ]
3094
+ }
3095
+ ],
3096
+ name: "hashPermitSparkComment",
3097
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3098
+ },
3099
+ {
3100
+ stateMutability: "view",
3101
+ type: "function",
3102
+ inputs: [],
3103
+ name: "implementation",
3104
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3105
+ },
3106
+ {
3107
+ stateMutability: "nonpayable",
3108
+ type: "function",
3109
+ inputs: [
3110
+ { name: "defaultAdmin", internalType: "address", type: "address" },
3111
+ { name: "backfiller", internalType: "address", type: "address" },
3112
+ {
3113
+ name: "delegateCommenters",
3114
+ internalType: "address[]",
3115
+ type: "address[]"
3116
+ }
3117
+ ],
3118
+ name: "initialize",
3119
+ outputs: []
3120
+ },
3121
+ {
3122
+ stateMutability: "view",
3123
+ type: "function",
3124
+ inputs: [],
3125
+ name: "nextNonce",
3126
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3127
+ },
3128
+ {
3129
+ stateMutability: "view",
3130
+ type: "function",
3131
+ inputs: [
3132
+ { name: "owner", internalType: "address", type: "address" },
3133
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3134
+ ],
3135
+ name: "nonceUsed",
3136
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3137
+ },
3138
+ {
3139
+ stateMutability: "payable",
3140
+ type: "function",
3141
+ inputs: [
3142
+ {
3143
+ name: "permit",
3144
+ internalType: "struct IComments.PermitComment",
3145
+ type: "tuple",
3146
+ components: [
3147
+ { name: "commenter", internalType: "address", type: "address" },
3148
+ {
3149
+ name: "commenterSmartWallet",
3150
+ internalType: "address",
3151
+ type: "address"
3152
+ },
3153
+ { name: "contractAddress", internalType: "address", type: "address" },
3154
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3155
+ {
3156
+ name: "replyTo",
3157
+ internalType: "struct IComments.CommentIdentifier",
3158
+ type: "tuple",
3159
+ components: [
3160
+ { name: "commenter", internalType: "address", type: "address" },
3161
+ {
3162
+ name: "contractAddress",
3163
+ internalType: "address",
3164
+ type: "address"
3165
+ },
3166
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3167
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3168
+ ]
3169
+ },
3170
+ { name: "text", internalType: "string", type: "string" },
3171
+ { name: "referrer", internalType: "address", type: "address" },
3172
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3173
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
3174
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
3175
+ {
3176
+ name: "destinationChainId",
3177
+ internalType: "uint32",
3178
+ type: "uint32"
3179
+ }
3180
+ ]
3181
+ },
3182
+ { name: "signature", internalType: "bytes", type: "bytes" }
3183
+ ],
3184
+ name: "permitComment",
3185
+ outputs: []
3186
+ },
3187
+ {
3188
+ stateMutability: "payable",
3189
+ type: "function",
3190
+ inputs: [
3191
+ {
3192
+ name: "permit",
3193
+ internalType: "struct IComments.PermitSparkComment",
3194
+ type: "tuple",
3195
+ components: [
3196
+ {
3197
+ name: "comment",
3198
+ internalType: "struct IComments.CommentIdentifier",
3199
+ type: "tuple",
3200
+ components: [
3201
+ { name: "commenter", internalType: "address", type: "address" },
3202
+ {
3203
+ name: "contractAddress",
3204
+ internalType: "address",
3205
+ type: "address"
3206
+ },
3207
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3208
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3209
+ ]
3210
+ },
3211
+ { name: "sparker", internalType: "address", type: "address" },
3212
+ { name: "sparksQuantity", internalType: "uint256", type: "uint256" },
3213
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3214
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
3215
+ { name: "referrer", internalType: "address", type: "address" },
3216
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
3217
+ {
3218
+ name: "destinationChainId",
3219
+ internalType: "uint32",
3220
+ type: "uint32"
3221
+ }
3222
+ ]
3223
+ },
3224
+ { name: "signature", internalType: "bytes", type: "bytes" }
3225
+ ],
3226
+ name: "permitSparkComment",
3227
+ outputs: []
3228
+ },
3229
+ {
3230
+ stateMutability: "view",
3231
+ type: "function",
3232
+ inputs: [],
3233
+ name: "protocolRewards",
3234
+ outputs: [
3235
+ { name: "", internalType: "contract IProtocolRewards", type: "address" }
3236
+ ]
3237
+ },
3238
+ {
3239
+ stateMutability: "view",
3240
+ type: "function",
3241
+ inputs: [],
3242
+ name: "proxiableUUID",
3243
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3244
+ },
3245
+ {
3246
+ stateMutability: "nonpayable",
3247
+ type: "function",
3248
+ inputs: [
3249
+ { name: "role", internalType: "bytes32", type: "bytes32" },
3250
+ { name: "callerConfirmation", internalType: "address", type: "address" }
3251
+ ],
3252
+ name: "renounceRole",
3253
+ outputs: []
3254
+ },
3255
+ {
3256
+ stateMutability: "nonpayable",
3257
+ type: "function",
3258
+ inputs: [
3259
+ { name: "role", internalType: "bytes32", type: "bytes32" },
3260
+ { name: "account", internalType: "address", type: "address" }
3261
+ ],
3262
+ name: "revokeRole",
3263
+ outputs: []
3264
+ },
3265
+ {
3266
+ stateMutability: "payable",
3267
+ type: "function",
3268
+ inputs: [
3269
+ {
3270
+ name: "commentIdentifier",
3271
+ internalType: "struct IComments.CommentIdentifier",
3272
+ type: "tuple",
3273
+ components: [
3274
+ { name: "commenter", internalType: "address", type: "address" },
3275
+ { name: "contractAddress", internalType: "address", type: "address" },
3276
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3277
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3278
+ ]
3279
+ },
3280
+ { name: "sparksQuantity", internalType: "uint256", type: "uint256" },
3281
+ { name: "referrer", internalType: "address", type: "address" }
3282
+ ],
3283
+ name: "sparkComment",
3284
+ outputs: []
3285
+ },
3286
+ {
3287
+ stateMutability: "view",
3288
+ type: "function",
3289
+ inputs: [],
3290
+ name: "sparkValue",
3291
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3292
+ },
3293
+ {
3294
+ stateMutability: "view",
3295
+ type: "function",
3296
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
3297
+ name: "supportsInterface",
3298
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3299
+ },
3300
+ {
3301
+ stateMutability: "payable",
3302
+ type: "function",
3303
+ inputs: [
3304
+ { name: "newImplementation", internalType: "address", type: "address" },
3305
+ { name: "data", internalType: "bytes", type: "bytes" }
3306
+ ],
3307
+ name: "upgradeToAndCall",
3308
+ outputs: []
3309
+ },
3310
+ {
3311
+ type: "event",
3312
+ anonymous: false,
3313
+ inputs: [
3314
+ {
3315
+ name: "commentId",
3316
+ internalType: "bytes32",
3317
+ type: "bytes32",
3318
+ indexed: true
3319
+ },
3320
+ {
3321
+ name: "commentIdentifier",
3322
+ internalType: "struct IComments.CommentIdentifier",
3323
+ type: "tuple",
3324
+ components: [
3325
+ { name: "commenter", internalType: "address", type: "address" },
3326
+ { name: "contractAddress", internalType: "address", type: "address" },
3327
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3328
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3329
+ ],
3330
+ indexed: false
3331
+ },
3332
+ { name: "text", internalType: "string", type: "string", indexed: false },
3333
+ {
3334
+ name: "timestamp",
3335
+ internalType: "uint256",
3336
+ type: "uint256",
3337
+ indexed: false
3338
+ },
3339
+ {
3340
+ name: "originalTransactionId",
3341
+ internalType: "bytes32",
3342
+ type: "bytes32",
3343
+ indexed: false
3344
+ }
3345
+ ],
3346
+ name: "BackfilledComment"
3347
+ },
3348
+ {
3349
+ type: "event",
3350
+ anonymous: false,
3351
+ inputs: [
3352
+ {
3353
+ name: "commentId",
3354
+ internalType: "bytes32",
3355
+ type: "bytes32",
3356
+ indexed: true
3357
+ },
3358
+ {
3359
+ name: "commentIdentifier",
3360
+ internalType: "struct IComments.CommentIdentifier",
3361
+ type: "tuple",
3362
+ components: [
3363
+ { name: "commenter", internalType: "address", type: "address" },
3364
+ { name: "contractAddress", internalType: "address", type: "address" },
3365
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3366
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3367
+ ],
3368
+ indexed: false
3369
+ },
3370
+ {
3371
+ name: "replyToId",
3372
+ internalType: "bytes32",
3373
+ type: "bytes32",
3374
+ indexed: false
3375
+ },
3376
+ {
3377
+ name: "replyTo",
3378
+ internalType: "struct IComments.CommentIdentifier",
3379
+ type: "tuple",
3380
+ components: [
3381
+ { name: "commenter", internalType: "address", type: "address" },
3382
+ { name: "contractAddress", internalType: "address", type: "address" },
3383
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3384
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3385
+ ],
3386
+ indexed: false
3387
+ },
3388
+ {
3389
+ name: "sparksQuantity",
3390
+ internalType: "uint256",
3391
+ type: "uint256",
3392
+ indexed: false
3393
+ },
3394
+ { name: "text", internalType: "string", type: "string", indexed: false },
3395
+ {
3396
+ name: "timestamp",
3397
+ internalType: "uint256",
3398
+ type: "uint256",
3399
+ indexed: false
3400
+ },
3401
+ {
3402
+ name: "referrer",
3403
+ internalType: "address",
3404
+ type: "address",
3405
+ indexed: false
3406
+ }
3407
+ ],
3408
+ name: "Commented"
3409
+ },
3410
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
3411
+ {
3412
+ type: "event",
3413
+ anonymous: false,
3414
+ inputs: [
3415
+ {
3416
+ name: "version",
3417
+ internalType: "uint64",
3418
+ type: "uint64",
3419
+ indexed: false
3420
+ }
3421
+ ],
3422
+ name: "Initialized"
3423
+ },
3424
+ {
3425
+ type: "event",
3426
+ anonymous: false,
3427
+ inputs: [
3428
+ { name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
3429
+ {
3430
+ name: "previousAdminRole",
3431
+ internalType: "bytes32",
3432
+ type: "bytes32",
3433
+ indexed: true
3434
+ },
3435
+ {
3436
+ name: "newAdminRole",
3437
+ internalType: "bytes32",
3438
+ type: "bytes32",
3439
+ indexed: true
3440
+ }
3441
+ ],
3442
+ name: "RoleAdminChanged"
3443
+ },
3444
+ {
3445
+ type: "event",
3446
+ anonymous: false,
3447
+ inputs: [
3448
+ { name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
3449
+ {
3450
+ name: "account",
3451
+ internalType: "address",
3452
+ type: "address",
3453
+ indexed: true
3454
+ },
3455
+ {
3456
+ name: "sender",
3457
+ internalType: "address",
3458
+ type: "address",
3459
+ indexed: true
3460
+ }
3461
+ ],
3462
+ name: "RoleGranted"
3463
+ },
3464
+ {
3465
+ type: "event",
3466
+ anonymous: false,
3467
+ inputs: [
3468
+ { name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
3469
+ {
3470
+ name: "account",
3471
+ internalType: "address",
3472
+ type: "address",
3473
+ indexed: true
3474
+ },
3475
+ {
3476
+ name: "sender",
3477
+ internalType: "address",
3478
+ type: "address",
3479
+ indexed: true
3480
+ }
3481
+ ],
3482
+ name: "RoleRevoked"
3483
+ },
3484
+ {
3485
+ type: "event",
3486
+ anonymous: false,
3487
+ inputs: [
3488
+ {
3489
+ name: "commentId",
3490
+ internalType: "bytes32",
3491
+ type: "bytes32",
3492
+ indexed: true
3493
+ },
3494
+ {
3495
+ name: "commentIdentifier",
3496
+ internalType: "struct IComments.CommentIdentifier",
3497
+ type: "tuple",
3498
+ components: [
3499
+ { name: "commenter", internalType: "address", type: "address" },
3500
+ { name: "contractAddress", internalType: "address", type: "address" },
3501
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3502
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
3503
+ ],
3504
+ indexed: false
3505
+ },
3506
+ {
3507
+ name: "sparksQuantity",
3508
+ internalType: "uint256",
3509
+ type: "uint256",
3510
+ indexed: false
3511
+ },
3512
+ {
3513
+ name: "sparker",
3514
+ internalType: "address",
3515
+ type: "address",
3516
+ indexed: false
3517
+ },
3518
+ {
3519
+ name: "timestamp",
3520
+ internalType: "uint256",
3521
+ type: "uint256",
3522
+ indexed: false
3523
+ },
3524
+ {
3525
+ name: "referrer",
3526
+ internalType: "address",
3527
+ type: "address",
3528
+ indexed: false
3529
+ }
3530
+ ],
3531
+ name: "SparkedComment"
3532
+ },
3533
+ {
3534
+ type: "event",
3535
+ anonymous: false,
3536
+ inputs: [
3537
+ {
3538
+ name: "implementation",
3539
+ internalType: "address",
3540
+ type: "address",
3541
+ indexed: true
3542
+ }
3543
+ ],
3544
+ name: "Upgraded"
3545
+ },
3546
+ { type: "error", inputs: [], name: "AccessControlBadConfirmation" },
3547
+ {
3548
+ type: "error",
3549
+ inputs: [
3550
+ { name: "account", internalType: "address", type: "address" },
3551
+ { name: "neededRole", internalType: "bytes32", type: "bytes32" }
3552
+ ],
3553
+ name: "AccessControlUnauthorizedAccount"
3554
+ },
3555
+ {
3556
+ type: "error",
3557
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
3558
+ name: "AddressEmptyCode"
3559
+ },
3560
+ { type: "error", inputs: [], name: "AddressZero" },
3561
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
3562
+ { type: "error", inputs: [], name: "CannotSparkOwnComment" },
3563
+ {
3564
+ type: "error",
3565
+ inputs: [
3566
+ { name: "commentAddress", internalType: "address", type: "address" },
3567
+ { name: "commentTokenId", internalType: "uint256", type: "uint256" },
3568
+ { name: "replyAddress", internalType: "address", type: "address" },
3569
+ { name: "replyTokenId", internalType: "uint256", type: "uint256" }
3570
+ ],
3571
+ name: "CommentAddressOrTokenIdsDoNotMatch"
3572
+ },
3573
+ { type: "error", inputs: [], name: "CommentDoesntExist" },
3574
+ {
3575
+ type: "error",
3576
+ inputs: [
3577
+ { name: "expected", internalType: "address", type: "address" },
3578
+ { name: "actual", internalType: "address", type: "address" }
3579
+ ],
3580
+ name: "CommenterMismatch"
3581
+ },
3582
+ {
3583
+ type: "error",
3584
+ inputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }],
3585
+ name: "DuplicateComment"
3586
+ },
3587
+ {
3588
+ type: "error",
3589
+ inputs: [
3590
+ { name: "implementation", internalType: "address", type: "address" }
3591
+ ],
3592
+ name: "ERC1967InvalidImplementation"
3593
+ },
3594
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
3595
+ {
3596
+ type: "error",
3597
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
3598
+ name: "ERC2612ExpiredSignature"
3599
+ },
3600
+ { type: "error", inputs: [], name: "EmptyComment" },
3601
+ { type: "error", inputs: [], name: "FailedInnerCall" },
3602
+ {
3603
+ type: "error",
3604
+ inputs: [
3605
+ {
3606
+ name: "wrongDestinationChainId",
3607
+ internalType: "uint256",
3608
+ type: "uint256"
3609
+ }
3610
+ ],
3611
+ name: "IncorrectDestinationChain"
3612
+ },
3613
+ {
3614
+ type: "error",
3615
+ inputs: [
3616
+ { name: "actual", internalType: "uint256", type: "uint256" },
3617
+ { name: "expected", internalType: "uint256", type: "uint256" }
3618
+ ],
3619
+ name: "IncorrectETHAmountForSparks"
3620
+ },
3621
+ {
3622
+ type: "error",
3623
+ inputs: [
3624
+ { name: "account", internalType: "address", type: "address" },
3625
+ { name: "currentNonce", internalType: "bytes32", type: "bytes32" }
3626
+ ],
3627
+ name: "InvalidAccountNonce"
3628
+ },
3629
+ { type: "error", inputs: [], name: "InvalidInitialization" },
3630
+ { type: "error", inputs: [], name: "InvalidSignature" },
3631
+ { type: "error", inputs: [], name: "MustSendAtLeastOneSpark" },
3632
+ { type: "error", inputs: [], name: "NoFundsRecipient" },
3633
+ { type: "error", inputs: [], name: "NotInitializing" },
3634
+ { type: "error", inputs: [], name: "NotSmartWallet" },
3635
+ { type: "error", inputs: [], name: "NotSmartWalletOwner" },
3636
+ { type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
3637
+ { type: "error", inputs: [], name: "OnlySparksContract" },
3638
+ { type: "error", inputs: [], name: "TransferFailed" },
3639
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3640
+ {
3641
+ type: "error",
3642
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
3643
+ name: "UUPSUnsupportedProxiableUUID"
3644
+ },
3645
+ {
3646
+ type: "error",
3647
+ inputs: [
3648
+ { name: "currentName", internalType: "string", type: "string" },
3649
+ { name: "newName", internalType: "string", type: "string" }
3650
+ ],
3651
+ name: "UpgradeToMismatchedContractName"
3652
+ }
3653
+ ];
3654
+ var commentsAddress = {
3655
+ 10: "0x7777777C2B3132e03a65721a41745C07170a5877",
3656
+ 8453: "0x7777777C2B3132e03a65721a41745C07170a5877",
3657
+ 42161: "0x7777777C2B3132e03a65721a41745C07170a5877",
3658
+ 84532: "0x7777777C2B3132e03a65721a41745C07170a5877",
3659
+ 7777777: "0x7777777C2B3132e03a65721a41745C07170a5877",
3660
+ 11155111: "0x7777777C2B3132e03a65721a41745C07170a5877",
3661
+ 11155420: "0x7777777C2B3132e03a65721a41745C07170a5877",
3662
+ 999999999: "0x7777777C2B3132e03a65721a41745C07170a5877"
3663
+ };
3664
+ var commentsConfig = {
3665
+ address: commentsAddress,
3666
+ abi: commentsABI
3667
+ };
1636
3668
  var erc20MinterABI = [
1637
3669
  {
1638
3670
  stateMutability: "nonpayable",
@@ -4397,7 +6429,13 @@ var sponsoredSparksSpenderABI = [
4397
6429
  { type: "error", inputs: [], name: "WithdrawFailed" }
4398
6430
  ];
4399
6431
  var sponsoredSparksSpenderAddress = {
4400
- 7777777: "0x29b75AbA7dc7FE26d90CD96fbB390B26e04C4EB2"
6432
+ 10: "0x35ca784918bf11692708c1D530691704AAcEA95E",
6433
+ 8453: "0x6958A8866A40118e2CC21ab4752353835321b5e6",
6434
+ 42161: "0x2fBdBc34B6015e7b40638179Aa05a2D2267452c7",
6435
+ 81457: "0x786F0f6aE196715Cd6d65693f06DA57426ac8463",
6436
+ 84532: "0x23150f60E233F519A01C735C29c1591f9E8353dE",
6437
+ 7777777: "0x362Ef86acAD2FAa66A28Ee8d1F5a835ac0BBD11d",
6438
+ 999999999: "0x3A98313fB00918a81d98f9986aED089365428293"
4401
6439
  };
4402
6440
  var sponsoredSparksSpenderConfig = {
4403
6441
  address: sponsoredSparksSpenderAddress,
@@ -4715,6 +6753,7 @@ var wethAddress = {
4715
6753
  421614: "0xc556bAe1e86B2aE9c22eA5E036b07E55E7596074",
4716
6754
  7777777: "0x4200000000000000000000000000000000000006",
4717
6755
  11155111: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
6756
+ 11155420: "0x4200000000000000000000000000000000000006",
4718
6757
  999999999: "0x4200000000000000000000000000000000000006"
4719
6758
  };
4720
6759
  var wethConfig = { address: wethAddress, abi: wethABI };
@@ -12256,6 +14295,57 @@ var zoraTimedSaleStrategyConfig = {
12256
14295
  abi: zoraTimedSaleStrategyABI
12257
14296
  };
12258
14297
 
14298
+ // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/unit.js
14299
+ init_base();
14300
+ var InvalidDecimalNumberError = class extends BaseError {
14301
+ constructor({ value }) {
14302
+ super(`Number \`${value}\` is not a valid decimal number.`, {
14303
+ name: "InvalidDecimalNumberError"
14304
+ });
14305
+ }
14306
+ };
14307
+
14308
+ // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseUnits.js
14309
+ function parseUnits(value, decimals) {
14310
+ if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
14311
+ throw new InvalidDecimalNumberError({ value });
14312
+ let [integer, fraction = "0"] = value.split(".");
14313
+ const negative = integer.startsWith("-");
14314
+ if (negative)
14315
+ integer = integer.slice(1);
14316
+ fraction = fraction.replace(/(0+)$/, "");
14317
+ if (decimals === 0) {
14318
+ if (Math.round(Number(`.${fraction}`)) === 1)
14319
+ integer = `${BigInt(integer) + 1n}`;
14320
+ fraction = "";
14321
+ } else if (fraction.length > decimals) {
14322
+ const [left, unit, right] = [
14323
+ fraction.slice(0, decimals - 1),
14324
+ fraction.slice(decimals - 1, decimals),
14325
+ fraction.slice(decimals)
14326
+ ];
14327
+ const rounded = Math.round(Number(`${unit}.${right}`));
14328
+ if (rounded > 9)
14329
+ fraction = `${BigInt(left) + BigInt(1)}0`.padStart(left.length + 1, "0");
14330
+ else
14331
+ fraction = `${left}${rounded}`;
14332
+ if (fraction.length > decimals) {
14333
+ fraction = fraction.slice(1);
14334
+ integer = `${BigInt(integer) + 1n}`;
14335
+ }
14336
+ fraction = fraction.slice(0, decimals);
14337
+ } else {
14338
+ fraction = fraction.padEnd(decimals, "0");
14339
+ }
14340
+ return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
14341
+ }
14342
+
14343
+ // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseEther.js
14344
+ init_unit();
14345
+ function parseEther(ether, unit = "wei") {
14346
+ return parseUnits(ether, etherUnits[unit]);
14347
+ }
14348
+
12259
14349
  // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/index.js
12260
14350
  init_encodeAbiParameters();
12261
14351
  init_getAbiItem();
@@ -12269,6 +14359,16 @@ var PremintConfigVersion = /* @__PURE__ */ ((PremintConfigVersion2) => {
12269
14359
  PremintConfigVersion2["V3"] = "3";
12270
14360
  return PremintConfigVersion2;
12271
14361
  })(PremintConfigVersion || {});
14362
+ var emptyCommentIdentifier = () => {
14363
+ const zeroAddress = "0x0000000000000000000000000000000000000000";
14364
+ const zeroHash = "0x0000000000000000000000000000000000000000000000000000000000000000";
14365
+ return {
14366
+ commenter: zeroAddress,
14367
+ contractAddress: zeroAddress,
14368
+ tokenId: 0n,
14369
+ nonce: zeroHash
14370
+ };
14371
+ };
12272
14372
 
12273
14373
  // src/typedData.ts
12274
14374
  var premintTypedDataDomain = ({
@@ -12559,6 +14659,146 @@ var sponsoredSparksBatchTypedDataDefinition = ({
12559
14659
  verifyingContract: sponsoredSparksSpenderAddress[chainId]
12560
14660
  }
12561
14661
  });
14662
+ var commentIdentifierType = [
14663
+ { name: "contractAddress", type: "address" },
14664
+ { name: "tokenId", type: "uint256" },
14665
+ { name: "commenter", type: "address" },
14666
+ { name: "nonce", type: "bytes32" }
14667
+ ];
14668
+ var commentsDomain = ({
14669
+ signingChainId,
14670
+ destinationChainId
14671
+ }) => ({
14672
+ chainId: signingChainId,
14673
+ name: "Comments",
14674
+ version: "1",
14675
+ verifyingContract: commentsAddress[destinationChainId]
14676
+ });
14677
+ var permitCommentTypedDataDefinition = (message, signingAccount) => {
14678
+ const permitCommentTypedDataType = {
14679
+ PermitComment: [
14680
+ { name: "contractAddress", type: "address" },
14681
+ { name: "tokenId", type: "uint256" },
14682
+ { name: "commenter", type: "address" },
14683
+ { name: "replyTo", type: "CommentIdentifier" },
14684
+ { name: "text", type: "string" },
14685
+ { name: "deadline", type: "uint256" },
14686
+ { name: "nonce", type: "bytes32" },
14687
+ { name: "commenterSmartWallet", type: "address" },
14688
+ { name: "referrer", type: "address" },
14689
+ { name: "sourceChainId", type: "uint32" },
14690
+ { name: "destinationChainId", type: "uint32" }
14691
+ ],
14692
+ CommentIdentifier: commentIdentifierType
14693
+ };
14694
+ return {
14695
+ types: permitCommentTypedDataType,
14696
+ message,
14697
+ primaryType: "PermitComment",
14698
+ domain: commentsDomain({
14699
+ signingChainId: message.sourceChainId,
14700
+ destinationChainId: message.destinationChainId
14701
+ }),
14702
+ account: signingAccount || message.commenter
14703
+ };
14704
+ };
14705
+ var permitSparkCommentTypedDataDefinition = (message, signingAccount) => {
14706
+ const permitSparkCommentTypedDataType = {
14707
+ PermitSparkComment: [
14708
+ { name: "comment", type: "CommentIdentifier" },
14709
+ { name: "sparker", type: "address" },
14710
+ { name: "sparksQuantity", type: "uint256" },
14711
+ { name: "deadline", type: "uint256" },
14712
+ { name: "nonce", type: "bytes32" },
14713
+ { name: "referrer", type: "address" },
14714
+ { name: "sourceChainId", type: "uint32" },
14715
+ { name: "destinationChainId", type: "uint32" }
14716
+ ],
14717
+ CommentIdentifier: commentIdentifierType
14718
+ };
14719
+ return {
14720
+ types: permitSparkCommentTypedDataType,
14721
+ message,
14722
+ primaryType: "PermitSparkComment",
14723
+ domain: commentsDomain({
14724
+ signingChainId: message.sourceChainId,
14725
+ destinationChainId: message.destinationChainId
14726
+ }),
14727
+ account: signingAccount || message.sparker
14728
+ };
14729
+ };
14730
+ var sparkValue = () => parseEther("0.000001");
14731
+ var permitMintAndCommentTypedDataDefinition = (message, signingAccount) => {
14732
+ const permitTimedSaleMintAndCommentTypedDataType = {
14733
+ PermitTimedSaleMintAndComment: [
14734
+ { name: "commenter", type: "address" },
14735
+ { name: "quantity", type: "uint256" },
14736
+ { name: "collection", type: "address" },
14737
+ { name: "tokenId", type: "uint256" },
14738
+ { name: "mintReferral", type: "address" },
14739
+ { name: "comment", type: "string" },
14740
+ { name: "deadline", type: "uint256" },
14741
+ { name: "nonce", type: "bytes32" },
14742
+ { name: "sourceChainId", type: "uint32" },
14743
+ { name: "destinationChainId", type: "uint32" }
14744
+ ]
14745
+ };
14746
+ const callerAndCommenterDomain = ({
14747
+ signingChainId,
14748
+ destinationChainId
14749
+ }) => ({
14750
+ name: "CallerAndCommenter",
14751
+ version: "1",
14752
+ chainId: signingChainId,
14753
+ verifyingContract: callerAndCommenterAddress[destinationChainId]
14754
+ });
14755
+ return {
14756
+ types: permitTimedSaleMintAndCommentTypedDataType,
14757
+ message,
14758
+ primaryType: "PermitTimedSaleMintAndComment",
14759
+ domain: callerAndCommenterDomain({
14760
+ signingChainId: message.sourceChainId,
14761
+ destinationChainId: message.destinationChainId
14762
+ }),
14763
+ account: signingAccount || message.commenter
14764
+ };
14765
+ };
14766
+ var permitBuyOnSecondaryAndCommentTypedDataDefinition = (message, signingAccount) => {
14767
+ const permitBuyOnSecondaryAndCommentTypedDataType = {
14768
+ PermitBuyOnSecondaryAndComment: [
14769
+ { name: "commenter", type: "address" },
14770
+ { name: "quantity", type: "uint256" },
14771
+ { name: "collection", type: "address" },
14772
+ { name: "tokenId", type: "uint256" },
14773
+ { name: "maxEthToSpend", type: "uint256" },
14774
+ { name: "sqrtPriceLimitX96", type: "uint160" },
14775
+ { name: "comment", type: "string" },
14776
+ { name: "deadline", type: "uint256" },
14777
+ { name: "nonce", type: "bytes32" },
14778
+ { name: "sourceChainId", type: "uint32" },
14779
+ { name: "destinationChainId", type: "uint32" }
14780
+ ]
14781
+ };
14782
+ const callerAndCommenterDomain = ({
14783
+ signingChainId,
14784
+ destinationChainId
14785
+ }) => ({
14786
+ name: "CallerAndCommenter",
14787
+ version: "1",
14788
+ chainId: signingChainId,
14789
+ verifyingContract: callerAndCommenterAddress[destinationChainId]
14790
+ });
14791
+ return {
14792
+ types: permitBuyOnSecondaryAndCommentTypedDataType,
14793
+ message,
14794
+ primaryType: "PermitBuyOnSecondaryAndComment",
14795
+ domain: callerAndCommenterDomain({
14796
+ signingChainId: message.sourceChainId,
14797
+ destinationChainId: message.destinationChainId
14798
+ }),
14799
+ account: signingAccount || message.commenter
14800
+ };
14801
+ };
12562
14802
 
12563
14803
  // src/encoding.ts
12564
14804
  var safeTransferSwapAbiParameters = [
@@ -12651,10 +14891,10 @@ var addresses = {
12651
14891
  timestamp: 1722801891
12652
14892
  },
12653
14893
  10: {
12654
- CONTRACT_1155_IMPL: "0x41a80F8aE055b1E38C74bc406E4310Be33cFA3F4",
12655
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
14894
+ CONTRACT_1155_IMPL: "0x00802284A7976cE5bd200c7aBA2a8A8Fd52cFf1d",
14895
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
12656
14896
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
12657
- FACTORY_IMPL: "0x169d9147dFc9409AfA4E558dF2C9ABeebc020182",
14897
+ FACTORY_IMPL: "0x26B92D5f3F81Bda06ea93619C535948131538bda",
12658
14898
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
12659
14899
  FIXED_PRICE_SALE_STRATEGY: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
12660
14900
  MERKLE_MINT_SALE_STRATEGY: "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
@@ -12662,7 +14902,7 @@ var addresses = {
12662
14902
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
12663
14903
  REDEEM_MINTER_FACTORY: "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
12664
14904
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
12665
- timestamp: 1722525241
14905
+ timestamp: 1729791004
12666
14906
  },
12667
14907
  999: {
12668
14908
  CONTRACT_1155_IMPL: "0x2022AdEF470DA3543a19fac8c9be80618112704D",
@@ -12678,10 +14918,10 @@ var addresses = {
12678
14918
  timestamp: 1704399834
12679
14919
  },
12680
14920
  8453: {
12681
- CONTRACT_1155_IMPL: "0x02be886A3b2802177181f4734380CB1f4BaC4Bfb",
12682
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
14921
+ CONTRACT_1155_IMPL: "0x57f412Ea90b59ce4023AFDE95C251E3c747EB7F8",
14922
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
12683
14923
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
12684
- FACTORY_IMPL: "0xd43f38e67beb199fd6594cCe4Bed31510414e6ab",
14924
+ FACTORY_IMPL: "0xc6bf69986859f0dC0b77f2cA6AD86F5b294c0443",
12685
14925
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
12686
14926
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
12687
14927
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
@@ -12689,7 +14929,7 @@ var addresses = {
12689
14929
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
12690
14930
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
12691
14931
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
12692
- timestamp: 1722490834
14932
+ timestamp: 1729791239
12693
14933
  },
12694
14934
  42161: {
12695
14935
  CONTRACT_1155_IMPL: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
@@ -12720,10 +14960,10 @@ var addresses = {
12720
14960
  timestamp: 1722612949
12721
14961
  },
12722
14962
  84532: {
12723
- CONTRACT_1155_IMPL: "0xA02FC0fc9b0b3E23ac26eB0f2D392fD5cdA58514",
12724
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
14963
+ CONTRACT_1155_IMPL: "0xDD3295D6A2e772Bd3208c3d43a783533505a1EED",
14964
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
12725
14965
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
12726
- FACTORY_IMPL: "0x78b524931e9d847c40BcBf225c25e154a7B05fDA",
14966
+ FACTORY_IMPL: "0xF3a46845548bE811Ce37e65153563f4a0AaEbe31",
12727
14967
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
12728
14968
  FIXED_PRICE_SALE_STRATEGY: "0xd34872BE0cdb6b09d45FCa067B07f04a1A9aE1aE",
12729
14969
  MERKLE_MINT_SALE_STRATEGY: "0x3E8524770adD176bE381a0529E09f1c6c3502A5a",
@@ -12731,7 +14971,7 @@ var addresses = {
12731
14971
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
12732
14972
  REDEEM_MINTER_FACTORY: "0x805E0a08dE70f85C01F7848370d5e3fc08aAd0ea",
12733
14973
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
12734
- timestamp: 1722492345
14974
+ timestamp: 1729790653
12735
14975
  },
12736
14976
  421614: {
12737
14977
  CONTRACT_1155_IMPL: "0xC7598f8eAA1455f5b2B3f206A9af55B2BA248e3E",
@@ -12748,10 +14988,10 @@ var addresses = {
12748
14988
  timestamp: 1722821095
12749
14989
  },
12750
14990
  7777777: {
12751
- CONTRACT_1155_IMPL: "0xD860dA58fDcC98ceDF6aA16d7F38b1bfdC8Ca2d9",
12752
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
14991
+ CONTRACT_1155_IMPL: "0xf81C36213FB217c756504B56133b2c3CD4FbCBf9",
14992
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
12753
14993
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
12754
- FACTORY_IMPL: "0x4578FbC17870Afd31F6AFBA7Ad399C1453c7eae7",
14994
+ FACTORY_IMPL: "0x64311A0AE41Ec5A804cdC87F826B646Afd131F24",
12755
14995
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
12756
14996
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
12757
14997
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
@@ -12759,13 +14999,13 @@ var addresses = {
12759
14999
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
12760
15000
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
12761
15001
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
12762
- timestamp: 1722524842
15002
+ timestamp: 1729790913
12763
15003
  },
12764
15004
  11155111: {
12765
- CONTRACT_1155_IMPL: "0xE578Df59a7F59b652772a8565Af276460c4FF44d",
12766
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
15005
+ CONTRACT_1155_IMPL: "0xe22C5ce67dc5077ca115FBe6ddbed1FB2703B125",
15006
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
12767
15007
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
12768
- FACTORY_IMPL: "0x3A98313fB00918a81d98f9986aED089365428293",
15008
+ FACTORY_IMPL: "0x54A6a778ee0E5Cefc70C3963018606D4DF8Be960",
12769
15009
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
12770
15010
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
12771
15011
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
@@ -12773,7 +15013,7 @@ var addresses = {
12773
15013
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
12774
15014
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
12775
15015
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
12776
- timestamp: 1722523545
15016
+ timestamp: 1729790809
12777
15017
  },
12778
15018
  168587773: {
12779
15019
  CONTRACT_1155_IMPL: "0x192D663C3D6813a24a24582A76B8d872c4F6F7f9",
@@ -12790,10 +15030,10 @@ var addresses = {
12790
15030
  timestamp: 1722525339
12791
15031
  },
12792
15032
  999999999: {
12793
- CONTRACT_1155_IMPL: "0xC04050e04708b33302E30E5A0fB1e8c38F4EBbB0",
12794
- CONTRACT_1155_IMPL_VERSION: "2.12.3",
15033
+ CONTRACT_1155_IMPL: "0x78C5f846e1dfBdbAD7AD4B3010233757aB2A1e9B",
15034
+ CONTRACT_1155_IMPL_VERSION: "2.13.0",
12795
15035
  ERC20_MINTER: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2",
12796
- FACTORY_IMPL: "0xe2606ac30752009ecec6FEaf5C2B4A6523256E7E",
15036
+ FACTORY_IMPL: "0xfE55eF381A32fE9B8fE287a5CEB0A05A9873a018",
12797
15037
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
12798
15038
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
12799
15039
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
@@ -12801,7 +15041,7 @@ var addresses = {
12801
15041
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
12802
15042
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
12803
15043
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
12804
- timestamp: 1722524992
15044
+ timestamp: 1729790544
12805
15045
  }
12806
15046
  };
12807
15047
 
@@ -12875,6 +15115,13 @@ var chainConfigs2 = {
12875
15115
  ZORA_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
12876
15116
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9"
12877
15117
  },
15118
+ 11155420: {
15119
+ NONFUNGIBLE_POSITION_MANAGER: "0xdA75cEf1C93078e8b736FCA5D5a30adb97C8957d",
15120
+ UNISWAP_SWAP_ROUTER: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
15121
+ PROXY_ADMIN: "0xFA3748b2dcF94a9CBdb5087333E9F093476e8389",
15122
+ ZORA_RECIPIENT: "0xFA3748b2dcF94a9CBdb5087333E9F093476e8389",
15123
+ WETH: "0x4200000000000000000000000000000000000006"
15124
+ },
12878
15125
  999999999: {
12879
15126
  NONFUNGIBLE_POSITION_MANAGER: "0xB8458EaAe43292e3c1F7994EFd016bd653d23c20",
12880
15127
  UNISWAP_SWAP_ROUTER: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a",
@@ -12923,6 +15170,10 @@ var addresses2 = {
12923
15170
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
12924
15171
  SPARKS_MANAGER_IMPL: "0xFB854463800d09B89682746c37A3AE696C92193D",
12925
15172
  SPARKS_MANAGER_IMPL_VERSION: "0.1.4",
15173
+ SPARKS_MANAGER: "0x77777779acd6a96C0c57272112921A0b833c38fD",
15174
+ SPARKS_1155: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
15175
+ MINTS_MANAGER: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
15176
+ MINTS_1155: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
12926
15177
  SPONSORED_SPARKS_SPENDER: "0x362Ef86acAD2FAa66A28Ee8d1F5a835ac0BBD11d",
12927
15178
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
12928
15179
  },
@@ -12930,6 +15181,10 @@ var addresses2 = {
12930
15181
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
12931
15182
  SPARKS_MANAGER_IMPL: "0xf7D8d07267E840aE466E5f2fe8b089F4DE79c7da",
12932
15183
  SPARKS_MANAGER_IMPL_VERSION: "0.1.4",
15184
+ SPARKS_MANAGER: "0x77777779acd6a96C0c57272112921A0b833c38fD",
15185
+ SPARKS_1155: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
15186
+ MINTS_MANAGER: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
15187
+ MINTS_1155: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
12933
15188
  SPONSORED_SPARKS_SPENDER: "0x3A98313fB00918a81d98f9986aED089365428293",
12934
15189
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
12935
15190
  }
@@ -12937,7 +15192,14 @@ var addresses2 = {
12937
15192
  // Annotate the CommonJS export names for ESM import in node:
12938
15193
  0 && (module.exports = {
12939
15194
  PremintConfigVersion,
15195
+ callerAndCommenterABI,
15196
+ callerAndCommenterAddress,
15197
+ callerAndCommenterConfig,
15198
+ commentsABI,
15199
+ commentsAddress,
15200
+ commentsConfig,
12940
15201
  contracts1155,
15202
+ emptyCommentIdentifier,
12941
15203
  encodePremintConfig,
12942
15204
  erc20MinterABI,
12943
15205
  erc20MinterAddress,
@@ -12954,6 +15216,10 @@ var addresses2 = {
12954
15216
  mintsEthUnwrapperAndCallerConfig,
12955
15217
  mintsSafeTransferBatchTypedDataDefinition,
12956
15218
  mintsSafeTransferTypedDataDefinition,
15219
+ permitBuyOnSecondaryAndCommentTypedDataDefinition,
15220
+ permitCommentTypedDataDefinition,
15221
+ permitMintAndCommentTypedDataDefinition,
15222
+ permitSparkCommentTypedDataDefinition,
12957
15223
  premintTypedDataDefinition,
12958
15224
  premintV1TypedDataDefinition,
12959
15225
  premintV2TypedDataDefinition,
@@ -12964,6 +15230,7 @@ var addresses2 = {
12964
15230
  secondarySwapABI,
12965
15231
  secondarySwapAddress,
12966
15232
  secondarySwapConfig,
15233
+ sparkValue,
12967
15234
  sparks,
12968
15235
  sponsoredSparksBatchTransferTypedDataType,
12969
15236
  sponsoredSparksBatchTypedDataDefinition,