@zoralabs/protocol-deployments 0.1.3 → 0.1.5-DEV.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/CHANGELOG.md +12 -0
- package/dist/addresses.d.ts +164 -0
- package/dist/addresses.d.ts.map +1 -0
- package/dist/generated/1155.d.ts +8 -0
- package/dist/generated/1155.d.ts.map +1 -1
- package/dist/generated/mints.d.ts +45 -0
- package/dist/generated/mints.d.ts.map +1 -0
- package/dist/generated/wagmi.d.ts +4581 -212
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1655 -155
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1647 -154
- package/dist/index.js.map +1 -1
- package/json/1155.json +13 -5
- package/json/mints.json +46 -0
- package/package.json +7 -6
- package/src/addresses.ts +163 -0
- package/src/generated/1155.ts +13 -5
- package/src/generated/mints.ts +44 -0
- package/src/generated/wagmi.ts +1565 -106
- package/src/index.ts +1 -0
- package/.turbo/turbo-build.log +0 -29
- package/tsconfig.build.json +0 -10
- package/tsup.config.ts +0 -11
- package/wagmi.config.ts +0 -107
package/dist/index.cjs
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
23
|
contracts1155: () => __exports,
|
|
24
|
+
mints: () => mints_exports,
|
|
24
25
|
zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
|
|
25
26
|
zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
|
|
26
27
|
zoraCreator1155FactoryImplConfig: () => zoraCreator1155FactoryImplConfig,
|
|
@@ -36,7 +37,13 @@ __export(src_exports, {
|
|
|
36
37
|
zoraCreatorMerkleMinterStrategyConfig: () => zoraCreatorMerkleMinterStrategyConfig,
|
|
37
38
|
zoraCreatorRedeemMinterFactoryABI: () => zoraCreatorRedeemMinterFactoryABI,
|
|
38
39
|
zoraCreatorRedeemMinterFactoryAddress: () => zoraCreatorRedeemMinterFactoryAddress,
|
|
39
|
-
zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig
|
|
40
|
+
zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig,
|
|
41
|
+
zoraMints1155ABI: () => zoraMints1155ABI,
|
|
42
|
+
zoraMints1155Address: () => zoraMints1155Address,
|
|
43
|
+
zoraMints1155Config: () => zoraMints1155Config,
|
|
44
|
+
zoraMintsManagerImplABI: () => zoraMintsManagerImplABI,
|
|
45
|
+
zoraMintsManagerImplAddress: () => zoraMintsManagerImplAddress,
|
|
46
|
+
zoraMintsManagerImplConfig: () => zoraMintsManagerImplConfig
|
|
40
47
|
});
|
|
41
48
|
module.exports = __toCommonJS(src_exports);
|
|
42
49
|
|
|
@@ -538,7 +545,8 @@ var zoraCreator1155ImplABI = [
|
|
|
538
545
|
inputs: [
|
|
539
546
|
{ name: "_mintFeeRecipient", internalType: "address", type: "address" },
|
|
540
547
|
{ name: "_upgradeGate", internalType: "address", type: "address" },
|
|
541
|
-
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
548
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
549
|
+
{ name: "_mints", internalType: "address", type: "address" }
|
|
542
550
|
]
|
|
543
551
|
},
|
|
544
552
|
{ stateMutability: "payable", type: "receive" },
|
|
@@ -607,18 +615,6 @@ var zoraCreator1155ImplABI = [
|
|
|
607
615
|
name: "adminMint",
|
|
608
616
|
outputs: []
|
|
609
617
|
},
|
|
610
|
-
{
|
|
611
|
-
stateMutability: "nonpayable",
|
|
612
|
-
type: "function",
|
|
613
|
-
inputs: [
|
|
614
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
615
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
616
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
617
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
618
|
-
],
|
|
619
|
-
name: "adminMintBatch",
|
|
620
|
-
outputs: []
|
|
621
|
-
},
|
|
622
618
|
{
|
|
623
619
|
stateMutability: "view",
|
|
624
620
|
type: "function",
|
|
@@ -687,71 +683,10 @@ var zoraCreator1155ImplABI = [
|
|
|
687
683
|
{
|
|
688
684
|
stateMutability: "pure",
|
|
689
685
|
type: "function",
|
|
690
|
-
inputs: [
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
name: "",
|
|
695
|
-
internalType: "struct RewardsSettings",
|
|
696
|
-
type: "tuple",
|
|
697
|
-
components: [
|
|
698
|
-
{ name: "creatorReward", internalType: "uint256", type: "uint256" },
|
|
699
|
-
{
|
|
700
|
-
name: "createReferralReward",
|
|
701
|
-
internalType: "uint256",
|
|
702
|
-
type: "uint256"
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
name: "mintReferralReward",
|
|
706
|
-
internalType: "uint256",
|
|
707
|
-
type: "uint256"
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
name: "firstMinterReward",
|
|
711
|
-
internalType: "uint256",
|
|
712
|
-
type: "uint256"
|
|
713
|
-
},
|
|
714
|
-
{ name: "zoraReward", internalType: "uint256", type: "uint256" }
|
|
715
|
-
]
|
|
716
|
-
}
|
|
717
|
-
]
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
stateMutability: "pure",
|
|
721
|
-
type: "function",
|
|
722
|
-
inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
|
|
723
|
-
name: "computePaidMintRewards",
|
|
724
|
-
outputs: [
|
|
725
|
-
{
|
|
726
|
-
name: "",
|
|
727
|
-
internalType: "struct RewardsSettings",
|
|
728
|
-
type: "tuple",
|
|
729
|
-
components: [
|
|
730
|
-
{ name: "creatorReward", internalType: "uint256", type: "uint256" },
|
|
731
|
-
{
|
|
732
|
-
name: "createReferralReward",
|
|
733
|
-
internalType: "uint256",
|
|
734
|
-
type: "uint256"
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
name: "mintReferralReward",
|
|
738
|
-
internalType: "uint256",
|
|
739
|
-
type: "uint256"
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
name: "firstMinterReward",
|
|
743
|
-
internalType: "uint256",
|
|
744
|
-
type: "uint256"
|
|
745
|
-
},
|
|
746
|
-
{ name: "zoraReward", internalType: "uint256", type: "uint256" }
|
|
747
|
-
]
|
|
748
|
-
}
|
|
749
|
-
]
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
stateMutability: "pure",
|
|
753
|
-
type: "function",
|
|
754
|
-
inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
|
|
686
|
+
inputs: [
|
|
687
|
+
{ name: "mintPrice", internalType: "uint256", type: "uint256" },
|
|
688
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" }
|
|
689
|
+
],
|
|
755
690
|
name: "computeTotalReward",
|
|
756
691
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
757
692
|
},
|
|
@@ -814,7 +749,7 @@ var zoraCreator1155ImplABI = [
|
|
|
814
749
|
{ name: "premintConfig", internalType: "bytes", type: "bytes" },
|
|
815
750
|
{ name: "premintVersion", internalType: "bytes32", type: "bytes32" },
|
|
816
751
|
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
817
|
-
{ name: "
|
|
752
|
+
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
818
753
|
{
|
|
819
754
|
name: "premintSignerContract",
|
|
820
755
|
internalType: "address",
|
|
@@ -989,12 +924,32 @@ var zoraCreator1155ImplABI = [
|
|
|
989
924
|
outputs: []
|
|
990
925
|
},
|
|
991
926
|
{
|
|
992
|
-
stateMutability: "
|
|
927
|
+
stateMutability: "view",
|
|
993
928
|
type: "function",
|
|
994
929
|
inputs: [],
|
|
995
930
|
name: "mintFee",
|
|
996
931
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
997
932
|
},
|
|
933
|
+
{
|
|
934
|
+
stateMutability: "payable",
|
|
935
|
+
type: "function",
|
|
936
|
+
inputs: [
|
|
937
|
+
{ name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
938
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
939
|
+
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
940
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
941
|
+
{
|
|
942
|
+
name: "rewardsRecipients",
|
|
943
|
+
internalType: "address[]",
|
|
944
|
+
type: "address[]"
|
|
945
|
+
},
|
|
946
|
+
{ name: "minterArguments", internalType: "bytes", type: "bytes" }
|
|
947
|
+
],
|
|
948
|
+
name: "mintWithMints",
|
|
949
|
+
outputs: [
|
|
950
|
+
{ name: "quantityMinted", internalType: "uint256", type: "uint256" }
|
|
951
|
+
]
|
|
952
|
+
},
|
|
998
953
|
{
|
|
999
954
|
stateMutability: "payable",
|
|
1000
955
|
type: "function",
|
|
@@ -1029,6 +984,32 @@ var zoraCreator1155ImplABI = [
|
|
|
1029
984
|
name: "nextTokenId",
|
|
1030
985
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1031
986
|
},
|
|
987
|
+
{
|
|
988
|
+
stateMutability: "pure",
|
|
989
|
+
type: "function",
|
|
990
|
+
inputs: [
|
|
991
|
+
{ name: "", internalType: "address", type: "address" },
|
|
992
|
+
{ name: "", internalType: "address", type: "address" },
|
|
993
|
+
{ name: "", internalType: "uint256[]", type: "uint256[]" },
|
|
994
|
+
{ name: "", internalType: "uint256[]", type: "uint256[]" },
|
|
995
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
996
|
+
],
|
|
997
|
+
name: "onERC1155BatchReceived",
|
|
998
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
stateMutability: "pure",
|
|
1002
|
+
type: "function",
|
|
1003
|
+
inputs: [
|
|
1004
|
+
{ name: "", internalType: "address", type: "address" },
|
|
1005
|
+
{ name: "", internalType: "address", type: "address" },
|
|
1006
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1007
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1008
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
1009
|
+
],
|
|
1010
|
+
name: "onERC1155Received",
|
|
1011
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
1012
|
+
},
|
|
1032
1013
|
{
|
|
1033
1014
|
stateMutability: "view",
|
|
1034
1015
|
type: "function",
|
|
@@ -1424,6 +1405,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1424
1405
|
],
|
|
1425
1406
|
name: "ContractRendererUpdated"
|
|
1426
1407
|
},
|
|
1408
|
+
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
1427
1409
|
{
|
|
1428
1410
|
type: "event",
|
|
1429
1411
|
anonymous: false,
|
|
@@ -1822,6 +1804,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1822
1804
|
inputs: [],
|
|
1823
1805
|
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
|
|
1824
1806
|
},
|
|
1807
|
+
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
1825
1808
|
{
|
|
1826
1809
|
type: "error",
|
|
1827
1810
|
inputs: [
|
|
@@ -1852,17 +1835,9 @@ var zoraCreator1155ImplABI = [
|
|
|
1852
1835
|
name: "InvalidMerkleProof"
|
|
1853
1836
|
},
|
|
1854
1837
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
1855
|
-
{
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
{
|
|
1859
|
-
name: "recoverError",
|
|
1860
|
-
internalType: "enum ECDSAUpgradeable.RecoverError",
|
|
1861
|
-
type: "uint8"
|
|
1862
|
-
}
|
|
1863
|
-
],
|
|
1864
|
-
name: "InvalidSignature"
|
|
1865
|
-
},
|
|
1838
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
1839
|
+
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
1840
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
1866
1841
|
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
1867
1842
|
{
|
|
1868
1843
|
type: "error",
|
|
@@ -1871,6 +1846,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1871
1846
|
},
|
|
1872
1847
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
1873
1848
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
1849
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
1874
1850
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
1875
1851
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
1876
1852
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
@@ -1882,6 +1858,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1882
1858
|
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
1883
1859
|
name: "NoRendererForToken"
|
|
1884
1860
|
},
|
|
1861
|
+
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
1885
1862
|
{ type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
|
|
1886
1863
|
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
1887
1864
|
{
|
|
@@ -2118,6 +2095,97 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2118
2095
|
name: "pendingOwner",
|
|
2119
2096
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
2120
2097
|
},
|
|
2098
|
+
{
|
|
2099
|
+
stateMutability: "nonpayable",
|
|
2100
|
+
type: "function",
|
|
2101
|
+
inputs: [
|
|
2102
|
+
{
|
|
2103
|
+
name: "contractConfig",
|
|
2104
|
+
internalType: "struct ContractCreationConfig",
|
|
2105
|
+
type: "tuple",
|
|
2106
|
+
components: [
|
|
2107
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
2108
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
2109
|
+
{ name: "contractName", internalType: "string", type: "string" }
|
|
2110
|
+
]
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
name: "premintConfig",
|
|
2114
|
+
internalType: "struct Erc20PremintConfigV1",
|
|
2115
|
+
type: "tuple",
|
|
2116
|
+
components: [
|
|
2117
|
+
{
|
|
2118
|
+
name: "tokenConfig",
|
|
2119
|
+
internalType: "struct Erc20TokenCreationConfigV1",
|
|
2120
|
+
type: "tuple",
|
|
2121
|
+
components: [
|
|
2122
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
2123
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
2124
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
2125
|
+
{
|
|
2126
|
+
name: "payoutRecipient",
|
|
2127
|
+
internalType: "address",
|
|
2128
|
+
type: "address"
|
|
2129
|
+
},
|
|
2130
|
+
{
|
|
2131
|
+
name: "createReferral",
|
|
2132
|
+
internalType: "address",
|
|
2133
|
+
type: "address"
|
|
2134
|
+
},
|
|
2135
|
+
{ name: "erc20Minter", internalType: "address", type: "address" },
|
|
2136
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
2137
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
2138
|
+
{
|
|
2139
|
+
name: "maxTokensPerAddress",
|
|
2140
|
+
internalType: "uint64",
|
|
2141
|
+
type: "uint64"
|
|
2142
|
+
},
|
|
2143
|
+
{ name: "currency", internalType: "address", type: "address" },
|
|
2144
|
+
{
|
|
2145
|
+
name: "pricePerToken",
|
|
2146
|
+
internalType: "uint256",
|
|
2147
|
+
type: "uint256"
|
|
2148
|
+
}
|
|
2149
|
+
]
|
|
2150
|
+
},
|
|
2151
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
2152
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
2153
|
+
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
2154
|
+
]
|
|
2155
|
+
},
|
|
2156
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
2157
|
+
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2158
|
+
{
|
|
2159
|
+
name: "mintArguments",
|
|
2160
|
+
internalType: "struct MintArguments",
|
|
2161
|
+
type: "tuple",
|
|
2162
|
+
components: [
|
|
2163
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
2164
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
2165
|
+
{
|
|
2166
|
+
name: "mintRewardsRecipients",
|
|
2167
|
+
internalType: "address[]",
|
|
2168
|
+
type: "address[]"
|
|
2169
|
+
}
|
|
2170
|
+
]
|
|
2171
|
+
},
|
|
2172
|
+
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
2173
|
+
{ name: "signerContract", internalType: "address", type: "address" }
|
|
2174
|
+
],
|
|
2175
|
+
name: "premintErc20V1",
|
|
2176
|
+
outputs: [
|
|
2177
|
+
{
|
|
2178
|
+
name: "result",
|
|
2179
|
+
internalType: "struct PremintResult",
|
|
2180
|
+
type: "tuple",
|
|
2181
|
+
components: [
|
|
2182
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2183
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2184
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
2185
|
+
]
|
|
2186
|
+
}
|
|
2187
|
+
]
|
|
2188
|
+
},
|
|
2121
2189
|
{
|
|
2122
2190
|
stateMutability: "view",
|
|
2123
2191
|
type: "function",
|
|
@@ -2192,7 +2260,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2192
2260
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2193
2261
|
{
|
|
2194
2262
|
name: "mintArguments",
|
|
2195
|
-
internalType: "struct
|
|
2263
|
+
internalType: "struct MintArguments",
|
|
2196
2264
|
type: "tuple",
|
|
2197
2265
|
components: [
|
|
2198
2266
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2209,7 +2277,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2209
2277
|
outputs: [
|
|
2210
2278
|
{
|
|
2211
2279
|
name: "result",
|
|
2212
|
-
internalType: "struct
|
|
2280
|
+
internalType: "struct PremintResult",
|
|
2213
2281
|
type: "tuple",
|
|
2214
2282
|
components: [
|
|
2215
2283
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2280,7 +2348,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2280
2348
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2281
2349
|
{
|
|
2282
2350
|
name: "mintArguments",
|
|
2283
|
-
internalType: "struct
|
|
2351
|
+
internalType: "struct MintArguments",
|
|
2284
2352
|
type: "tuple",
|
|
2285
2353
|
components: [
|
|
2286
2354
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2297,7 +2365,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2297
2365
|
outputs: [
|
|
2298
2366
|
{
|
|
2299
2367
|
name: "result",
|
|
2300
|
-
internalType: "struct
|
|
2368
|
+
internalType: "struct PremintResult",
|
|
2301
2369
|
type: "tuple",
|
|
2302
2370
|
components: [
|
|
2303
2371
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2368,7 +2436,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2368
2436
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2369
2437
|
{
|
|
2370
2438
|
name: "mintArguments",
|
|
2371
|
-
internalType: "struct
|
|
2439
|
+
internalType: "struct MintArguments",
|
|
2372
2440
|
type: "tuple",
|
|
2373
2441
|
components: [
|
|
2374
2442
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2380,13 +2448,14 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2380
2448
|
}
|
|
2381
2449
|
]
|
|
2382
2450
|
},
|
|
2451
|
+
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
2383
2452
|
{ name: "signerContract", internalType: "address", type: "address" }
|
|
2384
2453
|
],
|
|
2385
2454
|
name: "premintV2WithSignerContract",
|
|
2386
2455
|
outputs: [
|
|
2387
2456
|
{
|
|
2388
2457
|
name: "result",
|
|
2389
|
-
internalType: "struct
|
|
2458
|
+
internalType: "struct PremintResult",
|
|
2390
2459
|
type: "tuple",
|
|
2391
2460
|
components: [
|
|
2392
2461
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2735,6 +2804,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2735
2804
|
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
2736
2805
|
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
2737
2806
|
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
2807
|
+
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
2738
2808
|
{
|
|
2739
2809
|
type: "error",
|
|
2740
2810
|
inputs: [
|
|
@@ -2753,6 +2823,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2753
2823
|
inputs: [],
|
|
2754
2824
|
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
|
|
2755
2825
|
},
|
|
2826
|
+
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
2756
2827
|
{
|
|
2757
2828
|
type: "error",
|
|
2758
2829
|
inputs: [
|
|
@@ -2784,17 +2855,8 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2784
2855
|
name: "InvalidMerkleProof"
|
|
2785
2856
|
},
|
|
2786
2857
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2787
|
-
{
|
|
2788
|
-
|
|
2789
|
-
inputs: [
|
|
2790
|
-
{
|
|
2791
|
-
name: "recoverError",
|
|
2792
|
-
internalType: "enum ECDSAUpgradeable.RecoverError",
|
|
2793
|
-
type: "uint8"
|
|
2794
|
-
}
|
|
2795
|
-
],
|
|
2796
|
-
name: "InvalidSignature"
|
|
2797
|
-
},
|
|
2858
|
+
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
2859
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
2798
2860
|
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
2799
2861
|
{
|
|
2800
2862
|
type: "error",
|
|
@@ -2803,12 +2865,14 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2803
2865
|
},
|
|
2804
2866
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
2805
2867
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
2868
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
2806
2869
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
2807
2870
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
2808
2871
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
2809
2872
|
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2810
2873
|
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2811
2874
|
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
2875
|
+
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
2812
2876
|
{ type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
|
|
2813
2877
|
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
2814
2878
|
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
@@ -3524,52 +3588,1422 @@ var zoraCreatorRedeemMinterFactoryConfig = {
|
|
|
3524
3588
|
address: zoraCreatorRedeemMinterFactoryAddress,
|
|
3525
3589
|
abi: zoraCreatorRedeemMinterFactoryABI
|
|
3526
3590
|
};
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
"1": {
|
|
3536
|
-
"FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
|
|
3537
|
-
"MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
|
|
3538
|
-
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
3539
|
-
},
|
|
3540
|
-
"10": {
|
|
3541
|
-
"FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
|
|
3542
|
-
"MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
|
|
3543
|
-
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
3591
|
+
var zoraMints1155ABI = [
|
|
3592
|
+
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
3593
|
+
{
|
|
3594
|
+
stateMutability: "view",
|
|
3595
|
+
type: "function",
|
|
3596
|
+
inputs: [],
|
|
3597
|
+
name: "ETH_ADDRESS",
|
|
3598
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3544
3599
|
},
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3600
|
+
{
|
|
3601
|
+
stateMutability: "view",
|
|
3602
|
+
type: "function",
|
|
3603
|
+
inputs: [],
|
|
3604
|
+
name: "MINIMUM_ERC20_PRICE",
|
|
3605
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3549
3606
|
},
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3607
|
+
{
|
|
3608
|
+
stateMutability: "view",
|
|
3609
|
+
type: "function",
|
|
3610
|
+
inputs: [],
|
|
3611
|
+
name: "MINIMUM_ETH_PRICE",
|
|
3612
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3554
3613
|
},
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3614
|
+
{
|
|
3615
|
+
stateMutability: "view",
|
|
3616
|
+
type: "function",
|
|
3617
|
+
inputs: [],
|
|
3618
|
+
name: "authority",
|
|
3619
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3559
3620
|
},
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3621
|
+
{
|
|
3622
|
+
stateMutability: "view",
|
|
3623
|
+
type: "function",
|
|
3624
|
+
inputs: [
|
|
3625
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
3626
|
+
{ name: "id", internalType: "uint256", type: "uint256" }
|
|
3627
|
+
],
|
|
3628
|
+
name: "balanceOf",
|
|
3629
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3564
3630
|
},
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
"
|
|
3631
|
+
{
|
|
3632
|
+
stateMutability: "view",
|
|
3633
|
+
type: "function",
|
|
3634
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
3635
|
+
name: "balanceOfAccount",
|
|
3636
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3569
3637
|
},
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3638
|
+
{
|
|
3639
|
+
stateMutability: "view",
|
|
3640
|
+
type: "function",
|
|
3641
|
+
inputs: [
|
|
3642
|
+
{ name: "accounts", internalType: "address[]", type: "address[]" },
|
|
3643
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" }
|
|
3644
|
+
],
|
|
3645
|
+
name: "balanceOfBatch",
|
|
3646
|
+
outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }]
|
|
3647
|
+
},
|
|
3648
|
+
{
|
|
3649
|
+
stateMutability: "view",
|
|
3650
|
+
type: "function",
|
|
3651
|
+
inputs: [],
|
|
3652
|
+
name: "contractURI",
|
|
3653
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3654
|
+
},
|
|
3655
|
+
{
|
|
3656
|
+
stateMutability: "pure",
|
|
3657
|
+
type: "function",
|
|
3658
|
+
inputs: [],
|
|
3659
|
+
name: "contractVersion",
|
|
3660
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3661
|
+
},
|
|
3662
|
+
{
|
|
3663
|
+
stateMutability: "nonpayable",
|
|
3664
|
+
type: "function",
|
|
3665
|
+
inputs: [
|
|
3666
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3667
|
+
{
|
|
3668
|
+
name: "tokenConfig",
|
|
3669
|
+
internalType: "struct TokenConfig",
|
|
3670
|
+
type: "tuple",
|
|
3671
|
+
components: [
|
|
3672
|
+
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
3673
|
+
{ name: "tokenAddress", internalType: "address", type: "address" }
|
|
3674
|
+
]
|
|
3675
|
+
}
|
|
3676
|
+
],
|
|
3677
|
+
name: "createToken",
|
|
3678
|
+
outputs: []
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
stateMutability: "view",
|
|
3682
|
+
type: "function",
|
|
3683
|
+
inputs: [],
|
|
3684
|
+
name: "getManager",
|
|
3685
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3686
|
+
},
|
|
3687
|
+
{
|
|
3688
|
+
stateMutability: "view",
|
|
3689
|
+
type: "function",
|
|
3690
|
+
inputs: [],
|
|
3691
|
+
name: "getMsgSender",
|
|
3692
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3693
|
+
},
|
|
3694
|
+
{
|
|
3695
|
+
stateMutability: "view",
|
|
3696
|
+
type: "function",
|
|
3697
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
3698
|
+
name: "getTokenConfig",
|
|
3699
|
+
outputs: [
|
|
3700
|
+
{
|
|
3701
|
+
name: "",
|
|
3702
|
+
internalType: "struct TokenConfig",
|
|
3703
|
+
type: "tuple",
|
|
3704
|
+
components: [
|
|
3705
|
+
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
3706
|
+
{ name: "tokenAddress", internalType: "address", type: "address" }
|
|
3707
|
+
]
|
|
3708
|
+
}
|
|
3709
|
+
]
|
|
3710
|
+
},
|
|
3711
|
+
{
|
|
3712
|
+
stateMutability: "view",
|
|
3713
|
+
type: "function",
|
|
3714
|
+
inputs: [
|
|
3715
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
3716
|
+
{ name: "operator", internalType: "address", type: "address" }
|
|
3717
|
+
],
|
|
3718
|
+
name: "isApprovedForAll",
|
|
3719
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
stateMutability: "view",
|
|
3723
|
+
type: "function",
|
|
3724
|
+
inputs: [],
|
|
3725
|
+
name: "isConsumingScheduledOp",
|
|
3726
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
3727
|
+
},
|
|
3728
|
+
{
|
|
3729
|
+
stateMutability: "nonpayable",
|
|
3730
|
+
type: "function",
|
|
3731
|
+
inputs: [
|
|
3732
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3733
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
3734
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
3735
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
3736
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
3737
|
+
],
|
|
3738
|
+
name: "mintTokenWithERC20",
|
|
3739
|
+
outputs: []
|
|
3740
|
+
},
|
|
3741
|
+
{
|
|
3742
|
+
stateMutability: "payable",
|
|
3743
|
+
type: "function",
|
|
3744
|
+
inputs: [
|
|
3745
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3746
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
3747
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
3748
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
3749
|
+
],
|
|
3750
|
+
name: "mintTokenWithEth",
|
|
3751
|
+
outputs: []
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
stateMutability: "pure",
|
|
3755
|
+
type: "function",
|
|
3756
|
+
inputs: [],
|
|
3757
|
+
name: "name",
|
|
3758
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
stateMutability: "nonpayable",
|
|
3762
|
+
type: "function",
|
|
3763
|
+
inputs: [
|
|
3764
|
+
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
3765
|
+
{ name: "newBaseURI", internalType: "string", type: "string" }
|
|
3766
|
+
],
|
|
3767
|
+
name: "notifyURIsUpdated",
|
|
3768
|
+
outputs: []
|
|
3769
|
+
},
|
|
3770
|
+
{
|
|
3771
|
+
stateMutability: "nonpayable",
|
|
3772
|
+
type: "function",
|
|
3773
|
+
inputs: [
|
|
3774
|
+
{ name: "newUri", internalType: "string", type: "string" },
|
|
3775
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
3776
|
+
],
|
|
3777
|
+
name: "notifyUpdatedTokenURI",
|
|
3778
|
+
outputs: []
|
|
3779
|
+
},
|
|
3780
|
+
{
|
|
3781
|
+
stateMutability: "nonpayable",
|
|
3782
|
+
type: "function",
|
|
3783
|
+
inputs: [
|
|
3784
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3785
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
3786
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
3787
|
+
],
|
|
3788
|
+
name: "redeem",
|
|
3789
|
+
outputs: [
|
|
3790
|
+
{
|
|
3791
|
+
name: "",
|
|
3792
|
+
internalType: "struct Redemption",
|
|
3793
|
+
type: "tuple",
|
|
3794
|
+
components: [
|
|
3795
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
3796
|
+
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
3797
|
+
]
|
|
3798
|
+
}
|
|
3799
|
+
]
|
|
3800
|
+
},
|
|
3801
|
+
{
|
|
3802
|
+
stateMutability: "nonpayable",
|
|
3803
|
+
type: "function",
|
|
3804
|
+
inputs: [
|
|
3805
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
3806
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
3807
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
3808
|
+
],
|
|
3809
|
+
name: "redeemBatch",
|
|
3810
|
+
outputs: [
|
|
3811
|
+
{
|
|
3812
|
+
name: "redemptions",
|
|
3813
|
+
internalType: "struct Redemption[]",
|
|
3814
|
+
type: "tuple[]",
|
|
3815
|
+
components: [
|
|
3816
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
3817
|
+
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
3818
|
+
]
|
|
3819
|
+
}
|
|
3820
|
+
]
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
stateMutability: "nonpayable",
|
|
3824
|
+
type: "function",
|
|
3825
|
+
inputs: [
|
|
3826
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
3827
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
3828
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
3829
|
+
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
3830
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
3831
|
+
],
|
|
3832
|
+
name: "safeBatchTransferFrom",
|
|
3833
|
+
outputs: []
|
|
3834
|
+
},
|
|
3835
|
+
{
|
|
3836
|
+
stateMutability: "nonpayable",
|
|
3837
|
+
type: "function",
|
|
3838
|
+
inputs: [
|
|
3839
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
3840
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
3841
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
3842
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
3843
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
3844
|
+
],
|
|
3845
|
+
name: "safeTransferFrom",
|
|
3846
|
+
outputs: []
|
|
3847
|
+
},
|
|
3848
|
+
{
|
|
3849
|
+
stateMutability: "nonpayable",
|
|
3850
|
+
type: "function",
|
|
3851
|
+
inputs: [
|
|
3852
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
3853
|
+
{ name: "approved", internalType: "bool", type: "bool" }
|
|
3854
|
+
],
|
|
3855
|
+
name: "setApprovalForAll",
|
|
3856
|
+
outputs: []
|
|
3857
|
+
},
|
|
3858
|
+
{
|
|
3859
|
+
stateMutability: "nonpayable",
|
|
3860
|
+
type: "function",
|
|
3861
|
+
inputs: [
|
|
3862
|
+
{ name: "newAuthority", internalType: "address", type: "address" }
|
|
3863
|
+
],
|
|
3864
|
+
name: "setAuthority",
|
|
3865
|
+
outputs: []
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
stateMutability: "view",
|
|
3869
|
+
type: "function",
|
|
3870
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
3871
|
+
name: "supportsInterface",
|
|
3872
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3873
|
+
},
|
|
3874
|
+
{
|
|
3875
|
+
stateMutability: "pure",
|
|
3876
|
+
type: "function",
|
|
3877
|
+
inputs: [],
|
|
3878
|
+
name: "symbol",
|
|
3879
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3880
|
+
},
|
|
3881
|
+
{
|
|
3882
|
+
stateMutability: "view",
|
|
3883
|
+
type: "function",
|
|
3884
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
3885
|
+
name: "tokenExists",
|
|
3886
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3887
|
+
},
|
|
3888
|
+
{
|
|
3889
|
+
stateMutability: "view",
|
|
3890
|
+
type: "function",
|
|
3891
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
3892
|
+
name: "tokenPrice",
|
|
3893
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3894
|
+
},
|
|
3895
|
+
{
|
|
3896
|
+
stateMutability: "payable",
|
|
3897
|
+
type: "function",
|
|
3898
|
+
inputs: [
|
|
3899
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
3900
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
3901
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
3902
|
+
{ name: "call", internalType: "bytes", type: "bytes" }
|
|
3903
|
+
],
|
|
3904
|
+
name: "transferBatchToManagerAndCall",
|
|
3905
|
+
outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }]
|
|
3906
|
+
},
|
|
3907
|
+
{
|
|
3908
|
+
stateMutability: "view",
|
|
3909
|
+
type: "function",
|
|
3910
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
3911
|
+
name: "uri",
|
|
3912
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3913
|
+
},
|
|
3914
|
+
{
|
|
3915
|
+
type: "event",
|
|
3916
|
+
anonymous: false,
|
|
3917
|
+
inputs: [
|
|
3918
|
+
{
|
|
3919
|
+
name: "account",
|
|
3920
|
+
internalType: "address",
|
|
3921
|
+
type: "address",
|
|
3922
|
+
indexed: true
|
|
3923
|
+
},
|
|
3924
|
+
{
|
|
3925
|
+
name: "operator",
|
|
3926
|
+
internalType: "address",
|
|
3927
|
+
type: "address",
|
|
3928
|
+
indexed: true
|
|
3929
|
+
},
|
|
3930
|
+
{ name: "approved", internalType: "bool", type: "bool", indexed: false }
|
|
3931
|
+
],
|
|
3932
|
+
name: "ApprovalForAll"
|
|
3933
|
+
},
|
|
3934
|
+
{
|
|
3935
|
+
type: "event",
|
|
3936
|
+
anonymous: false,
|
|
3937
|
+
inputs: [
|
|
3938
|
+
{
|
|
3939
|
+
name: "authority",
|
|
3940
|
+
internalType: "address",
|
|
3941
|
+
type: "address",
|
|
3942
|
+
indexed: false
|
|
3943
|
+
}
|
|
3944
|
+
],
|
|
3945
|
+
name: "AuthorityUpdated"
|
|
3946
|
+
},
|
|
3947
|
+
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
3948
|
+
{
|
|
3949
|
+
type: "event",
|
|
3950
|
+
anonymous: false,
|
|
3951
|
+
inputs: [
|
|
3952
|
+
{
|
|
3953
|
+
name: "tokenId",
|
|
3954
|
+
internalType: "uint256",
|
|
3955
|
+
type: "uint256",
|
|
3956
|
+
indexed: true
|
|
3957
|
+
}
|
|
3958
|
+
],
|
|
3959
|
+
name: "EthMintableTokenSet"
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
type: "event",
|
|
3963
|
+
anonymous: false,
|
|
3964
|
+
inputs: [
|
|
3965
|
+
{
|
|
3966
|
+
name: "tokenId",
|
|
3967
|
+
internalType: "uint256",
|
|
3968
|
+
type: "uint256",
|
|
3969
|
+
indexed: true
|
|
3970
|
+
},
|
|
3971
|
+
{
|
|
3972
|
+
name: "pricePerToken",
|
|
3973
|
+
internalType: "uint256",
|
|
3974
|
+
type: "uint256",
|
|
3975
|
+
indexed: true
|
|
3976
|
+
}
|
|
3977
|
+
],
|
|
3978
|
+
name: "EthTokenCreated"
|
|
3979
|
+
},
|
|
3980
|
+
{
|
|
3981
|
+
type: "event",
|
|
3982
|
+
anonymous: false,
|
|
3983
|
+
inputs: [
|
|
3984
|
+
{
|
|
3985
|
+
name: "tokenIds",
|
|
3986
|
+
internalType: "uint256[]",
|
|
3987
|
+
type: "uint256[]",
|
|
3988
|
+
indexed: false
|
|
3989
|
+
},
|
|
3990
|
+
{
|
|
3991
|
+
name: "quantities",
|
|
3992
|
+
internalType: "uint256[]",
|
|
3993
|
+
type: "uint256[]",
|
|
3994
|
+
indexed: false
|
|
3995
|
+
},
|
|
3996
|
+
{
|
|
3997
|
+
name: "recipient",
|
|
3998
|
+
internalType: "address",
|
|
3999
|
+
type: "address",
|
|
4000
|
+
indexed: false
|
|
4001
|
+
}
|
|
4002
|
+
],
|
|
4003
|
+
name: "RedeemedBatch"
|
|
4004
|
+
},
|
|
4005
|
+
{
|
|
4006
|
+
type: "event",
|
|
4007
|
+
anonymous: false,
|
|
4008
|
+
inputs: [
|
|
4009
|
+
{
|
|
4010
|
+
name: "tokenId",
|
|
4011
|
+
internalType: "uint256",
|
|
4012
|
+
type: "uint256",
|
|
4013
|
+
indexed: true
|
|
4014
|
+
},
|
|
4015
|
+
{
|
|
4016
|
+
name: "tokenConfig",
|
|
4017
|
+
internalType: "struct TokenConfig",
|
|
4018
|
+
type: "tuple",
|
|
4019
|
+
components: [
|
|
4020
|
+
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
4021
|
+
{ name: "tokenAddress", internalType: "address", type: "address" }
|
|
4022
|
+
],
|
|
4023
|
+
indexed: true
|
|
4024
|
+
}
|
|
4025
|
+
],
|
|
4026
|
+
name: "TokenCreated"
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
type: "event",
|
|
4030
|
+
anonymous: false,
|
|
4031
|
+
inputs: [
|
|
4032
|
+
{
|
|
4033
|
+
name: "operator",
|
|
4034
|
+
internalType: "address",
|
|
4035
|
+
type: "address",
|
|
4036
|
+
indexed: true
|
|
4037
|
+
},
|
|
4038
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
4039
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
4040
|
+
{
|
|
4041
|
+
name: "ids",
|
|
4042
|
+
internalType: "uint256[]",
|
|
4043
|
+
type: "uint256[]",
|
|
4044
|
+
indexed: false
|
|
4045
|
+
},
|
|
4046
|
+
{
|
|
4047
|
+
name: "values",
|
|
4048
|
+
internalType: "uint256[]",
|
|
4049
|
+
type: "uint256[]",
|
|
4050
|
+
indexed: false
|
|
4051
|
+
}
|
|
4052
|
+
],
|
|
4053
|
+
name: "TransferBatch"
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
type: "event",
|
|
4057
|
+
anonymous: false,
|
|
4058
|
+
inputs: [
|
|
4059
|
+
{
|
|
4060
|
+
name: "operator",
|
|
4061
|
+
internalType: "address",
|
|
4062
|
+
type: "address",
|
|
4063
|
+
indexed: true
|
|
4064
|
+
},
|
|
4065
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
4066
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
4067
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: false },
|
|
4068
|
+
{
|
|
4069
|
+
name: "value",
|
|
4070
|
+
internalType: "uint256",
|
|
4071
|
+
type: "uint256",
|
|
4072
|
+
indexed: false
|
|
4073
|
+
}
|
|
4074
|
+
],
|
|
4075
|
+
name: "TransferSingle"
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
type: "event",
|
|
4079
|
+
anonymous: false,
|
|
4080
|
+
inputs: [
|
|
4081
|
+
{ name: "value", internalType: "string", type: "string", indexed: false },
|
|
4082
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: true }
|
|
4083
|
+
],
|
|
4084
|
+
name: "URI"
|
|
4085
|
+
},
|
|
4086
|
+
{
|
|
4087
|
+
type: "event",
|
|
4088
|
+
anonymous: false,
|
|
4089
|
+
inputs: [
|
|
4090
|
+
{
|
|
4091
|
+
name: "contractURI",
|
|
4092
|
+
internalType: "string",
|
|
4093
|
+
type: "string",
|
|
4094
|
+
indexed: false
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
name: "baseURI",
|
|
4098
|
+
internalType: "string",
|
|
4099
|
+
type: "string",
|
|
4100
|
+
indexed: false
|
|
4101
|
+
}
|
|
4102
|
+
],
|
|
4103
|
+
name: "URIsUpdated"
|
|
4104
|
+
},
|
|
4105
|
+
{
|
|
4106
|
+
type: "error",
|
|
4107
|
+
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
4108
|
+
name: "AccessManagedInvalidAuthority"
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
type: "error",
|
|
4112
|
+
inputs: [
|
|
4113
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
4114
|
+
{ name: "delay", internalType: "uint32", type: "uint32" }
|
|
4115
|
+
],
|
|
4116
|
+
name: "AccessManagedRequiredDelay"
|
|
4117
|
+
},
|
|
4118
|
+
{
|
|
4119
|
+
type: "error",
|
|
4120
|
+
inputs: [{ name: "caller", internalType: "address", type: "address" }],
|
|
4121
|
+
name: "AccessManagedUnauthorized"
|
|
4122
|
+
},
|
|
4123
|
+
{
|
|
4124
|
+
type: "error",
|
|
4125
|
+
inputs: [
|
|
4126
|
+
{ name: "lengthA", internalType: "uint256", type: "uint256" },
|
|
4127
|
+
{ name: "lengthB", internalType: "uint256", type: "uint256" }
|
|
4128
|
+
],
|
|
4129
|
+
name: "ArrayLengthMismatch"
|
|
4130
|
+
},
|
|
4131
|
+
{
|
|
4132
|
+
type: "error",
|
|
4133
|
+
inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
|
|
4134
|
+
name: "CallFailed"
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
type: "error",
|
|
4138
|
+
inputs: [
|
|
4139
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
4140
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
4141
|
+
{ name: "needed", internalType: "uint256", type: "uint256" },
|
|
4142
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
4143
|
+
],
|
|
4144
|
+
name: "ERC1155InsufficientBalance"
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
type: "error",
|
|
4148
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
4149
|
+
name: "ERC1155InvalidApprover"
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
type: "error",
|
|
4153
|
+
inputs: [
|
|
4154
|
+
{ name: "idsLength", internalType: "uint256", type: "uint256" },
|
|
4155
|
+
{ name: "valuesLength", internalType: "uint256", type: "uint256" }
|
|
4156
|
+
],
|
|
4157
|
+
name: "ERC1155InvalidArrayLength"
|
|
4158
|
+
},
|
|
4159
|
+
{
|
|
4160
|
+
type: "error",
|
|
4161
|
+
inputs: [{ name: "operator", internalType: "address", type: "address" }],
|
|
4162
|
+
name: "ERC1155InvalidOperator"
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
type: "error",
|
|
4166
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
4167
|
+
name: "ERC1155InvalidReceiver"
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
type: "error",
|
|
4171
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
4172
|
+
name: "ERC1155InvalidSender"
|
|
4173
|
+
},
|
|
4174
|
+
{
|
|
4175
|
+
type: "error",
|
|
4176
|
+
inputs: [
|
|
4177
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
4178
|
+
{ name: "owner", internalType: "address", type: "address" }
|
|
4179
|
+
],
|
|
4180
|
+
name: "ERC1155MissingApprovalForAll"
|
|
4181
|
+
},
|
|
4182
|
+
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
4183
|
+
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
4184
|
+
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
4185
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
4186
|
+
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
4187
|
+
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
4188
|
+
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
4189
|
+
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
4190
|
+
{
|
|
4191
|
+
type: "error",
|
|
4192
|
+
inputs: [
|
|
4193
|
+
{ name: "storedTokenAddress", internalType: "address", type: "address" },
|
|
4194
|
+
{
|
|
4195
|
+
name: "expectedTokenAddress",
|
|
4196
|
+
internalType: "address",
|
|
4197
|
+
type: "address"
|
|
4198
|
+
}
|
|
4199
|
+
],
|
|
4200
|
+
name: "TokenMismatch"
|
|
4201
|
+
},
|
|
4202
|
+
{ type: "error", inputs: [], name: "TokenNotMintable" }
|
|
4203
|
+
];
|
|
4204
|
+
var zoraMints1155Address = {
|
|
4205
|
+
999999999: "0x777777772b3123825eE55F3C45b6CbFd1631aBE1"
|
|
4206
|
+
};
|
|
4207
|
+
var zoraMints1155Config = {
|
|
4208
|
+
address: zoraMints1155Address,
|
|
4209
|
+
abi: zoraMints1155ABI
|
|
4210
|
+
};
|
|
4211
|
+
var zoraMintsManagerImplABI = [
|
|
4212
|
+
{
|
|
4213
|
+
stateMutability: "nonpayable",
|
|
4214
|
+
type: "constructor",
|
|
4215
|
+
inputs: [
|
|
4216
|
+
{
|
|
4217
|
+
name: "_premintExecutor",
|
|
4218
|
+
internalType: "contract IZoraCreator1155PremintExecutorV2",
|
|
4219
|
+
type: "address"
|
|
4220
|
+
}
|
|
4221
|
+
]
|
|
4222
|
+
},
|
|
4223
|
+
{
|
|
4224
|
+
stateMutability: "view",
|
|
4225
|
+
type: "function",
|
|
4226
|
+
inputs: [],
|
|
4227
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
4228
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
4229
|
+
},
|
|
4230
|
+
{
|
|
4231
|
+
stateMutability: "nonpayable",
|
|
4232
|
+
type: "function",
|
|
4233
|
+
inputs: [],
|
|
4234
|
+
name: "acceptOwnership",
|
|
4235
|
+
outputs: []
|
|
4236
|
+
},
|
|
4237
|
+
{
|
|
4238
|
+
stateMutability: "view",
|
|
4239
|
+
type: "function",
|
|
4240
|
+
inputs: [
|
|
4241
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
4242
|
+
{ name: "", internalType: "address", type: "address" },
|
|
4243
|
+
{ name: "", internalType: "bytes4", type: "bytes4" }
|
|
4244
|
+
],
|
|
4245
|
+
name: "canCall",
|
|
4246
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
stateMutability: "payable",
|
|
4250
|
+
type: "function",
|
|
4251
|
+
inputs: [
|
|
4252
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
4253
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
4254
|
+
{
|
|
4255
|
+
name: "zoraCreator1155Contract",
|
|
4256
|
+
internalType: "contract IMintWithMints",
|
|
4257
|
+
type: "address"
|
|
4258
|
+
},
|
|
4259
|
+
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
4260
|
+
{
|
|
4261
|
+
name: "zoraCreator1155TokenId",
|
|
4262
|
+
internalType: "uint256",
|
|
4263
|
+
type: "uint256"
|
|
4264
|
+
},
|
|
4265
|
+
{
|
|
4266
|
+
name: "mintArguments",
|
|
4267
|
+
internalType: "struct MintArguments",
|
|
4268
|
+
type: "tuple",
|
|
4269
|
+
components: [
|
|
4270
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
4271
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
4272
|
+
{
|
|
4273
|
+
name: "mintRewardsRecipients",
|
|
4274
|
+
internalType: "address[]",
|
|
4275
|
+
type: "address[]"
|
|
4276
|
+
}
|
|
4277
|
+
]
|
|
4278
|
+
}
|
|
4279
|
+
],
|
|
4280
|
+
name: "collect",
|
|
4281
|
+
outputs: []
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
stateMutability: "payable",
|
|
4285
|
+
type: "function",
|
|
4286
|
+
inputs: [
|
|
4287
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
4288
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
4289
|
+
{
|
|
4290
|
+
name: "contractConfig",
|
|
4291
|
+
internalType: "struct ContractCreationConfig",
|
|
4292
|
+
type: "tuple",
|
|
4293
|
+
components: [
|
|
4294
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
4295
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
4296
|
+
{ name: "contractName", internalType: "string", type: "string" }
|
|
4297
|
+
]
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
name: "premintConfig",
|
|
4301
|
+
internalType: "struct PremintConfigV2",
|
|
4302
|
+
type: "tuple",
|
|
4303
|
+
components: [
|
|
4304
|
+
{
|
|
4305
|
+
name: "tokenConfig",
|
|
4306
|
+
internalType: "struct TokenCreationConfigV2",
|
|
4307
|
+
type: "tuple",
|
|
4308
|
+
components: [
|
|
4309
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
4310
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
4311
|
+
{
|
|
4312
|
+
name: "maxTokensPerAddress",
|
|
4313
|
+
internalType: "uint64",
|
|
4314
|
+
type: "uint64"
|
|
4315
|
+
},
|
|
4316
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
4317
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
4318
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
4319
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
4320
|
+
{
|
|
4321
|
+
name: "payoutRecipient",
|
|
4322
|
+
internalType: "address",
|
|
4323
|
+
type: "address"
|
|
4324
|
+
},
|
|
4325
|
+
{
|
|
4326
|
+
name: "fixedPriceMinter",
|
|
4327
|
+
internalType: "address",
|
|
4328
|
+
type: "address"
|
|
4329
|
+
},
|
|
4330
|
+
{
|
|
4331
|
+
name: "createReferral",
|
|
4332
|
+
internalType: "address",
|
|
4333
|
+
type: "address"
|
|
4334
|
+
}
|
|
4335
|
+
]
|
|
4336
|
+
},
|
|
4337
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
4338
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
4339
|
+
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
4340
|
+
]
|
|
4341
|
+
},
|
|
4342
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
4343
|
+
{
|
|
4344
|
+
name: "mintArguments",
|
|
4345
|
+
internalType: "struct MintArguments",
|
|
4346
|
+
type: "tuple",
|
|
4347
|
+
components: [
|
|
4348
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
4349
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
4350
|
+
{
|
|
4351
|
+
name: "mintRewardsRecipients",
|
|
4352
|
+
internalType: "address[]",
|
|
4353
|
+
type: "address[]"
|
|
4354
|
+
}
|
|
4355
|
+
]
|
|
4356
|
+
},
|
|
4357
|
+
{ name: "signerContract", internalType: "address", type: "address" }
|
|
4358
|
+
],
|
|
4359
|
+
name: "collectPremintV2",
|
|
4360
|
+
outputs: [
|
|
4361
|
+
{
|
|
4362
|
+
name: "result",
|
|
4363
|
+
internalType: "struct PremintResult",
|
|
4364
|
+
type: "tuple",
|
|
4365
|
+
components: [
|
|
4366
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
4367
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
4368
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
4369
|
+
]
|
|
4370
|
+
}
|
|
4371
|
+
]
|
|
4372
|
+
},
|
|
4373
|
+
{
|
|
4374
|
+
stateMutability: "pure",
|
|
4375
|
+
type: "function",
|
|
4376
|
+
inputs: [],
|
|
4377
|
+
name: "contractName",
|
|
4378
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
4379
|
+
},
|
|
4380
|
+
{
|
|
4381
|
+
stateMutability: "view",
|
|
4382
|
+
type: "function",
|
|
4383
|
+
inputs: [],
|
|
4384
|
+
name: "contractURI",
|
|
4385
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
4386
|
+
},
|
|
4387
|
+
{
|
|
4388
|
+
stateMutability: "pure",
|
|
4389
|
+
type: "function",
|
|
4390
|
+
inputs: [],
|
|
4391
|
+
name: "contractVersion",
|
|
4392
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
stateMutability: "nonpayable",
|
|
4396
|
+
type: "function",
|
|
4397
|
+
inputs: [
|
|
4398
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
4399
|
+
{
|
|
4400
|
+
name: "tokenConfig",
|
|
4401
|
+
internalType: "struct TokenConfig",
|
|
4402
|
+
type: "tuple",
|
|
4403
|
+
components: [
|
|
4404
|
+
{ name: "price", internalType: "uint256", type: "uint256" },
|
|
4405
|
+
{ name: "tokenAddress", internalType: "address", type: "address" }
|
|
4406
|
+
]
|
|
4407
|
+
}
|
|
4408
|
+
],
|
|
4409
|
+
name: "createToken",
|
|
4410
|
+
outputs: []
|
|
4411
|
+
},
|
|
4412
|
+
{
|
|
4413
|
+
stateMutability: "view",
|
|
4414
|
+
type: "function",
|
|
4415
|
+
inputs: [],
|
|
4416
|
+
name: "getEthPrice",
|
|
4417
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
stateMutability: "view",
|
|
4421
|
+
type: "function",
|
|
4422
|
+
inputs: [],
|
|
4423
|
+
name: "implementation",
|
|
4424
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
4425
|
+
},
|
|
4426
|
+
{
|
|
4427
|
+
stateMutability: "nonpayable",
|
|
4428
|
+
type: "function",
|
|
4429
|
+
inputs: [
|
|
4430
|
+
{ name: "defaultOwner", internalType: "address", type: "address" },
|
|
4431
|
+
{ name: "zoraMintsSalt", internalType: "bytes32", type: "bytes32" },
|
|
4432
|
+
{ name: "zoraMintsCreationCode", internalType: "bytes", type: "bytes" },
|
|
4433
|
+
{ name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
|
|
4434
|
+
{
|
|
4435
|
+
name: "initialEthTokenPrice",
|
|
4436
|
+
internalType: "uint256",
|
|
4437
|
+
type: "uint256"
|
|
4438
|
+
},
|
|
4439
|
+
{ name: "newBaseURI", internalType: "string", type: "string" },
|
|
4440
|
+
{ name: "newContractURI", internalType: "string", type: "string" }
|
|
4441
|
+
],
|
|
4442
|
+
name: "initialize",
|
|
4443
|
+
outputs: [
|
|
4444
|
+
{
|
|
4445
|
+
name: "mints",
|
|
4446
|
+
internalType: "contract IZoraMints1155",
|
|
4447
|
+
type: "address"
|
|
4448
|
+
}
|
|
4449
|
+
]
|
|
4450
|
+
},
|
|
4451
|
+
{
|
|
4452
|
+
stateMutability: "nonpayable",
|
|
4453
|
+
type: "function",
|
|
4454
|
+
inputs: [
|
|
4455
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
4456
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
4457
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
4458
|
+
],
|
|
4459
|
+
name: "mintWithERC20",
|
|
4460
|
+
outputs: [
|
|
4461
|
+
{ name: "mintableTokenId", internalType: "uint256", type: "uint256" }
|
|
4462
|
+
]
|
|
4463
|
+
},
|
|
4464
|
+
{
|
|
4465
|
+
stateMutability: "payable",
|
|
4466
|
+
type: "function",
|
|
4467
|
+
inputs: [
|
|
4468
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
4469
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
4470
|
+
],
|
|
4471
|
+
name: "mintWithEth",
|
|
4472
|
+
outputs: [
|
|
4473
|
+
{ name: "mintableTokenId", internalType: "uint256", type: "uint256" }
|
|
4474
|
+
]
|
|
4475
|
+
},
|
|
4476
|
+
{
|
|
4477
|
+
stateMutability: "view",
|
|
4478
|
+
type: "function",
|
|
4479
|
+
inputs: [],
|
|
4480
|
+
name: "mintableEthToken",
|
|
4481
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
4482
|
+
},
|
|
4483
|
+
{
|
|
4484
|
+
stateMutability: "pure",
|
|
4485
|
+
type: "function",
|
|
4486
|
+
inputs: [
|
|
4487
|
+
{ name: "", internalType: "address", type: "address" },
|
|
4488
|
+
{ name: "", internalType: "address", type: "address" },
|
|
4489
|
+
{ name: "", internalType: "uint256[]", type: "uint256[]" },
|
|
4490
|
+
{ name: "", internalType: "uint256[]", type: "uint256[]" },
|
|
4491
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
4492
|
+
],
|
|
4493
|
+
name: "onERC1155BatchReceived",
|
|
4494
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
4495
|
+
},
|
|
4496
|
+
{
|
|
4497
|
+
stateMutability: "pure",
|
|
4498
|
+
type: "function",
|
|
4499
|
+
inputs: [
|
|
4500
|
+
{ name: "", internalType: "address", type: "address" },
|
|
4501
|
+
{ name: "", internalType: "address", type: "address" },
|
|
4502
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
4503
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
4504
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
4505
|
+
],
|
|
4506
|
+
name: "onERC1155Received",
|
|
4507
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
4508
|
+
},
|
|
4509
|
+
{
|
|
4510
|
+
stateMutability: "view",
|
|
4511
|
+
type: "function",
|
|
4512
|
+
inputs: [],
|
|
4513
|
+
name: "owner",
|
|
4514
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
4515
|
+
},
|
|
4516
|
+
{
|
|
4517
|
+
stateMutability: "view",
|
|
4518
|
+
type: "function",
|
|
4519
|
+
inputs: [],
|
|
4520
|
+
name: "pendingOwner",
|
|
4521
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
4522
|
+
},
|
|
4523
|
+
{
|
|
4524
|
+
stateMutability: "view",
|
|
4525
|
+
type: "function",
|
|
4526
|
+
inputs: [],
|
|
4527
|
+
name: "proxiableUUID",
|
|
4528
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
4529
|
+
},
|
|
4530
|
+
{
|
|
4531
|
+
stateMutability: "nonpayable",
|
|
4532
|
+
type: "function",
|
|
4533
|
+
inputs: [],
|
|
4534
|
+
name: "renounceOwnership",
|
|
4535
|
+
outputs: []
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
stateMutability: "nonpayable",
|
|
4539
|
+
type: "function",
|
|
4540
|
+
inputs: [
|
|
4541
|
+
{ name: "tokenAddress", internalType: "address", type: "address" },
|
|
4542
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
4543
|
+
],
|
|
4544
|
+
name: "setDefaultMintable",
|
|
4545
|
+
outputs: []
|
|
4546
|
+
},
|
|
4547
|
+
{
|
|
4548
|
+
stateMutability: "nonpayable",
|
|
4549
|
+
type: "function",
|
|
4550
|
+
inputs: [
|
|
4551
|
+
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
4552
|
+
{ name: "newBaseURI", internalType: "string", type: "string" }
|
|
4553
|
+
],
|
|
4554
|
+
name: "setMetadataURIs",
|
|
4555
|
+
outputs: []
|
|
4556
|
+
},
|
|
4557
|
+
{
|
|
4558
|
+
stateMutability: "nonpayable",
|
|
4559
|
+
type: "function",
|
|
4560
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
4561
|
+
name: "transferOwnership",
|
|
4562
|
+
outputs: []
|
|
4563
|
+
},
|
|
4564
|
+
{
|
|
4565
|
+
stateMutability: "payable",
|
|
4566
|
+
type: "function",
|
|
4567
|
+
inputs: [
|
|
4568
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
4569
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
4570
|
+
],
|
|
4571
|
+
name: "upgradeToAndCall",
|
|
4572
|
+
outputs: []
|
|
4573
|
+
},
|
|
4574
|
+
{
|
|
4575
|
+
stateMutability: "view",
|
|
4576
|
+
type: "function",
|
|
4577
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
4578
|
+
name: "uri",
|
|
4579
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
4580
|
+
},
|
|
4581
|
+
{
|
|
4582
|
+
stateMutability: "view",
|
|
4583
|
+
type: "function",
|
|
4584
|
+
inputs: [],
|
|
4585
|
+
name: "zoraMints1155",
|
|
4586
|
+
outputs: [
|
|
4587
|
+
{ name: "", internalType: "contract IZoraMints1155", type: "address" }
|
|
4588
|
+
]
|
|
4589
|
+
},
|
|
4590
|
+
{
|
|
4591
|
+
type: "event",
|
|
4592
|
+
anonymous: false,
|
|
4593
|
+
inputs: [
|
|
4594
|
+
{
|
|
4595
|
+
name: "tokenIds",
|
|
4596
|
+
internalType: "uint256[]",
|
|
4597
|
+
type: "uint256[]",
|
|
4598
|
+
indexed: true
|
|
4599
|
+
},
|
|
4600
|
+
{
|
|
4601
|
+
name: "quantities",
|
|
4602
|
+
internalType: "uint256[]",
|
|
4603
|
+
type: "uint256[]",
|
|
4604
|
+
indexed: false
|
|
4605
|
+
},
|
|
4606
|
+
{
|
|
4607
|
+
name: "zoraCreator1155Contract",
|
|
4608
|
+
internalType: "address",
|
|
4609
|
+
type: "address",
|
|
4610
|
+
indexed: true
|
|
4611
|
+
},
|
|
4612
|
+
{
|
|
4613
|
+
name: "zoraCreator1155TokenId",
|
|
4614
|
+
internalType: "uint256",
|
|
4615
|
+
type: "uint256",
|
|
4616
|
+
indexed: true
|
|
4617
|
+
}
|
|
4618
|
+
],
|
|
4619
|
+
name: "Collected"
|
|
4620
|
+
},
|
|
4621
|
+
{
|
|
4622
|
+
type: "event",
|
|
4623
|
+
anonymous: false,
|
|
4624
|
+
inputs: [
|
|
4625
|
+
{
|
|
4626
|
+
name: "version",
|
|
4627
|
+
internalType: "uint64",
|
|
4628
|
+
type: "uint64",
|
|
4629
|
+
indexed: false
|
|
4630
|
+
}
|
|
4631
|
+
],
|
|
4632
|
+
name: "Initialized"
|
|
4633
|
+
},
|
|
4634
|
+
{
|
|
4635
|
+
type: "event",
|
|
4636
|
+
anonymous: false,
|
|
4637
|
+
inputs: [
|
|
4638
|
+
{
|
|
4639
|
+
name: "sender",
|
|
4640
|
+
internalType: "address",
|
|
4641
|
+
type: "address",
|
|
4642
|
+
indexed: true
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
name: "tokenContract",
|
|
4646
|
+
internalType: "address",
|
|
4647
|
+
type: "address",
|
|
4648
|
+
indexed: true
|
|
4649
|
+
},
|
|
4650
|
+
{
|
|
4651
|
+
name: "tokenId",
|
|
4652
|
+
internalType: "uint256",
|
|
4653
|
+
type: "uint256",
|
|
4654
|
+
indexed: true
|
|
4655
|
+
},
|
|
4656
|
+
{
|
|
4657
|
+
name: "quantity",
|
|
4658
|
+
internalType: "uint256",
|
|
4659
|
+
type: "uint256",
|
|
4660
|
+
indexed: false
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
name: "comment",
|
|
4664
|
+
internalType: "string",
|
|
4665
|
+
type: "string",
|
|
4666
|
+
indexed: false
|
|
4667
|
+
}
|
|
4668
|
+
],
|
|
4669
|
+
name: "MintComment"
|
|
4670
|
+
},
|
|
4671
|
+
{
|
|
4672
|
+
type: "event",
|
|
4673
|
+
anonymous: false,
|
|
4674
|
+
inputs: [
|
|
4675
|
+
{
|
|
4676
|
+
name: "previousOwner",
|
|
4677
|
+
internalType: "address",
|
|
4678
|
+
type: "address",
|
|
4679
|
+
indexed: true
|
|
4680
|
+
},
|
|
4681
|
+
{
|
|
4682
|
+
name: "newOwner",
|
|
4683
|
+
internalType: "address",
|
|
4684
|
+
type: "address",
|
|
4685
|
+
indexed: true
|
|
4686
|
+
}
|
|
4687
|
+
],
|
|
4688
|
+
name: "OwnershipTransferStarted"
|
|
4689
|
+
},
|
|
4690
|
+
{
|
|
4691
|
+
type: "event",
|
|
4692
|
+
anonymous: false,
|
|
4693
|
+
inputs: [
|
|
4694
|
+
{
|
|
4695
|
+
name: "previousOwner",
|
|
4696
|
+
internalType: "address",
|
|
4697
|
+
type: "address",
|
|
4698
|
+
indexed: true
|
|
4699
|
+
},
|
|
4700
|
+
{
|
|
4701
|
+
name: "newOwner",
|
|
4702
|
+
internalType: "address",
|
|
4703
|
+
type: "address",
|
|
4704
|
+
indexed: true
|
|
4705
|
+
}
|
|
4706
|
+
],
|
|
4707
|
+
name: "OwnershipTransferred"
|
|
4708
|
+
},
|
|
4709
|
+
{
|
|
4710
|
+
type: "event",
|
|
4711
|
+
anonymous: false,
|
|
4712
|
+
inputs: [
|
|
4713
|
+
{
|
|
4714
|
+
name: "contractURI",
|
|
4715
|
+
internalType: "string",
|
|
4716
|
+
type: "string",
|
|
4717
|
+
indexed: false
|
|
4718
|
+
},
|
|
4719
|
+
{
|
|
4720
|
+
name: "baseURI",
|
|
4721
|
+
internalType: "string",
|
|
4722
|
+
type: "string",
|
|
4723
|
+
indexed: false
|
|
4724
|
+
}
|
|
4725
|
+
],
|
|
4726
|
+
name: "URIsUpdated"
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
type: "event",
|
|
4730
|
+
anonymous: false,
|
|
4731
|
+
inputs: [
|
|
4732
|
+
{
|
|
4733
|
+
name: "implementation",
|
|
4734
|
+
internalType: "address",
|
|
4735
|
+
type: "address",
|
|
4736
|
+
indexed: true
|
|
4737
|
+
}
|
|
4738
|
+
],
|
|
4739
|
+
name: "Upgraded"
|
|
4740
|
+
},
|
|
4741
|
+
{
|
|
4742
|
+
type: "error",
|
|
4743
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
4744
|
+
name: "AddressEmptyCode"
|
|
4745
|
+
},
|
|
4746
|
+
{
|
|
4747
|
+
type: "error",
|
|
4748
|
+
inputs: [
|
|
4749
|
+
{ name: "lengthA", internalType: "uint256", type: "uint256" },
|
|
4750
|
+
{ name: "lengthB", internalType: "uint256", type: "uint256" }
|
|
4751
|
+
],
|
|
4752
|
+
name: "ArrayLengthMismatch"
|
|
4753
|
+
},
|
|
4754
|
+
{
|
|
4755
|
+
type: "error",
|
|
4756
|
+
inputs: [
|
|
4757
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
4758
|
+
{ name: "user", internalType: "address", type: "address" }
|
|
4759
|
+
],
|
|
4760
|
+
name: "Burn_NotOwnerOrApproved"
|
|
4761
|
+
},
|
|
4762
|
+
{
|
|
4763
|
+
type: "error",
|
|
4764
|
+
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
4765
|
+
name: "CallFailed"
|
|
4766
|
+
},
|
|
4767
|
+
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
4768
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
4769
|
+
{
|
|
4770
|
+
type: "error",
|
|
4771
|
+
inputs: [
|
|
4772
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
4773
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
4774
|
+
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
4775
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" }
|
|
4776
|
+
],
|
|
4777
|
+
name: "CannotMintMoreTokens"
|
|
4778
|
+
},
|
|
4779
|
+
{
|
|
4780
|
+
type: "error",
|
|
4781
|
+
inputs: [
|
|
4782
|
+
{ name: "proposedAddress", internalType: "address", type: "address" }
|
|
4783
|
+
],
|
|
4784
|
+
name: "Config_TransferHookNotSupported"
|
|
4785
|
+
},
|
|
4786
|
+
{ type: "error", inputs: [], name: "Create2EmptyBytecode" },
|
|
4787
|
+
{ type: "error", inputs: [], name: "Create2FailedDeployment" },
|
|
4788
|
+
{
|
|
4789
|
+
type: "error",
|
|
4790
|
+
inputs: [
|
|
4791
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
4792
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
4793
|
+
],
|
|
4794
|
+
name: "Create2InsufficientBalance"
|
|
4795
|
+
},
|
|
4796
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
4797
|
+
{
|
|
4798
|
+
type: "error",
|
|
4799
|
+
inputs: [
|
|
4800
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
4801
|
+
],
|
|
4802
|
+
name: "ERC1967InvalidImplementation"
|
|
4803
|
+
},
|
|
4804
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
4805
|
+
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
4806
|
+
{ type: "error", inputs: [], name: "ETHTransferFailed" },
|
|
4807
|
+
{
|
|
4808
|
+
type: "error",
|
|
4809
|
+
inputs: [
|
|
4810
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
4811
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
4812
|
+
],
|
|
4813
|
+
name: "ETHWithdrawFailed"
|
|
4814
|
+
},
|
|
4815
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
4816
|
+
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
4817
|
+
{
|
|
4818
|
+
type: "error",
|
|
4819
|
+
inputs: [
|
|
4820
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
4821
|
+
{ name: "contractValue", internalType: "uint256", type: "uint256" }
|
|
4822
|
+
],
|
|
4823
|
+
name: "FundsWithdrawInsolvent"
|
|
4824
|
+
},
|
|
4825
|
+
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
4826
|
+
{ type: "error", inputs: [], name: "InvalidAdminAction" },
|
|
4827
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
4828
|
+
{
|
|
4829
|
+
type: "error",
|
|
4830
|
+
inputs: [
|
|
4831
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
4832
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
4833
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
4834
|
+
],
|
|
4835
|
+
name: "InvalidMerkleProof"
|
|
4836
|
+
},
|
|
4837
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
4838
|
+
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
4839
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
4840
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
4841
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
4842
|
+
{
|
|
4843
|
+
type: "error",
|
|
4844
|
+
inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
|
|
4845
|
+
name: "InvalidSigner"
|
|
4846
|
+
},
|
|
4847
|
+
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
4848
|
+
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
4849
|
+
{ type: "error", inputs: [], name: "MintWithMintsNotSupportedOnContract" },
|
|
4850
|
+
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
4851
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
4852
|
+
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
4853
|
+
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
4854
|
+
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
4855
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
4856
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
4857
|
+
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
4858
|
+
{ type: "error", inputs: [], name: "NoUriForNonexistentToken" },
|
|
4859
|
+
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
4860
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
4861
|
+
{
|
|
4862
|
+
type: "error",
|
|
4863
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
4864
|
+
name: "OwnableInvalidOwner"
|
|
4865
|
+
},
|
|
4866
|
+
{
|
|
4867
|
+
type: "error",
|
|
4868
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
4869
|
+
name: "OwnableUnauthorizedAccount"
|
|
4870
|
+
},
|
|
4871
|
+
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
4872
|
+
{
|
|
4873
|
+
type: "error",
|
|
4874
|
+
inputs: [
|
|
4875
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
4876
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
4877
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
4878
|
+
],
|
|
4879
|
+
name: "ProtocolRewardsWithdrawFailed"
|
|
4880
|
+
},
|
|
4881
|
+
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
4882
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
4883
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
4884
|
+
{
|
|
4885
|
+
type: "error",
|
|
4886
|
+
inputs: [
|
|
4887
|
+
{ name: "targetContract", internalType: "address", type: "address" }
|
|
4888
|
+
],
|
|
4889
|
+
name: "Sale_CannotCallNonSalesContract"
|
|
4890
|
+
},
|
|
4891
|
+
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
4892
|
+
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
4893
|
+
{
|
|
4894
|
+
type: "error",
|
|
4895
|
+
inputs: [
|
|
4896
|
+
{ name: "expected", internalType: "uint256", type: "uint256" },
|
|
4897
|
+
{ name: "actual", internalType: "uint256", type: "uint256" }
|
|
4898
|
+
],
|
|
4899
|
+
name: "TokenIdMismatch"
|
|
4900
|
+
},
|
|
4901
|
+
{
|
|
4902
|
+
type: "error",
|
|
4903
|
+
inputs: [
|
|
4904
|
+
{ name: "storedTokenAddress", internalType: "address", type: "address" },
|
|
4905
|
+
{
|
|
4906
|
+
name: "expectedTokenAddress",
|
|
4907
|
+
internalType: "address",
|
|
4908
|
+
type: "address"
|
|
4909
|
+
}
|
|
4910
|
+
],
|
|
4911
|
+
name: "TokenMismatch"
|
|
4912
|
+
},
|
|
4913
|
+
{ type: "error", inputs: [], name: "TokenNotMintable" },
|
|
4914
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
4915
|
+
{
|
|
4916
|
+
type: "error",
|
|
4917
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
4918
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
4919
|
+
},
|
|
4920
|
+
{
|
|
4921
|
+
type: "error",
|
|
4922
|
+
inputs: [
|
|
4923
|
+
{ name: "expected", internalType: "string", type: "string" },
|
|
4924
|
+
{ name: "actual", internalType: "string", type: "string" }
|
|
4925
|
+
],
|
|
4926
|
+
name: "UpgradeToMismatchedContractName"
|
|
4927
|
+
},
|
|
4928
|
+
{
|
|
4929
|
+
type: "error",
|
|
4930
|
+
inputs: [
|
|
4931
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4932
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
4933
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" }
|
|
4934
|
+
],
|
|
4935
|
+
name: "UserExceedsMintLimit"
|
|
4936
|
+
},
|
|
4937
|
+
{
|
|
4938
|
+
type: "error",
|
|
4939
|
+
inputs: [
|
|
4940
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4941
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
4942
|
+
{ name: "role", internalType: "uint256", type: "uint256" }
|
|
4943
|
+
],
|
|
4944
|
+
name: "UserMissingRoleForToken"
|
|
4945
|
+
},
|
|
4946
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
4947
|
+
{
|
|
4948
|
+
type: "error",
|
|
4949
|
+
inputs: [],
|
|
4950
|
+
name: "premintSignerContractFailedToRecoverSigner"
|
|
4951
|
+
},
|
|
4952
|
+
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" }
|
|
4953
|
+
];
|
|
4954
|
+
var zoraMintsManagerImplAddress = {
|
|
4955
|
+
999999999: "0x7777777579A2C6363387cC38C0A334624dDAbB90"
|
|
4956
|
+
};
|
|
4957
|
+
var zoraMintsManagerImplConfig = {
|
|
4958
|
+
address: zoraMintsManagerImplAddress,
|
|
4959
|
+
abi: zoraMintsManagerImplABI
|
|
4960
|
+
};
|
|
4961
|
+
|
|
4962
|
+
// src/generated/1155.ts
|
|
4963
|
+
var __exports = {};
|
|
4964
|
+
__export(__exports, {
|
|
4965
|
+
addresses: () => addresses,
|
|
4966
|
+
chainConfigs: () => chainConfigs
|
|
4967
|
+
});
|
|
4968
|
+
var chainConfigs = {
|
|
4969
|
+
"1": {
|
|
4970
|
+
"FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
|
|
4971
|
+
"MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
|
|
4972
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
4973
|
+
},
|
|
4974
|
+
"10": {
|
|
4975
|
+
"FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
|
|
4976
|
+
"MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
|
|
4977
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
4978
|
+
},
|
|
4979
|
+
"999": {
|
|
4980
|
+
"FACTORY_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
|
|
4981
|
+
"MINT_FEE_RECIPIENT": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
|
|
4982
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
4983
|
+
},
|
|
4984
|
+
"8453": {
|
|
4985
|
+
"FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
4986
|
+
"MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
4987
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
4988
|
+
},
|
|
4989
|
+
"42161": {
|
|
4990
|
+
"FACTORY_OWNER": "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
|
|
4991
|
+
"MINT_FEE_RECIPIENT": "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
|
|
4992
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
4993
|
+
},
|
|
4994
|
+
"81457": {
|
|
4995
|
+
"FACTORY_OWNER": "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
|
|
4996
|
+
"MINT_FEE_RECIPIENT": "0x72E6394056f9152D3a41e5A25De383c191D16134",
|
|
4997
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
4998
|
+
},
|
|
4999
|
+
"421614": {
|
|
5000
|
+
"FACTORY_OWNER": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
|
|
5001
|
+
"MINT_FEE_RECIPIENT": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
|
|
5002
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
5003
|
+
},
|
|
5004
|
+
"7777777": {
|
|
5005
|
+
"FACTORY_OWNER": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
|
|
5006
|
+
"MINT_FEE_RECIPIENT": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
|
|
3573
5007
|
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
3574
5008
|
},
|
|
3575
5009
|
"11155111": {
|
|
@@ -3600,6 +5034,7 @@ var addresses = {
|
|
|
3600
5034
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3601
5035
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
3602
5036
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5037
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3603
5038
|
"timestamp": 1706664239
|
|
3604
5039
|
},
|
|
3605
5040
|
"10": {
|
|
@@ -3613,6 +5048,7 @@ var addresses = {
|
|
|
3613
5048
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3614
5049
|
"REDEEM_MINTER_FACTORY": "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
|
|
3615
5050
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5051
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3616
5052
|
"timestamp": 1706664035
|
|
3617
5053
|
},
|
|
3618
5054
|
"999": {
|
|
@@ -3639,6 +5075,7 @@ var addresses = {
|
|
|
3639
5075
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3640
5076
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
3641
5077
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5078
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3642
5079
|
"timestamp": 1706663976
|
|
3643
5080
|
},
|
|
3644
5081
|
"42161": {
|
|
@@ -3652,6 +5089,7 @@ var addresses = {
|
|
|
3652
5089
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3653
5090
|
"REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3654
5091
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5092
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3655
5093
|
"timestamp": 1706664653
|
|
3656
5094
|
},
|
|
3657
5095
|
"81457": {
|
|
@@ -3665,6 +5103,7 @@ var addresses = {
|
|
|
3665
5103
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3666
5104
|
"REDEEM_MINTER_FACTORY": "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
|
|
3667
5105
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5106
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3668
5107
|
"timestamp": 1709235955
|
|
3669
5108
|
},
|
|
3670
5109
|
"421614": {
|
|
@@ -3678,6 +5117,7 @@ var addresses = {
|
|
|
3678
5117
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3679
5118
|
"REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3680
5119
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5120
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3681
5121
|
"timestamp": 1706661669
|
|
3682
5122
|
},
|
|
3683
5123
|
"7777777": {
|
|
@@ -3691,6 +5131,7 @@ var addresses = {
|
|
|
3691
5131
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3692
5132
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
3693
5133
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5134
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3694
5135
|
"timestamp": 1706663694
|
|
3695
5136
|
},
|
|
3696
5137
|
"11155111": {
|
|
@@ -3704,6 +5145,7 @@ var addresses = {
|
|
|
3704
5145
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3705
5146
|
"REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3706
5147
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5148
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3707
5149
|
"timestamp": 1704336497
|
|
3708
5150
|
},
|
|
3709
5151
|
"168587773": {
|
|
@@ -3720,22 +5162,74 @@ var addresses = {
|
|
|
3720
5162
|
"timestamp": 1709234007
|
|
3721
5163
|
},
|
|
3722
5164
|
"999999999": {
|
|
3723
|
-
"CONTRACT_1155_IMPL": "
|
|
3724
|
-
"CONTRACT_1155_IMPL_VERSION": "2.
|
|
3725
|
-
"FACTORY_IMPL": "
|
|
5165
|
+
"CONTRACT_1155_IMPL": "0xCD7aA5CbF0187fd8F426F3322E48B02Fb6b973d8",
|
|
5166
|
+
"CONTRACT_1155_IMPL_VERSION": "2.9.0-DEV.0",
|
|
5167
|
+
"FACTORY_IMPL": "0x9474664542fe17AC8f940aaC2160f1816607c9Cc",
|
|
3726
5168
|
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
3727
5169
|
"FIXED_PRICE_SALE_STRATEGY": "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
|
|
3728
5170
|
"MERKLE_MINT_SALE_STRATEGY": "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
|
|
3729
|
-
"PREMINTER_IMPL": "
|
|
5171
|
+
"PREMINTER_IMPL": "0x1840606A43AC211Ffd548BE727563D863bfCF707",
|
|
3730
5172
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3731
5173
|
"REDEEM_MINTER_FACTORY": "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
|
|
3732
5174
|
"UPGRADE_GATE": "0x0000000000000000000000000000000000000000",
|
|
3733
|
-
"timestamp":
|
|
5175
|
+
"timestamp": 1711674862
|
|
5176
|
+
}
|
|
5177
|
+
};
|
|
5178
|
+
|
|
5179
|
+
// src/generated/mints.ts
|
|
5180
|
+
var mints_exports = {};
|
|
5181
|
+
__export(mints_exports, {
|
|
5182
|
+
addresses: () => addresses2,
|
|
5183
|
+
chainConfigs: () => chainConfigs2
|
|
5184
|
+
});
|
|
5185
|
+
var chainConfigs2 = {
|
|
5186
|
+
"1": {
|
|
5187
|
+
"PROXY_ADMIN": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
|
|
5188
|
+
"MINTS_OWNER": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
|
|
5189
|
+
},
|
|
5190
|
+
"10": {
|
|
5191
|
+
"PROXY_ADMIN": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
|
|
5192
|
+
"MINTS_OWNER": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
|
|
5193
|
+
},
|
|
5194
|
+
"420": {
|
|
5195
|
+
"PROXY_ADMIN": "0xbb45052B2260707655Dfd916a416264f5981192c",
|
|
5196
|
+
"MINTS_OWNER": "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
|
|
5197
|
+
},
|
|
5198
|
+
"999": {
|
|
5199
|
+
"PROXY_ADMIN": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
|
|
5200
|
+
"MINTS_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
|
|
5201
|
+
},
|
|
5202
|
+
"8453": {
|
|
5203
|
+
"PROXY_ADMIN": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
5204
|
+
"MINTS_OWNER": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
|
|
5205
|
+
},
|
|
5206
|
+
"84531": {
|
|
5207
|
+
"PROXY_ADMIN": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
|
|
5208
|
+
"MINTS_OWNER": "0x02539E813cA450C2c7334e885423f4A899a063Fe"
|
|
5209
|
+
},
|
|
5210
|
+
"7777777": {
|
|
5211
|
+
"PROXY_ADMIN": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
|
|
5212
|
+
"MINTS_OWNER": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
|
|
5213
|
+
},
|
|
5214
|
+
"11155111": {
|
|
5215
|
+
"PROXY_ADMIN": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
|
|
5216
|
+
"MINTS_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
|
|
5217
|
+
},
|
|
5218
|
+
"999999999": {
|
|
5219
|
+
"PROXY_ADMIN": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
|
|
5220
|
+
"MINTS_OWNER": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
|
|
5221
|
+
}
|
|
5222
|
+
};
|
|
5223
|
+
var addresses2 = {
|
|
5224
|
+
"999999999": {
|
|
5225
|
+
"MINTS_MANAGER_IMPL": "0x7E1F1c42EF28237223D9f31293836F058FcB2135",
|
|
5226
|
+
"MINTS_MANAGER_IMPL_VERSION": "0.0.2"
|
|
3734
5227
|
}
|
|
3735
5228
|
};
|
|
3736
5229
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3737
5230
|
0 && (module.exports = {
|
|
3738
5231
|
contracts1155,
|
|
5232
|
+
mints,
|
|
3739
5233
|
zoraCreator1155FactoryImplABI,
|
|
3740
5234
|
zoraCreator1155FactoryImplAddress,
|
|
3741
5235
|
zoraCreator1155FactoryImplConfig,
|
|
@@ -3751,6 +5245,12 @@ var addresses = {
|
|
|
3751
5245
|
zoraCreatorMerkleMinterStrategyConfig,
|
|
3752
5246
|
zoraCreatorRedeemMinterFactoryABI,
|
|
3753
5247
|
zoraCreatorRedeemMinterFactoryAddress,
|
|
3754
|
-
zoraCreatorRedeemMinterFactoryConfig
|
|
5248
|
+
zoraCreatorRedeemMinterFactoryConfig,
|
|
5249
|
+
zoraMints1155ABI,
|
|
5250
|
+
zoraMints1155Address,
|
|
5251
|
+
zoraMints1155Config,
|
|
5252
|
+
zoraMintsManagerImplABI,
|
|
5253
|
+
zoraMintsManagerImplAddress,
|
|
5254
|
+
zoraMintsManagerImplConfig
|
|
3755
5255
|
});
|
|
3756
5256
|
//# sourceMappingURL=index.cjs.map
|