@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/dist/index.js CHANGED
@@ -502,7 +502,8 @@ var zoraCreator1155ImplABI = [
502
502
  inputs: [
503
503
  { name: "_mintFeeRecipient", internalType: "address", type: "address" },
504
504
  { name: "_upgradeGate", internalType: "address", type: "address" },
505
- { name: "_protocolRewards", internalType: "address", type: "address" }
505
+ { name: "_protocolRewards", internalType: "address", type: "address" },
506
+ { name: "_mints", internalType: "address", type: "address" }
506
507
  ]
507
508
  },
508
509
  { stateMutability: "payable", type: "receive" },
@@ -571,18 +572,6 @@ var zoraCreator1155ImplABI = [
571
572
  name: "adminMint",
572
573
  outputs: []
573
574
  },
574
- {
575
- stateMutability: "nonpayable",
576
- type: "function",
577
- inputs: [
578
- { name: "recipient", internalType: "address", type: "address" },
579
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
580
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
581
- { name: "data", internalType: "bytes", type: "bytes" }
582
- ],
583
- name: "adminMintBatch",
584
- outputs: []
585
- },
586
575
  {
587
576
  stateMutability: "view",
588
577
  type: "function",
@@ -651,71 +640,10 @@ var zoraCreator1155ImplABI = [
651
640
  {
652
641
  stateMutability: "pure",
653
642
  type: "function",
654
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
655
- name: "computeFreeMintRewards",
656
- outputs: [
657
- {
658
- name: "",
659
- internalType: "struct RewardsSettings",
660
- type: "tuple",
661
- components: [
662
- { name: "creatorReward", internalType: "uint256", type: "uint256" },
663
- {
664
- name: "createReferralReward",
665
- internalType: "uint256",
666
- type: "uint256"
667
- },
668
- {
669
- name: "mintReferralReward",
670
- internalType: "uint256",
671
- type: "uint256"
672
- },
673
- {
674
- name: "firstMinterReward",
675
- internalType: "uint256",
676
- type: "uint256"
677
- },
678
- { name: "zoraReward", internalType: "uint256", type: "uint256" }
679
- ]
680
- }
681
- ]
682
- },
683
- {
684
- stateMutability: "pure",
685
- type: "function",
686
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
687
- name: "computePaidMintRewards",
688
- outputs: [
689
- {
690
- name: "",
691
- internalType: "struct RewardsSettings",
692
- type: "tuple",
693
- components: [
694
- { name: "creatorReward", internalType: "uint256", type: "uint256" },
695
- {
696
- name: "createReferralReward",
697
- internalType: "uint256",
698
- type: "uint256"
699
- },
700
- {
701
- name: "mintReferralReward",
702
- internalType: "uint256",
703
- type: "uint256"
704
- },
705
- {
706
- name: "firstMinterReward",
707
- internalType: "uint256",
708
- type: "uint256"
709
- },
710
- { name: "zoraReward", internalType: "uint256", type: "uint256" }
711
- ]
712
- }
713
- ]
714
- },
715
- {
716
- stateMutability: "pure",
717
- type: "function",
718
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
643
+ inputs: [
644
+ { name: "mintPrice", internalType: "uint256", type: "uint256" },
645
+ { name: "quantity", internalType: "uint256", type: "uint256" }
646
+ ],
719
647
  name: "computeTotalReward",
720
648
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
721
649
  },
@@ -778,7 +706,7 @@ var zoraCreator1155ImplABI = [
778
706
  { name: "premintConfig", internalType: "bytes", type: "bytes" },
779
707
  { name: "premintVersion", internalType: "bytes32", type: "bytes32" },
780
708
  { name: "signature", internalType: "bytes", type: "bytes" },
781
- { name: "sender", internalType: "address", type: "address" },
709
+ { name: "firstMinter", internalType: "address", type: "address" },
782
710
  {
783
711
  name: "premintSignerContract",
784
712
  internalType: "address",
@@ -953,12 +881,32 @@ var zoraCreator1155ImplABI = [
953
881
  outputs: []
954
882
  },
955
883
  {
956
- stateMutability: "pure",
884
+ stateMutability: "view",
957
885
  type: "function",
958
886
  inputs: [],
959
887
  name: "mintFee",
960
888
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
961
889
  },
890
+ {
891
+ stateMutability: "payable",
892
+ type: "function",
893
+ inputs: [
894
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
895
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
896
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
897
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
898
+ {
899
+ name: "rewardsRecipients",
900
+ internalType: "address[]",
901
+ type: "address[]"
902
+ },
903
+ { name: "minterArguments", internalType: "bytes", type: "bytes" }
904
+ ],
905
+ name: "mintWithMints",
906
+ outputs: [
907
+ { name: "quantityMinted", internalType: "uint256", type: "uint256" }
908
+ ]
909
+ },
962
910
  {
963
911
  stateMutability: "payable",
964
912
  type: "function",
@@ -993,6 +941,32 @@ var zoraCreator1155ImplABI = [
993
941
  name: "nextTokenId",
994
942
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
995
943
  },
944
+ {
945
+ stateMutability: "pure",
946
+ type: "function",
947
+ inputs: [
948
+ { name: "", internalType: "address", type: "address" },
949
+ { name: "", internalType: "address", type: "address" },
950
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
951
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
952
+ { name: "", internalType: "bytes", type: "bytes" }
953
+ ],
954
+ name: "onERC1155BatchReceived",
955
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
956
+ },
957
+ {
958
+ stateMutability: "pure",
959
+ type: "function",
960
+ inputs: [
961
+ { name: "", internalType: "address", type: "address" },
962
+ { name: "", internalType: "address", type: "address" },
963
+ { name: "", internalType: "uint256", type: "uint256" },
964
+ { name: "", internalType: "uint256", type: "uint256" },
965
+ { name: "", internalType: "bytes", type: "bytes" }
966
+ ],
967
+ name: "onERC1155Received",
968
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
969
+ },
996
970
  {
997
971
  stateMutability: "view",
998
972
  type: "function",
@@ -1388,6 +1362,7 @@ var zoraCreator1155ImplABI = [
1388
1362
  ],
1389
1363
  name: "ContractRendererUpdated"
1390
1364
  },
1365
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
1391
1366
  {
1392
1367
  type: "event",
1393
1368
  anonymous: false,
@@ -1786,6 +1761,7 @@ var zoraCreator1155ImplABI = [
1786
1761
  inputs: [],
1787
1762
  name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
1788
1763
  },
1764
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
1789
1765
  {
1790
1766
  type: "error",
1791
1767
  inputs: [
@@ -1816,17 +1792,9 @@ var zoraCreator1155ImplABI = [
1816
1792
  name: "InvalidMerkleProof"
1817
1793
  },
1818
1794
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
1819
- {
1820
- type: "error",
1821
- inputs: [
1822
- {
1823
- name: "recoverError",
1824
- internalType: "enum ECDSAUpgradeable.RecoverError",
1825
- type: "uint8"
1826
- }
1827
- ],
1828
- name: "InvalidSignature"
1829
- },
1795
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
1796
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
1797
+ { type: "error", inputs: [], name: "InvalidSignature" },
1830
1798
  { type: "error", inputs: [], name: "InvalidSignatureVersion" },
1831
1799
  {
1832
1800
  type: "error",
@@ -1835,6 +1803,7 @@ var zoraCreator1155ImplABI = [
1835
1803
  },
1836
1804
  { type: "error", inputs: [], name: "MintNotYetStarted" },
1837
1805
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
1806
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
1838
1807
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
1839
1808
  { type: "error", inputs: [], name: "Mint_UnknownCommand" },
1840
1809
  { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
@@ -1846,6 +1815,7 @@ var zoraCreator1155ImplABI = [
1846
1815
  inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
1847
1816
  name: "NoRendererForToken"
1848
1817
  },
1818
+ { type: "error", inputs: [], name: "NonEthRedemption" },
1849
1819
  { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
1850
1820
  { type: "error", inputs: [], name: "PremintDeleted" },
1851
1821
  {
@@ -2082,6 +2052,97 @@ var zoraCreator1155PremintExecutorImplABI = [
2082
2052
  name: "pendingOwner",
2083
2053
  outputs: [{ name: "", internalType: "address", type: "address" }]
2084
2054
  },
2055
+ {
2056
+ stateMutability: "nonpayable",
2057
+ type: "function",
2058
+ inputs: [
2059
+ {
2060
+ name: "contractConfig",
2061
+ internalType: "struct ContractCreationConfig",
2062
+ type: "tuple",
2063
+ components: [
2064
+ { name: "contractAdmin", internalType: "address", type: "address" },
2065
+ { name: "contractURI", internalType: "string", type: "string" },
2066
+ { name: "contractName", internalType: "string", type: "string" }
2067
+ ]
2068
+ },
2069
+ {
2070
+ name: "premintConfig",
2071
+ internalType: "struct Erc20PremintConfigV1",
2072
+ type: "tuple",
2073
+ components: [
2074
+ {
2075
+ name: "tokenConfig",
2076
+ internalType: "struct Erc20TokenCreationConfigV1",
2077
+ type: "tuple",
2078
+ components: [
2079
+ { name: "tokenURI", internalType: "string", type: "string" },
2080
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
2081
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2082
+ {
2083
+ name: "payoutRecipient",
2084
+ internalType: "address",
2085
+ type: "address"
2086
+ },
2087
+ {
2088
+ name: "createReferral",
2089
+ internalType: "address",
2090
+ type: "address"
2091
+ },
2092
+ { name: "erc20Minter", internalType: "address", type: "address" },
2093
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
2094
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
2095
+ {
2096
+ name: "maxTokensPerAddress",
2097
+ internalType: "uint64",
2098
+ type: "uint64"
2099
+ },
2100
+ { name: "currency", internalType: "address", type: "address" },
2101
+ {
2102
+ name: "pricePerToken",
2103
+ internalType: "uint256",
2104
+ type: "uint256"
2105
+ }
2106
+ ]
2107
+ },
2108
+ { name: "uid", internalType: "uint32", type: "uint32" },
2109
+ { name: "version", internalType: "uint32", type: "uint32" },
2110
+ { name: "deleted", internalType: "bool", type: "bool" }
2111
+ ]
2112
+ },
2113
+ { name: "signature", internalType: "bytes", type: "bytes" },
2114
+ { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2115
+ {
2116
+ name: "mintArguments",
2117
+ internalType: "struct MintArguments",
2118
+ type: "tuple",
2119
+ components: [
2120
+ { name: "mintRecipient", internalType: "address", type: "address" },
2121
+ { name: "mintComment", internalType: "string", type: "string" },
2122
+ {
2123
+ name: "mintRewardsRecipients",
2124
+ internalType: "address[]",
2125
+ type: "address[]"
2126
+ }
2127
+ ]
2128
+ },
2129
+ { name: "firstMinter", internalType: "address", type: "address" },
2130
+ { name: "signerContract", internalType: "address", type: "address" }
2131
+ ],
2132
+ name: "premintErc20V1",
2133
+ outputs: [
2134
+ {
2135
+ name: "result",
2136
+ internalType: "struct PremintResult",
2137
+ type: "tuple",
2138
+ components: [
2139
+ { name: "contractAddress", internalType: "address", type: "address" },
2140
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2141
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
2142
+ ]
2143
+ }
2144
+ ]
2145
+ },
2085
2146
  {
2086
2147
  stateMutability: "view",
2087
2148
  type: "function",
@@ -2156,7 +2217,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2156
2217
  { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2157
2218
  {
2158
2219
  name: "mintArguments",
2159
- internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2220
+ internalType: "struct MintArguments",
2160
2221
  type: "tuple",
2161
2222
  components: [
2162
2223
  { name: "mintRecipient", internalType: "address", type: "address" },
@@ -2173,7 +2234,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2173
2234
  outputs: [
2174
2235
  {
2175
2236
  name: "result",
2176
- internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2237
+ internalType: "struct PremintResult",
2177
2238
  type: "tuple",
2178
2239
  components: [
2179
2240
  { name: "contractAddress", internalType: "address", type: "address" },
@@ -2244,7 +2305,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2244
2305
  { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2245
2306
  {
2246
2307
  name: "mintArguments",
2247
- internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2308
+ internalType: "struct MintArguments",
2248
2309
  type: "tuple",
2249
2310
  components: [
2250
2311
  { name: "mintRecipient", internalType: "address", type: "address" },
@@ -2261,7 +2322,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2261
2322
  outputs: [
2262
2323
  {
2263
2324
  name: "result",
2264
- internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2325
+ internalType: "struct PremintResult",
2265
2326
  type: "tuple",
2266
2327
  components: [
2267
2328
  { name: "contractAddress", internalType: "address", type: "address" },
@@ -2332,7 +2393,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2332
2393
  { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2333
2394
  {
2334
2395
  name: "mintArguments",
2335
- internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2396
+ internalType: "struct MintArguments",
2336
2397
  type: "tuple",
2337
2398
  components: [
2338
2399
  { name: "mintRecipient", internalType: "address", type: "address" },
@@ -2344,13 +2405,14 @@ var zoraCreator1155PremintExecutorImplABI = [
2344
2405
  }
2345
2406
  ]
2346
2407
  },
2408
+ { name: "firstMinter", internalType: "address", type: "address" },
2347
2409
  { name: "signerContract", internalType: "address", type: "address" }
2348
2410
  ],
2349
2411
  name: "premintV2WithSignerContract",
2350
2412
  outputs: [
2351
2413
  {
2352
2414
  name: "result",
2353
- internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2415
+ internalType: "struct PremintResult",
2354
2416
  type: "tuple",
2355
2417
  components: [
2356
2418
  { name: "contractAddress", internalType: "address", type: "address" },
@@ -2699,6 +2761,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2699
2761
  { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
2700
2762
  { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
2701
2763
  { type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
2764
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
2702
2765
  {
2703
2766
  type: "error",
2704
2767
  inputs: [
@@ -2717,6 +2780,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2717
2780
  inputs: [],
2718
2781
  name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
2719
2782
  },
2783
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
2720
2784
  {
2721
2785
  type: "error",
2722
2786
  inputs: [
@@ -2748,17 +2812,8 @@ var zoraCreator1155PremintExecutorImplABI = [
2748
2812
  name: "InvalidMerkleProof"
2749
2813
  },
2750
2814
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
2751
- {
2752
- type: "error",
2753
- inputs: [
2754
- {
2755
- name: "recoverError",
2756
- internalType: "enum ECDSAUpgradeable.RecoverError",
2757
- type: "uint8"
2758
- }
2759
- ],
2760
- name: "InvalidSignature"
2761
- },
2815
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
2816
+ { type: "error", inputs: [], name: "InvalidSignature" },
2762
2817
  { type: "error", inputs: [], name: "InvalidSignatureVersion" },
2763
2818
  {
2764
2819
  type: "error",
@@ -2767,12 +2822,14 @@ var zoraCreator1155PremintExecutorImplABI = [
2767
2822
  },
2768
2823
  { type: "error", inputs: [], name: "MintNotYetStarted" },
2769
2824
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
2825
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
2770
2826
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
2771
2827
  { type: "error", inputs: [], name: "Mint_UnknownCommand" },
2772
2828
  { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
2773
2829
  { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2774
2830
  { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2775
2831
  { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
2832
+ { type: "error", inputs: [], name: "NonEthRedemption" },
2776
2833
  { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
2777
2834
  { type: "error", inputs: [], name: "ONLY_OWNER" },
2778
2835
  { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
@@ -3488,52 +3545,1422 @@ var zoraCreatorRedeemMinterFactoryConfig = {
3488
3545
  address: zoraCreatorRedeemMinterFactoryAddress,
3489
3546
  abi: zoraCreatorRedeemMinterFactoryABI
3490
3547
  };
3491
-
3492
- // src/generated/1155.ts
3493
- var __exports = {};
3494
- __export(__exports, {
3495
- addresses: () => addresses,
3496
- chainConfigs: () => chainConfigs
3497
- });
3498
- var chainConfigs = {
3499
- "1": {
3500
- "FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
3501
- "MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
3502
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3503
- },
3504
- "10": {
3505
- "FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
3506
- "MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
3507
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3548
+ var zoraMints1155ABI = [
3549
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
3550
+ {
3551
+ stateMutability: "view",
3552
+ type: "function",
3553
+ inputs: [],
3554
+ name: "ETH_ADDRESS",
3555
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3508
3556
  },
3509
- "999": {
3510
- "FACTORY_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3511
- "MINT_FEE_RECIPIENT": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3512
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3557
+ {
3558
+ stateMutability: "view",
3559
+ type: "function",
3560
+ inputs: [],
3561
+ name: "MINIMUM_ERC20_PRICE",
3562
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3513
3563
  },
3514
- "8453": {
3515
- "FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
3516
- "MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
3517
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3564
+ {
3565
+ stateMutability: "view",
3566
+ type: "function",
3567
+ inputs: [],
3568
+ name: "MINIMUM_ETH_PRICE",
3569
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3518
3570
  },
3519
- "42161": {
3520
- "FACTORY_OWNER": "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
3521
- "MINT_FEE_RECIPIENT": "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
3522
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3571
+ {
3572
+ stateMutability: "view",
3573
+ type: "function",
3574
+ inputs: [],
3575
+ name: "authority",
3576
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3523
3577
  },
3524
- "81457": {
3525
- "FACTORY_OWNER": "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
3526
- "MINT_FEE_RECIPIENT": "0x72E6394056f9152D3a41e5A25De383c191D16134",
3527
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3578
+ {
3579
+ stateMutability: "view",
3580
+ type: "function",
3581
+ inputs: [
3582
+ { name: "account", internalType: "address", type: "address" },
3583
+ { name: "id", internalType: "uint256", type: "uint256" }
3584
+ ],
3585
+ name: "balanceOf",
3586
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3528
3587
  },
3529
- "421614": {
3530
- "FACTORY_OWNER": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
3531
- "MINT_FEE_RECIPIENT": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
3532
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3588
+ {
3589
+ stateMutability: "view",
3590
+ type: "function",
3591
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3592
+ name: "balanceOfAccount",
3593
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3533
3594
  },
3534
- "7777777": {
3535
- "FACTORY_OWNER": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
3536
- "MINT_FEE_RECIPIENT": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
3595
+ {
3596
+ stateMutability: "view",
3597
+ type: "function",
3598
+ inputs: [
3599
+ { name: "accounts", internalType: "address[]", type: "address[]" },
3600
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
3601
+ ],
3602
+ name: "balanceOfBatch",
3603
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }]
3604
+ },
3605
+ {
3606
+ stateMutability: "view",
3607
+ type: "function",
3608
+ inputs: [],
3609
+ name: "contractURI",
3610
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3611
+ },
3612
+ {
3613
+ stateMutability: "pure",
3614
+ type: "function",
3615
+ inputs: [],
3616
+ name: "contractVersion",
3617
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3618
+ },
3619
+ {
3620
+ stateMutability: "nonpayable",
3621
+ type: "function",
3622
+ inputs: [
3623
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3624
+ {
3625
+ name: "tokenConfig",
3626
+ internalType: "struct TokenConfig",
3627
+ type: "tuple",
3628
+ components: [
3629
+ { name: "price", internalType: "uint256", type: "uint256" },
3630
+ { name: "tokenAddress", internalType: "address", type: "address" }
3631
+ ]
3632
+ }
3633
+ ],
3634
+ name: "createToken",
3635
+ outputs: []
3636
+ },
3637
+ {
3638
+ stateMutability: "view",
3639
+ type: "function",
3640
+ inputs: [],
3641
+ name: "getManager",
3642
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3643
+ },
3644
+ {
3645
+ stateMutability: "view",
3646
+ type: "function",
3647
+ inputs: [],
3648
+ name: "getMsgSender",
3649
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3650
+ },
3651
+ {
3652
+ stateMutability: "view",
3653
+ type: "function",
3654
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3655
+ name: "getTokenConfig",
3656
+ outputs: [
3657
+ {
3658
+ name: "",
3659
+ internalType: "struct TokenConfig",
3660
+ type: "tuple",
3661
+ components: [
3662
+ { name: "price", internalType: "uint256", type: "uint256" },
3663
+ { name: "tokenAddress", internalType: "address", type: "address" }
3664
+ ]
3665
+ }
3666
+ ]
3667
+ },
3668
+ {
3669
+ stateMutability: "view",
3670
+ type: "function",
3671
+ inputs: [
3672
+ { name: "account", internalType: "address", type: "address" },
3673
+ { name: "operator", internalType: "address", type: "address" }
3674
+ ],
3675
+ name: "isApprovedForAll",
3676
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3677
+ },
3678
+ {
3679
+ stateMutability: "view",
3680
+ type: "function",
3681
+ inputs: [],
3682
+ name: "isConsumingScheduledOp",
3683
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
3684
+ },
3685
+ {
3686
+ stateMutability: "nonpayable",
3687
+ type: "function",
3688
+ inputs: [
3689
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3690
+ { name: "tokenAddress", internalType: "address", type: "address" },
3691
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3692
+ { name: "recipient", internalType: "address", type: "address" },
3693
+ { name: "data", internalType: "bytes", type: "bytes" }
3694
+ ],
3695
+ name: "mintTokenWithERC20",
3696
+ outputs: []
3697
+ },
3698
+ {
3699
+ stateMutability: "payable",
3700
+ type: "function",
3701
+ inputs: [
3702
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3703
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3704
+ { name: "recipient", internalType: "address", type: "address" },
3705
+ { name: "data", internalType: "bytes", type: "bytes" }
3706
+ ],
3707
+ name: "mintTokenWithEth",
3708
+ outputs: []
3709
+ },
3710
+ {
3711
+ stateMutability: "pure",
3712
+ type: "function",
3713
+ inputs: [],
3714
+ name: "name",
3715
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3716
+ },
3717
+ {
3718
+ stateMutability: "nonpayable",
3719
+ type: "function",
3720
+ inputs: [
3721
+ { name: "newContractURI", internalType: "string", type: "string" },
3722
+ { name: "newBaseURI", internalType: "string", type: "string" }
3723
+ ],
3724
+ name: "notifyURIsUpdated",
3725
+ outputs: []
3726
+ },
3727
+ {
3728
+ stateMutability: "nonpayable",
3729
+ type: "function",
3730
+ inputs: [
3731
+ { name: "newUri", internalType: "string", type: "string" },
3732
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
3733
+ ],
3734
+ name: "notifyUpdatedTokenURI",
3735
+ outputs: []
3736
+ },
3737
+ {
3738
+ stateMutability: "nonpayable",
3739
+ type: "function",
3740
+ inputs: [
3741
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3742
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3743
+ { name: "recipient", internalType: "address", type: "address" }
3744
+ ],
3745
+ name: "redeem",
3746
+ outputs: [
3747
+ {
3748
+ name: "",
3749
+ internalType: "struct Redemption",
3750
+ type: "tuple",
3751
+ components: [
3752
+ { name: "tokenAddress", internalType: "address", type: "address" },
3753
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
3754
+ ]
3755
+ }
3756
+ ]
3757
+ },
3758
+ {
3759
+ stateMutability: "nonpayable",
3760
+ type: "function",
3761
+ inputs: [
3762
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3763
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3764
+ { name: "recipient", internalType: "address", type: "address" }
3765
+ ],
3766
+ name: "redeemBatch",
3767
+ outputs: [
3768
+ {
3769
+ name: "redemptions",
3770
+ internalType: "struct Redemption[]",
3771
+ type: "tuple[]",
3772
+ components: [
3773
+ { name: "tokenAddress", internalType: "address", type: "address" },
3774
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
3775
+ ]
3776
+ }
3777
+ ]
3778
+ },
3779
+ {
3780
+ stateMutability: "nonpayable",
3781
+ type: "function",
3782
+ inputs: [
3783
+ { name: "from", internalType: "address", type: "address" },
3784
+ { name: "to", internalType: "address", type: "address" },
3785
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
3786
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
3787
+ { name: "data", internalType: "bytes", type: "bytes" }
3788
+ ],
3789
+ name: "safeBatchTransferFrom",
3790
+ outputs: []
3791
+ },
3792
+ {
3793
+ stateMutability: "nonpayable",
3794
+ type: "function",
3795
+ inputs: [
3796
+ { name: "from", internalType: "address", type: "address" },
3797
+ { name: "to", internalType: "address", type: "address" },
3798
+ { name: "id", internalType: "uint256", type: "uint256" },
3799
+ { name: "value", internalType: "uint256", type: "uint256" },
3800
+ { name: "data", internalType: "bytes", type: "bytes" }
3801
+ ],
3802
+ name: "safeTransferFrom",
3803
+ outputs: []
3804
+ },
3805
+ {
3806
+ stateMutability: "nonpayable",
3807
+ type: "function",
3808
+ inputs: [
3809
+ { name: "operator", internalType: "address", type: "address" },
3810
+ { name: "approved", internalType: "bool", type: "bool" }
3811
+ ],
3812
+ name: "setApprovalForAll",
3813
+ outputs: []
3814
+ },
3815
+ {
3816
+ stateMutability: "nonpayable",
3817
+ type: "function",
3818
+ inputs: [
3819
+ { name: "newAuthority", internalType: "address", type: "address" }
3820
+ ],
3821
+ name: "setAuthority",
3822
+ outputs: []
3823
+ },
3824
+ {
3825
+ stateMutability: "view",
3826
+ type: "function",
3827
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
3828
+ name: "supportsInterface",
3829
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3830
+ },
3831
+ {
3832
+ stateMutability: "pure",
3833
+ type: "function",
3834
+ inputs: [],
3835
+ name: "symbol",
3836
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3837
+ },
3838
+ {
3839
+ stateMutability: "view",
3840
+ type: "function",
3841
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3842
+ name: "tokenExists",
3843
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3844
+ },
3845
+ {
3846
+ stateMutability: "view",
3847
+ type: "function",
3848
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3849
+ name: "tokenPrice",
3850
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3851
+ },
3852
+ {
3853
+ stateMutability: "payable",
3854
+ type: "function",
3855
+ inputs: [
3856
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3857
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3858
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3859
+ { name: "call", internalType: "bytes", type: "bytes" }
3860
+ ],
3861
+ name: "transferBatchToManagerAndCall",
3862
+ outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }]
3863
+ },
3864
+ {
3865
+ stateMutability: "view",
3866
+ type: "function",
3867
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3868
+ name: "uri",
3869
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3870
+ },
3871
+ {
3872
+ type: "event",
3873
+ anonymous: false,
3874
+ inputs: [
3875
+ {
3876
+ name: "account",
3877
+ internalType: "address",
3878
+ type: "address",
3879
+ indexed: true
3880
+ },
3881
+ {
3882
+ name: "operator",
3883
+ internalType: "address",
3884
+ type: "address",
3885
+ indexed: true
3886
+ },
3887
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
3888
+ ],
3889
+ name: "ApprovalForAll"
3890
+ },
3891
+ {
3892
+ type: "event",
3893
+ anonymous: false,
3894
+ inputs: [
3895
+ {
3896
+ name: "authority",
3897
+ internalType: "address",
3898
+ type: "address",
3899
+ indexed: false
3900
+ }
3901
+ ],
3902
+ name: "AuthorityUpdated"
3903
+ },
3904
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
3905
+ {
3906
+ type: "event",
3907
+ anonymous: false,
3908
+ inputs: [
3909
+ {
3910
+ name: "tokenId",
3911
+ internalType: "uint256",
3912
+ type: "uint256",
3913
+ indexed: true
3914
+ }
3915
+ ],
3916
+ name: "EthMintableTokenSet"
3917
+ },
3918
+ {
3919
+ type: "event",
3920
+ anonymous: false,
3921
+ inputs: [
3922
+ {
3923
+ name: "tokenId",
3924
+ internalType: "uint256",
3925
+ type: "uint256",
3926
+ indexed: true
3927
+ },
3928
+ {
3929
+ name: "pricePerToken",
3930
+ internalType: "uint256",
3931
+ type: "uint256",
3932
+ indexed: true
3933
+ }
3934
+ ],
3935
+ name: "EthTokenCreated"
3936
+ },
3937
+ {
3938
+ type: "event",
3939
+ anonymous: false,
3940
+ inputs: [
3941
+ {
3942
+ name: "tokenIds",
3943
+ internalType: "uint256[]",
3944
+ type: "uint256[]",
3945
+ indexed: false
3946
+ },
3947
+ {
3948
+ name: "quantities",
3949
+ internalType: "uint256[]",
3950
+ type: "uint256[]",
3951
+ indexed: false
3952
+ },
3953
+ {
3954
+ name: "recipient",
3955
+ internalType: "address",
3956
+ type: "address",
3957
+ indexed: false
3958
+ }
3959
+ ],
3960
+ name: "RedeemedBatch"
3961
+ },
3962
+ {
3963
+ type: "event",
3964
+ anonymous: false,
3965
+ inputs: [
3966
+ {
3967
+ name: "tokenId",
3968
+ internalType: "uint256",
3969
+ type: "uint256",
3970
+ indexed: true
3971
+ },
3972
+ {
3973
+ name: "tokenConfig",
3974
+ internalType: "struct TokenConfig",
3975
+ type: "tuple",
3976
+ components: [
3977
+ { name: "price", internalType: "uint256", type: "uint256" },
3978
+ { name: "tokenAddress", internalType: "address", type: "address" }
3979
+ ],
3980
+ indexed: true
3981
+ }
3982
+ ],
3983
+ name: "TokenCreated"
3984
+ },
3985
+ {
3986
+ type: "event",
3987
+ anonymous: false,
3988
+ inputs: [
3989
+ {
3990
+ name: "operator",
3991
+ internalType: "address",
3992
+ type: "address",
3993
+ indexed: true
3994
+ },
3995
+ { name: "from", internalType: "address", type: "address", indexed: true },
3996
+ { name: "to", internalType: "address", type: "address", indexed: true },
3997
+ {
3998
+ name: "ids",
3999
+ internalType: "uint256[]",
4000
+ type: "uint256[]",
4001
+ indexed: false
4002
+ },
4003
+ {
4004
+ name: "values",
4005
+ internalType: "uint256[]",
4006
+ type: "uint256[]",
4007
+ indexed: false
4008
+ }
4009
+ ],
4010
+ name: "TransferBatch"
4011
+ },
4012
+ {
4013
+ type: "event",
4014
+ anonymous: false,
4015
+ inputs: [
4016
+ {
4017
+ name: "operator",
4018
+ internalType: "address",
4019
+ type: "address",
4020
+ indexed: true
4021
+ },
4022
+ { name: "from", internalType: "address", type: "address", indexed: true },
4023
+ { name: "to", internalType: "address", type: "address", indexed: true },
4024
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
4025
+ {
4026
+ name: "value",
4027
+ internalType: "uint256",
4028
+ type: "uint256",
4029
+ indexed: false
4030
+ }
4031
+ ],
4032
+ name: "TransferSingle"
4033
+ },
4034
+ {
4035
+ type: "event",
4036
+ anonymous: false,
4037
+ inputs: [
4038
+ { name: "value", internalType: "string", type: "string", indexed: false },
4039
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
4040
+ ],
4041
+ name: "URI"
4042
+ },
4043
+ {
4044
+ type: "event",
4045
+ anonymous: false,
4046
+ inputs: [
4047
+ {
4048
+ name: "contractURI",
4049
+ internalType: "string",
4050
+ type: "string",
4051
+ indexed: false
4052
+ },
4053
+ {
4054
+ name: "baseURI",
4055
+ internalType: "string",
4056
+ type: "string",
4057
+ indexed: false
4058
+ }
4059
+ ],
4060
+ name: "URIsUpdated"
4061
+ },
4062
+ {
4063
+ type: "error",
4064
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
4065
+ name: "AccessManagedInvalidAuthority"
4066
+ },
4067
+ {
4068
+ type: "error",
4069
+ inputs: [
4070
+ { name: "caller", internalType: "address", type: "address" },
4071
+ { name: "delay", internalType: "uint32", type: "uint32" }
4072
+ ],
4073
+ name: "AccessManagedRequiredDelay"
4074
+ },
4075
+ {
4076
+ type: "error",
4077
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
4078
+ name: "AccessManagedUnauthorized"
4079
+ },
4080
+ {
4081
+ type: "error",
4082
+ inputs: [
4083
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
4084
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
4085
+ ],
4086
+ name: "ArrayLengthMismatch"
4087
+ },
4088
+ {
4089
+ type: "error",
4090
+ inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
4091
+ name: "CallFailed"
4092
+ },
4093
+ {
4094
+ type: "error",
4095
+ inputs: [
4096
+ { name: "sender", internalType: "address", type: "address" },
4097
+ { name: "balance", internalType: "uint256", type: "uint256" },
4098
+ { name: "needed", internalType: "uint256", type: "uint256" },
4099
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
4100
+ ],
4101
+ name: "ERC1155InsufficientBalance"
4102
+ },
4103
+ {
4104
+ type: "error",
4105
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
4106
+ name: "ERC1155InvalidApprover"
4107
+ },
4108
+ {
4109
+ type: "error",
4110
+ inputs: [
4111
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
4112
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
4113
+ ],
4114
+ name: "ERC1155InvalidArrayLength"
4115
+ },
4116
+ {
4117
+ type: "error",
4118
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
4119
+ name: "ERC1155InvalidOperator"
4120
+ },
4121
+ {
4122
+ type: "error",
4123
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
4124
+ name: "ERC1155InvalidReceiver"
4125
+ },
4126
+ {
4127
+ type: "error",
4128
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
4129
+ name: "ERC1155InvalidSender"
4130
+ },
4131
+ {
4132
+ type: "error",
4133
+ inputs: [
4134
+ { name: "operator", internalType: "address", type: "address" },
4135
+ { name: "owner", internalType: "address", type: "address" }
4136
+ ],
4137
+ name: "ERC1155MissingApprovalForAll"
4138
+ },
4139
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
4140
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
4141
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
4142
+ { type: "error", inputs: [], name: "InvalidRecipient" },
4143
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
4144
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
4145
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
4146
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
4147
+ {
4148
+ type: "error",
4149
+ inputs: [
4150
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
4151
+ {
4152
+ name: "expectedTokenAddress",
4153
+ internalType: "address",
4154
+ type: "address"
4155
+ }
4156
+ ],
4157
+ name: "TokenMismatch"
4158
+ },
4159
+ { type: "error", inputs: [], name: "TokenNotMintable" }
4160
+ ];
4161
+ var zoraMints1155Address = {
4162
+ 999999999: "0x777777772b3123825eE55F3C45b6CbFd1631aBE1"
4163
+ };
4164
+ var zoraMints1155Config = {
4165
+ address: zoraMints1155Address,
4166
+ abi: zoraMints1155ABI
4167
+ };
4168
+ var zoraMintsManagerImplABI = [
4169
+ {
4170
+ stateMutability: "nonpayable",
4171
+ type: "constructor",
4172
+ inputs: [
4173
+ {
4174
+ name: "_premintExecutor",
4175
+ internalType: "contract IZoraCreator1155PremintExecutorV2",
4176
+ type: "address"
4177
+ }
4178
+ ]
4179
+ },
4180
+ {
4181
+ stateMutability: "view",
4182
+ type: "function",
4183
+ inputs: [],
4184
+ name: "UPGRADE_INTERFACE_VERSION",
4185
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4186
+ },
4187
+ {
4188
+ stateMutability: "nonpayable",
4189
+ type: "function",
4190
+ inputs: [],
4191
+ name: "acceptOwnership",
4192
+ outputs: []
4193
+ },
4194
+ {
4195
+ stateMutability: "view",
4196
+ type: "function",
4197
+ inputs: [
4198
+ { name: "caller", internalType: "address", type: "address" },
4199
+ { name: "", internalType: "address", type: "address" },
4200
+ { name: "", internalType: "bytes4", type: "bytes4" }
4201
+ ],
4202
+ name: "canCall",
4203
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
4204
+ },
4205
+ {
4206
+ stateMutability: "payable",
4207
+ type: "function",
4208
+ inputs: [
4209
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4210
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4211
+ {
4212
+ name: "zoraCreator1155Contract",
4213
+ internalType: "contract IMintWithMints",
4214
+ type: "address"
4215
+ },
4216
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
4217
+ {
4218
+ name: "zoraCreator1155TokenId",
4219
+ internalType: "uint256",
4220
+ type: "uint256"
4221
+ },
4222
+ {
4223
+ name: "mintArguments",
4224
+ internalType: "struct MintArguments",
4225
+ type: "tuple",
4226
+ components: [
4227
+ { name: "mintRecipient", internalType: "address", type: "address" },
4228
+ { name: "mintComment", internalType: "string", type: "string" },
4229
+ {
4230
+ name: "mintRewardsRecipients",
4231
+ internalType: "address[]",
4232
+ type: "address[]"
4233
+ }
4234
+ ]
4235
+ }
4236
+ ],
4237
+ name: "collect",
4238
+ outputs: []
4239
+ },
4240
+ {
4241
+ stateMutability: "payable",
4242
+ type: "function",
4243
+ inputs: [
4244
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4245
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4246
+ {
4247
+ name: "contractConfig",
4248
+ internalType: "struct ContractCreationConfig",
4249
+ type: "tuple",
4250
+ components: [
4251
+ { name: "contractAdmin", internalType: "address", type: "address" },
4252
+ { name: "contractURI", internalType: "string", type: "string" },
4253
+ { name: "contractName", internalType: "string", type: "string" }
4254
+ ]
4255
+ },
4256
+ {
4257
+ name: "premintConfig",
4258
+ internalType: "struct PremintConfigV2",
4259
+ type: "tuple",
4260
+ components: [
4261
+ {
4262
+ name: "tokenConfig",
4263
+ internalType: "struct TokenCreationConfigV2",
4264
+ type: "tuple",
4265
+ components: [
4266
+ { name: "tokenURI", internalType: "string", type: "string" },
4267
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
4268
+ {
4269
+ name: "maxTokensPerAddress",
4270
+ internalType: "uint64",
4271
+ type: "uint64"
4272
+ },
4273
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
4274
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
4275
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
4276
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
4277
+ {
4278
+ name: "payoutRecipient",
4279
+ internalType: "address",
4280
+ type: "address"
4281
+ },
4282
+ {
4283
+ name: "fixedPriceMinter",
4284
+ internalType: "address",
4285
+ type: "address"
4286
+ },
4287
+ {
4288
+ name: "createReferral",
4289
+ internalType: "address",
4290
+ type: "address"
4291
+ }
4292
+ ]
4293
+ },
4294
+ { name: "uid", internalType: "uint32", type: "uint32" },
4295
+ { name: "version", internalType: "uint32", type: "uint32" },
4296
+ { name: "deleted", internalType: "bool", type: "bool" }
4297
+ ]
4298
+ },
4299
+ { name: "signature", internalType: "bytes", type: "bytes" },
4300
+ {
4301
+ name: "mintArguments",
4302
+ internalType: "struct MintArguments",
4303
+ type: "tuple",
4304
+ components: [
4305
+ { name: "mintRecipient", internalType: "address", type: "address" },
4306
+ { name: "mintComment", internalType: "string", type: "string" },
4307
+ {
4308
+ name: "mintRewardsRecipients",
4309
+ internalType: "address[]",
4310
+ type: "address[]"
4311
+ }
4312
+ ]
4313
+ },
4314
+ { name: "signerContract", internalType: "address", type: "address" }
4315
+ ],
4316
+ name: "collectPremintV2",
4317
+ outputs: [
4318
+ {
4319
+ name: "result",
4320
+ internalType: "struct PremintResult",
4321
+ type: "tuple",
4322
+ components: [
4323
+ { name: "contractAddress", internalType: "address", type: "address" },
4324
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4325
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
4326
+ ]
4327
+ }
4328
+ ]
4329
+ },
4330
+ {
4331
+ stateMutability: "pure",
4332
+ type: "function",
4333
+ inputs: [],
4334
+ name: "contractName",
4335
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4336
+ },
4337
+ {
4338
+ stateMutability: "view",
4339
+ type: "function",
4340
+ inputs: [],
4341
+ name: "contractURI",
4342
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4343
+ },
4344
+ {
4345
+ stateMutability: "pure",
4346
+ type: "function",
4347
+ inputs: [],
4348
+ name: "contractVersion",
4349
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4350
+ },
4351
+ {
4352
+ stateMutability: "nonpayable",
4353
+ type: "function",
4354
+ inputs: [
4355
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4356
+ {
4357
+ name: "tokenConfig",
4358
+ internalType: "struct TokenConfig",
4359
+ type: "tuple",
4360
+ components: [
4361
+ { name: "price", internalType: "uint256", type: "uint256" },
4362
+ { name: "tokenAddress", internalType: "address", type: "address" }
4363
+ ]
4364
+ }
4365
+ ],
4366
+ name: "createToken",
4367
+ outputs: []
4368
+ },
4369
+ {
4370
+ stateMutability: "view",
4371
+ type: "function",
4372
+ inputs: [],
4373
+ name: "getEthPrice",
4374
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
4375
+ },
4376
+ {
4377
+ stateMutability: "view",
4378
+ type: "function",
4379
+ inputs: [],
4380
+ name: "implementation",
4381
+ outputs: [{ name: "", internalType: "address", type: "address" }]
4382
+ },
4383
+ {
4384
+ stateMutability: "nonpayable",
4385
+ type: "function",
4386
+ inputs: [
4387
+ { name: "defaultOwner", internalType: "address", type: "address" },
4388
+ { name: "zoraMintsSalt", internalType: "bytes32", type: "bytes32" },
4389
+ { name: "zoraMintsCreationCode", internalType: "bytes", type: "bytes" },
4390
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
4391
+ {
4392
+ name: "initialEthTokenPrice",
4393
+ internalType: "uint256",
4394
+ type: "uint256"
4395
+ },
4396
+ { name: "newBaseURI", internalType: "string", type: "string" },
4397
+ { name: "newContractURI", internalType: "string", type: "string" }
4398
+ ],
4399
+ name: "initialize",
4400
+ outputs: [
4401
+ {
4402
+ name: "mints",
4403
+ internalType: "contract IZoraMints1155",
4404
+ type: "address"
4405
+ }
4406
+ ]
4407
+ },
4408
+ {
4409
+ stateMutability: "nonpayable",
4410
+ type: "function",
4411
+ inputs: [
4412
+ { name: "tokenAddress", internalType: "address", type: "address" },
4413
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4414
+ { name: "recipient", internalType: "address", type: "address" }
4415
+ ],
4416
+ name: "mintWithERC20",
4417
+ outputs: [
4418
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
4419
+ ]
4420
+ },
4421
+ {
4422
+ stateMutability: "payable",
4423
+ type: "function",
4424
+ inputs: [
4425
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4426
+ { name: "recipient", internalType: "address", type: "address" }
4427
+ ],
4428
+ name: "mintWithEth",
4429
+ outputs: [
4430
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
4431
+ ]
4432
+ },
4433
+ {
4434
+ stateMutability: "view",
4435
+ type: "function",
4436
+ inputs: [],
4437
+ name: "mintableEthToken",
4438
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
4439
+ },
4440
+ {
4441
+ stateMutability: "pure",
4442
+ type: "function",
4443
+ inputs: [
4444
+ { name: "", internalType: "address", type: "address" },
4445
+ { name: "", internalType: "address", type: "address" },
4446
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
4447
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
4448
+ { name: "", internalType: "bytes", type: "bytes" }
4449
+ ],
4450
+ name: "onERC1155BatchReceived",
4451
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
4452
+ },
4453
+ {
4454
+ stateMutability: "pure",
4455
+ type: "function",
4456
+ inputs: [
4457
+ { name: "", internalType: "address", type: "address" },
4458
+ { name: "", internalType: "address", type: "address" },
4459
+ { name: "", internalType: "uint256", type: "uint256" },
4460
+ { name: "", internalType: "uint256", type: "uint256" },
4461
+ { name: "", internalType: "bytes", type: "bytes" }
4462
+ ],
4463
+ name: "onERC1155Received",
4464
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
4465
+ },
4466
+ {
4467
+ stateMutability: "view",
4468
+ type: "function",
4469
+ inputs: [],
4470
+ name: "owner",
4471
+ outputs: [{ name: "", internalType: "address", type: "address" }]
4472
+ },
4473
+ {
4474
+ stateMutability: "view",
4475
+ type: "function",
4476
+ inputs: [],
4477
+ name: "pendingOwner",
4478
+ outputs: [{ name: "", internalType: "address", type: "address" }]
4479
+ },
4480
+ {
4481
+ stateMutability: "view",
4482
+ type: "function",
4483
+ inputs: [],
4484
+ name: "proxiableUUID",
4485
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
4486
+ },
4487
+ {
4488
+ stateMutability: "nonpayable",
4489
+ type: "function",
4490
+ inputs: [],
4491
+ name: "renounceOwnership",
4492
+ outputs: []
4493
+ },
4494
+ {
4495
+ stateMutability: "nonpayable",
4496
+ type: "function",
4497
+ inputs: [
4498
+ { name: "tokenAddress", internalType: "address", type: "address" },
4499
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
4500
+ ],
4501
+ name: "setDefaultMintable",
4502
+ outputs: []
4503
+ },
4504
+ {
4505
+ stateMutability: "nonpayable",
4506
+ type: "function",
4507
+ inputs: [
4508
+ { name: "newContractURI", internalType: "string", type: "string" },
4509
+ { name: "newBaseURI", internalType: "string", type: "string" }
4510
+ ],
4511
+ name: "setMetadataURIs",
4512
+ outputs: []
4513
+ },
4514
+ {
4515
+ stateMutability: "nonpayable",
4516
+ type: "function",
4517
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
4518
+ name: "transferOwnership",
4519
+ outputs: []
4520
+ },
4521
+ {
4522
+ stateMutability: "payable",
4523
+ type: "function",
4524
+ inputs: [
4525
+ { name: "newImplementation", internalType: "address", type: "address" },
4526
+ { name: "data", internalType: "bytes", type: "bytes" }
4527
+ ],
4528
+ name: "upgradeToAndCall",
4529
+ outputs: []
4530
+ },
4531
+ {
4532
+ stateMutability: "view",
4533
+ type: "function",
4534
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
4535
+ name: "uri",
4536
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4537
+ },
4538
+ {
4539
+ stateMutability: "view",
4540
+ type: "function",
4541
+ inputs: [],
4542
+ name: "zoraMints1155",
4543
+ outputs: [
4544
+ { name: "", internalType: "contract IZoraMints1155", type: "address" }
4545
+ ]
4546
+ },
4547
+ {
4548
+ type: "event",
4549
+ anonymous: false,
4550
+ inputs: [
4551
+ {
4552
+ name: "tokenIds",
4553
+ internalType: "uint256[]",
4554
+ type: "uint256[]",
4555
+ indexed: true
4556
+ },
4557
+ {
4558
+ name: "quantities",
4559
+ internalType: "uint256[]",
4560
+ type: "uint256[]",
4561
+ indexed: false
4562
+ },
4563
+ {
4564
+ name: "zoraCreator1155Contract",
4565
+ internalType: "address",
4566
+ type: "address",
4567
+ indexed: true
4568
+ },
4569
+ {
4570
+ name: "zoraCreator1155TokenId",
4571
+ internalType: "uint256",
4572
+ type: "uint256",
4573
+ indexed: true
4574
+ }
4575
+ ],
4576
+ name: "Collected"
4577
+ },
4578
+ {
4579
+ type: "event",
4580
+ anonymous: false,
4581
+ inputs: [
4582
+ {
4583
+ name: "version",
4584
+ internalType: "uint64",
4585
+ type: "uint64",
4586
+ indexed: false
4587
+ }
4588
+ ],
4589
+ name: "Initialized"
4590
+ },
4591
+ {
4592
+ type: "event",
4593
+ anonymous: false,
4594
+ inputs: [
4595
+ {
4596
+ name: "sender",
4597
+ internalType: "address",
4598
+ type: "address",
4599
+ indexed: true
4600
+ },
4601
+ {
4602
+ name: "tokenContract",
4603
+ internalType: "address",
4604
+ type: "address",
4605
+ indexed: true
4606
+ },
4607
+ {
4608
+ name: "tokenId",
4609
+ internalType: "uint256",
4610
+ type: "uint256",
4611
+ indexed: true
4612
+ },
4613
+ {
4614
+ name: "quantity",
4615
+ internalType: "uint256",
4616
+ type: "uint256",
4617
+ indexed: false
4618
+ },
4619
+ {
4620
+ name: "comment",
4621
+ internalType: "string",
4622
+ type: "string",
4623
+ indexed: false
4624
+ }
4625
+ ],
4626
+ name: "MintComment"
4627
+ },
4628
+ {
4629
+ type: "event",
4630
+ anonymous: false,
4631
+ inputs: [
4632
+ {
4633
+ name: "previousOwner",
4634
+ internalType: "address",
4635
+ type: "address",
4636
+ indexed: true
4637
+ },
4638
+ {
4639
+ name: "newOwner",
4640
+ internalType: "address",
4641
+ type: "address",
4642
+ indexed: true
4643
+ }
4644
+ ],
4645
+ name: "OwnershipTransferStarted"
4646
+ },
4647
+ {
4648
+ type: "event",
4649
+ anonymous: false,
4650
+ inputs: [
4651
+ {
4652
+ name: "previousOwner",
4653
+ internalType: "address",
4654
+ type: "address",
4655
+ indexed: true
4656
+ },
4657
+ {
4658
+ name: "newOwner",
4659
+ internalType: "address",
4660
+ type: "address",
4661
+ indexed: true
4662
+ }
4663
+ ],
4664
+ name: "OwnershipTransferred"
4665
+ },
4666
+ {
4667
+ type: "event",
4668
+ anonymous: false,
4669
+ inputs: [
4670
+ {
4671
+ name: "contractURI",
4672
+ internalType: "string",
4673
+ type: "string",
4674
+ indexed: false
4675
+ },
4676
+ {
4677
+ name: "baseURI",
4678
+ internalType: "string",
4679
+ type: "string",
4680
+ indexed: false
4681
+ }
4682
+ ],
4683
+ name: "URIsUpdated"
4684
+ },
4685
+ {
4686
+ type: "event",
4687
+ anonymous: false,
4688
+ inputs: [
4689
+ {
4690
+ name: "implementation",
4691
+ internalType: "address",
4692
+ type: "address",
4693
+ indexed: true
4694
+ }
4695
+ ],
4696
+ name: "Upgraded"
4697
+ },
4698
+ {
4699
+ type: "error",
4700
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
4701
+ name: "AddressEmptyCode"
4702
+ },
4703
+ {
4704
+ type: "error",
4705
+ inputs: [
4706
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
4707
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
4708
+ ],
4709
+ name: "ArrayLengthMismatch"
4710
+ },
4711
+ {
4712
+ type: "error",
4713
+ inputs: [
4714
+ { name: "operator", internalType: "address", type: "address" },
4715
+ { name: "user", internalType: "address", type: "address" }
4716
+ ],
4717
+ name: "Burn_NotOwnerOrApproved"
4718
+ },
4719
+ {
4720
+ type: "error",
4721
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
4722
+ name: "CallFailed"
4723
+ },
4724
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
4725
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
4726
+ {
4727
+ type: "error",
4728
+ inputs: [
4729
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4730
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4731
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
4732
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
4733
+ ],
4734
+ name: "CannotMintMoreTokens"
4735
+ },
4736
+ {
4737
+ type: "error",
4738
+ inputs: [
4739
+ { name: "proposedAddress", internalType: "address", type: "address" }
4740
+ ],
4741
+ name: "Config_TransferHookNotSupported"
4742
+ },
4743
+ { type: "error", inputs: [], name: "Create2EmptyBytecode" },
4744
+ { type: "error", inputs: [], name: "Create2FailedDeployment" },
4745
+ {
4746
+ type: "error",
4747
+ inputs: [
4748
+ { name: "balance", internalType: "uint256", type: "uint256" },
4749
+ { name: "needed", internalType: "uint256", type: "uint256" }
4750
+ ],
4751
+ name: "Create2InsufficientBalance"
4752
+ },
4753
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
4754
+ {
4755
+ type: "error",
4756
+ inputs: [
4757
+ { name: "implementation", internalType: "address", type: "address" }
4758
+ ],
4759
+ name: "ERC1967InvalidImplementation"
4760
+ },
4761
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
4762
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
4763
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
4764
+ {
4765
+ type: "error",
4766
+ inputs: [
4767
+ { name: "recipient", internalType: "address", type: "address" },
4768
+ { name: "amount", internalType: "uint256", type: "uint256" }
4769
+ ],
4770
+ name: "ETHWithdrawFailed"
4771
+ },
4772
+ { type: "error", inputs: [], name: "FailedInnerCall" },
4773
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
4774
+ {
4775
+ type: "error",
4776
+ inputs: [
4777
+ { name: "amount", internalType: "uint256", type: "uint256" },
4778
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
4779
+ ],
4780
+ name: "FundsWithdrawInsolvent"
4781
+ },
4782
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
4783
+ { type: "error", inputs: [], name: "InvalidAdminAction" },
4784
+ { type: "error", inputs: [], name: "InvalidInitialization" },
4785
+ {
4786
+ type: "error",
4787
+ inputs: [
4788
+ { name: "mintTo", internalType: "address", type: "address" },
4789
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
4790
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
4791
+ ],
4792
+ name: "InvalidMerkleProof"
4793
+ },
4794
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
4795
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
4796
+ { type: "error", inputs: [], name: "InvalidRecipient" },
4797
+ { type: "error", inputs: [], name: "InvalidSignature" },
4798
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
4799
+ {
4800
+ type: "error",
4801
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
4802
+ name: "InvalidSigner"
4803
+ },
4804
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
4805
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
4806
+ { type: "error", inputs: [], name: "MintWithMintsNotSupportedOnContract" },
4807
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
4808
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
4809
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
4810
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
4811
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
4812
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
4813
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
4814
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
4815
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
4816
+ { type: "error", inputs: [], name: "NonEthRedemption" },
4817
+ { type: "error", inputs: [], name: "NotInitializing" },
4818
+ {
4819
+ type: "error",
4820
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
4821
+ name: "OwnableInvalidOwner"
4822
+ },
4823
+ {
4824
+ type: "error",
4825
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
4826
+ name: "OwnableUnauthorizedAccount"
4827
+ },
4828
+ { type: "error", inputs: [], name: "PremintDeleted" },
4829
+ {
4830
+ type: "error",
4831
+ inputs: [
4832
+ { name: "caller", internalType: "address", type: "address" },
4833
+ { name: "recipient", internalType: "address", type: "address" },
4834
+ { name: "amount", internalType: "uint256", type: "uint256" }
4835
+ ],
4836
+ name: "ProtocolRewardsWithdrawFailed"
4837
+ },
4838
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
4839
+ { type: "error", inputs: [], name: "SaleEnded" },
4840
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
4841
+ {
4842
+ type: "error",
4843
+ inputs: [
4844
+ { name: "targetContract", internalType: "address", type: "address" }
4845
+ ],
4846
+ name: "Sale_CannotCallNonSalesContract"
4847
+ },
4848
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
4849
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
4850
+ {
4851
+ type: "error",
4852
+ inputs: [
4853
+ { name: "expected", internalType: "uint256", type: "uint256" },
4854
+ { name: "actual", internalType: "uint256", type: "uint256" }
4855
+ ],
4856
+ name: "TokenIdMismatch"
4857
+ },
4858
+ {
4859
+ type: "error",
4860
+ inputs: [
4861
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
4862
+ {
4863
+ name: "expectedTokenAddress",
4864
+ internalType: "address",
4865
+ type: "address"
4866
+ }
4867
+ ],
4868
+ name: "TokenMismatch"
4869
+ },
4870
+ { type: "error", inputs: [], name: "TokenNotMintable" },
4871
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
4872
+ {
4873
+ type: "error",
4874
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
4875
+ name: "UUPSUnsupportedProxiableUUID"
4876
+ },
4877
+ {
4878
+ type: "error",
4879
+ inputs: [
4880
+ { name: "expected", internalType: "string", type: "string" },
4881
+ { name: "actual", internalType: "string", type: "string" }
4882
+ ],
4883
+ name: "UpgradeToMismatchedContractName"
4884
+ },
4885
+ {
4886
+ type: "error",
4887
+ inputs: [
4888
+ { name: "user", internalType: "address", type: "address" },
4889
+ { name: "limit", internalType: "uint256", type: "uint256" },
4890
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
4891
+ ],
4892
+ name: "UserExceedsMintLimit"
4893
+ },
4894
+ {
4895
+ type: "error",
4896
+ inputs: [
4897
+ { name: "user", internalType: "address", type: "address" },
4898
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4899
+ { name: "role", internalType: "uint256", type: "uint256" }
4900
+ ],
4901
+ name: "UserMissingRoleForToken"
4902
+ },
4903
+ { type: "error", inputs: [], name: "WrongValueSent" },
4904
+ {
4905
+ type: "error",
4906
+ inputs: [],
4907
+ name: "premintSignerContractFailedToRecoverSigner"
4908
+ },
4909
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
4910
+ ];
4911
+ var zoraMintsManagerImplAddress = {
4912
+ 999999999: "0x7777777579A2C6363387cC38C0A334624dDAbB90"
4913
+ };
4914
+ var zoraMintsManagerImplConfig = {
4915
+ address: zoraMintsManagerImplAddress,
4916
+ abi: zoraMintsManagerImplABI
4917
+ };
4918
+
4919
+ // src/generated/1155.ts
4920
+ var __exports = {};
4921
+ __export(__exports, {
4922
+ addresses: () => addresses,
4923
+ chainConfigs: () => chainConfigs
4924
+ });
4925
+ var chainConfigs = {
4926
+ "1": {
4927
+ "FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
4928
+ "MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
4929
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4930
+ },
4931
+ "10": {
4932
+ "FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
4933
+ "MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
4934
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4935
+ },
4936
+ "999": {
4937
+ "FACTORY_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
4938
+ "MINT_FEE_RECIPIENT": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
4939
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4940
+ },
4941
+ "8453": {
4942
+ "FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
4943
+ "MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
4944
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4945
+ },
4946
+ "42161": {
4947
+ "FACTORY_OWNER": "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
4948
+ "MINT_FEE_RECIPIENT": "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
4949
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4950
+ },
4951
+ "81457": {
4952
+ "FACTORY_OWNER": "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
4953
+ "MINT_FEE_RECIPIENT": "0x72E6394056f9152D3a41e5A25De383c191D16134",
4954
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4955
+ },
4956
+ "421614": {
4957
+ "FACTORY_OWNER": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
4958
+ "MINT_FEE_RECIPIENT": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
4959
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4960
+ },
4961
+ "7777777": {
4962
+ "FACTORY_OWNER": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
4963
+ "MINT_FEE_RECIPIENT": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
3537
4964
  "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3538
4965
  },
3539
4966
  "11155111": {
@@ -3564,6 +4991,7 @@ var addresses = {
3564
4991
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3565
4992
  "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3566
4993
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
4994
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
3567
4995
  "timestamp": 1706664239
3568
4996
  },
3569
4997
  "10": {
@@ -3577,6 +5005,7 @@ var addresses = {
3577
5005
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3578
5006
  "REDEEM_MINTER_FACTORY": "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
3579
5007
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
5008
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
3580
5009
  "timestamp": 1706664035
3581
5010
  },
3582
5011
  "999": {
@@ -3603,6 +5032,7 @@ var addresses = {
3603
5032
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3604
5033
  "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3605
5034
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
5035
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
3606
5036
  "timestamp": 1706663976
3607
5037
  },
3608
5038
  "42161": {
@@ -3616,6 +5046,7 @@ var addresses = {
3616
5046
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3617
5047
  "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3618
5048
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
5049
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
3619
5050
  "timestamp": 1706664653
3620
5051
  },
3621
5052
  "81457": {
@@ -3629,6 +5060,7 @@ var addresses = {
3629
5060
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3630
5061
  "REDEEM_MINTER_FACTORY": "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
3631
5062
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
5063
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
3632
5064
  "timestamp": 1709235955
3633
5065
  },
3634
5066
  "421614": {
@@ -3642,6 +5074,7 @@ var addresses = {
3642
5074
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3643
5075
  "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3644
5076
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
5077
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
3645
5078
  "timestamp": 1706661669
3646
5079
  },
3647
5080
  "7777777": {
@@ -3655,6 +5088,7 @@ var addresses = {
3655
5088
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3656
5089
  "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3657
5090
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
5091
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
3658
5092
  "timestamp": 1706663694
3659
5093
  },
3660
5094
  "11155111": {
@@ -3668,6 +5102,7 @@ var addresses = {
3668
5102
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3669
5103
  "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3670
5104
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
5105
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
3671
5106
  "timestamp": 1704336497
3672
5107
  },
3673
5108
  "168587773": {
@@ -3684,21 +5119,73 @@ var addresses = {
3684
5119
  "timestamp": 1709234007
3685
5120
  },
3686
5121
  "999999999": {
3687
- "CONTRACT_1155_IMPL": "0x980170C861E723309628a27c27397a955920F968",
3688
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3689
- "FACTORY_IMPL": "0xcea530A0d2d158500E248a59682a1D230c2422F7",
5122
+ "CONTRACT_1155_IMPL": "0xCD7aA5CbF0187fd8F426F3322E48B02Fb6b973d8",
5123
+ "CONTRACT_1155_IMPL_VERSION": "2.9.0-DEV.0",
5124
+ "FACTORY_IMPL": "0x9474664542fe17AC8f940aaC2160f1816607c9Cc",
3690
5125
  "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3691
5126
  "FIXED_PRICE_SALE_STRATEGY": "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
3692
5127
  "MERKLE_MINT_SALE_STRATEGY": "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
3693
- "PREMINTER_IMPL": "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
5128
+ "PREMINTER_IMPL": "0x1840606A43AC211Ffd548BE727563D863bfCF707",
3694
5129
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3695
5130
  "REDEEM_MINTER_FACTORY": "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
3696
5131
  "UPGRADE_GATE": "0x0000000000000000000000000000000000000000",
3697
- "timestamp": 1706663810
5132
+ "timestamp": 1711674862
5133
+ }
5134
+ };
5135
+
5136
+ // src/generated/mints.ts
5137
+ var mints_exports = {};
5138
+ __export(mints_exports, {
5139
+ addresses: () => addresses2,
5140
+ chainConfigs: () => chainConfigs2
5141
+ });
5142
+ var chainConfigs2 = {
5143
+ "1": {
5144
+ "PROXY_ADMIN": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
5145
+ "MINTS_OWNER": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
5146
+ },
5147
+ "10": {
5148
+ "PROXY_ADMIN": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
5149
+ "MINTS_OWNER": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
5150
+ },
5151
+ "420": {
5152
+ "PROXY_ADMIN": "0xbb45052B2260707655Dfd916a416264f5981192c",
5153
+ "MINTS_OWNER": "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
5154
+ },
5155
+ "999": {
5156
+ "PROXY_ADMIN": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
5157
+ "MINTS_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
5158
+ },
5159
+ "8453": {
5160
+ "PROXY_ADMIN": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
5161
+ "MINTS_OWNER": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
5162
+ },
5163
+ "84531": {
5164
+ "PROXY_ADMIN": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
5165
+ "MINTS_OWNER": "0x02539E813cA450C2c7334e885423f4A899a063Fe"
5166
+ },
5167
+ "7777777": {
5168
+ "PROXY_ADMIN": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
5169
+ "MINTS_OWNER": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
5170
+ },
5171
+ "11155111": {
5172
+ "PROXY_ADMIN": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
5173
+ "MINTS_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
5174
+ },
5175
+ "999999999": {
5176
+ "PROXY_ADMIN": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
5177
+ "MINTS_OWNER": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
5178
+ }
5179
+ };
5180
+ var addresses2 = {
5181
+ "999999999": {
5182
+ "MINTS_MANAGER_IMPL": "0x7E1F1c42EF28237223D9f31293836F058FcB2135",
5183
+ "MINTS_MANAGER_IMPL_VERSION": "0.0.2"
3698
5184
  }
3699
5185
  };
3700
5186
  export {
3701
5187
  __exports as contracts1155,
5188
+ mints_exports as mints,
3702
5189
  zoraCreator1155FactoryImplABI,
3703
5190
  zoraCreator1155FactoryImplAddress,
3704
5191
  zoraCreator1155FactoryImplConfig,
@@ -3714,6 +5201,12 @@ export {
3714
5201
  zoraCreatorMerkleMinterStrategyConfig,
3715
5202
  zoraCreatorRedeemMinterFactoryABI,
3716
5203
  zoraCreatorRedeemMinterFactoryAddress,
3717
- zoraCreatorRedeemMinterFactoryConfig
5204
+ zoraCreatorRedeemMinterFactoryConfig,
5205
+ zoraMints1155ABI,
5206
+ zoraMints1155Address,
5207
+ zoraMints1155Config,
5208
+ zoraMintsManagerImplABI,
5209
+ zoraMintsManagerImplAddress,
5210
+ zoraMintsManagerImplConfig
3718
5211
  };
3719
5212
  //# sourceMappingURL=index.js.map