@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.js CHANGED
@@ -482,11 +482,9 @@ var zoraCreator1155FactoryImplAddress = {
482
482
  1: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
483
483
  5: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
484
484
  10: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
485
- 420: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
486
485
  999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
487
486
  8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
488
487
  42161: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
489
- 84531: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
490
488
  421614: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
491
489
  7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
492
490
  11155111: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
@@ -503,7 +501,8 @@ var zoraCreator1155ImplABI = [
503
501
  inputs: [
504
502
  { name: "_mintFeeRecipient", internalType: "address", type: "address" },
505
503
  { name: "_upgradeGate", internalType: "address", type: "address" },
506
- { name: "_protocolRewards", internalType: "address", type: "address" }
504
+ { name: "_protocolRewards", internalType: "address", type: "address" },
505
+ { name: "_mints", internalType: "address", type: "address" }
507
506
  ]
508
507
  },
509
508
  { stateMutability: "payable", type: "receive" },
@@ -652,12 +651,12 @@ var zoraCreator1155ImplABI = [
652
651
  {
653
652
  stateMutability: "pure",
654
653
  type: "function",
655
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
654
+ inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
656
655
  name: "computeFreeMintRewards",
657
656
  outputs: [
658
657
  {
659
658
  name: "",
660
- internalType: "struct RewardsSettings",
659
+ internalType: "struct IRewardSplits.RewardsSettings",
661
660
  type: "tuple",
662
661
  components: [
663
662
  { name: "creatorReward", internalType: "uint256", type: "uint256" },
@@ -684,12 +683,12 @@ var zoraCreator1155ImplABI = [
684
683
  {
685
684
  stateMutability: "pure",
686
685
  type: "function",
687
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
686
+ inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
688
687
  name: "computePaidMintRewards",
689
688
  outputs: [
690
689
  {
691
690
  name: "",
692
- internalType: "struct RewardsSettings",
691
+ internalType: "struct IRewardSplits.RewardsSettings",
693
692
  type: "tuple",
694
693
  components: [
695
694
  { name: "creatorReward", internalType: "uint256", type: "uint256" },
@@ -716,7 +715,20 @@ var zoraCreator1155ImplABI = [
716
715
  {
717
716
  stateMutability: "pure",
718
717
  type: "function",
719
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
718
+ inputs: [
719
+ { name: "totalReward", internalType: "uint256", type: "uint256" },
720
+ { name: "rewardPct", internalType: "uint256", type: "uint256" }
721
+ ],
722
+ name: "computeRewardsPct",
723
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
724
+ },
725
+ {
726
+ stateMutability: "pure",
727
+ type: "function",
728
+ inputs: [
729
+ { name: "mintPrice", internalType: "uint256", type: "uint256" },
730
+ { name: "quantity", internalType: "uint256", type: "uint256" }
731
+ ],
720
732
  name: "computeTotalReward",
721
733
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
722
734
  },
@@ -779,7 +791,12 @@ var zoraCreator1155ImplABI = [
779
791
  { name: "premintConfig", internalType: "bytes", type: "bytes" },
780
792
  { name: "premintVersion", internalType: "bytes32", type: "bytes32" },
781
793
  { name: "signature", internalType: "bytes", type: "bytes" },
782
- { name: "sender", internalType: "address", type: "address" }
794
+ { name: "sender", internalType: "address", type: "address" },
795
+ {
796
+ name: "premintSignerContract",
797
+ internalType: "address",
798
+ type: "address"
799
+ }
783
800
  ],
784
801
  name: "delegateSetupNewToken",
785
802
  outputs: [{ name: "newTokenId", internalType: "uint256", type: "uint256" }]
@@ -862,6 +879,16 @@ var zoraCreator1155ImplABI = [
862
879
  }
863
880
  ]
864
881
  },
882
+ {
883
+ stateMutability: "view",
884
+ type: "function",
885
+ inputs: [
886
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
887
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" }
888
+ ],
889
+ name: "getTotalMintsQuantity",
890
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
891
+ },
865
892
  {
866
893
  stateMutability: "view",
867
894
  type: "function",
@@ -949,12 +976,30 @@ var zoraCreator1155ImplABI = [
949
976
  outputs: []
950
977
  },
951
978
  {
952
- stateMutability: "pure",
979
+ stateMutability: "view",
953
980
  type: "function",
954
981
  inputs: [],
955
982
  name: "mintFee",
956
983
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
957
984
  },
985
+ {
986
+ stateMutability: "payable",
987
+ type: "function",
988
+ inputs: [
989
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
990
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
991
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
992
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
993
+ {
994
+ name: "rewardsRecipients",
995
+ internalType: "address[]",
996
+ type: "address[]"
997
+ },
998
+ { name: "minterArguments", internalType: "bytes", type: "bytes" }
999
+ ],
1000
+ name: "mintWithMints",
1001
+ outputs: []
1002
+ },
958
1003
  {
959
1004
  stateMutability: "payable",
960
1005
  type: "function",
@@ -989,6 +1034,19 @@ var zoraCreator1155ImplABI = [
989
1034
  name: "nextTokenId",
990
1035
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
991
1036
  },
1037
+ {
1038
+ stateMutability: "pure",
1039
+ type: "function",
1040
+ inputs: [
1041
+ { name: "", internalType: "address", type: "address" },
1042
+ { name: "", internalType: "address", type: "address" },
1043
+ { name: "", internalType: "uint256", type: "uint256" },
1044
+ { name: "", internalType: "uint256", type: "uint256" },
1045
+ { name: "", internalType: "bytes", type: "bytes" }
1046
+ ],
1047
+ name: "onERC1155Received",
1048
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
1049
+ },
992
1050
  {
993
1051
  stateMutability: "view",
994
1052
  type: "function",
@@ -1812,9 +1870,17 @@ var zoraCreator1155ImplABI = [
1812
1870
  name: "InvalidMerkleProof"
1813
1871
  },
1814
1872
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
1873
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
1874
+ { type: "error", inputs: [], name: "InvalidSignature" },
1815
1875
  { type: "error", inputs: [], name: "InvalidSignatureVersion" },
1876
+ {
1877
+ type: "error",
1878
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
1879
+ name: "InvalidSigner"
1880
+ },
1816
1881
  { type: "error", inputs: [], name: "MintNotYetStarted" },
1817
1882
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
1883
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
1818
1884
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
1819
1885
  { type: "error", inputs: [], name: "Mint_UnknownCommand" },
1820
1886
  { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
@@ -1883,7 +1949,13 @@ var zoraCreator1155ImplABI = [
1883
1949
  ],
1884
1950
  name: "UserMissingRoleForToken"
1885
1951
  },
1886
- { type: "error", inputs: [], name: "WrongValueSent" }
1952
+ { type: "error", inputs: [], name: "WrongValueSent" },
1953
+ {
1954
+ type: "error",
1955
+ inputs: [],
1956
+ name: "premintSignerContractFailedToRecoverSigner"
1957
+ },
1958
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
1887
1959
  ];
1888
1960
  var zoraCreator1155PremintExecutorImplABI = [
1889
1961
  {
@@ -2056,6 +2128,19 @@ var zoraCreator1155PremintExecutorImplABI = [
2056
2128
  name: "pendingOwner",
2057
2129
  outputs: [{ name: "", internalType: "address", type: "address" }]
2058
2130
  },
2131
+ {
2132
+ stateMutability: "view",
2133
+ type: "function",
2134
+ inputs: [
2135
+ { name: "contractAddress", internalType: "address", type: "address" },
2136
+ { name: "uid", internalType: "uint32", type: "uint32" }
2137
+ ],
2138
+ name: "premintStatus",
2139
+ outputs: [
2140
+ { name: "contractCreated", internalType: "bool", type: "bool" },
2141
+ { name: "tokenIdForPremint", internalType: "uint256", type: "uint256" }
2142
+ ]
2143
+ },
2059
2144
  {
2060
2145
  stateMutability: "payable",
2061
2146
  type: "function",
@@ -2115,22 +2200,33 @@ var zoraCreator1155PremintExecutorImplABI = [
2115
2200
  },
2116
2201
  { name: "signature", internalType: "bytes", type: "bytes" },
2117
2202
  { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2118
- { name: "mintComment", internalType: "string", type: "string" }
2119
- ],
2120
- name: "premint",
2121
- outputs: [{ name: "newTokenId", internalType: "uint256", type: "uint256" }]
2122
- },
2123
- {
2124
- stateMutability: "view",
2125
- type: "function",
2126
- inputs: [
2127
- { name: "contractAddress", internalType: "address", type: "address" },
2128
- { name: "uid", internalType: "uint32", type: "uint32" }
2203
+ {
2204
+ name: "mintArguments",
2205
+ internalType: "struct MintArguments",
2206
+ type: "tuple",
2207
+ components: [
2208
+ { name: "mintRecipient", internalType: "address", type: "address" },
2209
+ { name: "mintComment", internalType: "string", type: "string" },
2210
+ {
2211
+ name: "mintRewardsRecipients",
2212
+ internalType: "address[]",
2213
+ type: "address[]"
2214
+ }
2215
+ ]
2216
+ }
2129
2217
  ],
2130
- name: "premintStatus",
2218
+ name: "premintV1",
2131
2219
  outputs: [
2132
- { name: "contractCreated", internalType: "bool", type: "bool" },
2133
- { name: "tokenIdForPremint", internalType: "uint256", type: "uint256" }
2220
+ {
2221
+ name: "result",
2222
+ internalType: "struct PremintResult",
2223
+ type: "tuple",
2224
+ components: [
2225
+ { name: "contractAddress", internalType: "address", type: "address" },
2226
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2227
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
2228
+ ]
2229
+ }
2134
2230
  ]
2135
2231
  },
2136
2232
  {
@@ -2149,12 +2245,12 @@ var zoraCreator1155PremintExecutorImplABI = [
2149
2245
  },
2150
2246
  {
2151
2247
  name: "premintConfig",
2152
- internalType: "struct PremintConfig",
2248
+ internalType: "struct PremintConfigV2",
2153
2249
  type: "tuple",
2154
2250
  components: [
2155
2251
  {
2156
2252
  name: "tokenConfig",
2157
- internalType: "struct TokenCreationConfig",
2253
+ internalType: "struct TokenCreationConfigV2",
2158
2254
  type: "tuple",
2159
2255
  components: [
2160
2256
  { name: "tokenURI", internalType: "string", type: "string" },
@@ -2167,14 +2263,9 @@ var zoraCreator1155PremintExecutorImplABI = [
2167
2263
  { name: "pricePerToken", internalType: "uint96", type: "uint96" },
2168
2264
  { name: "mintStart", internalType: "uint64", type: "uint64" },
2169
2265
  { name: "mintDuration", internalType: "uint64", type: "uint64" },
2170
- {
2171
- name: "royaltyMintSchedule",
2172
- internalType: "uint32",
2173
- type: "uint32"
2174
- },
2175
2266
  { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
2176
2267
  {
2177
- name: "royaltyRecipient",
2268
+ name: "payoutRecipient",
2178
2269
  internalType: "address",
2179
2270
  type: "address"
2180
2271
  },
@@ -2182,6 +2273,11 @@ var zoraCreator1155PremintExecutorImplABI = [
2182
2273
  name: "fixedPriceMinter",
2183
2274
  internalType: "address",
2184
2275
  type: "address"
2276
+ },
2277
+ {
2278
+ name: "createReferral",
2279
+ internalType: "address",
2280
+ type: "address"
2185
2281
  }
2186
2282
  ]
2187
2283
  },
@@ -2194,7 +2290,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2194
2290
  { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2195
2291
  {
2196
2292
  name: "mintArguments",
2197
- internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2293
+ internalType: "struct MintArguments",
2198
2294
  type: "tuple",
2199
2295
  components: [
2200
2296
  { name: "mintRecipient", internalType: "address", type: "address" },
@@ -2207,11 +2303,11 @@ var zoraCreator1155PremintExecutorImplABI = [
2207
2303
  ]
2208
2304
  }
2209
2305
  ],
2210
- name: "premintV1",
2306
+ name: "premintV2",
2211
2307
  outputs: [
2212
2308
  {
2213
2309
  name: "result",
2214
- internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2310
+ internalType: "struct PremintResult",
2215
2311
  type: "tuple",
2216
2312
  components: [
2217
2313
  { name: "contractAddress", internalType: "address", type: "address" },
@@ -2282,7 +2378,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2282
2378
  { name: "quantityToMint", internalType: "uint256", type: "uint256" },
2283
2379
  {
2284
2380
  name: "mintArguments",
2285
- internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
2381
+ internalType: "struct MintArguments",
2286
2382
  type: "tuple",
2287
2383
  components: [
2288
2384
  { name: "mintRecipient", internalType: "address", type: "address" },
@@ -2293,13 +2389,85 @@ var zoraCreator1155PremintExecutorImplABI = [
2293
2389
  type: "address[]"
2294
2390
  }
2295
2391
  ]
2392
+ },
2393
+ { name: "signerContract", internalType: "address", type: "address" }
2394
+ ],
2395
+ name: "premintV2WithSignerContract",
2396
+ outputs: [
2397
+ {
2398
+ name: "result",
2399
+ internalType: "struct PremintResult",
2400
+ type: "tuple",
2401
+ components: [
2402
+ { name: "contractAddress", internalType: "address", type: "address" },
2403
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
2404
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
2405
+ ]
2296
2406
  }
2407
+ ]
2408
+ },
2409
+ {
2410
+ stateMutability: "payable",
2411
+ type: "function",
2412
+ inputs: [
2413
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
2414
+ {
2415
+ name: "mintTokenIdQuantities",
2416
+ internalType: "uint256[]",
2417
+ type: "uint256[]"
2418
+ },
2419
+ {
2420
+ name: "contractConfig",
2421
+ internalType: "struct ContractCreationConfig",
2422
+ type: "tuple",
2423
+ components: [
2424
+ { name: "contractAdmin", internalType: "address", type: "address" },
2425
+ { name: "contractURI", internalType: "string", type: "string" },
2426
+ { name: "contractName", internalType: "string", type: "string" }
2427
+ ]
2428
+ },
2429
+ {
2430
+ name: "encodedPremintConfig",
2431
+ internalType: "struct EncodedPremintConfig",
2432
+ type: "tuple",
2433
+ components: [
2434
+ { name: "premintConfig", internalType: "bytes", type: "bytes" },
2435
+ {
2436
+ name: "premintConfigVersion",
2437
+ internalType: "bytes32",
2438
+ type: "bytes32"
2439
+ },
2440
+ { name: "uid", internalType: "uint32", type: "uint32" },
2441
+ {
2442
+ name: "fixedPriceMinter",
2443
+ internalType: "address",
2444
+ type: "address"
2445
+ }
2446
+ ]
2447
+ },
2448
+ { name: "signature", internalType: "bytes", type: "bytes" },
2449
+ {
2450
+ name: "mintArguments",
2451
+ internalType: "struct MintArguments",
2452
+ type: "tuple",
2453
+ components: [
2454
+ { name: "mintRecipient", internalType: "address", type: "address" },
2455
+ { name: "mintComment", internalType: "string", type: "string" },
2456
+ {
2457
+ name: "mintRewardsRecipients",
2458
+ internalType: "address[]",
2459
+ type: "address[]"
2460
+ }
2461
+ ]
2462
+ },
2463
+ { name: "minter", internalType: "address", type: "address" },
2464
+ { name: "signerContract", internalType: "address", type: "address" }
2297
2465
  ],
2298
- name: "premintV2",
2466
+ name: "premintWithMints",
2299
2467
  outputs: [
2300
2468
  {
2301
2469
  name: "result",
2302
- internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
2470
+ internalType: "struct PremintResult",
2303
2471
  type: "tuple",
2304
2472
  components: [
2305
2473
  { name: "contractAddress", internalType: "address", type: "address" },
@@ -2697,9 +2865,16 @@ var zoraCreator1155PremintExecutorImplABI = [
2697
2865
  name: "InvalidMerkleProof"
2698
2866
  },
2699
2867
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
2868
+ { type: "error", inputs: [], name: "InvalidSignature" },
2700
2869
  { type: "error", inputs: [], name: "InvalidSignatureVersion" },
2870
+ {
2871
+ type: "error",
2872
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
2873
+ name: "InvalidSigner"
2874
+ },
2701
2875
  { type: "error", inputs: [], name: "MintNotYetStarted" },
2702
2876
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
2877
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
2703
2878
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
2704
2879
  { type: "error", inputs: [], name: "Mint_UnknownCommand" },
2705
2880
  { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
@@ -2769,17 +2944,21 @@ var zoraCreator1155PremintExecutorImplABI = [
2769
2944
  ],
2770
2945
  name: "UserMissingRoleForToken"
2771
2946
  },
2772
- { type: "error", inputs: [], name: "WrongValueSent" }
2947
+ { type: "error", inputs: [], name: "WrongValueSent" },
2948
+ {
2949
+ type: "error",
2950
+ inputs: [],
2951
+ name: "premintSignerContractFailedToRecoverSigner"
2952
+ },
2953
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
2773
2954
  ];
2774
2955
  var zoraCreator1155PremintExecutorImplAddress = {
2775
2956
  1: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2776
2957
  5: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2777
2958
  10: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2778
- 420: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2779
2959
  999: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2780
2960
  8453: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2781
2961
  42161: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2782
- 84531: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2783
2962
  421614: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2784
2963
  7777777: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
2785
2964
  11155111: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
@@ -3025,11 +3204,9 @@ var zoraCreatorFixedPriceSaleStrategyAddress = {
3025
3204
  1: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3026
3205
  5: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3027
3206
  10: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
3028
- 420: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3029
3207
  999: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3030
3208
  8453: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3031
3209
  42161: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3032
- 84531: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3033
3210
  421614: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
3034
3211
  7777777: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3035
3212
  11155111: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
@@ -3239,11 +3416,9 @@ var zoraCreatorMerkleMinterStrategyAddress = {
3239
3416
  1: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3240
3417
  5: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3241
3418
  10: "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
3242
- 420: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3243
3419
  999: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3244
3420
  8453: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3245
3421
  42161: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3246
- 84531: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3247
3422
  421614: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
3248
3423
  7777777: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3249
3424
  11155111: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
@@ -3405,11 +3580,9 @@ var zoraCreatorRedeemMinterFactoryAddress = {
3405
3580
  1: "0x78964965cF77850224513a367f899435C5B69174",
3406
3581
  5: "0x78964965cF77850224513a367f899435C5B69174",
3407
3582
  10: "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
3408
- 420: "0x78964965cF77850224513a367f899435C5B69174",
3409
3583
  999: "0x78964965cF77850224513a367f899435C5B69174",
3410
3584
  8453: "0x78964965cF77850224513a367f899435C5B69174",
3411
3585
  42161: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3412
- 84531: "0x78964965cF77850224513a367f899435C5B69174",
3413
3586
  421614: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
3414
3587
  7777777: "0x78964965cF77850224513a367f899435C5B69174",
3415
3588
  11155111: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
@@ -3419,52 +3592,820 @@ var zoraCreatorRedeemMinterFactoryConfig = {
3419
3592
  address: zoraCreatorRedeemMinterFactoryAddress,
3420
3593
  abi: zoraCreatorRedeemMinterFactoryABI
3421
3594
  };
3422
-
3423
- // src/generated/1155.ts
3424
- var __exports = {};
3425
- __export(__exports, {
3426
- addresses: () => addresses,
3427
- chainConfigs: () => chainConfigs
3428
- });
3429
- var chainConfigs = {
3430
- "1": {
3431
- "FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
3432
- "MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
3433
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3434
- },
3435
- "5": {
3436
- "FACTORY_OWNER": "0xDC498668B5e6CC518fD58A2ADBF614Fd3A13D3a0",
3437
- "MINT_FEE_RECIPIENT": "0x9444390c01Dd5b7249E53FAc31290F7dFF53450D",
3438
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3439
- },
3440
- "10": {
3441
- "FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
3442
- "MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
3443
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3444
- },
3445
- "420": {
3446
- "FACTORY_OWNER": "0xbb45052B2260707655Dfd916a416264f5981192c",
3447
- "MINT_FEE_RECIPIENT": "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2",
3448
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3595
+ var zoraMintsABI = [
3596
+ {
3597
+ stateMutability: "nonpayable",
3598
+ type: "constructor",
3599
+ inputs: [
3600
+ {
3601
+ name: "_premintExecutor",
3602
+ internalType: "contract IPremintWithMints",
3603
+ type: "address"
3604
+ }
3605
+ ]
3449
3606
  },
3450
- "999": {
3451
- "FACTORY_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3452
- "MINT_FEE_RECIPIENT": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3453
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3607
+ {
3608
+ stateMutability: "nonpayable",
3609
+ type: "function",
3610
+ inputs: [],
3611
+ name: "acceptOwnership",
3612
+ outputs: []
3454
3613
  },
3455
- "8453": {
3456
- "FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
3457
- "MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
3458
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3614
+ {
3615
+ stateMutability: "view",
3616
+ type: "function",
3617
+ inputs: [
3618
+ { name: "account", internalType: "address", type: "address" },
3619
+ { name: "id", internalType: "uint256", type: "uint256" }
3620
+ ],
3621
+ name: "balanceOf",
3622
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3459
3623
  },
3460
- "42161": {
3461
- "FACTORY_OWNER": "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
3462
- "MINT_FEE_RECIPIENT": "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
3463
- "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3624
+ {
3625
+ stateMutability: "view",
3626
+ type: "function",
3627
+ inputs: [
3628
+ { name: "accounts", internalType: "address[]", type: "address[]" },
3629
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
3630
+ ],
3631
+ name: "balanceOfBatch",
3632
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }]
3464
3633
  },
3465
- "84531": {
3466
- "FACTORY_OWNER": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
3467
- "MINT_FEE_RECIPIENT": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
3634
+ {
3635
+ stateMutability: "payable",
3636
+ type: "function",
3637
+ inputs: [
3638
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3639
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3640
+ {
3641
+ name: "zoraCreator1155Contract",
3642
+ internalType: "contract IMintWithMints",
3643
+ type: "address"
3644
+ },
3645
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
3646
+ {
3647
+ name: "zoraCreator1155TokenId",
3648
+ internalType: "uint256",
3649
+ type: "uint256"
3650
+ },
3651
+ {
3652
+ name: "rewardsRecipients",
3653
+ internalType: "address[]",
3654
+ type: "address[]"
3655
+ },
3656
+ { name: "minterArguments", internalType: "bytes", type: "bytes" }
3657
+ ],
3658
+ name: "collect",
3659
+ outputs: []
3660
+ },
3661
+ {
3662
+ stateMutability: "payable",
3663
+ type: "function",
3664
+ inputs: [
3665
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3666
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3667
+ {
3668
+ name: "contractConfig",
3669
+ internalType: "struct ContractCreationConfig",
3670
+ type: "tuple",
3671
+ components: [
3672
+ { name: "contractAdmin", internalType: "address", type: "address" },
3673
+ { name: "contractURI", internalType: "string", type: "string" },
3674
+ { name: "contractName", internalType: "string", type: "string" }
3675
+ ]
3676
+ },
3677
+ {
3678
+ name: "premintConfig",
3679
+ internalType: "struct PremintConfigV2",
3680
+ type: "tuple",
3681
+ components: [
3682
+ {
3683
+ name: "tokenConfig",
3684
+ internalType: "struct TokenCreationConfigV2",
3685
+ type: "tuple",
3686
+ components: [
3687
+ { name: "tokenURI", internalType: "string", type: "string" },
3688
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
3689
+ {
3690
+ name: "maxTokensPerAddress",
3691
+ internalType: "uint64",
3692
+ type: "uint64"
3693
+ },
3694
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
3695
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
3696
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
3697
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
3698
+ {
3699
+ name: "payoutRecipient",
3700
+ internalType: "address",
3701
+ type: "address"
3702
+ },
3703
+ {
3704
+ name: "fixedPriceMinter",
3705
+ internalType: "address",
3706
+ type: "address"
3707
+ },
3708
+ {
3709
+ name: "createReferral",
3710
+ internalType: "address",
3711
+ type: "address"
3712
+ }
3713
+ ]
3714
+ },
3715
+ { name: "uid", internalType: "uint32", type: "uint32" },
3716
+ { name: "version", internalType: "uint32", type: "uint32" },
3717
+ { name: "deleted", internalType: "bool", type: "bool" }
3718
+ ]
3719
+ },
3720
+ { name: "signature", internalType: "bytes", type: "bytes" },
3721
+ {
3722
+ name: "mintArguments",
3723
+ internalType: "struct MintArguments",
3724
+ type: "tuple",
3725
+ components: [
3726
+ { name: "mintRecipient", internalType: "address", type: "address" },
3727
+ { name: "mintComment", internalType: "string", type: "string" },
3728
+ {
3729
+ name: "mintRewardsRecipients",
3730
+ internalType: "address[]",
3731
+ type: "address[]"
3732
+ }
3733
+ ]
3734
+ },
3735
+ { name: "signerContract", internalType: "address", type: "address" }
3736
+ ],
3737
+ name: "collectPremintV2",
3738
+ outputs: []
3739
+ },
3740
+ {
3741
+ stateMutability: "pure",
3742
+ type: "function",
3743
+ inputs: [],
3744
+ name: "contractVersion",
3745
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3746
+ },
3747
+ {
3748
+ stateMutability: "nonpayable",
3749
+ type: "function",
3750
+ inputs: [
3751
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3752
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
3753
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
3754
+ ],
3755
+ name: "createEthToken",
3756
+ outputs: []
3757
+ },
3758
+ {
3759
+ stateMutability: "view",
3760
+ type: "function",
3761
+ inputs: [],
3762
+ name: "getEthPrice",
3763
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3764
+ },
3765
+ {
3766
+ stateMutability: "view",
3767
+ type: "function",
3768
+ inputs: [],
3769
+ name: "implementation",
3770
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3771
+ },
3772
+ {
3773
+ stateMutability: "nonpayable",
3774
+ type: "function",
3775
+ inputs: [
3776
+ { name: "initialOwner", internalType: "address", type: "address" },
3777
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
3778
+ {
3779
+ name: "initialEthTokenPrice",
3780
+ internalType: "uint256",
3781
+ type: "uint256"
3782
+ }
3783
+ ],
3784
+ name: "initialize",
3785
+ outputs: []
3786
+ },
3787
+ {
3788
+ stateMutability: "view",
3789
+ type: "function",
3790
+ inputs: [
3791
+ { name: "account", internalType: "address", type: "address" },
3792
+ { name: "operator", internalType: "address", type: "address" }
3793
+ ],
3794
+ name: "isApprovedForAll",
3795
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3796
+ },
3797
+ {
3798
+ stateMutability: "payable",
3799
+ type: "function",
3800
+ inputs: [
3801
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3802
+ { name: "recipient", internalType: "address", type: "address" }
3803
+ ],
3804
+ name: "mintWithEth",
3805
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3806
+ },
3807
+ {
3808
+ stateMutability: "view",
3809
+ type: "function",
3810
+ inputs: [],
3811
+ name: "mintableEthToken",
3812
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3813
+ },
3814
+ {
3815
+ stateMutability: "pure",
3816
+ type: "function",
3817
+ inputs: [],
3818
+ name: "name",
3819
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3820
+ },
3821
+ {
3822
+ stateMutability: "view",
3823
+ type: "function",
3824
+ inputs: [],
3825
+ name: "owner",
3826
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3827
+ },
3828
+ {
3829
+ stateMutability: "view",
3830
+ type: "function",
3831
+ inputs: [],
3832
+ name: "pendingOwner",
3833
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3834
+ },
3835
+ {
3836
+ stateMutability: "view",
3837
+ type: "function",
3838
+ inputs: [],
3839
+ name: "premintExecutor",
3840
+ outputs: [
3841
+ { name: "", internalType: "contract IPremintWithMints", type: "address" }
3842
+ ]
3843
+ },
3844
+ {
3845
+ stateMutability: "nonpayable",
3846
+ type: "function",
3847
+ inputs: [
3848
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3849
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3850
+ { name: "recipient", internalType: "address", type: "address" }
3851
+ ],
3852
+ name: "redeem",
3853
+ outputs: [
3854
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
3855
+ ]
3856
+ },
3857
+ {
3858
+ stateMutability: "nonpayable",
3859
+ type: "function",
3860
+ inputs: [
3861
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3862
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3863
+ { name: "recipient", internalType: "address", type: "address" }
3864
+ ],
3865
+ name: "redeemBatch",
3866
+ outputs: [
3867
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
3868
+ ]
3869
+ },
3870
+ {
3871
+ stateMutability: "nonpayable",
3872
+ type: "function",
3873
+ inputs: [],
3874
+ name: "renounceOwnership",
3875
+ outputs: []
3876
+ },
3877
+ {
3878
+ stateMutability: "nonpayable",
3879
+ type: "function",
3880
+ inputs: [
3881
+ { name: "from", internalType: "address", type: "address" },
3882
+ { name: "to", internalType: "address", type: "address" },
3883
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
3884
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
3885
+ { name: "data", internalType: "bytes", type: "bytes" }
3886
+ ],
3887
+ name: "safeBatchTransferFrom",
3888
+ outputs: []
3889
+ },
3890
+ {
3891
+ stateMutability: "nonpayable",
3892
+ type: "function",
3893
+ inputs: [
3894
+ { name: "from", internalType: "address", type: "address" },
3895
+ { name: "to", internalType: "address", type: "address" },
3896
+ { name: "id", internalType: "uint256", type: "uint256" },
3897
+ { name: "value", internalType: "uint256", type: "uint256" },
3898
+ { name: "data", internalType: "bytes", type: "bytes" }
3899
+ ],
3900
+ name: "safeTransferFrom",
3901
+ outputs: []
3902
+ },
3903
+ {
3904
+ stateMutability: "nonpayable",
3905
+ type: "function",
3906
+ inputs: [
3907
+ { name: "operator", internalType: "address", type: "address" },
3908
+ { name: "approved", internalType: "bool", type: "bool" }
3909
+ ],
3910
+ name: "setApprovalForAll",
3911
+ outputs: []
3912
+ },
3913
+ {
3914
+ stateMutability: "nonpayable",
3915
+ type: "function",
3916
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3917
+ name: "setMintableEthToken",
3918
+ outputs: []
3919
+ },
3920
+ {
3921
+ stateMutability: "view",
3922
+ type: "function",
3923
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
3924
+ name: "supportsInterface",
3925
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3926
+ },
3927
+ {
3928
+ stateMutability: "pure",
3929
+ type: "function",
3930
+ inputs: [],
3931
+ name: "symbol",
3932
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3933
+ },
3934
+ {
3935
+ stateMutability: "view",
3936
+ type: "function",
3937
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3938
+ name: "tokenCreated",
3939
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3940
+ },
3941
+ {
3942
+ stateMutability: "view",
3943
+ type: "function",
3944
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3945
+ name: "tokenPrice",
3946
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3947
+ },
3948
+ {
3949
+ stateMutability: "nonpayable",
3950
+ type: "function",
3951
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
3952
+ name: "transferOwnership",
3953
+ outputs: []
3954
+ },
3955
+ {
3956
+ stateMutability: "view",
3957
+ type: "function",
3958
+ inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3959
+ name: "uri",
3960
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3961
+ },
3962
+ {
3963
+ type: "event",
3964
+ anonymous: false,
3965
+ inputs: [
3966
+ {
3967
+ name: "account",
3968
+ internalType: "address",
3969
+ type: "address",
3970
+ indexed: true
3971
+ },
3972
+ {
3973
+ name: "operator",
3974
+ internalType: "address",
3975
+ type: "address",
3976
+ indexed: true
3977
+ },
3978
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
3979
+ ],
3980
+ name: "ApprovalForAll"
3981
+ },
3982
+ {
3983
+ type: "event",
3984
+ anonymous: false,
3985
+ inputs: [
3986
+ {
3987
+ name: "tokenIds",
3988
+ internalType: "uint256[]",
3989
+ type: "uint256[]",
3990
+ indexed: true
3991
+ },
3992
+ {
3993
+ name: "quantities",
3994
+ internalType: "uint256[]",
3995
+ type: "uint256[]",
3996
+ indexed: false
3997
+ },
3998
+ {
3999
+ name: "zoraCreator1155Contract",
4000
+ internalType: "address",
4001
+ type: "address",
4002
+ indexed: true
4003
+ },
4004
+ {
4005
+ name: "zoraCreator1155TokenId",
4006
+ internalType: "uint256",
4007
+ type: "uint256",
4008
+ indexed: true
4009
+ }
4010
+ ],
4011
+ name: "Collected"
4012
+ },
4013
+ {
4014
+ type: "event",
4015
+ anonymous: false,
4016
+ inputs: [
4017
+ {
4018
+ name: "tokenId",
4019
+ internalType: "uint256",
4020
+ type: "uint256",
4021
+ indexed: true
4022
+ }
4023
+ ],
4024
+ name: "EthMintableTokenSet"
4025
+ },
4026
+ {
4027
+ type: "event",
4028
+ anonymous: false,
4029
+ inputs: [
4030
+ {
4031
+ name: "tokenId",
4032
+ internalType: "uint256",
4033
+ type: "uint256",
4034
+ indexed: true
4035
+ },
4036
+ {
4037
+ name: "pricePerToken",
4038
+ internalType: "uint256",
4039
+ type: "uint256",
4040
+ indexed: true
4041
+ }
4042
+ ],
4043
+ name: "EthTokenCreated"
4044
+ },
4045
+ {
4046
+ type: "event",
4047
+ anonymous: false,
4048
+ inputs: [
4049
+ {
4050
+ name: "version",
4051
+ internalType: "uint64",
4052
+ type: "uint64",
4053
+ indexed: false
4054
+ }
4055
+ ],
4056
+ name: "Initialized"
4057
+ },
4058
+ {
4059
+ type: "event",
4060
+ anonymous: false,
4061
+ inputs: [
4062
+ {
4063
+ name: "previousOwner",
4064
+ internalType: "address",
4065
+ type: "address",
4066
+ indexed: true
4067
+ },
4068
+ {
4069
+ name: "newOwner",
4070
+ internalType: "address",
4071
+ type: "address",
4072
+ indexed: true
4073
+ }
4074
+ ],
4075
+ name: "OwnershipTransferStarted"
4076
+ },
4077
+ {
4078
+ type: "event",
4079
+ anonymous: false,
4080
+ inputs: [
4081
+ {
4082
+ name: "previousOwner",
4083
+ internalType: "address",
4084
+ type: "address",
4085
+ indexed: true
4086
+ },
4087
+ {
4088
+ name: "newOwner",
4089
+ internalType: "address",
4090
+ type: "address",
4091
+ indexed: true
4092
+ }
4093
+ ],
4094
+ name: "OwnershipTransferred"
4095
+ },
4096
+ {
4097
+ type: "event",
4098
+ anonymous: false,
4099
+ inputs: [
4100
+ {
4101
+ name: "tokenIds",
4102
+ internalType: "uint256[]",
4103
+ type: "uint256[]",
4104
+ indexed: false
4105
+ },
4106
+ {
4107
+ name: "quantities",
4108
+ internalType: "uint256[]",
4109
+ type: "uint256[]",
4110
+ indexed: false
4111
+ },
4112
+ {
4113
+ name: "recipient",
4114
+ internalType: "address",
4115
+ type: "address",
4116
+ indexed: false
4117
+ }
4118
+ ],
4119
+ name: "RedeemedBatch"
4120
+ },
4121
+ {
4122
+ type: "event",
4123
+ anonymous: false,
4124
+ inputs: [
4125
+ {
4126
+ name: "operator",
4127
+ internalType: "address",
4128
+ type: "address",
4129
+ indexed: true
4130
+ },
4131
+ { name: "from", internalType: "address", type: "address", indexed: true },
4132
+ { name: "to", internalType: "address", type: "address", indexed: true },
4133
+ {
4134
+ name: "ids",
4135
+ internalType: "uint256[]",
4136
+ type: "uint256[]",
4137
+ indexed: false
4138
+ },
4139
+ {
4140
+ name: "values",
4141
+ internalType: "uint256[]",
4142
+ type: "uint256[]",
4143
+ indexed: false
4144
+ }
4145
+ ],
4146
+ name: "TransferBatch"
4147
+ },
4148
+ {
4149
+ type: "event",
4150
+ anonymous: false,
4151
+ inputs: [
4152
+ {
4153
+ name: "operator",
4154
+ internalType: "address",
4155
+ type: "address",
4156
+ indexed: true
4157
+ },
4158
+ { name: "from", internalType: "address", type: "address", indexed: true },
4159
+ { name: "to", internalType: "address", type: "address", indexed: true },
4160
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
4161
+ {
4162
+ name: "value",
4163
+ internalType: "uint256",
4164
+ type: "uint256",
4165
+ indexed: false
4166
+ }
4167
+ ],
4168
+ name: "TransferSingle"
4169
+ },
4170
+ {
4171
+ type: "event",
4172
+ anonymous: false,
4173
+ inputs: [
4174
+ { name: "value", internalType: "string", type: "string", indexed: false },
4175
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
4176
+ ],
4177
+ name: "URI"
4178
+ },
4179
+ {
4180
+ type: "error",
4181
+ inputs: [
4182
+ { name: "operator", internalType: "address", type: "address" },
4183
+ { name: "user", internalType: "address", type: "address" }
4184
+ ],
4185
+ name: "Burn_NotOwnerOrApproved"
4186
+ },
4187
+ {
4188
+ type: "error",
4189
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
4190
+ name: "CallFailed"
4191
+ },
4192
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
4193
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
4194
+ {
4195
+ type: "error",
4196
+ inputs: [
4197
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4198
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4199
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
4200
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
4201
+ ],
4202
+ name: "CannotMintMoreTokens"
4203
+ },
4204
+ {
4205
+ type: "error",
4206
+ inputs: [
4207
+ { name: "proposedAddress", internalType: "address", type: "address" }
4208
+ ],
4209
+ name: "Config_TransferHookNotSupported"
4210
+ },
4211
+ {
4212
+ type: "error",
4213
+ inputs: [
4214
+ { name: "sender", internalType: "address", type: "address" },
4215
+ { name: "balance", internalType: "uint256", type: "uint256" },
4216
+ { name: "needed", internalType: "uint256", type: "uint256" },
4217
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
4218
+ ],
4219
+ name: "ERC1155InsufficientBalance"
4220
+ },
4221
+ {
4222
+ type: "error",
4223
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
4224
+ name: "ERC1155InvalidApprover"
4225
+ },
4226
+ {
4227
+ type: "error",
4228
+ inputs: [
4229
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
4230
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
4231
+ ],
4232
+ name: "ERC1155InvalidArrayLength"
4233
+ },
4234
+ {
4235
+ type: "error",
4236
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
4237
+ name: "ERC1155InvalidOperator"
4238
+ },
4239
+ {
4240
+ type: "error",
4241
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
4242
+ name: "ERC1155InvalidReceiver"
4243
+ },
4244
+ {
4245
+ type: "error",
4246
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
4247
+ name: "ERC1155InvalidSender"
4248
+ },
4249
+ {
4250
+ type: "error",
4251
+ inputs: [
4252
+ { name: "operator", internalType: "address", type: "address" },
4253
+ { name: "owner", internalType: "address", type: "address" }
4254
+ ],
4255
+ name: "ERC1155MissingApprovalForAll"
4256
+ },
4257
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
4258
+ {
4259
+ type: "error",
4260
+ inputs: [
4261
+ { name: "recipient", internalType: "address", type: "address" },
4262
+ { name: "amount", internalType: "uint256", type: "uint256" }
4263
+ ],
4264
+ name: "ETHWithdrawFailed"
4265
+ },
4266
+ {
4267
+ type: "error",
4268
+ inputs: [
4269
+ { name: "amount", internalType: "uint256", type: "uint256" },
4270
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
4271
+ ],
4272
+ name: "FundsWithdrawInsolvent"
4273
+ },
4274
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
4275
+ { type: "error", inputs: [], name: "InvalidInitialization" },
4276
+ {
4277
+ type: "error",
4278
+ inputs: [
4279
+ { name: "mintTo", internalType: "address", type: "address" },
4280
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
4281
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
4282
+ ],
4283
+ name: "InvalidMerkleProof"
4284
+ },
4285
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
4286
+ { type: "error", inputs: [], name: "InvalidSignature" },
4287
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
4288
+ {
4289
+ type: "error",
4290
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
4291
+ name: "InvalidSigner"
4292
+ },
4293
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
4294
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
4295
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
4296
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
4297
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
4298
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
4299
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
4300
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
4301
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
4302
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
4303
+ { type: "error", inputs: [], name: "NotInitializing" },
4304
+ {
4305
+ type: "error",
4306
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
4307
+ name: "OwnableInvalidOwner"
4308
+ },
4309
+ {
4310
+ type: "error",
4311
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
4312
+ name: "OwnableUnauthorizedAccount"
4313
+ },
4314
+ { type: "error", inputs: [], name: "PremintDeleted" },
4315
+ {
4316
+ type: "error",
4317
+ inputs: [
4318
+ { name: "caller", internalType: "address", type: "address" },
4319
+ { name: "recipient", internalType: "address", type: "address" },
4320
+ { name: "amount", internalType: "uint256", type: "uint256" }
4321
+ ],
4322
+ name: "ProtocolRewardsWithdrawFailed"
4323
+ },
4324
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
4325
+ { type: "error", inputs: [], name: "SaleEnded" },
4326
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
4327
+ {
4328
+ type: "error",
4329
+ inputs: [
4330
+ { name: "targetContract", internalType: "address", type: "address" }
4331
+ ],
4332
+ name: "Sale_CannotCallNonSalesContract"
4333
+ },
4334
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
4335
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
4336
+ {
4337
+ type: "error",
4338
+ inputs: [
4339
+ { name: "expected", internalType: "uint256", type: "uint256" },
4340
+ { name: "actual", internalType: "uint256", type: "uint256" }
4341
+ ],
4342
+ name: "TokenIdMismatch"
4343
+ },
4344
+ { type: "error", inputs: [], name: "TransferFailed" },
4345
+ {
4346
+ type: "error",
4347
+ inputs: [
4348
+ { name: "user", internalType: "address", type: "address" },
4349
+ { name: "limit", internalType: "uint256", type: "uint256" },
4350
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
4351
+ ],
4352
+ name: "UserExceedsMintLimit"
4353
+ },
4354
+ {
4355
+ type: "error",
4356
+ inputs: [
4357
+ { name: "user", internalType: "address", type: "address" },
4358
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4359
+ { name: "role", internalType: "uint256", type: "uint256" }
4360
+ ],
4361
+ name: "UserMissingRoleForToken"
4362
+ },
4363
+ { type: "error", inputs: [], name: "WrongValueSent" },
4364
+ {
4365
+ type: "error",
4366
+ inputs: [],
4367
+ name: "premintSignerContractFailedToRecoverSigner"
4368
+ },
4369
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
4370
+ ];
4371
+ var zoraMintsAddress = {
4372
+ 999999999: "0x77777773dE7607C8d2eF571ba03ab22a7df64CEA"
4373
+ };
4374
+ var zoraMintsConfig = {
4375
+ address: zoraMintsAddress,
4376
+ abi: zoraMintsABI
4377
+ };
4378
+
4379
+ // src/generated/1155.ts
4380
+ var __exports = {};
4381
+ __export(__exports, {
4382
+ addresses: () => addresses,
4383
+ chainConfigs: () => chainConfigs
4384
+ });
4385
+ var chainConfigs = {
4386
+ "1": {
4387
+ "FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
4388
+ "MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
4389
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4390
+ },
4391
+ "10": {
4392
+ "FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
4393
+ "MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
4394
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4395
+ },
4396
+ "999": {
4397
+ "FACTORY_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
4398
+ "MINT_FEE_RECIPIENT": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
4399
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4400
+ },
4401
+ "8453": {
4402
+ "FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
4403
+ "MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
4404
+ "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
4405
+ },
4406
+ "42161": {
4407
+ "FACTORY_OWNER": "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
4408
+ "MINT_FEE_RECIPIENT": "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
3468
4409
  "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3469
4410
  },
3470
4411
  "421614": {
@@ -3529,19 +4470,6 @@ var addresses = {
3529
4470
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3530
4471
  "timestamp": 1704396387
3531
4472
  },
3532
- "420": {
3533
- "CONTRACT_1155_IMPL": "0xC7598f8eAA1455f5b2B3f206A9af55B2BA248e3E",
3534
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3535
- "FACTORY_IMPL": "0xCf0B4Acab081169D12b729c3Bd1c6E7bbAB820Da",
3536
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3537
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3538
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3539
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3540
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3541
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3542
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3543
- "timestamp": 1704496741
3544
- },
3545
4473
  "999": {
3546
4474
  "CONTRACT_1155_IMPL": "0x2022AdEF470DA3543a19fac8c9be80618112704D",
3547
4475
  "CONTRACT_1155_IMPL_VERSION": "2.7.0",
@@ -3581,20 +4509,6 @@ var addresses = {
3581
4509
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3582
4510
  "timestamp": 1704914719
3583
4511
  },
3584
- "84531": {
3585
- "CONTRACT_1155_IMPL": "0xc6a8C44c695F227097f6F10dfCB4335308AF444D",
3586
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3587
- "FACTORY_IMPL": "0x2667909314554B0f37D306C463e68737d1707953",
3588
- "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3589
- "FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
3590
- "MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
3591
- "PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
3592
- "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3593
- "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
3594
- "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
3595
- "timestamp": 1703009473,
3596
- "commit": "bdf6682"
3597
- },
3598
4512
  "421614": {
3599
4513
  "CONTRACT_1155_IMPL": "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
3600
4514
  "CONTRACT_1155_IMPL_VERSION": "2.7.0",
@@ -3635,9 +4549,9 @@ var addresses = {
3635
4549
  "timestamp": 1704336497
3636
4550
  },
3637
4551
  "999999999": {
3638
- "CONTRACT_1155_IMPL": "0x980170C861E723309628a27c27397a955920F968",
3639
- "CONTRACT_1155_IMPL_VERSION": "2.7.0",
3640
- "FACTORY_IMPL": "0xcea530A0d2d158500E248a59682a1D230c2422F7",
4552
+ "CONTRACT_1155_IMPL": "0xA3708bc2857A9e90bd5C95b7D6460A476cC87AA8",
4553
+ "CONTRACT_1155_IMPL_VERSION": "2.8.0-MINT.0",
4554
+ "FACTORY_IMPL": "0x52951AB538958A6F7646B07022eCE68Bedc54941",
3641
4555
  "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3642
4556
  "FIXED_PRICE_SALE_STRATEGY": "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
3643
4557
  "MERKLE_MINT_SALE_STRATEGY": "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
@@ -3645,12 +4559,63 @@ var addresses = {
3645
4559
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3646
4560
  "REDEEM_MINTER_FACTORY": "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
3647
4561
  "UPGRADE_GATE": "0x0000000000000000000000000000000000000000",
3648
- "timestamp": 1703007364,
3649
- "commit": "bdf6682"
4562
+ "timestamp": 1708728926
4563
+ }
4564
+ };
4565
+
4566
+ // src/generated/mints.ts
4567
+ var mints_exports = {};
4568
+ __export(mints_exports, {
4569
+ addresses: () => addresses2,
4570
+ chainConfigs: () => chainConfigs2
4571
+ });
4572
+ var chainConfigs2 = {
4573
+ "1": {
4574
+ "PROXY_ADMIN": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
4575
+ "MINTS_OWNER": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
4576
+ },
4577
+ "10": {
4578
+ "PROXY_ADMIN": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
4579
+ "MINTS_OWNER": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
4580
+ },
4581
+ "420": {
4582
+ "PROXY_ADMIN": "0xbb45052B2260707655Dfd916a416264f5981192c",
4583
+ "MINTS_OWNER": "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
4584
+ },
4585
+ "999": {
4586
+ "PROXY_ADMIN": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
4587
+ "MINTS_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
4588
+ },
4589
+ "8453": {
4590
+ "PROXY_ADMIN": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
4591
+ "MINTS_OWNER": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
4592
+ },
4593
+ "84531": {
4594
+ "PROXY_ADMIN": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
4595
+ "MINTS_OWNER": "0x02539E813cA450C2c7334e885423f4A899a063Fe"
4596
+ },
4597
+ "7777777": {
4598
+ "PROXY_ADMIN": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
4599
+ "MINTS_OWNER": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
4600
+ },
4601
+ "11155111": {
4602
+ "PROXY_ADMIN": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
4603
+ "MINTS_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
4604
+ },
4605
+ "999999999": {
4606
+ "PROXY_ADMIN": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
4607
+ "MINTS_OWNER": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
4608
+ }
4609
+ };
4610
+ var addresses2 = {
4611
+ "999999999": {
4612
+ "MINTS_IMPL": "0x5b2fb64107De3a1E843592488D45500E35dE9494",
4613
+ "MINTS_IMPL_VERSION": "0.1.0-MINT.0"
3650
4614
  }
3651
4615
  };
3652
4616
  export {
3653
4617
  __exports as contracts1155,
4618
+ mints_exports as mints,
3654
4619
  zoraCreator1155FactoryImplABI,
3655
4620
  zoraCreator1155FactoryImplAddress,
3656
4621
  zoraCreator1155FactoryImplConfig,
@@ -3666,6 +4631,9 @@ export {
3666
4631
  zoraCreatorMerkleMinterStrategyConfig,
3667
4632
  zoraCreatorRedeemMinterFactoryABI,
3668
4633
  zoraCreatorRedeemMinterFactoryAddress,
3669
- zoraCreatorRedeemMinterFactoryConfig
4634
+ zoraCreatorRedeemMinterFactoryConfig,
4635
+ zoraMintsABI,
4636
+ zoraMintsAddress,
4637
+ zoraMintsConfig
3670
4638
  };
3671
4639
  //# sourceMappingURL=index.js.map