@zoralabs/protocol-deployments 0.3.4 → 0.3.5-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/.turbo/turbo-build.log +18 -18
- package/CHANGELOG.md +6 -0
- package/dist/generated/wagmi.d.ts +2877 -2
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +995 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +991 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +993 -1
- package/src/types.ts +18 -0
package/dist/index.cjs
CHANGED
|
@@ -1613,7 +1613,11 @@ var init_getAbiItem = __esm({
|
|
|
1613
1613
|
var src_exports = {};
|
|
1614
1614
|
__export(src_exports, {
|
|
1615
1615
|
PremintConfigVersion: () => PremintConfigVersion,
|
|
1616
|
+
commentsABI: () => commentsABI,
|
|
1617
|
+
commentsAddress: () => commentsAddress,
|
|
1618
|
+
commentsConfig: () => commentsConfig,
|
|
1616
1619
|
contracts1155: () => __exports,
|
|
1620
|
+
emptyCommentIdentifier: () => emptyCommentIdentifier,
|
|
1617
1621
|
encodePremintConfig: () => encodePremintConfig,
|
|
1618
1622
|
erc20MinterABI: () => erc20MinterABI,
|
|
1619
1623
|
erc20MinterAddress: () => erc20MinterAddress,
|
|
@@ -1687,6 +1691,916 @@ __export(src_exports, {
|
|
|
1687
1691
|
module.exports = __toCommonJS(src_exports);
|
|
1688
1692
|
|
|
1689
1693
|
// src/generated/wagmi.ts
|
|
1694
|
+
var commentsABI = [
|
|
1695
|
+
{
|
|
1696
|
+
stateMutability: "nonpayable",
|
|
1697
|
+
type: "constructor",
|
|
1698
|
+
inputs: [
|
|
1699
|
+
{ name: "_sparkValue", internalType: "uint256", type: "uint256" },
|
|
1700
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
1701
|
+
]
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
stateMutability: "view",
|
|
1705
|
+
type: "function",
|
|
1706
|
+
inputs: [],
|
|
1707
|
+
name: "BACKFILLER_ROLE",
|
|
1708
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
stateMutability: "view",
|
|
1712
|
+
type: "function",
|
|
1713
|
+
inputs: [],
|
|
1714
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
1715
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
stateMutability: "view",
|
|
1719
|
+
type: "function",
|
|
1720
|
+
inputs: [],
|
|
1721
|
+
name: "DELEGATE_COMMENTOR",
|
|
1722
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
stateMutability: "view",
|
|
1726
|
+
type: "function",
|
|
1727
|
+
inputs: [],
|
|
1728
|
+
name: "DOMAIN_NAME",
|
|
1729
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
stateMutability: "view",
|
|
1733
|
+
type: "function",
|
|
1734
|
+
inputs: [],
|
|
1735
|
+
name: "DOMAIN_VERSION",
|
|
1736
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
stateMutability: "view",
|
|
1740
|
+
type: "function",
|
|
1741
|
+
inputs: [],
|
|
1742
|
+
name: "PERMISSION_BIT_ADMIN",
|
|
1743
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
stateMutability: "view",
|
|
1747
|
+
type: "function",
|
|
1748
|
+
inputs: [],
|
|
1749
|
+
name: "REFERRER_REWARD_PCT",
|
|
1750
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
stateMutability: "view",
|
|
1754
|
+
type: "function",
|
|
1755
|
+
inputs: [],
|
|
1756
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
1757
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
stateMutability: "view",
|
|
1761
|
+
type: "function",
|
|
1762
|
+
inputs: [],
|
|
1763
|
+
name: "ZORA_REWARD_NO_REFERRER_PCT",
|
|
1764
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
stateMutability: "view",
|
|
1768
|
+
type: "function",
|
|
1769
|
+
inputs: [],
|
|
1770
|
+
name: "ZORA_REWARD_PCT",
|
|
1771
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
stateMutability: "nonpayable",
|
|
1775
|
+
type: "function",
|
|
1776
|
+
inputs: [
|
|
1777
|
+
{
|
|
1778
|
+
name: "commentIdentifiers",
|
|
1779
|
+
internalType: "struct IComments.CommentIdentifier[]",
|
|
1780
|
+
type: "tuple[]",
|
|
1781
|
+
components: [
|
|
1782
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1783
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1784
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1785
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1786
|
+
]
|
|
1787
|
+
},
|
|
1788
|
+
{ name: "texts", internalType: "string[]", type: "string[]" },
|
|
1789
|
+
{ name: "timestamps", internalType: "uint256[]", type: "uint256[]" },
|
|
1790
|
+
{
|
|
1791
|
+
name: "originalTransactionHashes",
|
|
1792
|
+
internalType: "bytes32[]",
|
|
1793
|
+
type: "bytes32[]"
|
|
1794
|
+
}
|
|
1795
|
+
],
|
|
1796
|
+
name: "backfillBatchAddComment",
|
|
1797
|
+
outputs: []
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
stateMutability: "payable",
|
|
1801
|
+
type: "function",
|
|
1802
|
+
inputs: [
|
|
1803
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1804
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1805
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1806
|
+
{ name: "text", internalType: "string", type: "string" },
|
|
1807
|
+
{
|
|
1808
|
+
name: "replyTo",
|
|
1809
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1810
|
+
type: "tuple",
|
|
1811
|
+
components: [
|
|
1812
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1813
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1814
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1815
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1816
|
+
]
|
|
1817
|
+
},
|
|
1818
|
+
{ name: "referrer", internalType: "address", type: "address" }
|
|
1819
|
+
],
|
|
1820
|
+
name: "comment",
|
|
1821
|
+
outputs: [
|
|
1822
|
+
{
|
|
1823
|
+
name: "commentIdentifier",
|
|
1824
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1825
|
+
type: "tuple",
|
|
1826
|
+
components: [
|
|
1827
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1828
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1829
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1830
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1831
|
+
]
|
|
1832
|
+
}
|
|
1833
|
+
]
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
stateMutability: "view",
|
|
1837
|
+
type: "function",
|
|
1838
|
+
inputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }],
|
|
1839
|
+
name: "commentSparksQuantity",
|
|
1840
|
+
outputs: [{ name: "", internalType: "uint64", type: "uint64" }]
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
stateMutability: "pure",
|
|
1844
|
+
type: "function",
|
|
1845
|
+
inputs: [],
|
|
1846
|
+
name: "contractName",
|
|
1847
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
stateMutability: "pure",
|
|
1851
|
+
type: "function",
|
|
1852
|
+
inputs: [],
|
|
1853
|
+
name: "contractVersion",
|
|
1854
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
stateMutability: "nonpayable",
|
|
1858
|
+
type: "function",
|
|
1859
|
+
inputs: [
|
|
1860
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1861
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1862
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1863
|
+
{ name: "text", internalType: "string", type: "string" },
|
|
1864
|
+
{
|
|
1865
|
+
name: "replyTo",
|
|
1866
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1867
|
+
type: "tuple",
|
|
1868
|
+
components: [
|
|
1869
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1870
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1871
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1872
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1873
|
+
]
|
|
1874
|
+
}
|
|
1875
|
+
],
|
|
1876
|
+
name: "delegateComment",
|
|
1877
|
+
outputs: [
|
|
1878
|
+
{
|
|
1879
|
+
name: "commentIdentifier",
|
|
1880
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1881
|
+
type: "tuple",
|
|
1882
|
+
components: [
|
|
1883
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1884
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1885
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1886
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1887
|
+
]
|
|
1888
|
+
}
|
|
1889
|
+
]
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
stateMutability: "view",
|
|
1893
|
+
type: "function",
|
|
1894
|
+
inputs: [{ name: "role", internalType: "bytes32", type: "bytes32" }],
|
|
1895
|
+
name: "getRoleAdmin",
|
|
1896
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
stateMutability: "nonpayable",
|
|
1900
|
+
type: "function",
|
|
1901
|
+
inputs: [
|
|
1902
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
1903
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
1904
|
+
],
|
|
1905
|
+
name: "grantRole",
|
|
1906
|
+
outputs: []
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
stateMutability: "view",
|
|
1910
|
+
type: "function",
|
|
1911
|
+
inputs: [
|
|
1912
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
1913
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
1914
|
+
],
|
|
1915
|
+
name: "hasRole",
|
|
1916
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
stateMutability: "view",
|
|
1920
|
+
type: "function",
|
|
1921
|
+
inputs: [
|
|
1922
|
+
{
|
|
1923
|
+
name: "commentIdentifier",
|
|
1924
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1925
|
+
type: "tuple",
|
|
1926
|
+
components: [
|
|
1927
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1928
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1929
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1930
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1931
|
+
]
|
|
1932
|
+
}
|
|
1933
|
+
],
|
|
1934
|
+
name: "hashAndCheckCommentExists",
|
|
1935
|
+
outputs: [
|
|
1936
|
+
{ name: "commentId", internalType: "bytes32", type: "bytes32" },
|
|
1937
|
+
{ name: "exists", internalType: "bool", type: "bool" }
|
|
1938
|
+
]
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
stateMutability: "view",
|
|
1942
|
+
type: "function",
|
|
1943
|
+
inputs: [
|
|
1944
|
+
{
|
|
1945
|
+
name: "commentIdentifier",
|
|
1946
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1947
|
+
type: "tuple",
|
|
1948
|
+
components: [
|
|
1949
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1950
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1951
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1952
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1953
|
+
]
|
|
1954
|
+
}
|
|
1955
|
+
],
|
|
1956
|
+
name: "hashAndValidateCommentExists",
|
|
1957
|
+
outputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }]
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
stateMutability: "pure",
|
|
1961
|
+
type: "function",
|
|
1962
|
+
inputs: [
|
|
1963
|
+
{
|
|
1964
|
+
name: "commentIdentifier",
|
|
1965
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1966
|
+
type: "tuple",
|
|
1967
|
+
components: [
|
|
1968
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1969
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1970
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1971
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1972
|
+
]
|
|
1973
|
+
}
|
|
1974
|
+
],
|
|
1975
|
+
name: "hashCommentIdentifier",
|
|
1976
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
stateMutability: "view",
|
|
1980
|
+
type: "function",
|
|
1981
|
+
inputs: [
|
|
1982
|
+
{
|
|
1983
|
+
name: "permit",
|
|
1984
|
+
internalType: "struct IComments.PermitComment",
|
|
1985
|
+
type: "tuple",
|
|
1986
|
+
components: [
|
|
1987
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1988
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1989
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1990
|
+
{
|
|
1991
|
+
name: "replyTo",
|
|
1992
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1993
|
+
type: "tuple",
|
|
1994
|
+
components: [
|
|
1995
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1996
|
+
{
|
|
1997
|
+
name: "contractAddress",
|
|
1998
|
+
internalType: "address",
|
|
1999
|
+
type: "address"
|
|
2000
|
+
},
|
|
2001
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2002
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2003
|
+
]
|
|
2004
|
+
},
|
|
2005
|
+
{ name: "text", internalType: "string", type: "string" },
|
|
2006
|
+
{ name: "sparksQuantity", internalType: "uint64", type: "uint64" },
|
|
2007
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2008
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2009
|
+
{ name: "referrer", internalType: "address", type: "address" },
|
|
2010
|
+
{ name: "sourceChainId", internalType: "uint256", type: "uint256" },
|
|
2011
|
+
{
|
|
2012
|
+
name: "destinationChainId",
|
|
2013
|
+
internalType: "uint256",
|
|
2014
|
+
type: "uint256"
|
|
2015
|
+
}
|
|
2016
|
+
]
|
|
2017
|
+
}
|
|
2018
|
+
],
|
|
2019
|
+
name: "hashPermitComment",
|
|
2020
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
stateMutability: "view",
|
|
2024
|
+
type: "function",
|
|
2025
|
+
inputs: [
|
|
2026
|
+
{
|
|
2027
|
+
name: "permit",
|
|
2028
|
+
internalType: "struct IComments.PermitSparkComment",
|
|
2029
|
+
type: "tuple",
|
|
2030
|
+
components: [
|
|
2031
|
+
{
|
|
2032
|
+
name: "comment",
|
|
2033
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
2034
|
+
type: "tuple",
|
|
2035
|
+
components: [
|
|
2036
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
2037
|
+
{
|
|
2038
|
+
name: "contractAddress",
|
|
2039
|
+
internalType: "address",
|
|
2040
|
+
type: "address"
|
|
2041
|
+
},
|
|
2042
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2043
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2044
|
+
]
|
|
2045
|
+
},
|
|
2046
|
+
{ name: "sparker", internalType: "address", type: "address" },
|
|
2047
|
+
{ name: "sparksQuantity", internalType: "uint64", type: "uint64" },
|
|
2048
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2049
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2050
|
+
{ name: "referrer", internalType: "address", type: "address" },
|
|
2051
|
+
{ name: "sourceChainId", internalType: "uint256", type: "uint256" },
|
|
2052
|
+
{
|
|
2053
|
+
name: "destinationChainId",
|
|
2054
|
+
internalType: "uint256",
|
|
2055
|
+
type: "uint256"
|
|
2056
|
+
}
|
|
2057
|
+
]
|
|
2058
|
+
}
|
|
2059
|
+
],
|
|
2060
|
+
name: "hashPermitSparkComment",
|
|
2061
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
stateMutability: "nonpayable",
|
|
2065
|
+
type: "function",
|
|
2066
|
+
inputs: [
|
|
2067
|
+
{ name: "_zoraRecipient", internalType: "address", type: "address" },
|
|
2068
|
+
{ name: "defaultAdmin", internalType: "address", type: "address" },
|
|
2069
|
+
{ name: "backfiller", internalType: "address", type: "address" },
|
|
2070
|
+
{
|
|
2071
|
+
name: "delegateCommenters",
|
|
2072
|
+
internalType: "address[]",
|
|
2073
|
+
type: "address[]"
|
|
2074
|
+
}
|
|
2075
|
+
],
|
|
2076
|
+
name: "initialize",
|
|
2077
|
+
outputs: []
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
stateMutability: "view",
|
|
2081
|
+
type: "function",
|
|
2082
|
+
inputs: [],
|
|
2083
|
+
name: "nextNonce",
|
|
2084
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
stateMutability: "view",
|
|
2088
|
+
type: "function",
|
|
2089
|
+
inputs: [
|
|
2090
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
2091
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
2092
|
+
],
|
|
2093
|
+
name: "nonceUsed",
|
|
2094
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
stateMutability: "payable",
|
|
2098
|
+
type: "function",
|
|
2099
|
+
inputs: [
|
|
2100
|
+
{
|
|
2101
|
+
name: "permit",
|
|
2102
|
+
internalType: "struct IComments.PermitComment",
|
|
2103
|
+
type: "tuple",
|
|
2104
|
+
components: [
|
|
2105
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
2106
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2107
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2108
|
+
{
|
|
2109
|
+
name: "replyTo",
|
|
2110
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
2111
|
+
type: "tuple",
|
|
2112
|
+
components: [
|
|
2113
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
2114
|
+
{
|
|
2115
|
+
name: "contractAddress",
|
|
2116
|
+
internalType: "address",
|
|
2117
|
+
type: "address"
|
|
2118
|
+
},
|
|
2119
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2120
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2121
|
+
]
|
|
2122
|
+
},
|
|
2123
|
+
{ name: "text", internalType: "string", type: "string" },
|
|
2124
|
+
{ name: "sparksQuantity", internalType: "uint64", type: "uint64" },
|
|
2125
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2126
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2127
|
+
{ name: "referrer", internalType: "address", type: "address" },
|
|
2128
|
+
{ name: "sourceChainId", internalType: "uint256", type: "uint256" },
|
|
2129
|
+
{
|
|
2130
|
+
name: "destinationChainId",
|
|
2131
|
+
internalType: "uint256",
|
|
2132
|
+
type: "uint256"
|
|
2133
|
+
}
|
|
2134
|
+
]
|
|
2135
|
+
},
|
|
2136
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
2137
|
+
],
|
|
2138
|
+
name: "permitComment",
|
|
2139
|
+
outputs: []
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
stateMutability: "payable",
|
|
2143
|
+
type: "function",
|
|
2144
|
+
inputs: [
|
|
2145
|
+
{
|
|
2146
|
+
name: "permit",
|
|
2147
|
+
internalType: "struct IComments.PermitSparkComment",
|
|
2148
|
+
type: "tuple",
|
|
2149
|
+
components: [
|
|
2150
|
+
{
|
|
2151
|
+
name: "comment",
|
|
2152
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
2153
|
+
type: "tuple",
|
|
2154
|
+
components: [
|
|
2155
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
2156
|
+
{
|
|
2157
|
+
name: "contractAddress",
|
|
2158
|
+
internalType: "address",
|
|
2159
|
+
type: "address"
|
|
2160
|
+
},
|
|
2161
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2162
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2163
|
+
]
|
|
2164
|
+
},
|
|
2165
|
+
{ name: "sparker", internalType: "address", type: "address" },
|
|
2166
|
+
{ name: "sparksQuantity", internalType: "uint64", type: "uint64" },
|
|
2167
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2168
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2169
|
+
{ name: "referrer", internalType: "address", type: "address" },
|
|
2170
|
+
{ name: "sourceChainId", internalType: "uint256", type: "uint256" },
|
|
2171
|
+
{
|
|
2172
|
+
name: "destinationChainId",
|
|
2173
|
+
internalType: "uint256",
|
|
2174
|
+
type: "uint256"
|
|
2175
|
+
}
|
|
2176
|
+
]
|
|
2177
|
+
},
|
|
2178
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
2179
|
+
],
|
|
2180
|
+
name: "permitSparkComment",
|
|
2181
|
+
outputs: []
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
stateMutability: "view",
|
|
2185
|
+
type: "function",
|
|
2186
|
+
inputs: [],
|
|
2187
|
+
name: "protocolRewards",
|
|
2188
|
+
outputs: [
|
|
2189
|
+
{ name: "", internalType: "contract IProtocolRewards", type: "address" }
|
|
2190
|
+
]
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
stateMutability: "view",
|
|
2194
|
+
type: "function",
|
|
2195
|
+
inputs: [],
|
|
2196
|
+
name: "proxiableUUID",
|
|
2197
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
stateMutability: "nonpayable",
|
|
2201
|
+
type: "function",
|
|
2202
|
+
inputs: [
|
|
2203
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
2204
|
+
{ name: "callerConfirmation", internalType: "address", type: "address" }
|
|
2205
|
+
],
|
|
2206
|
+
name: "renounceRole",
|
|
2207
|
+
outputs: []
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
stateMutability: "nonpayable",
|
|
2211
|
+
type: "function",
|
|
2212
|
+
inputs: [
|
|
2213
|
+
{ name: "role", internalType: "bytes32", type: "bytes32" },
|
|
2214
|
+
{ name: "account", internalType: "address", type: "address" }
|
|
2215
|
+
],
|
|
2216
|
+
name: "revokeRole",
|
|
2217
|
+
outputs: []
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
stateMutability: "payable",
|
|
2221
|
+
type: "function",
|
|
2222
|
+
inputs: [
|
|
2223
|
+
{
|
|
2224
|
+
name: "commentIdentifier",
|
|
2225
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
2226
|
+
type: "tuple",
|
|
2227
|
+
components: [
|
|
2228
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
2229
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2230
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2231
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2232
|
+
]
|
|
2233
|
+
},
|
|
2234
|
+
{ name: "sparksQuantity", internalType: "uint64", type: "uint64" },
|
|
2235
|
+
{ name: "referrer", internalType: "address", type: "address" }
|
|
2236
|
+
],
|
|
2237
|
+
name: "sparkComment",
|
|
2238
|
+
outputs: []
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
stateMutability: "view",
|
|
2242
|
+
type: "function",
|
|
2243
|
+
inputs: [],
|
|
2244
|
+
name: "sparkValue",
|
|
2245
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
stateMutability: "view",
|
|
2249
|
+
type: "function",
|
|
2250
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
2251
|
+
name: "supportsInterface",
|
|
2252
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
stateMutability: "payable",
|
|
2256
|
+
type: "function",
|
|
2257
|
+
inputs: [
|
|
2258
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
2259
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
2260
|
+
],
|
|
2261
|
+
name: "upgradeToAndCall",
|
|
2262
|
+
outputs: []
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
type: "event",
|
|
2266
|
+
anonymous: false,
|
|
2267
|
+
inputs: [
|
|
2268
|
+
{
|
|
2269
|
+
name: "commentId",
|
|
2270
|
+
internalType: "bytes32",
|
|
2271
|
+
type: "bytes32",
|
|
2272
|
+
indexed: true
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
name: "comment",
|
|
2276
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
2277
|
+
type: "tuple",
|
|
2278
|
+
components: [
|
|
2279
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
2280
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2281
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2282
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2283
|
+
],
|
|
2284
|
+
indexed: false
|
|
2285
|
+
},
|
|
2286
|
+
{ name: "text", internalType: "string", type: "string", indexed: false },
|
|
2287
|
+
{
|
|
2288
|
+
name: "timestamp",
|
|
2289
|
+
internalType: "uint256",
|
|
2290
|
+
type: "uint256",
|
|
2291
|
+
indexed: false
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
name: "originalTransactionId",
|
|
2295
|
+
internalType: "bytes32",
|
|
2296
|
+
type: "bytes32",
|
|
2297
|
+
indexed: false
|
|
2298
|
+
}
|
|
2299
|
+
],
|
|
2300
|
+
name: "BackfilledComment"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
type: "event",
|
|
2304
|
+
anonymous: false,
|
|
2305
|
+
inputs: [
|
|
2306
|
+
{
|
|
2307
|
+
name: "commentId",
|
|
2308
|
+
internalType: "bytes32",
|
|
2309
|
+
type: "bytes32",
|
|
2310
|
+
indexed: true
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
name: "comment",
|
|
2314
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
2315
|
+
type: "tuple",
|
|
2316
|
+
components: [
|
|
2317
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
2318
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2319
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2320
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2321
|
+
],
|
|
2322
|
+
indexed: false
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
name: "replyToId",
|
|
2326
|
+
internalType: "bytes32",
|
|
2327
|
+
type: "bytes32",
|
|
2328
|
+
indexed: false
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
name: "replyTo",
|
|
2332
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
2333
|
+
type: "tuple",
|
|
2334
|
+
components: [
|
|
2335
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
2336
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2337
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2338
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2339
|
+
],
|
|
2340
|
+
indexed: false
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
name: "sparksQuantity",
|
|
2344
|
+
internalType: "uint64",
|
|
2345
|
+
type: "uint64",
|
|
2346
|
+
indexed: false
|
|
2347
|
+
},
|
|
2348
|
+
{ name: "text", internalType: "string", type: "string", indexed: false },
|
|
2349
|
+
{
|
|
2350
|
+
name: "timestamp",
|
|
2351
|
+
internalType: "uint256",
|
|
2352
|
+
type: "uint256",
|
|
2353
|
+
indexed: false
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
name: "referrer",
|
|
2357
|
+
internalType: "address",
|
|
2358
|
+
type: "address",
|
|
2359
|
+
indexed: false
|
|
2360
|
+
}
|
|
2361
|
+
],
|
|
2362
|
+
name: "Commented"
|
|
2363
|
+
},
|
|
2364
|
+
{
|
|
2365
|
+
type: "event",
|
|
2366
|
+
anonymous: false,
|
|
2367
|
+
inputs: [
|
|
2368
|
+
{
|
|
2369
|
+
name: "version",
|
|
2370
|
+
internalType: "uint64",
|
|
2371
|
+
type: "uint64",
|
|
2372
|
+
indexed: false
|
|
2373
|
+
}
|
|
2374
|
+
],
|
|
2375
|
+
name: "Initialized"
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
type: "event",
|
|
2379
|
+
anonymous: false,
|
|
2380
|
+
inputs: [
|
|
2381
|
+
{ name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
|
|
2382
|
+
{
|
|
2383
|
+
name: "previousAdminRole",
|
|
2384
|
+
internalType: "bytes32",
|
|
2385
|
+
type: "bytes32",
|
|
2386
|
+
indexed: true
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
name: "newAdminRole",
|
|
2390
|
+
internalType: "bytes32",
|
|
2391
|
+
type: "bytes32",
|
|
2392
|
+
indexed: true
|
|
2393
|
+
}
|
|
2394
|
+
],
|
|
2395
|
+
name: "RoleAdminChanged"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
type: "event",
|
|
2399
|
+
anonymous: false,
|
|
2400
|
+
inputs: [
|
|
2401
|
+
{ name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
|
|
2402
|
+
{
|
|
2403
|
+
name: "account",
|
|
2404
|
+
internalType: "address",
|
|
2405
|
+
type: "address",
|
|
2406
|
+
indexed: true
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
name: "sender",
|
|
2410
|
+
internalType: "address",
|
|
2411
|
+
type: "address",
|
|
2412
|
+
indexed: true
|
|
2413
|
+
}
|
|
2414
|
+
],
|
|
2415
|
+
name: "RoleGranted"
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
type: "event",
|
|
2419
|
+
anonymous: false,
|
|
2420
|
+
inputs: [
|
|
2421
|
+
{ name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
|
|
2422
|
+
{
|
|
2423
|
+
name: "account",
|
|
2424
|
+
internalType: "address",
|
|
2425
|
+
type: "address",
|
|
2426
|
+
indexed: true
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
name: "sender",
|
|
2430
|
+
internalType: "address",
|
|
2431
|
+
type: "address",
|
|
2432
|
+
indexed: true
|
|
2433
|
+
}
|
|
2434
|
+
],
|
|
2435
|
+
name: "RoleRevoked"
|
|
2436
|
+
},
|
|
2437
|
+
{
|
|
2438
|
+
type: "event",
|
|
2439
|
+
anonymous: false,
|
|
2440
|
+
inputs: [
|
|
2441
|
+
{
|
|
2442
|
+
name: "commentId",
|
|
2443
|
+
internalType: "bytes32",
|
|
2444
|
+
type: "bytes32",
|
|
2445
|
+
indexed: true
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
name: "commentIdentifier",
|
|
2449
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
2450
|
+
type: "tuple",
|
|
2451
|
+
components: [
|
|
2452
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
2453
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2454
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2455
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2456
|
+
],
|
|
2457
|
+
indexed: false
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
name: "sparksQuantity",
|
|
2461
|
+
internalType: "uint64",
|
|
2462
|
+
type: "uint64",
|
|
2463
|
+
indexed: false
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
name: "sparker",
|
|
2467
|
+
internalType: "address",
|
|
2468
|
+
type: "address",
|
|
2469
|
+
indexed: false
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
name: "timestamp",
|
|
2473
|
+
internalType: "uint256",
|
|
2474
|
+
type: "uint256",
|
|
2475
|
+
indexed: false
|
|
2476
|
+
}
|
|
2477
|
+
],
|
|
2478
|
+
name: "SparkedComment"
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
type: "event",
|
|
2482
|
+
anonymous: false,
|
|
2483
|
+
inputs: [
|
|
2484
|
+
{
|
|
2485
|
+
name: "implementation",
|
|
2486
|
+
internalType: "address",
|
|
2487
|
+
type: "address",
|
|
2488
|
+
indexed: true
|
|
2489
|
+
}
|
|
2490
|
+
],
|
|
2491
|
+
name: "Upgraded"
|
|
2492
|
+
},
|
|
2493
|
+
{ type: "error", inputs: [], name: "AccessControlBadConfirmation" },
|
|
2494
|
+
{
|
|
2495
|
+
type: "error",
|
|
2496
|
+
inputs: [
|
|
2497
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
2498
|
+
{ name: "neededRole", internalType: "bytes32", type: "bytes32" }
|
|
2499
|
+
],
|
|
2500
|
+
name: "AccessControlUnauthorizedAccount"
|
|
2501
|
+
},
|
|
2502
|
+
{
|
|
2503
|
+
type: "error",
|
|
2504
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2505
|
+
name: "AddressEmptyCode"
|
|
2506
|
+
},
|
|
2507
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
2508
|
+
{ type: "error", inputs: [], name: "CannotSparkOwnComment" },
|
|
2509
|
+
{
|
|
2510
|
+
type: "error",
|
|
2511
|
+
inputs: [
|
|
2512
|
+
{ name: "commentAddress", internalType: "address", type: "address" },
|
|
2513
|
+
{ name: "commentTokenId", internalType: "uint256", type: "uint256" },
|
|
2514
|
+
{ name: "replyAddress", internalType: "address", type: "address" },
|
|
2515
|
+
{ name: "replyTokenId", internalType: "uint256", type: "uint256" }
|
|
2516
|
+
],
|
|
2517
|
+
name: "CommentAddressOrTokenIdsDoNotMatch"
|
|
2518
|
+
},
|
|
2519
|
+
{ type: "error", inputs: [], name: "CommentDoesntExist" },
|
|
2520
|
+
{
|
|
2521
|
+
type: "error",
|
|
2522
|
+
inputs: [
|
|
2523
|
+
{ name: "expected", internalType: "address", type: "address" },
|
|
2524
|
+
{ name: "actual", internalType: "address", type: "address" }
|
|
2525
|
+
],
|
|
2526
|
+
name: "CommenterMismatch"
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
type: "error",
|
|
2530
|
+
inputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }],
|
|
2531
|
+
name: "DuplicateComment"
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
type: "error",
|
|
2535
|
+
inputs: [
|
|
2536
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
2537
|
+
],
|
|
2538
|
+
name: "ERC1967InvalidImplementation"
|
|
2539
|
+
},
|
|
2540
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
2541
|
+
{
|
|
2542
|
+
type: "error",
|
|
2543
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
2544
|
+
name: "ERC2612ExpiredSignature"
|
|
2545
|
+
},
|
|
2546
|
+
{ type: "error", inputs: [], name: "EmptyComment" },
|
|
2547
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2548
|
+
{
|
|
2549
|
+
type: "error",
|
|
2550
|
+
inputs: [
|
|
2551
|
+
{
|
|
2552
|
+
name: "wrongDestinationChainId",
|
|
2553
|
+
internalType: "uint256",
|
|
2554
|
+
type: "uint256"
|
|
2555
|
+
}
|
|
2556
|
+
],
|
|
2557
|
+
name: "IncorrectDestinationChain"
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
type: "error",
|
|
2561
|
+
inputs: [
|
|
2562
|
+
{ name: "actual", internalType: "uint256", type: "uint256" },
|
|
2563
|
+
{ name: "expected", internalType: "uint256", type: "uint256" }
|
|
2564
|
+
],
|
|
2565
|
+
name: "IncorrectETHAmountForSparks"
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
type: "error",
|
|
2569
|
+
inputs: [
|
|
2570
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
2571
|
+
{ name: "currentNonce", internalType: "uint256", type: "uint256" }
|
|
2572
|
+
],
|
|
2573
|
+
name: "InvalidAccountNonce"
|
|
2574
|
+
},
|
|
2575
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2576
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
2577
|
+
{ type: "error", inputs: [], name: "MustSendAtLeastOneSpark" },
|
|
2578
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
2579
|
+
{ type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
|
|
2580
|
+
{ type: "error", inputs: [], name: "OnlySparksContract" },
|
|
2581
|
+
{ type: "error", inputs: [], name: "TransferFailed" },
|
|
2582
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
2583
|
+
{
|
|
2584
|
+
type: "error",
|
|
2585
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
2586
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
type: "error",
|
|
2590
|
+
inputs: [
|
|
2591
|
+
{ name: "currentName", internalType: "string", type: "string" },
|
|
2592
|
+
{ name: "newName", internalType: "string", type: "string" }
|
|
2593
|
+
],
|
|
2594
|
+
name: "UpgradeToMismatchedContractName"
|
|
2595
|
+
}
|
|
2596
|
+
];
|
|
2597
|
+
var commentsAddress = {
|
|
2598
|
+
999999999: "0x7777777bE14a1F7Fd6896B5FBDa5ceD5FC6e501a"
|
|
2599
|
+
};
|
|
2600
|
+
var commentsConfig = {
|
|
2601
|
+
address: commentsAddress,
|
|
2602
|
+
abi: commentsABI
|
|
2603
|
+
};
|
|
1690
2604
|
var erc20MinterABI = [
|
|
1691
2605
|
{
|
|
1692
2606
|
stateMutability: "nonpayable",
|
|
@@ -5506,6 +6420,7 @@ var zoraCreator1155FactoryImplABI = [
|
|
|
5506
6420
|
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
5507
6421
|
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
5508
6422
|
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
6423
|
+
{ type: "error", inputs: [], name: "NoCodeAtAddress" },
|
|
5509
6424
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
5510
6425
|
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
5511
6426
|
{
|
|
@@ -6927,6 +7842,7 @@ var zoraCreator1155ImplABI = [
|
|
|
6927
7842
|
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
6928
7843
|
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
6929
7844
|
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
7845
|
+
{ type: "error", inputs: [], name: "NoCodeAtAddress" },
|
|
6930
7846
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
6931
7847
|
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
6932
7848
|
{
|
|
@@ -11434,7 +12350,17 @@ var zoraSparksManagerImplConfig = {
|
|
|
11434
12350
|
abi: zoraSparksManagerImplABI
|
|
11435
12351
|
};
|
|
11436
12352
|
var zoraTimedSaleStrategyABI = [
|
|
11437
|
-
{
|
|
12353
|
+
{
|
|
12354
|
+
stateMutability: "nonpayable",
|
|
12355
|
+
type: "constructor",
|
|
12356
|
+
inputs: [
|
|
12357
|
+
{
|
|
12358
|
+
name: "_comments",
|
|
12359
|
+
internalType: "contract IComments",
|
|
12360
|
+
type: "address"
|
|
12361
|
+
}
|
|
12362
|
+
]
|
|
12363
|
+
},
|
|
11438
12364
|
{
|
|
11439
12365
|
stateMutability: "view",
|
|
11440
12366
|
type: "function",
|
|
@@ -11483,6 +12409,15 @@ var zoraTimedSaleStrategyABI = [
|
|
|
11483
12409
|
}
|
|
11484
12410
|
]
|
|
11485
12411
|
},
|
|
12412
|
+
{
|
|
12413
|
+
stateMutability: "view",
|
|
12414
|
+
type: "function",
|
|
12415
|
+
inputs: [],
|
|
12416
|
+
name: "comments",
|
|
12417
|
+
outputs: [
|
|
12418
|
+
{ name: "", internalType: "contract IComments", type: "address" }
|
|
12419
|
+
]
|
|
12420
|
+
},
|
|
11486
12421
|
{
|
|
11487
12422
|
stateMutability: "pure",
|
|
11488
12423
|
type: "function",
|
|
@@ -11552,6 +12487,13 @@ var zoraTimedSaleStrategyABI = [
|
|
|
11552
12487
|
{ name: "createReferral", internalType: "address", type: "address" }
|
|
11553
12488
|
]
|
|
11554
12489
|
},
|
|
12490
|
+
{
|
|
12491
|
+
stateMutability: "view",
|
|
12492
|
+
type: "function",
|
|
12493
|
+
inputs: [],
|
|
12494
|
+
name: "implementation",
|
|
12495
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
12496
|
+
},
|
|
11555
12497
|
{
|
|
11556
12498
|
stateMutability: "nonpayable",
|
|
11557
12499
|
type: "function",
|
|
@@ -11909,6 +12851,43 @@ var zoraTimedSaleStrategyABI = [
|
|
|
11909
12851
|
],
|
|
11910
12852
|
name: "MintComment"
|
|
11911
12853
|
},
|
|
12854
|
+
{
|
|
12855
|
+
type: "event",
|
|
12856
|
+
anonymous: false,
|
|
12857
|
+
inputs: [
|
|
12858
|
+
{
|
|
12859
|
+
name: "commentId",
|
|
12860
|
+
internalType: "bytes32",
|
|
12861
|
+
type: "bytes32",
|
|
12862
|
+
indexed: true
|
|
12863
|
+
},
|
|
12864
|
+
{
|
|
12865
|
+
name: "commentIdentifier",
|
|
12866
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
12867
|
+
type: "tuple",
|
|
12868
|
+
components: [
|
|
12869
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
12870
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
12871
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
12872
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
12873
|
+
],
|
|
12874
|
+
indexed: false
|
|
12875
|
+
},
|
|
12876
|
+
{
|
|
12877
|
+
name: "mintQuantity",
|
|
12878
|
+
internalType: "uint256",
|
|
12879
|
+
type: "uint256",
|
|
12880
|
+
indexed: false
|
|
12881
|
+
},
|
|
12882
|
+
{
|
|
12883
|
+
name: "comment",
|
|
12884
|
+
internalType: "string",
|
|
12885
|
+
type: "string",
|
|
12886
|
+
indexed: false
|
|
12887
|
+
}
|
|
12888
|
+
],
|
|
12889
|
+
name: "MintedAndCommented"
|
|
12890
|
+
},
|
|
11912
12891
|
{
|
|
11913
12892
|
type: "event",
|
|
11914
12893
|
anonymous: false,
|
|
@@ -12185,6 +13164,7 @@ var zoraTimedSaleStrategyABI = [
|
|
|
12185
13164
|
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
12186
13165
|
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
12187
13166
|
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
13167
|
+
{ type: "error", inputs: [], name: "NoCodeAtAddress" },
|
|
12188
13168
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
12189
13169
|
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
12190
13170
|
{
|
|
@@ -12251,6 +13231,16 @@ var PremintConfigVersion = /* @__PURE__ */ ((PremintConfigVersion2) => {
|
|
|
12251
13231
|
PremintConfigVersion2["V3"] = "3";
|
|
12252
13232
|
return PremintConfigVersion2;
|
|
12253
13233
|
})(PremintConfigVersion || {});
|
|
13234
|
+
var emptyCommentIdentifier = () => {
|
|
13235
|
+
const zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
13236
|
+
const zeroHash = "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
13237
|
+
return {
|
|
13238
|
+
commenter: zeroAddress,
|
|
13239
|
+
contractAddress: zeroAddress,
|
|
13240
|
+
tokenId: 0n,
|
|
13241
|
+
nonce: zeroHash
|
|
13242
|
+
};
|
|
13243
|
+
};
|
|
12254
13244
|
|
|
12255
13245
|
// src/typedData.ts
|
|
12256
13246
|
var premintTypedDataDomain = ({
|
|
@@ -12880,7 +13870,11 @@ var addresses2 = {
|
|
|
12880
13870
|
// Annotate the CommonJS export names for ESM import in node:
|
|
12881
13871
|
0 && (module.exports = {
|
|
12882
13872
|
PremintConfigVersion,
|
|
13873
|
+
commentsABI,
|
|
13874
|
+
commentsAddress,
|
|
13875
|
+
commentsConfig,
|
|
12883
13876
|
contracts1155,
|
|
13877
|
+
emptyCommentIdentifier,
|
|
12884
13878
|
encodePremintConfig,
|
|
12885
13879
|
erc20MinterABI,
|
|
12886
13880
|
erc20MinterAddress,
|