@zoralabs/protocol-deployments 0.0.5 → 0.0.7-prerelease.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.
@@ -1 +1 @@
1
- {"version":3,"file":"wagmiGenerated.d.ts","sourceRoot":"","sources":["../../package/wagmiGenerated.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwdhC,CAAC;AAEX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;CAapC,CAAC;AAEX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmJpC,CAAC;AAEX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;CAaxC,CAAC;AAEX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvC,CAAC"}
@@ -611,6 +611,7 @@ export const zoraCreator1155ImplABI = [
611
611
  name: "ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER",
612
612
  },
613
613
  { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
614
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
614
615
  { type: "error", inputs: [], name: "ERC1155_SETTING_APPROVAL_FOR_SELF" },
615
616
  {
616
617
  type: "error",
@@ -669,6 +670,7 @@ export const zoraCreator1155ImplABI = [
669
670
  name: "InvalidMerkleProof",
670
671
  },
671
672
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
673
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
672
674
  { type: "error", inputs: [], name: "MintNotYetStarted" },
673
675
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
674
676
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
@@ -1431,49 +1433,8 @@ export const zoraCreator1155ImplABI = [
1431
1433
  stateMutability: "nonpayable",
1432
1434
  type: "function",
1433
1435
  inputs: [
1434
- {
1435
- name: "premintConfig",
1436
- internalType: "struct PremintConfig",
1437
- type: "tuple",
1438
- components: [
1439
- {
1440
- name: "tokenConfig",
1441
- internalType: "struct TokenCreationConfig",
1442
- type: "tuple",
1443
- components: [
1444
- { name: "tokenURI", internalType: "string", type: "string" },
1445
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
1446
- {
1447
- name: "maxTokensPerAddress",
1448
- internalType: "uint64",
1449
- type: "uint64",
1450
- },
1451
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
1452
- { name: "mintStart", internalType: "uint64", type: "uint64" },
1453
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
1454
- {
1455
- name: "royaltyMintSchedule",
1456
- internalType: "uint32",
1457
- type: "uint32",
1458
- },
1459
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
1460
- {
1461
- name: "royaltyRecipient",
1462
- internalType: "address",
1463
- type: "address",
1464
- },
1465
- {
1466
- name: "fixedPriceMinter",
1467
- internalType: "address",
1468
- type: "address",
1469
- },
1470
- ],
1471
- },
1472
- { name: "uid", internalType: "uint32", type: "uint32" },
1473
- { name: "version", internalType: "uint32", type: "uint32" },
1474
- { name: "deleted", internalType: "bool", type: "bool" },
1475
- ],
1476
- },
1436
+ { name: "premintConfig", internalType: "bytes", type: "bytes" },
1437
+ { name: "premintVersion", internalType: "bytes32", type: "bytes32" },
1477
1438
  { name: "signature", internalType: "bytes", type: "bytes" },
1478
1439
  { name: "sender", internalType: "address", type: "address" },
1479
1440
  ],
@@ -1843,6 +1804,13 @@ export const zoraCreator1155ImplABI = [
1843
1804
  name: "setupNewTokenWithCreateReferral",
1844
1805
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1845
1806
  },
1807
+ {
1808
+ stateMutability: "pure",
1809
+ type: "function",
1810
+ inputs: [],
1811
+ name: "supportedPremintSignatureVersions",
1812
+ outputs: [{ name: "", internalType: "string[]", type: "string[]" }],
1813
+ },
1846
1814
  {
1847
1815
  stateMutability: "view",
1848
1816
  type: "function",
@@ -2019,6 +1987,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2019
1987
  ],
2020
1988
  name: "Config_TransferHookNotSupported",
2021
1989
  },
1990
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
2022
1991
  { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
2023
1992
  { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
2024
1993
  { type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
@@ -2068,6 +2037,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2068
2037
  name: "InvalidMerkleProof",
2069
2038
  },
2070
2039
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
2040
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
2071
2041
  { type: "error", inputs: [], name: "MintNotYetStarted" },
2072
2042
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
2073
2043
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
@@ -2319,6 +2289,44 @@ export const zoraCreator1155PremintExecutorImplABI = [
2319
2289
  ],
2320
2290
  name: "Preminted",
2321
2291
  },
2292
+ {
2293
+ type: "event",
2294
+ anonymous: false,
2295
+ inputs: [
2296
+ {
2297
+ name: "contractAddress",
2298
+ internalType: "address",
2299
+ type: "address",
2300
+ indexed: true,
2301
+ },
2302
+ {
2303
+ name: "tokenId",
2304
+ internalType: "uint256",
2305
+ type: "uint256",
2306
+ indexed: true,
2307
+ },
2308
+ {
2309
+ name: "createdNewContract",
2310
+ internalType: "bool",
2311
+ type: "bool",
2312
+ indexed: true,
2313
+ },
2314
+ { name: "uid", internalType: "uint32", type: "uint32", indexed: false },
2315
+ {
2316
+ name: "minter",
2317
+ internalType: "address",
2318
+ type: "address",
2319
+ indexed: false,
2320
+ },
2321
+ {
2322
+ name: "quantityMinted",
2323
+ internalType: "uint256",
2324
+ type: "uint256",
2325
+ indexed: false,
2326
+ },
2327
+ ],
2328
+ name: "PremintedV2",
2329
+ },
2322
2330
  {
2323
2331
  type: "event",
2324
2332
  anonymous: false,
@@ -2371,6 +2379,13 @@ export const zoraCreator1155PremintExecutorImplABI = [
2371
2379
  name: "getContractAddress",
2372
2380
  outputs: [{ name: "", internalType: "address", type: "address" }],
2373
2381
  },
2382
+ {
2383
+ stateMutability: "view",
2384
+ type: "function",
2385
+ inputs: [],
2386
+ name: "implementation",
2387
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2388
+ },
2374
2389
  {
2375
2390
  stateMutability: "nonpayable",
2376
2391
  type: "function",
@@ -2380,6 +2395,21 @@ export const zoraCreator1155PremintExecutorImplABI = [
2380
2395
  name: "initialize",
2381
2396
  outputs: [],
2382
2397
  },
2398
+ {
2399
+ stateMutability: "view",
2400
+ type: "function",
2401
+ inputs: [
2402
+ { name: "signer", internalType: "address", type: "address" },
2403
+ {
2404
+ name: "premintContractConfigContractAdmin",
2405
+ internalType: "address",
2406
+ type: "address",
2407
+ },
2408
+ { name: "contractAddress", internalType: "address", type: "address" },
2409
+ ],
2410
+ name: "isAuthorizedToCreatePremint",
2411
+ outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }],
2412
+ },
2383
2413
  {
2384
2414
  stateMutability: "view",
2385
2415
  type: "function",
@@ -2538,16 +2568,19 @@ export const zoraCreator1155PremintExecutorImplABI = [
2538
2568
  ],
2539
2569
  },
2540
2570
  {
2541
- stateMutability: "view",
2542
- type: "function",
2543
- inputs: [],
2544
- name: "proxiableUUID",
2545
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
2546
- },
2547
- {
2548
- stateMutability: "view",
2571
+ stateMutability: "payable",
2549
2572
  type: "function",
2550
2573
  inputs: [
2574
+ {
2575
+ name: "contractConfig",
2576
+ internalType: "struct ContractCreationConfig",
2577
+ type: "tuple",
2578
+ components: [
2579
+ { name: "contractAdmin", internalType: "address", type: "address" },
2580
+ { name: "contractURI", internalType: "string", type: "string" },
2581
+ { name: "contractName", internalType: "string", type: "string" },
2582
+ ],
2583
+ },
2551
2584
  {
2552
2585
  name: "premintConfig",
2553
2586
  internalType: "struct PremintConfig",
@@ -2591,11 +2624,123 @@ export const zoraCreator1155PremintExecutorImplABI = [
2591
2624
  { name: "deleted", internalType: "bool", type: "bool" },
2592
2625
  ],
2593
2626
  },
2594
- { name: "zor1155Address", internalType: "address", type: "address" },
2595
2627
  { name: "signature", internalType: "bytes", type: "bytes" },
2628
+ { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2629
+ {
2630
+ name: "mintArguments",
2631
+ internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2632
+ type: "tuple",
2633
+ components: [
2634
+ { name: "mintRecipient", internalType: "address", type: "address" },
2635
+ { name: "mintComment", internalType: "string", type: "string" },
2636
+ { name: "mintReferral", internalType: "address", type: "address" },
2637
+ ],
2638
+ },
2639
+ ],
2640
+ name: "premintV1",
2641
+ outputs: [
2642
+ {
2643
+ name: "result",
2644
+ internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2645
+ type: "tuple",
2646
+ components: [
2647
+ { name: "contractAddress", internalType: "address", type: "address" },
2648
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2649
+ { name: "createdNewContract", internalType: "bool", type: "bool" },
2650
+ ],
2651
+ },
2652
+ ],
2653
+ },
2654
+ {
2655
+ stateMutability: "payable",
2656
+ type: "function",
2657
+ inputs: [
2658
+ {
2659
+ name: "contractConfig",
2660
+ internalType: "struct ContractCreationConfig",
2661
+ type: "tuple",
2662
+ components: [
2663
+ { name: "contractAdmin", internalType: "address", type: "address" },
2664
+ { name: "contractURI", internalType: "string", type: "string" },
2665
+ { name: "contractName", internalType: "string", type: "string" },
2666
+ ],
2667
+ },
2668
+ {
2669
+ name: "premintConfig",
2670
+ internalType: "struct PremintConfigV2",
2671
+ type: "tuple",
2672
+ components: [
2673
+ {
2674
+ name: "tokenConfig",
2675
+ internalType: "struct TokenCreationConfigV2",
2676
+ type: "tuple",
2677
+ components: [
2678
+ { name: "tokenURI", internalType: "string", type: "string" },
2679
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
2680
+ {
2681
+ name: "maxTokensPerAddress",
2682
+ internalType: "uint64",
2683
+ type: "uint64",
2684
+ },
2685
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2686
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
2687
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
2688
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2689
+ {
2690
+ name: "payoutRecipient",
2691
+ internalType: "address",
2692
+ type: "address",
2693
+ },
2694
+ {
2695
+ name: "fixedPriceMinter",
2696
+ internalType: "address",
2697
+ type: "address",
2698
+ },
2699
+ {
2700
+ name: "createReferral",
2701
+ internalType: "address",
2702
+ type: "address",
2703
+ },
2704
+ ],
2705
+ },
2706
+ { name: "uid", internalType: "uint32", type: "uint32" },
2707
+ { name: "version", internalType: "uint32", type: "uint32" },
2708
+ { name: "deleted", internalType: "bool", type: "bool" },
2709
+ ],
2710
+ },
2711
+ { name: "signature", internalType: "bytes", type: "bytes" },
2712
+ { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2713
+ {
2714
+ name: "mintArguments",
2715
+ internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2716
+ type: "tuple",
2717
+ components: [
2718
+ { name: "mintRecipient", internalType: "address", type: "address" },
2719
+ { name: "mintComment", internalType: "string", type: "string" },
2720
+ { name: "mintReferral", internalType: "address", type: "address" },
2721
+ ],
2722
+ },
2723
+ ],
2724
+ name: "premintV2",
2725
+ outputs: [
2726
+ {
2727
+ name: "result",
2728
+ internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2729
+ type: "tuple",
2730
+ components: [
2731
+ { name: "contractAddress", internalType: "address", type: "address" },
2732
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2733
+ { name: "createdNewContract", internalType: "bool", type: "bool" },
2734
+ ],
2735
+ },
2596
2736
  ],
2597
- name: "recoverSigner",
2598
- outputs: [{ name: "", internalType: "address", type: "address" }],
2737
+ },
2738
+ {
2739
+ stateMutability: "view",
2740
+ type: "function",
2741
+ inputs: [],
2742
+ name: "proxiableUUID",
2743
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
2599
2744
  },
2600
2745
  {
2601
2746
  stateMutability: "nonpayable",
@@ -2611,6 +2756,15 @@ export const zoraCreator1155PremintExecutorImplABI = [
2611
2756
  name: "safeTransferOwnership",
2612
2757
  outputs: [],
2613
2758
  },
2759
+ {
2760
+ stateMutability: "view",
2761
+ type: "function",
2762
+ inputs: [
2763
+ { name: "contractAddress", internalType: "address", type: "address" },
2764
+ ],
2765
+ name: "supportedPremintSignatureVersions",
2766
+ outputs: [{ name: "versions", internalType: "string[]", type: "string[]" }],
2767
+ },
2614
2768
  {
2615
2769
  stateMutability: "nonpayable",
2616
2770
  type: "function",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-deployments",
3
- "version": "0.0.5",
3
+ "version": "0.0.7-prerelease.0",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -12,6 +12,7 @@
12
12
  "build": "yarn wagmi && yarn bundle-configs && tsup",
13
13
  "bundle-configs": "node script/bundle-chainConfigs.mjs && yarn prettier",
14
14
  "prettier": "prettier --write 'package/**/*.ts' 'script/**/*.ts' 'wagmi.config.ts'",
15
+ "lint": "prettier --check 'package/**/*.ts' 'script/**/*.ts' 'wagmi.config.ts'",
15
16
  "update-new-deployment-addresses": "node script/copy-deployed-contracts.mjs deploy",
16
17
  "wagmi": "wagmi generate",
17
18
  "unlink-protocol-rewards": "rm -rf ./node_modules/@zoralabs/protocol-rewards && cp -r ../protocol-rewards ./node_modules/@zoralabs/protocol-rewards",
@@ -8,8 +8,9 @@ import {ZoraDeployerBase} from "../src/ZoraDeployerBase.sol";
8
8
  import {Deployment} from "../src/DeploymentConfig.sol";
9
9
  import {ZoraDeployerUtils} from "../src/ZoraDeployerUtils.sol";
10
10
  import {DeploymentTestingUtils} from "../src/DeploymentTestingUtils.sol";
11
+ import {IZoraCreator1155PremintExecutor} from "@zoralabs/zora-1155-contracts/src/interfaces/IZoraCreator1155PremintExecutor.sol";
11
12
 
12
- contract DeployProxiesToNewChain is ZoraDeployerBase, DeploymentTestingUtils {
13
+ contract DeployProxiesToNewChain is ZoraDeployerBase {
13
14
  function run() public returns (string memory) {
14
15
  Deployment memory deployment = getDeployment();
15
16
 
@@ -31,7 +32,14 @@ contract DeployProxiesToNewChain is ZoraDeployerBase, DeploymentTestingUtils {
31
32
 
32
33
  console2.log("testing premint");
33
34
 
34
- signAndExecutePremint(deployment.preminterProxy);
35
+ address fundsRecipient = vm.envAddress("TEST_PREMINT_FUNDS_RECIPIENT");
36
+ IZoraCreator1155PremintExecutor.MintArguments memory mintArguments = IZoraCreator1155PremintExecutor.MintArguments({
37
+ mintRecipient: fundsRecipient,
38
+ mintComment: "",
39
+ mintReferral: fundsRecipient
40
+ });
41
+
42
+ signAndExecutePremintV2(deployment.preminterProxy, vm.envAddress("TEST_PREMINT_FUNDS_RECIPIENT"), mintArguments);
35
43
 
36
44
  vm.stopBroadcast();
37
45
 
@@ -0,0 +1,35 @@
1
+ // SPDX-License-Identifier: MIT
2
+ pragma solidity ^0.8.17;
3
+
4
+ import "forge-std/Script.sol";
5
+ import "forge-std/console2.sol";
6
+
7
+ import {ZoraDeployerBase} from "../src/ZoraDeployerBase.sol";
8
+ import {Deployment} from "../src/DeploymentConfig.sol";
9
+ import {ZoraDeployerUtils} from "../src/ZoraDeployerUtils.sol";
10
+ import {IZoraCreator1155PremintExecutor} from "@zoralabs/zora-1155-contracts/src/interfaces/IZoraCreator1155PremintExecutor.sol";
11
+
12
+ contract DeployTestContracts is ZoraDeployerBase {
13
+ function run() public returns (string memory) {
14
+ Deployment memory deployment = getDeployment();
15
+
16
+ vm.startBroadcast();
17
+
18
+ ZoraDeployerUtils.deployTestContractForVerification(deployment.factoryProxy, makeAddr("admin"));
19
+
20
+ address fundsRecipient = vm.envAddress("DEPLOYER");
21
+ IZoraCreator1155PremintExecutor.MintArguments memory mintArguments = IZoraCreator1155PremintExecutor.MintArguments({
22
+ mintRecipient: fundsRecipient,
23
+ mintComment: "",
24
+ mintReferral: fundsRecipient
25
+ });
26
+
27
+ signAndExecutePremintV2(deployment.preminterProxy, fundsRecipient, mintArguments);
28
+
29
+ vm.stopBroadcast();
30
+
31
+ // now test signing and executing premint
32
+
33
+ return getDeploymentJSON(deployment);
34
+ }
35
+ }
@@ -3,21 +3,30 @@ pragma solidity ^0.8.13;
3
3
 
4
4
  import "forge-std/Script.sol";
5
5
  import {IMinter1155} from "@zoralabs/zora-1155-contracts/src/interfaces/IMinter1155.sol";
6
+ import {IZoraCreator1155PremintExecutor} from "@zoralabs/zora-1155-contracts/src/interfaces/IZoraCreator1155PremintExecutor.sol";
6
7
  import {ZoraCreator1155PremintExecutorImpl} from "@zoralabs/zora-1155-contracts/src/delegation/ZoraCreator1155PremintExecutorImpl.sol";
7
8
  import {ZoraCreator1155FactoryImpl} from "@zoralabs/zora-1155-contracts/src/factory/ZoraCreator1155FactoryImpl.sol";
8
- import {ZoraCreator1155Attribution, ContractCreationConfig, PremintConfig, TokenCreationConfig} from "@zoralabs/zora-1155-contracts/src/delegation/ZoraCreator1155Attribution.sol";
9
+ import {ZoraCreator1155Attribution, ContractCreationConfig, PremintConfigV2, TokenCreationConfigV2, PremintConfig, TokenCreationConfig} from "@zoralabs/zora-1155-contracts/src/delegation/ZoraCreator1155Attribution.sol";
10
+ import {ScriptDeploymentConfig} from "./DeploymentConfig.sol";
9
11
  import {ZoraCreator1155Impl} from "@zoralabs/zora-1155-contracts/src/nft/ZoraCreator1155Impl.sol";
10
12
 
11
13
  contract DeploymentTestingUtils is Script {
12
- function signAndExecutePremint(address premintExecutorProxyAddress) internal {
13
- console2.log("preminter proxy", premintExecutorProxyAddress);
14
-
14
+ function createAndSignPremintV1(
15
+ address premintExecutorProxyAddress,
16
+ address payoutRecipient
17
+ )
18
+ internal
19
+ returns (
20
+ ContractCreationConfig memory contractConfig,
21
+ IZoraCreator1155PremintExecutor preminterAtProxy,
22
+ PremintConfig memory premintConfig,
23
+ bytes memory signature
24
+ )
25
+ {
15
26
  (address creator, uint256 creatorPrivateKey) = makeAddrAndKey("creator");
16
- ZoraCreator1155PremintExecutorImpl preminterAtProxy = ZoraCreator1155PremintExecutorImpl(premintExecutorProxyAddress);
17
-
18
- IMinter1155 fixedPriceMinter = ZoraCreator1155FactoryImpl(address(preminterAtProxy.zora1155Factory())).fixedPriceMinter();
27
+ preminterAtProxy = IZoraCreator1155PremintExecutor(premintExecutorProxyAddress);
19
28
 
20
- PremintConfig memory premintConfig = PremintConfig({
29
+ premintConfig = PremintConfig({
21
30
  tokenConfig: TokenCreationConfig({
22
31
  tokenURI: "blah.token",
23
32
  maxSupply: 10,
@@ -27,30 +36,131 @@ contract DeploymentTestingUtils is Script {
27
36
  mintDuration: 0,
28
37
  royaltyMintSchedule: 0,
29
38
  royaltyBPS: 100,
30
- royaltyRecipient: creator,
31
- fixedPriceMinter: address(fixedPriceMinter)
39
+ royaltyRecipient: payoutRecipient,
40
+ fixedPriceMinter: address(ZoraCreator1155FactoryImpl(address(preminterAtProxy.zora1155Factory())).fixedPriceMinter())
32
41
  }),
33
- uid: 100,
42
+ uid: 101,
34
43
  version: 0,
35
44
  deleted: false
36
45
  });
37
46
 
38
47
  // now interface with proxy preminter - sign and execute the premint
39
- ContractCreationConfig memory contractConfig = ContractCreationConfig({contractAdmin: creator, contractName: "blah", contractURI: "blah.contract"});
48
+ contractConfig = ContractCreationConfig({contractAdmin: creator, contractName: "blahb", contractURI: "blah.contract"});
40
49
  address deterministicAddress = preminterAtProxy.getContractAddress(contractConfig);
41
50
 
42
- // sign the premint
43
- bytes32 digest = ZoraCreator1155Attribution.premintHashedTypeDataV4(premintConfig, deterministicAddress, block.chainid);
51
+ signature = signPremint(premintConfig, deterministicAddress, creatorPrivateKey);
52
+ }
44
53
 
45
- (uint8 v, bytes32 r, bytes32 s) = vm.sign(creatorPrivateKey, digest);
54
+ function signAndExecutePremintV1(
55
+ address premintExecutorProxyAddress,
56
+ address payoutRecipient,
57
+ IZoraCreator1155PremintExecutor.MintArguments memory mintArguments
58
+ ) internal {
59
+ (
60
+ ContractCreationConfig memory contractConfig,
61
+ IZoraCreator1155PremintExecutor preminterAtProxy,
62
+ PremintConfig memory premintConfig,
63
+ bytes memory signature
64
+ ) = createAndSignPremintV1(premintExecutorProxyAddress, payoutRecipient);
46
65
 
47
66
  uint256 quantityToMint = 1;
48
67
 
49
- bytes memory signature = abi.encodePacked(r, s, v);
68
+ // execute the premint
69
+ IZoraCreator1155PremintExecutor.PremintResult memory premintResult = preminterAtProxy.premintV1{value: mintFee(quantityToMint)}(
70
+ contractConfig,
71
+ premintConfig,
72
+ signature,
73
+ quantityToMint,
74
+ mintArguments
75
+ );
76
+
77
+ require(ZoraCreator1155Impl(premintResult.contractAddress).delegatedTokenId(premintConfig.uid) == premintResult.tokenId, "token id mismatch");
78
+ }
79
+
80
+ function createAndSignPremintV2(
81
+ address premintExecutorProxyAddress,
82
+ address payoutRecipient
83
+ )
84
+ internal
85
+ returns (
86
+ ContractCreationConfig memory contractConfig,
87
+ IZoraCreator1155PremintExecutor preminterAtProxy,
88
+ PremintConfigV2 memory premintConfig,
89
+ bytes memory signature
90
+ )
91
+ {
92
+ (address creator, uint256 creatorPrivateKey) = makeAddrAndKey("creator");
93
+ preminterAtProxy = IZoraCreator1155PremintExecutor(premintExecutorProxyAddress);
94
+
95
+ premintConfig = PremintConfigV2({
96
+ tokenConfig: TokenCreationConfigV2({
97
+ tokenURI: "blah.token",
98
+ maxSupply: 100,
99
+ maxTokensPerAddress: 50,
100
+ pricePerToken: 0,
101
+ mintStart: 0,
102
+ mintDuration: 0,
103
+ royaltyBPS: 100,
104
+ payoutRecipient: payoutRecipient,
105
+ fixedPriceMinter: address(ZoraCreator1155FactoryImpl(address(preminterAtProxy.zora1155Factory())).fixedPriceMinter()),
106
+ createReferral: creator
107
+ }),
108
+ uid: 100,
109
+ version: 0,
110
+ deleted: false
111
+ });
112
+
113
+ // now interface with proxy preminter - sign and execute the premint
114
+ contractConfig = ContractCreationConfig({contractAdmin: creator, contractName: "blahb", contractURI: "blah.contract"});
115
+ address deterministicAddress = preminterAtProxy.getContractAddress(contractConfig);
116
+
117
+ signature = signPremint(premintConfig, deterministicAddress, creatorPrivateKey);
118
+ }
119
+
120
+ function signAndExecutePremintV2(
121
+ address premintExecutorProxyAddress,
122
+ address payoutRecipient,
123
+ IZoraCreator1155PremintExecutor.MintArguments memory mintArguments
124
+ ) internal {
125
+ (
126
+ ContractCreationConfig memory contractConfig,
127
+ IZoraCreator1155PremintExecutor preminterAtProxy,
128
+ PremintConfigV2 memory premintConfig,
129
+ bytes memory signature
130
+ ) = createAndSignPremintV2(premintExecutorProxyAddress, payoutRecipient);
50
131
 
132
+ uint256 quantityToMint = 1;
51
133
  // execute the premint
52
- uint256 tokenId = preminterAtProxy.premint{value: 0.000777 ether}(contractConfig, premintConfig, signature, quantityToMint, "");
134
+ uint256 tokenId = preminterAtProxy
135
+ .premintV2{value: mintFee(quantityToMint)}(contractConfig, premintConfig, signature, quantityToMint, mintArguments).tokenId;
136
+
137
+ require(
138
+ ZoraCreator1155Impl(preminterAtProxy.getContractAddress(contractConfig)).delegatedTokenId(premintConfig.uid) == tokenId,
139
+ "token id not created for uid"
140
+ );
141
+ }
142
+
143
+ function signPremint(PremintConfigV2 memory premintConfig, address deterministicAddress, uint256 privateKey) private view returns (bytes memory signature) {
144
+ bytes32 signatureVersion = ZoraCreator1155Attribution.HASHED_VERSION_2;
145
+ bytes32 structHash = ZoraCreator1155Attribution.hashPremint(premintConfig);
146
+ // sign the premint
147
+ bytes32 digest = ZoraCreator1155Attribution.premintHashedTypeDataV4(structHash, deterministicAddress, signatureVersion, block.chainid);
148
+
149
+ (uint8 v, bytes32 r, bytes32 s) = vm.sign(privateKey, digest);
150
+ return abi.encodePacked(r, s, v);
151
+ }
152
+
153
+ function mintFee(uint256 quantityToMint) internal pure returns (uint256) {
154
+ return quantityToMint * 0.000777 ether;
155
+ }
156
+
157
+ function signPremint(PremintConfig memory premintConfig, address deterministicAddress, uint256 privateKey) private view returns (bytes memory signature) {
158
+ bytes32 signatureVersion = ZoraCreator1155Attribution.HASHED_VERSION_1;
159
+ bytes32 structHash = ZoraCreator1155Attribution.hashPremint(premintConfig);
160
+ // sign the premint
161
+ bytes32 digest = ZoraCreator1155Attribution.premintHashedTypeDataV4(structHash, deterministicAddress, signatureVersion, block.chainid);
53
162
 
54
- require(ZoraCreator1155Impl(deterministicAddress).delegatedTokenId(premintConfig.uid) == tokenId, "token id not created for uid");
163
+ (uint8 v, bytes32 r, bytes32 s) = vm.sign(privateKey, digest);
164
+ return abi.encodePacked(r, s, v);
55
165
  }
56
166
  }
@@ -199,13 +199,9 @@ contract DeterministicDeployerScript is Script {
199
199
  bytes32 proxyDeployerSalt = params.proxyDeployerSalt;
200
200
  bytes memory proxyDeployerCreationCode = params.proxyDeployerCreationCode;
201
201
 
202
- if (ZoraDeployerUtils.IMMUTABLE_CREATE2_FACTORY.hasBeenDeployed(proxyDeployerAddress)) {
203
- factoryDeployer = DeterministicProxyDeployer(proxyDeployerAddress);
204
- } else {
205
- factoryDeployer = DeterministicProxyDeployer(ZoraDeployerUtils.IMMUTABLE_CREATE2_FACTORY.safeCreate2(proxyDeployerSalt, proxyDeployerCreationCode));
206
- }
202
+ ZoraDeployerUtils.getOrImmutable2Create(proxyDeployerAddress, proxyDeployerSalt, proxyDeployerCreationCode);
207
203
 
208
- if (address(factoryDeployer) != params.proxyDeployerAddress) revert MismatchedAddress(params.proxyDeployerAddress, address(factoryDeployer));
204
+ factoryDeployer = DeterministicProxyDeployer(proxyDeployerAddress);
209
205
  }
210
206
 
211
207
  function deployDeterministicProxy(string memory proxyName, address implementation, address owner, uint256 chain) internal returns (address) {