@zoralabs/protocol-deployments 0.1.0 → 0.1.1-MINT.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.cjs CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
23
  contracts1155: () => __exports,
24
+ mints: () => mints_exports,
24
25
  zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
25
26
  zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
26
27
  zoraCreator1155FactoryImplConfig: () => zoraCreator1155FactoryImplConfig,
@@ -36,7 +37,10 @@ __export(src_exports, {
36
37
  zoraCreatorMerkleMinterStrategyConfig: () => zoraCreatorMerkleMinterStrategyConfig,
37
38
  zoraCreatorRedeemMinterFactoryABI: () => zoraCreatorRedeemMinterFactoryABI,
38
39
  zoraCreatorRedeemMinterFactoryAddress: () => zoraCreatorRedeemMinterFactoryAddress,
39
- zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig
40
+ zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig,
41
+ zoraMintsABI: () => zoraMintsABI,
42
+ zoraMintsAddress: () => zoraMintsAddress,
43
+ zoraMintsConfig: () => zoraMintsConfig
40
44
  });
41
45
  module.exports = __toCommonJS(src_exports);
42
46
 
@@ -518,11 +522,9 @@ var zoraCreator1155FactoryImplAddress = {
518
522
  1: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
519
523
  5: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
520
524
  10: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
521
- 420: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
522
525
  999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
523
526
  8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
524
527
  42161: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
525
- 84531: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
526
528
  421614: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
527
529
  7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
528
530
  11155111: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
@@ -539,7 +541,8 @@ var zoraCreator1155ImplABI = [
539
541
  inputs: [
540
542
  { name: "_mintFeeRecipient", internalType: "address", type: "address" },
541
543
  { name: "_upgradeGate", internalType: "address", type: "address" },
542
- { name: "_protocolRewards", internalType: "address", type: "address" }
544
+ { name: "_protocolRewards", internalType: "address", type: "address" },
545
+ { name: "_mints", internalType: "address", type: "address" }
543
546
  ]
544
547
  },
545
548
  { stateMutability: "payable", type: "receive" },
@@ -688,12 +691,12 @@ var zoraCreator1155ImplABI = [
688
691
  {
689
692
  stateMutability: "pure",
690
693
  type: "function",
691
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
694
+ inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
692
695
  name: "computeFreeMintRewards",
693
696
  outputs: [
694
697
  {
695
698
  name: "",
696
- internalType: "struct RewardsSettings",
699
+ internalType: "struct IRewardSplits.RewardsSettings",
697
700
  type: "tuple",
698
701
  components: [
699
702
  { name: "creatorReward", internalType: "uint256", type: "uint256" },
@@ -720,12 +723,12 @@ var zoraCreator1155ImplABI = [
720
723
  {
721
724
  stateMutability: "pure",
722
725
  type: "function",
723
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
726
+ inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
724
727
  name: "computePaidMintRewards",
725
728
  outputs: [
726
729
  {
727
730
  name: "",
728
- internalType: "struct RewardsSettings",
731
+ internalType: "struct IRewardSplits.RewardsSettings",
729
732
  type: "tuple",
730
733
  components: [
731
734
  { name: "creatorReward", internalType: "uint256", type: "uint256" },
@@ -752,7 +755,20 @@ var zoraCreator1155ImplABI = [
752
755
  {
753
756
  stateMutability: "pure",
754
757
  type: "function",
755
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
758
+ inputs: [
759
+ { name: "totalReward", internalType: "uint256", type: "uint256" },
760
+ { name: "rewardPct", internalType: "uint256", type: "uint256" }
761
+ ],
762
+ name: "computeRewardsPct",
763
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
764
+ },
765
+ {
766
+ stateMutability: "pure",
767
+ type: "function",
768
+ inputs: [
769
+ { name: "mintPrice", internalType: "uint256", type: "uint256" },
770
+ { name: "quantity", internalType: "uint256", type: "uint256" }
771
+ ],
756
772
  name: "computeTotalReward",
757
773
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
758
774
  },
@@ -815,7 +831,12 @@ var zoraCreator1155ImplABI = [
815
831
  { name: "premintConfig", internalType: "bytes", type: "bytes" },
816
832
  { name: "premintVersion", internalType: "bytes32", type: "bytes32" },
817
833
  { name: "signature", internalType: "bytes", type: "bytes" },
818
- { name: "sender", internalType: "address", type: "address" }
834
+ { name: "sender", internalType: "address", type: "address" },
835
+ {
836
+ name: "premintSignerContract",
837
+ internalType: "address",
838
+ type: "address"
839
+ }
819
840
  ],
820
841
  name: "delegateSetupNewToken",
821
842
  outputs: [{ name: "newTokenId", internalType: "uint256", type: "uint256" }]
@@ -898,6 +919,16 @@ var zoraCreator1155ImplABI = [
898
919
  }
899
920
  ]
900
921
  },
922
+ {
923
+ stateMutability: "view",
924
+ type: "function",
925
+ inputs: [
926
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
927
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" }
928
+ ],
929
+ name: "getTotalMintsQuantity",
930
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
931
+ },
901
932
  {
902
933
  stateMutability: "view",
903
934
  type: "function",
@@ -985,12 +1016,30 @@ var zoraCreator1155ImplABI = [
985
1016
  outputs: []
986
1017
  },
987
1018
  {
988
- stateMutability: "pure",
1019
+ stateMutability: "view",
989
1020
  type: "function",
990
1021
  inputs: [],
991
1022
  name: "mintFee",
992
1023
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
993
1024
  },
1025
+ {
1026
+ stateMutability: "payable",
1027
+ type: "function",
1028
+ inputs: [
1029
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
1030
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
1031
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
1032
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1033
+ {
1034
+ name: "rewardsRecipients",
1035
+ internalType: "address[]",
1036
+ type: "address[]"
1037
+ },
1038
+ { name: "minterArguments", internalType: "bytes", type: "bytes" }
1039
+ ],
1040
+ name: "mintWithMints",
1041
+ outputs: []
1042
+ },
994
1043
  {
995
1044
  stateMutability: "payable",
996
1045
  type: "function",
@@ -1025,6 +1074,19 @@ var zoraCreator1155ImplABI = [
1025
1074
  name: "nextTokenId",
1026
1075
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1027
1076
  },
1077
+ {
1078
+ stateMutability: "pure",
1079
+ type: "function",
1080
+ inputs: [
1081
+ { name: "", internalType: "address", type: "address" },
1082
+ { name: "", internalType: "address", type: "address" },
1083
+ { name: "", internalType: "uint256", type: "uint256" },
1084
+ { name: "", internalType: "uint256", type: "uint256" },
1085
+ { name: "", internalType: "bytes", type: "bytes" }
1086
+ ],
1087
+ name: "onERC1155Received",
1088
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
1089
+ },
1028
1090
  {
1029
1091
  stateMutability: "view",
1030
1092
  type: "function",
@@ -1848,9 +1910,17 @@ var zoraCreator1155ImplABI = [
1848
1910
  name: "InvalidMerkleProof"
1849
1911
  },
1850
1912
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
1913
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
1914
+ { type: "error", inputs: [], name: "InvalidSignature" },
1851
1915
  { type: "error", inputs: [], name: "InvalidSignatureVersion" },
1916
+ {
1917
+ type: "error",
1918
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
1919
+ name: "InvalidSigner"
1920
+ },
1852
1921
  { type: "error", inputs: [], name: "MintNotYetStarted" },
1853
1922
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
1923
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
1854
1924
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
1855
1925
  { type: "error", inputs: [], name: "Mint_UnknownCommand" },
1856
1926
  { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
@@ -1919,7 +1989,13 @@ var zoraCreator1155ImplABI = [
1919
1989
  ],
1920
1990
  name: "UserMissingRoleForToken"
1921
1991
  },
1922
- { type: "error", inputs: [], name: "WrongValueSent" }
1992
+ { type: "error", inputs: [], name: "WrongValueSent" },
1993
+ {
1994
+ type: "error",
1995
+ inputs: [],
1996
+ name: "premintSignerContractFailedToRecoverSigner"
1997
+ },
1998
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
1923
1999
  ];
1924
2000
  var zoraCreator1155PremintExecutorImplABI = [
1925
2001
  {
@@ -2092,6 +2168,19 @@ var zoraCreator1155PremintExecutorImplABI = [
2092
2168
  name: "pendingOwner",
2093
2169
  outputs: [{ name: "", internalType: "address", type: "address" }]
2094
2170
  },
2171
+ {
2172
+ stateMutability: "view",
2173
+ type: "function",
2174
+ inputs: [
2175
+ { name: "contractAddress", internalType: "address", type: "address" },
2176
+ { name: "uid", internalType: "uint32", type: "uint32" }
2177
+ ],
2178
+ name: "premintStatus",
2179
+ outputs: [
2180
+ { name: "contractCreated", internalType: "bool", type: "bool" },
2181
+ { name: "tokenIdForPremint", internalType: "uint256", type: "uint256" }
2182
+ ]
2183
+ },
2095
2184
  {
2096
2185
  stateMutability: "payable",
2097
2186
  type: "function",
@@ -2151,22 +2240,33 @@ var zoraCreator1155PremintExecutorImplABI = [
2151
2240
  },
2152
2241
  { name: "signature", internalType: "bytes", type: "bytes" },
2153
2242
  { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2154
- { name: "mintComment", internalType: "string", type: "string" }
2155
- ],
2156
- name: "premint",
2157
- outputs: [{ name: "newTokenId", internalType: "uint256", type: "uint256" }]
2158
- },
2159
- {
2160
- stateMutability: "view",
2161
- type: "function",
2162
- inputs: [
2163
- { name: "contractAddress", internalType: "address", type: "address" },
2164
- { name: "uid", internalType: "uint32", type: "uint32" }
2243
+ {
2244
+ name: "mintArguments",
2245
+ internalType: "struct MintArguments",
2246
+ type: "tuple",
2247
+ components: [
2248
+ { name: "mintRecipient", internalType: "address", type: "address" },
2249
+ { name: "mintComment", internalType: "string", type: "string" },
2250
+ {
2251
+ name: "mintRewardsRecipients",
2252
+ internalType: "address[]",
2253
+ type: "address[]"
2254
+ }
2255
+ ]
2256
+ }
2165
2257
  ],
2166
- name: "premintStatus",
2258
+ name: "premintV1",
2167
2259
  outputs: [
2168
- { name: "contractCreated", internalType: "bool", type: "bool" },
2169
- { name: "tokenIdForPremint", internalType: "uint256", type: "uint256" }
2260
+ {
2261
+ name: "result",
2262
+ internalType: "struct PremintResult",
2263
+ type: "tuple",
2264
+ components: [
2265
+ { name: "contractAddress", internalType: "address", type: "address" },
2266
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2267
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
2268
+ ]
2269
+ }
2170
2270
  ]
2171
2271
  },
2172
2272
  {
@@ -2185,12 +2285,12 @@ var zoraCreator1155PremintExecutorImplABI = [
2185
2285
  },
2186
2286
  {
2187
2287
  name: "premintConfig",
2188
- internalType: "struct PremintConfig",
2288
+ internalType: "struct PremintConfigV2",
2189
2289
  type: "tuple",
2190
2290
  components: [
2191
2291
  {
2192
2292
  name: "tokenConfig",
2193
- internalType: "struct TokenCreationConfig",
2293
+ internalType: "struct TokenCreationConfigV2",
2194
2294
  type: "tuple",
2195
2295
  components: [
2196
2296
  { name: "tokenURI", internalType: "string", type: "string" },
@@ -2203,14 +2303,9 @@ var zoraCreator1155PremintExecutorImplABI = [
2203
2303
  { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2204
2304
  { name: "mintStart", internalType: "uint64", type: "uint64" },
2205
2305
  { name: "mintDuration", internalType: "uint64", type: "uint64" },
2206
- {
2207
- name: "royaltyMintSchedule",
2208
- internalType: "uint32",
2209
- type: "uint32"
2210
- },
2211
2306
  { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2212
2307
  {
2213
- name: "royaltyRecipient",
2308
+ name: "payoutRecipient",
2214
2309
  internalType: "address",
2215
2310
  type: "address"
2216
2311
  },
@@ -2218,6 +2313,11 @@ var zoraCreator1155PremintExecutorImplABI = [
2218
2313
  name: "fixedPriceMinter",
2219
2314
  internalType: "address",
2220
2315
  type: "address"
2316
+ },
2317
+ {
2318
+ name: "createReferral",
2319
+ internalType: "address",
2320
+ type: "address"
2221
2321
  }
2222
2322
  ]
2223
2323
  },
@@ -2230,7 +2330,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2230
2330
  { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2231
2331
  {
2232
2332
  name: "mintArguments",
2233
- internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2333
+ internalType: "struct MintArguments",
2234
2334
  type: "tuple",
2235
2335
  components: [
2236
2336
  { name: "mintRecipient", internalType: "address", type: "address" },
@@ -2243,11 +2343,11 @@ var zoraCreator1155PremintExecutorImplABI = [
2243
2343
  ]
2244
2344
  }
2245
2345
  ],
2246
- name: "premintV1",
2346
+ name: "premintV2",
2247
2347
  outputs: [
2248
2348
  {
2249
2349
  name: "result",
2250
- internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2350
+ internalType: "struct PremintResult",
2251
2351
  type: "tuple",
2252
2352
  components: [
2253
2353
  { name: "contractAddress", internalType: "address", type: "address" },
@@ -2318,7 +2418,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2318
2418
  { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2319
2419
  {
2320
2420
  name: "mintArguments",
2321
- internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2421
+ internalType: "struct MintArguments",
2322
2422
  type: "tuple",
2323
2423
  components: [
2324
2424
  { name: "mintRecipient", internalType: "address", type: "address" },
@@ -2329,13 +2429,85 @@ var zoraCreator1155PremintExecutorImplABI = [
2329
2429
  type: "address[]"
2330
2430
  }
2331
2431
  ]
2432
+ },
2433
+ { name: "signerContract", internalType: "address", type: "address" }
2434
+ ],
2435
+ name: "premintV2WithSignerContract",
2436
+ outputs: [
2437
+ {
2438
+ name: "result",
2439
+ internalType: "struct PremintResult",
2440
+ type: "tuple",
2441
+ components: [
2442
+ { name: "contractAddress", internalType: "address", type: "address" },
2443
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2444
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
2445
+ ]
2332
2446
  }
2447
+ ]
2448
+ },
2449
+ {
2450
+ stateMutability: "payable",
2451
+ type: "function",
2452
+ inputs: [
2453
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
2454
+ {
2455
+ name: "mintTokenIdQuantities",
2456
+ internalType: "uint256[]",
2457
+ type: "uint256[]"
2458
+ },
2459
+ {
2460
+ name: "contractConfig",
2461
+ internalType: "struct ContractCreationConfig",
2462
+ type: "tuple",
2463
+ components: [
2464
+ { name: "contractAdmin", internalType: "address", type: "address" },
2465
+ { name: "contractURI", internalType: "string", type: "string" },
2466
+ { name: "contractName", internalType: "string", type: "string" }
2467
+ ]
2468
+ },
2469
+ {
2470
+ name: "encodedPremintConfig",
2471
+ internalType: "struct EncodedPremintConfig",
2472
+ type: "tuple",
2473
+ components: [
2474
+ { name: "premintConfig", internalType: "bytes", type: "bytes" },
2475
+ {
2476
+ name: "premintConfigVersion",
2477
+ internalType: "bytes32",
2478
+ type: "bytes32"
2479
+ },
2480
+ { name: "uid", internalType: "uint32", type: "uint32" },
2481
+ {
2482
+ name: "fixedPriceMinter",
2483
+ internalType: "address",
2484
+ type: "address"
2485
+ }
2486
+ ]
2487
+ },
2488
+ { name: "signature", internalType: "bytes", type: "bytes" },
2489
+ {
2490
+ name: "mintArguments",
2491
+ internalType: "struct MintArguments",
2492
+ type: "tuple",
2493
+ components: [
2494
+ { name: "mintRecipient", internalType: "address", type: "address" },
2495
+ { name: "mintComment", internalType: "string", type: "string" },
2496
+ {
2497
+ name: "mintRewardsRecipients",
2498
+ internalType: "address[]",
2499
+ type: "address[]"
2500
+ }
2501
+ ]
2502
+ },
2503
+ { name: "minter", internalType: "address", type: "address" },
2504
+ { name: "signerContract", internalType: "address", type: "address" }
2333
2505
  ],
2334
- name: "premintV2",
2506
+ name: "premintWithMints",
2335
2507
  outputs: [
2336
2508
  {
2337
2509
  name: "result",
2338
- internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2510
+ internalType: "struct PremintResult",
2339
2511
  type: "tuple",
2340
2512
  components: [
2341
2513
  { name: "contractAddress", internalType: "address", type: "address" },
@@ -2733,9 +2905,16 @@ var zoraCreator1155PremintExecutorImplABI = [
2733
2905
  name: "InvalidMerkleProof"
2734
2906
  },
2735
2907
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
2908
+ { type: "error", inputs: [], name: "InvalidSignature" },
2736
2909
  { type: "error", inputs: [], name: "InvalidSignatureVersion" },
2910
+ {
2911
+ type: "error",
2912
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
2913
+ name: "InvalidSigner"
2914
+ },
2737
2915
  { type: "error", inputs: [], name: "MintNotYetStarted" },
2738
2916
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
2917
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
2739
2918
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
2740
2919
  { type: "error", inputs: [], name: "Mint_UnknownCommand" },
2741
2920
  { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
@@ -2805,17 +2984,21 @@ var zoraCreator1155PremintExecutorImplABI = [
2805
2984
  ],
2806
2985
  name: "UserMissingRoleForToken"
2807
2986
  },
2808
- { type: "error", inputs: [], name: "WrongValueSent" }
2987
+ { type: "error", inputs: [], name: "WrongValueSent" },
2988
+ {
2989
+ type: "error",
2990
+ inputs: [],
2991
+ name: "premintSignerContractFailedToRecoverSigner"
2992
+ },
2993
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
2809
2994
  ];
2810
2995
  var zoraCreator1155PremintExecutorImplAddress = {
2811
2996
  1: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2812
2997
  5: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2813
2998
  10: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2814
- 420: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2815
2999
  999: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2816
3000
  8453: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2817
3001
  42161: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2818
- 84531: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2819
3002
  421614: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2820
3003
  7777777: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2821
3004
  11155111: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
@@ -3061,11 +3244,9 @@ var zoraCreatorFixedPriceSaleStrategyAddress = {
3061
3244
  1: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3062
3245
  5: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3063
3246
  10: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
3064
- 420: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3065
3247
  999: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3066
3248
  8453: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3067
3249
  42161: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3068
- 84531: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3069
3250
  421614: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3070
3251
  7777777: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3071
3252
  11155111: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
@@ -3275,11 +3456,9 @@ var zoraCreatorMerkleMinterStrategyAddress = {
3275
3456
  1: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3276
3457
  5: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3277
3458
  10: "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
3278
- 420: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3279
3459
  999: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3280
3460
  8453: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3281
3461
  42161: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3282
- 84531: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3283
3462
  421614: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3284
3463
  7777777: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3285
3464
  11155111: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
@@ -3441,11 +3620,9 @@ var zoraCreatorRedeemMinterFactoryAddress = {
3441
3620
  1: "0x78964965cF77850224513a367f899435C5B69174",
3442
3621
  5: "0x78964965cF77850224513a367f899435C5B69174",
3443
3622
  10: "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
3444
- 420: "0x78964965cF77850224513a367f899435C5B69174",
3445
3623
  999: "0x78964965cF77850224513a367f899435C5B69174",
3446
3624
  8453: "0x78964965cF77850224513a367f899435C5B69174",
3447
3625
  42161: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3448
- 84531: "0x78964965cF77850224513a367f899435C5B69174",
3449
3626
  421614: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3450
3627
  7777777: "0x78964965cF77850224513a367f899435C5B69174",
3451
3628
  11155111: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
@@ -3455,52 +3632,820 @@ var zoraCreatorRedeemMinterFactoryConfig = {
3455
3632
  address: zoraCreatorRedeemMinterFactoryAddress,
3456
3633
  abi: zoraCreatorRedeemMinterFactoryABI
3457
3634
  };
3458
-
3459
- // src/generated/1155.ts
3460
- var __exports = {};
3461
- __export(__exports, {
3462
- addresses: () => addresses,
3463
- chainConfigs: () => chainConfigs
3464
- });
3465
- var chainConfigs = {
3466
- "1": {
3467
- "FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
3468
- "MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
3469
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3470
- },
3471
- "5": {
3472
- "FACTORY_OWNER": "0xDC498668B5e6CC518fD58A2ADBF614Fd3A13D3a0",
3473
- "MINT_FEE_RECIPIENT": "0x9444390c01Dd5b7249E53FAc31290F7dFF53450D",
3474
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3475
- },
3476
- "10": {
3477
- "FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
3478
- "MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
3479
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3480
- },
3481
- "420": {
3482
- "FACTORY_OWNER": "0xbb45052B2260707655Dfd916a416264f5981192c",
3483
- "MINT_FEE_RECIPIENT": "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2",
3484
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3635
+ var zoraMintsABI = [
3636
+ {
3637
+ stateMutability: "nonpayable",
3638
+ type: "constructor",
3639
+ inputs: [
3640
+ {
3641
+ name: "_premintExecutor",
3642
+ internalType: "contract IPremintWithMints",
3643
+ type: "address"
3644
+ }
3645
+ ]
3485
3646
  },
3486
- "999": {
3487
- "FACTORY_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3488
- "MINT_FEE_RECIPIENT": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3489
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3647
+ {
3648
+ stateMutability: "nonpayable",
3649
+ type: "function",
3650
+ inputs: [],
3651
+ name: "acceptOwnership",
3652
+ outputs: []
3490
3653
  },
3491
- "8453": {
3492
- "FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
3493
- "MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
3494
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3654
+ {
3655
+ stateMutability: "view",
3656
+ type: "function",
3657
+ inputs: [
3658
+ { name: "account", internalType: "address", type: "address" },
3659
+ { name: "id", internalType: "uint256", type: "uint256" }
3660
+ ],
3661
+ name: "balanceOf",
3662
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3495
3663
  },
3496
- "42161": {
3497
- "FACTORY_OWNER": "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
3498
- "MINT_FEE_RECIPIENT": "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
3499
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3664
+ {
3665
+ stateMutability: "view",
3666
+ type: "function",
3667
+ inputs: [
3668
+ { name: "accounts", internalType: "address[]", type: "address[]" },
3669
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
3670
+ ],
3671
+ name: "balanceOfBatch",
3672
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }]
3500
3673
  },
3501
- "84531": {
3502
- "FACTORY_OWNER": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
3503
- "MINT_FEE_RECIPIENT": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
3674
+ {
3675
+ stateMutability: "payable",
3676
+ type: "function",
3677
+ inputs: [
3678
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3679
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3680
+ {
3681
+ name: "zoraCreator1155Contract",
3682
+ internalType: "contract IMintWithMints",
3683
+ type: "address"
3684
+ },
3685
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
3686
+ {
3687
+ name: "zoraCreator1155TokenId",
3688
+ internalType: "uint256",
3689
+ type: "uint256"
3690
+ },
3691
+ {
3692
+ name: "rewardsRecipients",
3693
+ internalType: "address[]",
3694
+ type: "address[]"
3695
+ },
3696
+ { name: "minterArguments", internalType: "bytes", type: "bytes" }
3697
+ ],
3698
+ name: "collect",
3699
+ outputs: []
3700
+ },
3701
+ {
3702
+ stateMutability: "payable",
3703
+ type: "function",
3704
+ inputs: [
3705
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3706
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3707
+ {
3708
+ name: "contractConfig",
3709
+ internalType: "struct ContractCreationConfig",
3710
+ type: "tuple",
3711
+ components: [
3712
+ { name: "contractAdmin", internalType: "address", type: "address" },
3713
+ { name: "contractURI", internalType: "string", type: "string" },
3714
+ { name: "contractName", internalType: "string", type: "string" }
3715
+ ]
3716
+ },
3717
+ {
3718
+ name: "premintConfig",
3719
+ internalType: "struct PremintConfigV2",
3720
+ type: "tuple",
3721
+ components: [
3722
+ {
3723
+ name: "tokenConfig",
3724
+ internalType: "struct TokenCreationConfigV2",
3725
+ type: "tuple",
3726
+ components: [
3727
+ { name: "tokenURI", internalType: "string", type: "string" },
3728
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
3729
+ {
3730
+ name: "maxTokensPerAddress",
3731
+ internalType: "uint64",
3732
+ type: "uint64"
3733
+ },
3734
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
3735
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
3736
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
3737
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
3738
+ {
3739
+ name: "payoutRecipient",
3740
+ internalType: "address",
3741
+ type: "address"
3742
+ },
3743
+ {
3744
+ name: "fixedPriceMinter",
3745
+ internalType: "address",
3746
+ type: "address"
3747
+ },
3748
+ {
3749
+ name: "createReferral",
3750
+ internalType: "address",
3751
+ type: "address"
3752
+ }
3753
+ ]
3754
+ },
3755
+ { name: "uid", internalType: "uint32", type: "uint32" },
3756
+ { name: "version", internalType: "uint32", type: "uint32" },
3757
+ { name: "deleted", internalType: "bool", type: "bool" }
3758
+ ]
3759
+ },
3760
+ { name: "signature", internalType: "bytes", type: "bytes" },
3761
+ {
3762
+ name: "mintArguments",
3763
+ internalType: "struct MintArguments",
3764
+ type: "tuple",
3765
+ components: [
3766
+ { name: "mintRecipient", internalType: "address", type: "address" },
3767
+ { name: "mintComment", internalType: "string", type: "string" },
3768
+ {
3769
+ name: "mintRewardsRecipients",
3770
+ internalType: "address[]",
3771
+ type: "address[]"
3772
+ }
3773
+ ]
3774
+ },
3775
+ { name: "signerContract", internalType: "address", type: "address" }
3776
+ ],
3777
+ name: "collectPremintV2",
3778
+ outputs: []
3779
+ },
3780
+ {
3781
+ stateMutability: "pure",
3782
+ type: "function",
3783
+ inputs: [],
3784
+ name: "contractVersion",
3785
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3786
+ },
3787
+ {
3788
+ stateMutability: "nonpayable",
3789
+ type: "function",
3790
+ inputs: [
3791
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3792
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
3793
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
3794
+ ],
3795
+ name: "createEthToken",
3796
+ outputs: []
3797
+ },
3798
+ {
3799
+ stateMutability: "view",
3800
+ type: "function",
3801
+ inputs: [],
3802
+ name: "getEthPrice",
3803
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3804
+ },
3805
+ {
3806
+ stateMutability: "view",
3807
+ type: "function",
3808
+ inputs: [],
3809
+ name: "implementation",
3810
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3811
+ },
3812
+ {
3813
+ stateMutability: "nonpayable",
3814
+ type: "function",
3815
+ inputs: [
3816
+ { name: "initialOwner", internalType: "address", type: "address" },
3817
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
3818
+ {
3819
+ name: "initialEthTokenPrice",
3820
+ internalType: "uint256",
3821
+ type: "uint256"
3822
+ }
3823
+ ],
3824
+ name: "initialize",
3825
+ outputs: []
3826
+ },
3827
+ {
3828
+ stateMutability: "view",
3829
+ type: "function",
3830
+ inputs: [
3831
+ { name: "account", internalType: "address", type: "address" },
3832
+ { name: "operator", internalType: "address", type: "address" }
3833
+ ],
3834
+ name: "isApprovedForAll",
3835
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3836
+ },
3837
+ {
3838
+ stateMutability: "payable",
3839
+ type: "function",
3840
+ inputs: [
3841
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3842
+ { name: "recipient", internalType: "address", type: "address" }
3843
+ ],
3844
+ name: "mintWithEth",
3845
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3846
+ },
3847
+ {
3848
+ stateMutability: "view",
3849
+ type: "function",
3850
+ inputs: [],
3851
+ name: "mintableEthToken",
3852
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3853
+ },
3854
+ {
3855
+ stateMutability: "pure",
3856
+ type: "function",
3857
+ inputs: [],
3858
+ name: "name",
3859
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3860
+ },
3861
+ {
3862
+ stateMutability: "view",
3863
+ type: "function",
3864
+ inputs: [],
3865
+ name: "owner",
3866
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3867
+ },
3868
+ {
3869
+ stateMutability: "view",
3870
+ type: "function",
3871
+ inputs: [],
3872
+ name: "pendingOwner",
3873
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3874
+ },
3875
+ {
3876
+ stateMutability: "view",
3877
+ type: "function",
3878
+ inputs: [],
3879
+ name: "premintExecutor",
3880
+ outputs: [
3881
+ { name: "", internalType: "contract IPremintWithMints", type: "address" }
3882
+ ]
3883
+ },
3884
+ {
3885
+ stateMutability: "nonpayable",
3886
+ type: "function",
3887
+ inputs: [
3888
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3889
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3890
+ { name: "recipient", internalType: "address", type: "address" }
3891
+ ],
3892
+ name: "redeem",
3893
+ outputs: [
3894
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
3895
+ ]
3896
+ },
3897
+ {
3898
+ stateMutability: "nonpayable",
3899
+ type: "function",
3900
+ inputs: [
3901
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3902
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3903
+ { name: "recipient", internalType: "address", type: "address" }
3904
+ ],
3905
+ name: "redeemBatch",
3906
+ outputs: [
3907
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
3908
+ ]
3909
+ },
3910
+ {
3911
+ stateMutability: "nonpayable",
3912
+ type: "function",
3913
+ inputs: [],
3914
+ name: "renounceOwnership",
3915
+ outputs: []
3916
+ },
3917
+ {
3918
+ stateMutability: "nonpayable",
3919
+ type: "function",
3920
+ inputs: [
3921
+ { name: "from", internalType: "address", type: "address" },
3922
+ { name: "to", internalType: "address", type: "address" },
3923
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
3924
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
3925
+ { name: "data", internalType: "bytes", type: "bytes" }
3926
+ ],
3927
+ name: "safeBatchTransferFrom",
3928
+ outputs: []
3929
+ },
3930
+ {
3931
+ stateMutability: "nonpayable",
3932
+ type: "function",
3933
+ inputs: [
3934
+ { name: "from", internalType: "address", type: "address" },
3935
+ { name: "to", internalType: "address", type: "address" },
3936
+ { name: "id", internalType: "uint256", type: "uint256" },
3937
+ { name: "value", internalType: "uint256", type: "uint256" },
3938
+ { name: "data", internalType: "bytes", type: "bytes" }
3939
+ ],
3940
+ name: "safeTransferFrom",
3941
+ outputs: []
3942
+ },
3943
+ {
3944
+ stateMutability: "nonpayable",
3945
+ type: "function",
3946
+ inputs: [
3947
+ { name: "operator", internalType: "address", type: "address" },
3948
+ { name: "approved", internalType: "bool", type: "bool" }
3949
+ ],
3950
+ name: "setApprovalForAll",
3951
+ outputs: []
3952
+ },
3953
+ {
3954
+ stateMutability: "nonpayable",
3955
+ type: "function",
3956
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3957
+ name: "setMintableEthToken",
3958
+ outputs: []
3959
+ },
3960
+ {
3961
+ stateMutability: "view",
3962
+ type: "function",
3963
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
3964
+ name: "supportsInterface",
3965
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3966
+ },
3967
+ {
3968
+ stateMutability: "pure",
3969
+ type: "function",
3970
+ inputs: [],
3971
+ name: "symbol",
3972
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3973
+ },
3974
+ {
3975
+ stateMutability: "view",
3976
+ type: "function",
3977
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3978
+ name: "tokenCreated",
3979
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3980
+ },
3981
+ {
3982
+ stateMutability: "view",
3983
+ type: "function",
3984
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3985
+ name: "tokenPrice",
3986
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3987
+ },
3988
+ {
3989
+ stateMutability: "nonpayable",
3990
+ type: "function",
3991
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
3992
+ name: "transferOwnership",
3993
+ outputs: []
3994
+ },
3995
+ {
3996
+ stateMutability: "view",
3997
+ type: "function",
3998
+ inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3999
+ name: "uri",
4000
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4001
+ },
4002
+ {
4003
+ type: "event",
4004
+ anonymous: false,
4005
+ inputs: [
4006
+ {
4007
+ name: "account",
4008
+ internalType: "address",
4009
+ type: "address",
4010
+ indexed: true
4011
+ },
4012
+ {
4013
+ name: "operator",
4014
+ internalType: "address",
4015
+ type: "address",
4016
+ indexed: true
4017
+ },
4018
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
4019
+ ],
4020
+ name: "ApprovalForAll"
4021
+ },
4022
+ {
4023
+ type: "event",
4024
+ anonymous: false,
4025
+ inputs: [
4026
+ {
4027
+ name: "tokenIds",
4028
+ internalType: "uint256[]",
4029
+ type: "uint256[]",
4030
+ indexed: true
4031
+ },
4032
+ {
4033
+ name: "quantities",
4034
+ internalType: "uint256[]",
4035
+ type: "uint256[]",
4036
+ indexed: false
4037
+ },
4038
+ {
4039
+ name: "zoraCreator1155Contract",
4040
+ internalType: "address",
4041
+ type: "address",
4042
+ indexed: true
4043
+ },
4044
+ {
4045
+ name: "zoraCreator1155TokenId",
4046
+ internalType: "uint256",
4047
+ type: "uint256",
4048
+ indexed: true
4049
+ }
4050
+ ],
4051
+ name: "Collected"
4052
+ },
4053
+ {
4054
+ type: "event",
4055
+ anonymous: false,
4056
+ inputs: [
4057
+ {
4058
+ name: "tokenId",
4059
+ internalType: "uint256",
4060
+ type: "uint256",
4061
+ indexed: true
4062
+ }
4063
+ ],
4064
+ name: "EthMintableTokenSet"
4065
+ },
4066
+ {
4067
+ type: "event",
4068
+ anonymous: false,
4069
+ inputs: [
4070
+ {
4071
+ name: "tokenId",
4072
+ internalType: "uint256",
4073
+ type: "uint256",
4074
+ indexed: true
4075
+ },
4076
+ {
4077
+ name: "pricePerToken",
4078
+ internalType: "uint256",
4079
+ type: "uint256",
4080
+ indexed: true
4081
+ }
4082
+ ],
4083
+ name: "EthTokenCreated"
4084
+ },
4085
+ {
4086
+ type: "event",
4087
+ anonymous: false,
4088
+ inputs: [
4089
+ {
4090
+ name: "version",
4091
+ internalType: "uint64",
4092
+ type: "uint64",
4093
+ indexed: false
4094
+ }
4095
+ ],
4096
+ name: "Initialized"
4097
+ },
4098
+ {
4099
+ type: "event",
4100
+ anonymous: false,
4101
+ inputs: [
4102
+ {
4103
+ name: "previousOwner",
4104
+ internalType: "address",
4105
+ type: "address",
4106
+ indexed: true
4107
+ },
4108
+ {
4109
+ name: "newOwner",
4110
+ internalType: "address",
4111
+ type: "address",
4112
+ indexed: true
4113
+ }
4114
+ ],
4115
+ name: "OwnershipTransferStarted"
4116
+ },
4117
+ {
4118
+ type: "event",
4119
+ anonymous: false,
4120
+ inputs: [
4121
+ {
4122
+ name: "previousOwner",
4123
+ internalType: "address",
4124
+ type: "address",
4125
+ indexed: true
4126
+ },
4127
+ {
4128
+ name: "newOwner",
4129
+ internalType: "address",
4130
+ type: "address",
4131
+ indexed: true
4132
+ }
4133
+ ],
4134
+ name: "OwnershipTransferred"
4135
+ },
4136
+ {
4137
+ type: "event",
4138
+ anonymous: false,
4139
+ inputs: [
4140
+ {
4141
+ name: "tokenIds",
4142
+ internalType: "uint256[]",
4143
+ type: "uint256[]",
4144
+ indexed: false
4145
+ },
4146
+ {
4147
+ name: "quantities",
4148
+ internalType: "uint256[]",
4149
+ type: "uint256[]",
4150
+ indexed: false
4151
+ },
4152
+ {
4153
+ name: "recipient",
4154
+ internalType: "address",
4155
+ type: "address",
4156
+ indexed: false
4157
+ }
4158
+ ],
4159
+ name: "RedeemedBatch"
4160
+ },
4161
+ {
4162
+ type: "event",
4163
+ anonymous: false,
4164
+ inputs: [
4165
+ {
4166
+ name: "operator",
4167
+ internalType: "address",
4168
+ type: "address",
4169
+ indexed: true
4170
+ },
4171
+ { name: "from", internalType: "address", type: "address", indexed: true },
4172
+ { name: "to", internalType: "address", type: "address", indexed: true },
4173
+ {
4174
+ name: "ids",
4175
+ internalType: "uint256[]",
4176
+ type: "uint256[]",
4177
+ indexed: false
4178
+ },
4179
+ {
4180
+ name: "values",
4181
+ internalType: "uint256[]",
4182
+ type: "uint256[]",
4183
+ indexed: false
4184
+ }
4185
+ ],
4186
+ name: "TransferBatch"
4187
+ },
4188
+ {
4189
+ type: "event",
4190
+ anonymous: false,
4191
+ inputs: [
4192
+ {
4193
+ name: "operator",
4194
+ internalType: "address",
4195
+ type: "address",
4196
+ indexed: true
4197
+ },
4198
+ { name: "from", internalType: "address", type: "address", indexed: true },
4199
+ { name: "to", internalType: "address", type: "address", indexed: true },
4200
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
4201
+ {
4202
+ name: "value",
4203
+ internalType: "uint256",
4204
+ type: "uint256",
4205
+ indexed: false
4206
+ }
4207
+ ],
4208
+ name: "TransferSingle"
4209
+ },
4210
+ {
4211
+ type: "event",
4212
+ anonymous: false,
4213
+ inputs: [
4214
+ { name: "value", internalType: "string", type: "string", indexed: false },
4215
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
4216
+ ],
4217
+ name: "URI"
4218
+ },
4219
+ {
4220
+ type: "error",
4221
+ inputs: [
4222
+ { name: "operator", internalType: "address", type: "address" },
4223
+ { name: "user", internalType: "address", type: "address" }
4224
+ ],
4225
+ name: "Burn_NotOwnerOrApproved"
4226
+ },
4227
+ {
4228
+ type: "error",
4229
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
4230
+ name: "CallFailed"
4231
+ },
4232
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
4233
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
4234
+ {
4235
+ type: "error",
4236
+ inputs: [
4237
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4238
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4239
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
4240
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
4241
+ ],
4242
+ name: "CannotMintMoreTokens"
4243
+ },
4244
+ {
4245
+ type: "error",
4246
+ inputs: [
4247
+ { name: "proposedAddress", internalType: "address", type: "address" }
4248
+ ],
4249
+ name: "Config_TransferHookNotSupported"
4250
+ },
4251
+ {
4252
+ type: "error",
4253
+ inputs: [
4254
+ { name: "sender", internalType: "address", type: "address" },
4255
+ { name: "balance", internalType: "uint256", type: "uint256" },
4256
+ { name: "needed", internalType: "uint256", type: "uint256" },
4257
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
4258
+ ],
4259
+ name: "ERC1155InsufficientBalance"
4260
+ },
4261
+ {
4262
+ type: "error",
4263
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
4264
+ name: "ERC1155InvalidApprover"
4265
+ },
4266
+ {
4267
+ type: "error",
4268
+ inputs: [
4269
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
4270
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
4271
+ ],
4272
+ name: "ERC1155InvalidArrayLength"
4273
+ },
4274
+ {
4275
+ type: "error",
4276
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
4277
+ name: "ERC1155InvalidOperator"
4278
+ },
4279
+ {
4280
+ type: "error",
4281
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
4282
+ name: "ERC1155InvalidReceiver"
4283
+ },
4284
+ {
4285
+ type: "error",
4286
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
4287
+ name: "ERC1155InvalidSender"
4288
+ },
4289
+ {
4290
+ type: "error",
4291
+ inputs: [
4292
+ { name: "operator", internalType: "address", type: "address" },
4293
+ { name: "owner", internalType: "address", type: "address" }
4294
+ ],
4295
+ name: "ERC1155MissingApprovalForAll"
4296
+ },
4297
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
4298
+ {
4299
+ type: "error",
4300
+ inputs: [
4301
+ { name: "recipient", internalType: "address", type: "address" },
4302
+ { name: "amount", internalType: "uint256", type: "uint256" }
4303
+ ],
4304
+ name: "ETHWithdrawFailed"
4305
+ },
4306
+ {
4307
+ type: "error",
4308
+ inputs: [
4309
+ { name: "amount", internalType: "uint256", type: "uint256" },
4310
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
4311
+ ],
4312
+ name: "FundsWithdrawInsolvent"
4313
+ },
4314
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
4315
+ { type: "error", inputs: [], name: "InvalidInitialization" },
4316
+ {
4317
+ type: "error",
4318
+ inputs: [
4319
+ { name: "mintTo", internalType: "address", type: "address" },
4320
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
4321
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
4322
+ ],
4323
+ name: "InvalidMerkleProof"
4324
+ },
4325
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
4326
+ { type: "error", inputs: [], name: "InvalidSignature" },
4327
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
4328
+ {
4329
+ type: "error",
4330
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
4331
+ name: "InvalidSigner"
4332
+ },
4333
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
4334
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
4335
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
4336
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
4337
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
4338
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
4339
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
4340
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
4341
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
4342
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
4343
+ { type: "error", inputs: [], name: "NotInitializing" },
4344
+ {
4345
+ type: "error",
4346
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
4347
+ name: "OwnableInvalidOwner"
4348
+ },
4349
+ {
4350
+ type: "error",
4351
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
4352
+ name: "OwnableUnauthorizedAccount"
4353
+ },
4354
+ { type: "error", inputs: [], name: "PremintDeleted" },
4355
+ {
4356
+ type: "error",
4357
+ inputs: [
4358
+ { name: "caller", internalType: "address", type: "address" },
4359
+ { name: "recipient", internalType: "address", type: "address" },
4360
+ { name: "amount", internalType: "uint256", type: "uint256" }
4361
+ ],
4362
+ name: "ProtocolRewardsWithdrawFailed"
4363
+ },
4364
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
4365
+ { type: "error", inputs: [], name: "SaleEnded" },
4366
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
4367
+ {
4368
+ type: "error",
4369
+ inputs: [
4370
+ { name: "targetContract", internalType: "address", type: "address" }
4371
+ ],
4372
+ name: "Sale_CannotCallNonSalesContract"
4373
+ },
4374
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
4375
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
4376
+ {
4377
+ type: "error",
4378
+ inputs: [
4379
+ { name: "expected", internalType: "uint256", type: "uint256" },
4380
+ { name: "actual", internalType: "uint256", type: "uint256" }
4381
+ ],
4382
+ name: "TokenIdMismatch"
4383
+ },
4384
+ { type: "error", inputs: [], name: "TransferFailed" },
4385
+ {
4386
+ type: "error",
4387
+ inputs: [
4388
+ { name: "user", internalType: "address", type: "address" },
4389
+ { name: "limit", internalType: "uint256", type: "uint256" },
4390
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
4391
+ ],
4392
+ name: "UserExceedsMintLimit"
4393
+ },
4394
+ {
4395
+ type: "error",
4396
+ inputs: [
4397
+ { name: "user", internalType: "address", type: "address" },
4398
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4399
+ { name: "role", internalType: "uint256", type: "uint256" }
4400
+ ],
4401
+ name: "UserMissingRoleForToken"
4402
+ },
4403
+ { type: "error", inputs: [], name: "WrongValueSent" },
4404
+ {
4405
+ type: "error",
4406
+ inputs: [],
4407
+ name: "premintSignerContractFailedToRecoverSigner"
4408
+ },
4409
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
4410
+ ];
4411
+ var zoraMintsAddress = {
4412
+ 999999999: "0x77777773dE7607C8d2eF571ba03ab22a7df64CEA"
4413
+ };
4414
+ var zoraMintsConfig = {
4415
+ address: zoraMintsAddress,
4416
+ abi: zoraMintsABI
4417
+ };
4418
+
4419
+ // src/generated/1155.ts
4420
+ var __exports = {};
4421
+ __export(__exports, {
4422
+ addresses: () => addresses,
4423
+ chainConfigs: () => chainConfigs
4424
+ });
4425
+ var chainConfigs = {
4426
+ "1": {
4427
+ "FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
4428
+ "MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
4429
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4430
+ },
4431
+ "10": {
4432
+ "FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
4433
+ "MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
4434
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4435
+ },
4436
+ "999": {
4437
+ "FACTORY_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
4438
+ "MINT_FEE_RECIPIENT": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
4439
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4440
+ },
4441
+ "8453": {
4442
+ "FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
4443
+ "MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
4444
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4445
+ },
4446
+ "42161": {
4447
+ "FACTORY_OWNER": "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
4448
+ "MINT_FEE_RECIPIENT": "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
3504
4449
  "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3505
4450
  },
3506
4451
  "421614": {
@@ -3565,19 +4510,6 @@ var addresses = {
3565
4510
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3566
4511
  "timestamp": 1704396387
3567
4512
  },
3568
- "420": {
3569
- "CONTRACT_1155_IMPL": "0xC7598f8eAA1455f5b2B3f206A9af55B2BA248e3E",
3570
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3571
- "FACTORY_IMPL": "0xCf0B4Acab081169D12b729c3Bd1c6E7bbAB820Da",
3572
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3573
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3574
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3575
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3576
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3577
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3578
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3579
- "timestamp": 1704496741
3580
- },
3581
4513
  "999": {
3582
4514
  "CONTRACT_1155_IMPL": "0x2022AdEF470DA3543a19fac8c9be80618112704D",
3583
4515
  "CONTRACT_1155_IMPL_VERSION": "2.7.0",
@@ -3617,20 +4549,6 @@ var addresses = {
3617
4549
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3618
4550
  "timestamp": 1704914719
3619
4551
  },
3620
- "84531": {
3621
- "CONTRACT_1155_IMPL": "0xc6a8C44c695F227097f6F10dfCB4335308AF444D",
3622
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3623
- "FACTORY_IMPL": "0x2667909314554B0f37D306C463e68737d1707953",
3624
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3625
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3626
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3627
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3628
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3629
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3630
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3631
- "timestamp": 1703009473,
3632
- "commit": "bdf6682"
3633
- },
3634
4552
  "421614": {
3635
4553
  "CONTRACT_1155_IMPL": "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
3636
4554
  "CONTRACT_1155_IMPL_VERSION": "2.7.0",
@@ -3671,9 +4589,9 @@ var addresses = {
3671
4589
  "timestamp": 1704336497
3672
4590
  },
3673
4591
  "999999999": {
3674
- "CONTRACT_1155_IMPL": "0x980170C861E723309628a27c27397a955920F968",
3675
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3676
- "FACTORY_IMPL": "0xcea530A0d2d158500E248a59682a1D230c2422F7",
4592
+ "CONTRACT_1155_IMPL": "0xA3708bc2857A9e90bd5C95b7D6460A476cC87AA8",
4593
+ "CONTRACT_1155_IMPL_VERSION": "2.8.0-MINT.0",
4594
+ "FACTORY_IMPL": "0x52951AB538958A6F7646B07022eCE68Bedc54941",
3677
4595
  "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3678
4596
  "FIXED_PRICE_SALE_STRATEGY": "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
3679
4597
  "MERKLE_MINT_SALE_STRATEGY": "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
@@ -3681,13 +4599,64 @@ var addresses = {
3681
4599
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3682
4600
  "REDEEM_MINTER_FACTORY": "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
3683
4601
  "UPGRADE_GATE": "0x0000000000000000000000000000000000000000",
3684
- "timestamp": 1703007364,
3685
- "commit": "bdf6682"
4602
+ "timestamp": 1708728926
4603
+ }
4604
+ };
4605
+
4606
+ // src/generated/mints.ts
4607
+ var mints_exports = {};
4608
+ __export(mints_exports, {
4609
+ addresses: () => addresses2,
4610
+ chainConfigs: () => chainConfigs2
4611
+ });
4612
+ var chainConfigs2 = {
4613
+ "1": {
4614
+ "PROXY_ADMIN": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
4615
+ "MINTS_OWNER": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
4616
+ },
4617
+ "10": {
4618
+ "PROXY_ADMIN": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
4619
+ "MINTS_OWNER": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
4620
+ },
4621
+ "420": {
4622
+ "PROXY_ADMIN": "0xbb45052B2260707655Dfd916a416264f5981192c",
4623
+ "MINTS_OWNER": "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
4624
+ },
4625
+ "999": {
4626
+ "PROXY_ADMIN": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
4627
+ "MINTS_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
4628
+ },
4629
+ "8453": {
4630
+ "PROXY_ADMIN": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
4631
+ "MINTS_OWNER": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
4632
+ },
4633
+ "84531": {
4634
+ "PROXY_ADMIN": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
4635
+ "MINTS_OWNER": "0x02539E813cA450C2c7334e885423f4A899a063Fe"
4636
+ },
4637
+ "7777777": {
4638
+ "PROXY_ADMIN": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
4639
+ "MINTS_OWNER": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
4640
+ },
4641
+ "11155111": {
4642
+ "PROXY_ADMIN": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
4643
+ "MINTS_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
4644
+ },
4645
+ "999999999": {
4646
+ "PROXY_ADMIN": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
4647
+ "MINTS_OWNER": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
4648
+ }
4649
+ };
4650
+ var addresses2 = {
4651
+ "999999999": {
4652
+ "MINTS_IMPL": "0x5b2fb64107De3a1E843592488D45500E35dE9494",
4653
+ "MINTS_IMPL_VERSION": "0.1.0-MINT.0"
3686
4654
  }
3687
4655
  };
3688
4656
  // Annotate the CommonJS export names for ESM import in node:
3689
4657
  0 && (module.exports = {
3690
4658
  contracts1155,
4659
+ mints,
3691
4660
  zoraCreator1155FactoryImplABI,
3692
4661
  zoraCreator1155FactoryImplAddress,
3693
4662
  zoraCreator1155FactoryImplConfig,
@@ -3703,6 +4672,9 @@ var addresses = {
3703
4672
  zoraCreatorMerkleMinterStrategyConfig,
3704
4673
  zoraCreatorRedeemMinterFactoryABI,
3705
4674
  zoraCreatorRedeemMinterFactoryAddress,
3706
- zoraCreatorRedeemMinterFactoryConfig
4675
+ zoraCreatorRedeemMinterFactoryConfig,
4676
+ zoraMintsABI,
4677
+ zoraMintsAddress,
4678
+ zoraMintsConfig
3707
4679
  });
3708
4680
  //# sourceMappingURL=index.cjs.map