@zoralabs/protocol-deployments 0.0.5 → 0.0.6
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 +10 -10
- package/CHANGELOG.md +12 -0
- package/addresses/1.json +6 -6
- package/addresses/10.json +6 -6
- package/addresses/7777777.json +6 -6
- package/addresses/8453.json +6 -6
- package/addresses/999.json +6 -6
- package/addresses/999999999.json +7 -6
- package/dist/index.cjs +209 -55
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +209 -55
- package/dist/index.js.map +1 -1
- package/dist/package/batchPublish.test.d.ts +2 -2
- package/dist/package/wagmiGenerated.d.ts +628 -138
- package/dist/package/wagmiGenerated.d.ts.map +1 -1
- package/package/wagmiGenerated.ts +208 -54
- package/package.json +2 -1
- package/script/DeployProxiesToNewChain.s.sol +1 -1
- package/src/DeploymentTestingUtils.sol +28 -14
- package/src/ZoraDeployerUtils.sol +23 -0
- package/test/UpgradesTest.t.sol +60 -0
- package/test/ZoraCreator1155PremintExecutorForkTest.t.sol +6 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -10,13 +10,13 @@ $ wagmi generate
|
|
|
10
10
|
✔ Writing to [90mpackage/wagmiGenerated.ts[39m
|
|
11
11
|
$ node script/bundle-chainConfigs.mjs && yarn prettier
|
|
12
12
|
$ prettier --write 'package/**/*.ts' 'script/**/*.ts' 'wagmi.config.ts'
|
|
13
|
-
package/batchPublish.test.ts
|
|
14
|
-
package/chainConfigs.ts
|
|
15
|
-
package/deployment.ts
|
|
13
|
+
package/batchPublish.test.ts 230ms
|
|
14
|
+
package/chainConfigs.ts 14ms
|
|
15
|
+
package/deployment.ts 14ms
|
|
16
16
|
package/index.ts 3ms
|
|
17
|
-
package/wagmiGenerated.ts
|
|
17
|
+
package/wagmiGenerated.ts 383ms
|
|
18
18
|
script/copy-deployed-contracts.ts 40ms
|
|
19
|
-
script/signDeploymentTransactions.ts
|
|
19
|
+
script/signDeploymentTransactions.ts 43ms
|
|
20
20
|
wagmi.config.ts 14ms
|
|
21
21
|
[34mCLI[39m Building entry: package/index.ts
|
|
22
22
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
@@ -26,9 +26,9 @@ wagmi.config.ts 14ms
|
|
|
26
26
|
[34mCLI[39m Cleaning output folder
|
|
27
27
|
[34mCJS[39m Build start
|
|
28
28
|
[34mESM[39m Build start
|
|
29
|
-
[32mCJS[39m [1mdist/index.cjs [22m[
|
|
30
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[
|
|
29
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m100.30 KB[39m
|
|
30
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m193.36 KB[39m
|
|
31
31
|
[32mCJS[39m ⚡️ Build success in 24ms
|
|
32
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
33
|
-
[32mESM[39m [1mdist/index.js.map [22m[
|
|
34
|
-
[32mESM[39m ⚡️ Build success in
|
|
32
|
+
[32mESM[39m [1mdist/index.js [22m[32m98.00 KB[39m
|
|
33
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m192.96 KB[39m
|
|
34
|
+
[32mESM[39m ⚡️ Build success in 24ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @zoralabs/premint-sdk
|
|
2
2
|
|
|
3
|
+
## 0.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f3b7df8: Deployed 2.4.0 with collaborators to zora-goerli, zora-sepolia, base, optimism, mainnet
|
|
8
|
+
- Updated dependencies [885ffa4]
|
|
9
|
+
- Updated dependencies [ffb5cb7]
|
|
10
|
+
- Updated dependencies [ffb5cb7]
|
|
11
|
+
- Updated dependencies [d84721a]
|
|
12
|
+
- Updated dependencies [cacb543]
|
|
13
|
+
- @zoralabs/zora-1155-contracts@2.5.0
|
|
14
|
+
|
|
3
15
|
## 0.0.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/addresses/1.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CONTRACT_1155_IMPL": "
|
|
3
|
-
"CONTRACT_1155_IMPL_VERSION": "2.
|
|
4
|
-
"
|
|
5
|
-
"FACTORY_IMPL": "0x55B53DBE22859d538E3b44DD06C9FAE292409E3c",
|
|
2
|
+
"CONTRACT_1155_IMPL": "0xCf0B4Acab081169D12b729c3Bd1c6E7bbAB820Da",
|
|
3
|
+
"CONTRACT_1155_IMPL_VERSION": "2.4.0",
|
|
4
|
+
"FACTORY_IMPL": "0x8a5027ea12f45a13deb6CB96A07913c6e192BE84",
|
|
6
5
|
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
7
6
|
"FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
8
7
|
"MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
9
8
|
"PREMINTER_IMPL": "0x6E2AbBcd82935bFC68A1d5d2c96372b13b65eD9C",
|
|
10
9
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
11
10
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
11
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
12
|
+
"timestamp": 1700089183,
|
|
13
|
+
"commit": "bd8e9bd2"
|
|
14
14
|
}
|
package/addresses/10.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CONTRACT_1155_IMPL": "
|
|
3
|
-
"CONTRACT_1155_IMPL_VERSION": "2.
|
|
4
|
-
"
|
|
5
|
-
"FACTORY_IMPL": "0xF7e49F97E82cc38ACd82E303F37Fe046f5a190B5",
|
|
2
|
+
"CONTRACT_1155_IMPL": "0xCf0B4Acab081169D12b729c3Bd1c6E7bbAB820Da",
|
|
3
|
+
"CONTRACT_1155_IMPL_VERSION": "2.4.0",
|
|
4
|
+
"FACTORY_IMPL": "0x8a5027ea12f45a13deb6CB96A07913c6e192BE84",
|
|
6
5
|
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
7
6
|
"FIXED_PRICE_SALE_STRATEGY": "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
|
|
8
7
|
"MERKLE_MINT_SALE_STRATEGY": "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
|
|
9
8
|
"PREMINTER_IMPL": "0x6E2AbBcd82935bFC68A1d5d2c96372b13b65eD9C",
|
|
10
9
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
11
10
|
"REDEEM_MINTER_FACTORY": "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
11
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
12
|
+
"timestamp": 1700087464,
|
|
13
|
+
"commit": "16d11cce"
|
|
14
14
|
}
|
package/addresses/7777777.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CONTRACT_1155_IMPL": "
|
|
3
|
-
"CONTRACT_1155_IMPL_VERSION": "2.
|
|
4
|
-
"
|
|
5
|
-
"FACTORY_IMPL": "0x2D6d587e9B09fa01405A5816938554ccdeEf69db",
|
|
2
|
+
"CONTRACT_1155_IMPL": "0x91509707F397e357DCe975399Fc98bB58081Ad63",
|
|
3
|
+
"CONTRACT_1155_IMPL_VERSION": "2.4.0",
|
|
4
|
+
"FACTORY_IMPL": "0xAeAA622E522130676A8d5a4D04e28aC9Afb84536",
|
|
6
5
|
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
7
6
|
"FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
8
7
|
"MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
9
8
|
"PREMINTER_IMPL": "0x6E2AbBcd82935bFC68A1d5d2c96372b13b65eD9C",
|
|
10
9
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
11
10
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
11
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
12
|
+
"timestamp": 1700159352,
|
|
13
|
+
"commit": "295b20e9"
|
|
14
14
|
}
|
package/addresses/8453.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CONTRACT_1155_IMPL": "
|
|
3
|
-
"CONTRACT_1155_IMPL_VERSION": "2.
|
|
4
|
-
"
|
|
5
|
-
"FACTORY_IMPL": "0xC6899816663891D7493939d74d83cb7f2BBcBB16",
|
|
2
|
+
"CONTRACT_1155_IMPL": "0xE9BaDfb9a1658cDF67D8c4631a7f22610C013319",
|
|
3
|
+
"CONTRACT_1155_IMPL_VERSION": "2.4.0",
|
|
4
|
+
"FACTORY_IMPL": "0x4518c41975F6D670777bD6d5D22F213f21140A32",
|
|
6
5
|
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
7
6
|
"FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
8
7
|
"MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
9
8
|
"PREMINTER_IMPL": "0x6E2AbBcd82935bFC68A1d5d2c96372b13b65eD9C",
|
|
10
9
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
11
10
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
11
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
12
|
+
"timestamp": 1700087984,
|
|
13
|
+
"commit": "a2700107"
|
|
14
14
|
}
|
package/addresses/999.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CONTRACT_1155_IMPL": "
|
|
3
|
-
"CONTRACT_1155_IMPL_VERSION": "2.
|
|
4
|
-
"
|
|
5
|
-
"FACTORY_IMPL": "0x9a42d0786c17e231E0409E8441C99acf4678763d",
|
|
2
|
+
"CONTRACT_1155_IMPL": "0xcD7230AFfBC8C720aE607e0Bc386fbCAF5C34C2E",
|
|
3
|
+
"CONTRACT_1155_IMPL_VERSION": "2.4.0",
|
|
4
|
+
"FACTORY_IMPL": "0x869Be2EaE4AB30Cf319a46B5dE50Ac203c8784Aa",
|
|
6
5
|
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
7
6
|
"FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
8
7
|
"MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
9
8
|
"PREMINTER_IMPL": "0x6E2AbBcd82935bFC68A1d5d2c96372b13b65eD9C",
|
|
10
9
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
11
10
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
11
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
12
|
+
"timestamp": 1699570171,
|
|
13
|
+
"commit": "385e4932"
|
|
14
14
|
}
|
package/addresses/999999999.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CONTRACT_1155_IMPL": "
|
|
3
|
-
"CONTRACT_1155_IMPL_VERSION": "2.
|
|
4
|
-
"FACTORY_IMPL": "
|
|
2
|
+
"CONTRACT_1155_IMPL": "0xC6899816663891D7493939d74d83cb7f2BBcBB16",
|
|
3
|
+
"CONTRACT_1155_IMPL_VERSION": "2.4.0",
|
|
4
|
+
"FACTORY_IMPL": "0xA2d5B3C1feb801c0A1CF083Ee17d939A5E5D2464",
|
|
5
5
|
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
6
6
|
"FIXED_PRICE_SALE_STRATEGY": "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
|
|
7
7
|
"MERKLE_MINT_SALE_STRATEGY": "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
|
|
8
|
-
"PREMINTER_IMPL": "
|
|
8
|
+
"PREMINTER_IMPL": "0x4e10791d56a6E90b4b7E2840Fa96DD4fB273F3F2",
|
|
9
9
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
10
10
|
"REDEEM_MINTER_FACTORY": "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"UPGRADE_GATE": "0x0000000000000000000000000000000000000000",
|
|
12
|
+
"timestamp": 1700087849,
|
|
13
|
+
"commit": "a2700107"
|
|
13
14
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -610,6 +610,7 @@ var zoraCreator1155ImplABI = [
|
|
|
610
610
|
name: "ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER"
|
|
611
611
|
},
|
|
612
612
|
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
613
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
613
614
|
{ type: "error", inputs: [], name: "ERC1155_SETTING_APPROVAL_FOR_SELF" },
|
|
614
615
|
{
|
|
615
616
|
type: "error",
|
|
@@ -668,6 +669,7 @@ var zoraCreator1155ImplABI = [
|
|
|
668
669
|
name: "InvalidMerkleProof"
|
|
669
670
|
},
|
|
670
671
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
672
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
671
673
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
672
674
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
673
675
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
@@ -1430,49 +1432,8 @@ var zoraCreator1155ImplABI = [
|
|
|
1430
1432
|
stateMutability: "nonpayable",
|
|
1431
1433
|
type: "function",
|
|
1432
1434
|
inputs: [
|
|
1433
|
-
{
|
|
1434
|
-
|
|
1435
|
-
internalType: "struct PremintConfig",
|
|
1436
|
-
type: "tuple",
|
|
1437
|
-
components: [
|
|
1438
|
-
{
|
|
1439
|
-
name: "tokenConfig",
|
|
1440
|
-
internalType: "struct TokenCreationConfig",
|
|
1441
|
-
type: "tuple",
|
|
1442
|
-
components: [
|
|
1443
|
-
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
1444
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
1445
|
-
{
|
|
1446
|
-
name: "maxTokensPerAddress",
|
|
1447
|
-
internalType: "uint64",
|
|
1448
|
-
type: "uint64"
|
|
1449
|
-
},
|
|
1450
|
-
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
1451
|
-
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
1452
|
-
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
1453
|
-
{
|
|
1454
|
-
name: "royaltyMintSchedule",
|
|
1455
|
-
internalType: "uint32",
|
|
1456
|
-
type: "uint32"
|
|
1457
|
-
},
|
|
1458
|
-
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
1459
|
-
{
|
|
1460
|
-
name: "royaltyRecipient",
|
|
1461
|
-
internalType: "address",
|
|
1462
|
-
type: "address"
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
name: "fixedPriceMinter",
|
|
1466
|
-
internalType: "address",
|
|
1467
|
-
type: "address"
|
|
1468
|
-
}
|
|
1469
|
-
]
|
|
1470
|
-
},
|
|
1471
|
-
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
1472
|
-
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
1473
|
-
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
1474
|
-
]
|
|
1475
|
-
},
|
|
1435
|
+
{ name: "premintConfig", internalType: "bytes", type: "bytes" },
|
|
1436
|
+
{ name: "premintVersion", internalType: "bytes32", type: "bytes32" },
|
|
1476
1437
|
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
1477
1438
|
{ name: "sender", internalType: "address", type: "address" }
|
|
1478
1439
|
],
|
|
@@ -1842,6 +1803,13 @@ var zoraCreator1155ImplABI = [
|
|
|
1842
1803
|
name: "setupNewTokenWithCreateReferral",
|
|
1843
1804
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1844
1805
|
},
|
|
1806
|
+
{
|
|
1807
|
+
stateMutability: "pure",
|
|
1808
|
+
type: "function",
|
|
1809
|
+
inputs: [],
|
|
1810
|
+
name: "supportedPremintSignatureVersions",
|
|
1811
|
+
outputs: [{ name: "", internalType: "string[]", type: "string[]" }]
|
|
1812
|
+
},
|
|
1845
1813
|
{
|
|
1846
1814
|
stateMutability: "view",
|
|
1847
1815
|
type: "function",
|
|
@@ -2003,6 +1971,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2003
1971
|
],
|
|
2004
1972
|
name: "Config_TransferHookNotSupported"
|
|
2005
1973
|
},
|
|
1974
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
2006
1975
|
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
2007
1976
|
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
2008
1977
|
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
@@ -2052,6 +2021,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2052
2021
|
name: "InvalidMerkleProof"
|
|
2053
2022
|
},
|
|
2054
2023
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2024
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
2055
2025
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
2056
2026
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
2057
2027
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
@@ -2303,6 +2273,44 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2303
2273
|
],
|
|
2304
2274
|
name: "Preminted"
|
|
2305
2275
|
},
|
|
2276
|
+
{
|
|
2277
|
+
type: "event",
|
|
2278
|
+
anonymous: false,
|
|
2279
|
+
inputs: [
|
|
2280
|
+
{
|
|
2281
|
+
name: "contractAddress",
|
|
2282
|
+
internalType: "address",
|
|
2283
|
+
type: "address",
|
|
2284
|
+
indexed: true
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
name: "tokenId",
|
|
2288
|
+
internalType: "uint256",
|
|
2289
|
+
type: "uint256",
|
|
2290
|
+
indexed: true
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
name: "createdNewContract",
|
|
2294
|
+
internalType: "bool",
|
|
2295
|
+
type: "bool",
|
|
2296
|
+
indexed: true
|
|
2297
|
+
},
|
|
2298
|
+
{ name: "uid", internalType: "uint32", type: "uint32", indexed: false },
|
|
2299
|
+
{
|
|
2300
|
+
name: "minter",
|
|
2301
|
+
internalType: "address",
|
|
2302
|
+
type: "address",
|
|
2303
|
+
indexed: false
|
|
2304
|
+
},
|
|
2305
|
+
{
|
|
2306
|
+
name: "quantityMinted",
|
|
2307
|
+
internalType: "uint256",
|
|
2308
|
+
type: "uint256",
|
|
2309
|
+
indexed: false
|
|
2310
|
+
}
|
|
2311
|
+
],
|
|
2312
|
+
name: "PremintedV2"
|
|
2313
|
+
},
|
|
2306
2314
|
{
|
|
2307
2315
|
type: "event",
|
|
2308
2316
|
anonymous: false,
|
|
@@ -2355,6 +2363,13 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2355
2363
|
name: "getContractAddress",
|
|
2356
2364
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
2357
2365
|
},
|
|
2366
|
+
{
|
|
2367
|
+
stateMutability: "view",
|
|
2368
|
+
type: "function",
|
|
2369
|
+
inputs: [],
|
|
2370
|
+
name: "implementation",
|
|
2371
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
2372
|
+
},
|
|
2358
2373
|
{
|
|
2359
2374
|
stateMutability: "nonpayable",
|
|
2360
2375
|
type: "function",
|
|
@@ -2364,6 +2379,21 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2364
2379
|
name: "initialize",
|
|
2365
2380
|
outputs: []
|
|
2366
2381
|
},
|
|
2382
|
+
{
|
|
2383
|
+
stateMutability: "view",
|
|
2384
|
+
type: "function",
|
|
2385
|
+
inputs: [
|
|
2386
|
+
{ name: "signer", internalType: "address", type: "address" },
|
|
2387
|
+
{
|
|
2388
|
+
name: "premintContractConfigContractAdmin",
|
|
2389
|
+
internalType: "address",
|
|
2390
|
+
type: "address"
|
|
2391
|
+
},
|
|
2392
|
+
{ name: "contractAddress", internalType: "address", type: "address" }
|
|
2393
|
+
],
|
|
2394
|
+
name: "isAuthorizedToCreatePremint",
|
|
2395
|
+
outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }]
|
|
2396
|
+
},
|
|
2367
2397
|
{
|
|
2368
2398
|
stateMutability: "view",
|
|
2369
2399
|
type: "function",
|
|
@@ -2522,16 +2552,19 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2522
2552
|
]
|
|
2523
2553
|
},
|
|
2524
2554
|
{
|
|
2525
|
-
stateMutability: "
|
|
2526
|
-
type: "function",
|
|
2527
|
-
inputs: [],
|
|
2528
|
-
name: "proxiableUUID",
|
|
2529
|
-
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2530
|
-
},
|
|
2531
|
-
{
|
|
2532
|
-
stateMutability: "view",
|
|
2555
|
+
stateMutability: "payable",
|
|
2533
2556
|
type: "function",
|
|
2534
2557
|
inputs: [
|
|
2558
|
+
{
|
|
2559
|
+
name: "contractConfig",
|
|
2560
|
+
internalType: "struct ContractCreationConfig",
|
|
2561
|
+
type: "tuple",
|
|
2562
|
+
components: [
|
|
2563
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
2564
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
2565
|
+
{ name: "contractName", internalType: "string", type: "string" }
|
|
2566
|
+
]
|
|
2567
|
+
},
|
|
2535
2568
|
{
|
|
2536
2569
|
name: "premintConfig",
|
|
2537
2570
|
internalType: "struct PremintConfig",
|
|
@@ -2575,11 +2608,123 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2575
2608
|
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
2576
2609
|
]
|
|
2577
2610
|
},
|
|
2578
|
-
{ name: "
|
|
2579
|
-
{ name: "
|
|
2611
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
2612
|
+
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2613
|
+
{
|
|
2614
|
+
name: "mintArguments",
|
|
2615
|
+
internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
|
|
2616
|
+
type: "tuple",
|
|
2617
|
+
components: [
|
|
2618
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
2619
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
2620
|
+
{ name: "mintReferral", internalType: "address", type: "address" }
|
|
2621
|
+
]
|
|
2622
|
+
}
|
|
2580
2623
|
],
|
|
2581
|
-
name: "
|
|
2582
|
-
outputs: [
|
|
2624
|
+
name: "premintV1",
|
|
2625
|
+
outputs: [
|
|
2626
|
+
{
|
|
2627
|
+
name: "result",
|
|
2628
|
+
internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
|
|
2629
|
+
type: "tuple",
|
|
2630
|
+
components: [
|
|
2631
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2632
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2633
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
2634
|
+
]
|
|
2635
|
+
}
|
|
2636
|
+
]
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
stateMutability: "payable",
|
|
2640
|
+
type: "function",
|
|
2641
|
+
inputs: [
|
|
2642
|
+
{
|
|
2643
|
+
name: "contractConfig",
|
|
2644
|
+
internalType: "struct ContractCreationConfig",
|
|
2645
|
+
type: "tuple",
|
|
2646
|
+
components: [
|
|
2647
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
2648
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
2649
|
+
{ name: "contractName", internalType: "string", type: "string" }
|
|
2650
|
+
]
|
|
2651
|
+
},
|
|
2652
|
+
{
|
|
2653
|
+
name: "premintConfig",
|
|
2654
|
+
internalType: "struct PremintConfigV2",
|
|
2655
|
+
type: "tuple",
|
|
2656
|
+
components: [
|
|
2657
|
+
{
|
|
2658
|
+
name: "tokenConfig",
|
|
2659
|
+
internalType: "struct TokenCreationConfigV2",
|
|
2660
|
+
type: "tuple",
|
|
2661
|
+
components: [
|
|
2662
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
2663
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
2664
|
+
{
|
|
2665
|
+
name: "maxTokensPerAddress",
|
|
2666
|
+
internalType: "uint64",
|
|
2667
|
+
type: "uint64"
|
|
2668
|
+
},
|
|
2669
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
2670
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
2671
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
2672
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
2673
|
+
{
|
|
2674
|
+
name: "payoutRecipient",
|
|
2675
|
+
internalType: "address",
|
|
2676
|
+
type: "address"
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
name: "fixedPriceMinter",
|
|
2680
|
+
internalType: "address",
|
|
2681
|
+
type: "address"
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
name: "createReferral",
|
|
2685
|
+
internalType: "address",
|
|
2686
|
+
type: "address"
|
|
2687
|
+
}
|
|
2688
|
+
]
|
|
2689
|
+
},
|
|
2690
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
2691
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
2692
|
+
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
2693
|
+
]
|
|
2694
|
+
},
|
|
2695
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
2696
|
+
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2697
|
+
{
|
|
2698
|
+
name: "mintArguments",
|
|
2699
|
+
internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
|
|
2700
|
+
type: "tuple",
|
|
2701
|
+
components: [
|
|
2702
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
2703
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
2704
|
+
{ name: "mintReferral", internalType: "address", type: "address" }
|
|
2705
|
+
]
|
|
2706
|
+
}
|
|
2707
|
+
],
|
|
2708
|
+
name: "premintV2",
|
|
2709
|
+
outputs: [
|
|
2710
|
+
{
|
|
2711
|
+
name: "result",
|
|
2712
|
+
internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
|
|
2713
|
+
type: "tuple",
|
|
2714
|
+
components: [
|
|
2715
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2716
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2717
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
2718
|
+
]
|
|
2719
|
+
}
|
|
2720
|
+
]
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
stateMutability: "view",
|
|
2724
|
+
type: "function",
|
|
2725
|
+
inputs: [],
|
|
2726
|
+
name: "proxiableUUID",
|
|
2727
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2583
2728
|
},
|
|
2584
2729
|
{
|
|
2585
2730
|
stateMutability: "nonpayable",
|
|
@@ -2595,6 +2740,15 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2595
2740
|
name: "safeTransferOwnership",
|
|
2596
2741
|
outputs: []
|
|
2597
2742
|
},
|
|
2743
|
+
{
|
|
2744
|
+
stateMutability: "view",
|
|
2745
|
+
type: "function",
|
|
2746
|
+
inputs: [
|
|
2747
|
+
{ name: "contractAddress", internalType: "address", type: "address" }
|
|
2748
|
+
],
|
|
2749
|
+
name: "supportedPremintSignatureVersions",
|
|
2750
|
+
outputs: [{ name: "versions", internalType: "string[]", type: "string[]" }]
|
|
2751
|
+
},
|
|
2598
2752
|
{
|
|
2599
2753
|
stateMutability: "nonpayable",
|
|
2600
2754
|
type: "function",
|