@zoralabs/protocol-deployments 0.0.5-prerelease.0 → 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.
@@ -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-prerelease.0",
3
+ "version": "0.0.6",
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",
@@ -5,7 +5,6 @@ import "forge-std/Script.sol";
5
5
  import "forge-std/console2.sol";
6
6
 
7
7
  import {ZoraDeployerBase} from "../src/ZoraDeployerBase.sol";
8
- import {ZoraDeployerUtils} from "../src/ZoraDeployerUtils.sol";
9
8
  import {Deployment} from "../src/DeploymentConfig.sol";
10
9
  import {DeterministicDeployerScript} from "../src/DeterministicDeployerScript.sol";
11
10
 
@@ -31,7 +31,7 @@ contract DeployProxiesToNewChain is ZoraDeployerBase, DeploymentTestingUtils {
31
31
 
32
32
  console2.log("testing premint");
33
33
 
34
- signAndExecutePremint(deployment.preminterProxy);
34
+ signAndExecutePremint(deployment.preminterProxy, vm.envAddress("TEST_PREMINT_FUNDS_RECIPIENT"));
35
35
 
36
36
  vm.stopBroadcast();
37
37
 
@@ -3,32 +3,33 @@ 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} from "@zoralabs/zora-1155-contracts/src/delegation/ZoraCreator1155Attribution.sol";
9
10
  import {ZoraCreator1155Impl} from "@zoralabs/zora-1155-contracts/src/nft/ZoraCreator1155Impl.sol";
10
11
 
11
12
  contract DeploymentTestingUtils is Script {
12
- function signAndExecutePremint(address premintExecutorProxyAddress) internal {
13
+ function signAndExecutePremint(address premintExecutorProxyAddress, address payoutRecipient) internal {
13
14
  console2.log("preminter proxy", premintExecutorProxyAddress);
14
15
 
15
16
  (address creator, uint256 creatorPrivateKey) = makeAddrAndKey("creator");
16
- ZoraCreator1155PremintExecutorImpl preminterAtProxy = ZoraCreator1155PremintExecutorImpl(premintExecutorProxyAddress);
17
+ IZoraCreator1155PremintExecutor preminterAtProxy = IZoraCreator1155PremintExecutor(premintExecutorProxyAddress);
17
18
 
18
19
  IMinter1155 fixedPriceMinter = ZoraCreator1155FactoryImpl(address(preminterAtProxy.zora1155Factory())).fixedPriceMinter();
19
20
 
20
- PremintConfig memory premintConfig = PremintConfig({
21
- tokenConfig: TokenCreationConfig({
21
+ PremintConfigV2 memory premintConfig = PremintConfigV2({
22
+ tokenConfig: TokenCreationConfigV2({
22
23
  tokenURI: "blah.token",
23
24
  maxSupply: 10,
24
25
  maxTokensPerAddress: 5,
25
26
  pricePerToken: 0,
26
27
  mintStart: 0,
27
28
  mintDuration: 0,
28
- royaltyMintSchedule: 0,
29
29
  royaltyBPS: 100,
30
- royaltyRecipient: creator,
31
- fixedPriceMinter: address(fixedPriceMinter)
30
+ payoutRecipient: payoutRecipient,
31
+ fixedPriceMinter: address(fixedPriceMinter),
32
+ createReferral: address(0)
32
33
  }),
33
34
  uid: 100,
34
35
  version: 0,
@@ -39,18 +40,31 @@ contract DeploymentTestingUtils is Script {
39
40
  ContractCreationConfig memory contractConfig = ContractCreationConfig({contractAdmin: creator, contractName: "blah", contractURI: "blah.contract"});
40
41
  address deterministicAddress = preminterAtProxy.getContractAddress(contractConfig);
41
42
 
42
- // sign the premint
43
- bytes32 digest = ZoraCreator1155Attribution.premintHashedTypeDataV4(premintConfig, deterministicAddress, block.chainid);
43
+ uint256 quantityToMint = 1;
44
44
 
45
- (uint8 v, bytes32 r, bytes32 s) = vm.sign(creatorPrivateKey, digest);
45
+ address mintRecipient = creator;
46
46
 
47
- uint256 quantityToMint = 1;
47
+ IZoraCreator1155PremintExecutor.MintArguments memory mintArguments = IZoraCreator1155PremintExecutor.MintArguments({
48
+ mintRecipient: mintRecipient,
49
+ mintComment: "",
50
+ mintReferral: address(0)
51
+ });
48
52
 
49
- bytes memory signature = abi.encodePacked(r, s, v);
53
+ bytes memory signature = signPremint(premintConfig, deterministicAddress, creatorPrivateKey);
50
54
 
51
55
  // execute the premint
52
- uint256 tokenId = preminterAtProxy.premint{value: 0.000777 ether}(contractConfig, premintConfig, signature, quantityToMint, "");
56
+ uint256 tokenId = preminterAtProxy.premintV2{value: 0.000777 ether}(contractConfig, premintConfig, signature, quantityToMint, mintArguments).tokenId;
53
57
 
54
58
  require(ZoraCreator1155Impl(deterministicAddress).delegatedTokenId(premintConfig.uid) == tokenId, "token id not created for uid");
55
59
  }
60
+
61
+ function signPremint(PremintConfigV2 memory premintConfig, address deterministicAddress, uint256 privateKey) private view returns (bytes memory signature) {
62
+ bytes32 signatureVersion = ZoraCreator1155Attribution.HASHED_VERSION_2;
63
+ bytes32 structHash = ZoraCreator1155Attribution.hashPremint(premintConfig);
64
+ // sign the premint
65
+ bytes32 digest = ZoraCreator1155Attribution.premintHashedTypeDataV4(structHash, deterministicAddress, signatureVersion, block.chainid);
66
+
67
+ (uint8 v, bytes32 r, bytes32 s) = vm.sign(privateKey, digest);
68
+ return abi.encodePacked(r, s, v);
69
+ }
56
70
  }
@@ -0,0 +1,60 @@
1
+ // SPDX-License-Identifier: MIT
2
+ pragma solidity 0.8.17;
3
+
4
+ import "forge-std/Test.sol";
5
+ import {ZoraCreator1155FactoryImpl} from "@zoralabs/zora-1155-contracts/src/factory/ZoraCreator1155FactoryImpl.sol";
6
+ import {ForkDeploymentConfig, Deployment, ChainConfig} from "../src/DeploymentConfig.sol";
7
+ import {ZoraDeployerUtils} from "../src/ZoraDeployerUtils.sol";
8
+
9
+ contract UpgradesTest is ForkDeploymentConfig, Test {
10
+ /// @notice gets the chains to do fork tests on, by reading environment var FORK_TEST_CHAINS.
11
+ /// Chains are by name, and must match whats under `rpc_endpoints` in the foundry.toml
12
+ function getForkTestChains() private view returns (string[] memory result) {
13
+ try vm.envString("FORK_TEST_CHAINS", ",") returns (string[] memory forkTestChains) {
14
+ result = forkTestChains;
15
+ } catch {
16
+ console.log("could not get fork test chains - make sure the environment variable FORK_TEST_CHAINS is set");
17
+ result = new string[](0);
18
+ }
19
+ }
20
+
21
+ /// @notice checks which chains need an upgrade, simulated the upgrade, and gets the upgrade calldata
22
+ function simulate1155UpgradeOnFork(string memory chainName) private {
23
+ // create and select the fork, which will be used for all subsequent calls
24
+ vm.createSelectFork(vm.rpcUrl(chainName));
25
+
26
+ Deployment memory deployment = getDeployment();
27
+
28
+ ChainConfig memory chainConfig = getChainConfig();
29
+
30
+ address creator = makeAddr("creator");
31
+
32
+ vm.startPrank(chainConfig.factoryOwner);
33
+
34
+ address currentImplementation = ZoraCreator1155FactoryImpl(deployment.factoryProxy).implementation();
35
+
36
+ if (currentImplementation != deployment.factoryImpl) {
37
+ address targetImpl = deployment.factoryImpl;
38
+ (address target, bytes memory upgradeCalldata) = ZoraDeployerUtils.simulateUpgrade(deployment);
39
+
40
+ ZoraDeployerUtils.deployTestContractForVerification(deployment.factoryProxy, creator);
41
+
42
+ console2.log("=== 1155 upgrade needed ===");
43
+ console2.log("chain:", chainName);
44
+ console2.log("upgrade owner:", chainConfig.factoryOwner);
45
+ console2.log("upgrade target:", target);
46
+ console2.log("upgrade calldata:");
47
+ console.logBytes(upgradeCalldata);
48
+ console2.log("upgrade to address:", targetImpl);
49
+ console2.log("upgrade to version:", ZoraCreator1155FactoryImpl(targetImpl).contractVersion());
50
+ console2.log("=====================\n");
51
+ }
52
+ }
53
+
54
+ function test_fork_simulateUpgrades() external {
55
+ string[] memory forkTestChains = getForkTestChains();
56
+ for (uint256 i = 0; i < forkTestChains.length; i++) {
57
+ simulate1155UpgradeOnFork(forkTestChains[i]);
58
+ }
59
+ }
60
+ }
@@ -31,7 +31,7 @@ contract ZoraCreator1155PreminterForkTest is ForkDeploymentConfig, Test {
31
31
  vm.createSelectFork(vm.rpcUrl(chainName));
32
32
 
33
33
  // get contract hash, which is unique per contract creation config, and can be used
34
- // retreive the address created for a contract
34
+ // retrieve the address created for a contract
35
35
  address preminterAddress = getDeployment().preminterProxy;
36
36
 
37
37
  if (preminterAddress == address(0)) {
@@ -76,7 +76,12 @@ contract ZoraCreator1155PreminterForkTest is ForkDeploymentConfig, Test {
76
76
  uint256 privateKey,
77
77
  uint256 chainId
78
78
  ) private pure returns (bytes memory) {
79
- bytes32 digest = ZoraCreator1155Attribution.premintHashedTypeDataV4(premintConfig, contractAddress, chainId);
79
+ bytes32 digest = ZoraCreator1155Attribution.premintHashedTypeDataV4(
80
+ ZoraCreator1155Attribution.hashPremint(premintConfig),
81
+ contractAddress,
82
+ ZoraCreator1155Attribution.HASHED_VERSION_1,
83
+ chainId
84
+ );
80
85
 
81
86
  // 3. Sign the digest
82
87
  // create a signature with the digest for the params
@@ -1,37 +0,0 @@
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 {ZoraDeployerUtils} from "../src/ZoraDeployerUtils.sol";
9
- import {Deployment, ChainConfig} from "../src/DeploymentConfig.sol";
10
- import {DeterministicDeployerScript} from "../src/DeterministicDeployerScript.sol";
11
-
12
- /// @dev Deploys implementation contracts for 1155 contracts.
13
- /// @notice Run after deploying the minters
14
- /// @notice This
15
- contract Simulate1155Upgrade is ZoraDeployerBase {
16
- function run() public returns (string memory) {
17
- Deployment memory deployment = getDeployment();
18
-
19
- ChainConfig memory chainConfig = getChainConfig();
20
-
21
- address creator = makeAddr("creator");
22
-
23
- vm.startBroadcast(chainConfig.factoryOwner);
24
-
25
- (address target, bytes memory upgradeCalldata) = ZoraDeployerUtils.simulateUpgrade(deployment);
26
-
27
- console2.log("upgrade 1155 target:", target);
28
- console2.log("calldata:");
29
- console.logBytes(upgradeCalldata);
30
-
31
- ZoraDeployerUtils.deployTestContractForVerification(deployment.factoryProxy, creator);
32
-
33
- vm.stopBroadcast();
34
-
35
- return getDeploymentJSON(deployment);
36
- }
37
- }