@zoralabs/protocol-deployments 0.1.2 → 0.1.3-MINT.1

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.
@@ -540,6 +540,7 @@ export const zoraCreator1155ImplABI = [
540
540
  { name: '_mintFeeRecipient', internalType: 'address', type: 'address' },
541
541
  { name: '_upgradeGate', internalType: 'address', type: 'address' },
542
542
  { name: '_protocolRewards', internalType: 'address', type: 'address' },
543
+ { name: '_mints', internalType: 'address', type: 'address' },
543
544
  ],
544
545
  },
545
546
  { stateMutability: 'payable', type: 'receive' },
@@ -688,12 +689,12 @@ export const zoraCreator1155ImplABI = [
688
689
  {
689
690
  stateMutability: 'pure',
690
691
  type: 'function',
691
- inputs: [{ name: 'numTokens', internalType: 'uint256', type: 'uint256' }],
692
+ inputs: [{ name: 'totalReward', internalType: 'uint256', type: 'uint256' }],
692
693
  name: 'computeFreeMintRewards',
693
694
  outputs: [
694
695
  {
695
696
  name: '',
696
- internalType: 'struct RewardsSettings',
697
+ internalType: 'struct IRewardSplits.RewardsSettings',
697
698
  type: 'tuple',
698
699
  components: [
699
700
  { name: 'creatorReward', internalType: 'uint256', type: 'uint256' },
@@ -720,12 +721,12 @@ export const zoraCreator1155ImplABI = [
720
721
  {
721
722
  stateMutability: 'pure',
722
723
  type: 'function',
723
- inputs: [{ name: 'numTokens', internalType: 'uint256', type: 'uint256' }],
724
+ inputs: [{ name: 'totalReward', internalType: 'uint256', type: 'uint256' }],
724
725
  name: 'computePaidMintRewards',
725
726
  outputs: [
726
727
  {
727
728
  name: '',
728
- internalType: 'struct RewardsSettings',
729
+ internalType: 'struct IRewardSplits.RewardsSettings',
729
730
  type: 'tuple',
730
731
  components: [
731
732
  { name: 'creatorReward', internalType: 'uint256', type: 'uint256' },
@@ -752,7 +753,20 @@ export const zoraCreator1155ImplABI = [
752
753
  {
753
754
  stateMutability: 'pure',
754
755
  type: 'function',
755
- inputs: [{ name: 'numTokens', internalType: 'uint256', type: 'uint256' }],
756
+ inputs: [
757
+ { name: 'totalReward', internalType: 'uint256', type: 'uint256' },
758
+ { name: 'rewardPct', internalType: 'uint256', type: 'uint256' },
759
+ ],
760
+ name: 'computeRewardsPct',
761
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
762
+ },
763
+ {
764
+ stateMutability: 'pure',
765
+ type: 'function',
766
+ inputs: [
767
+ { name: 'mintPrice', internalType: 'uint256', type: 'uint256' },
768
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
769
+ ],
756
770
  name: 'computeTotalReward',
757
771
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
758
772
  },
@@ -990,12 +1004,32 @@ export const zoraCreator1155ImplABI = [
990
1004
  outputs: [],
991
1005
  },
992
1006
  {
993
- stateMutability: 'pure',
1007
+ stateMutability: 'view',
994
1008
  type: 'function',
995
1009
  inputs: [],
996
1010
  name: 'mintFee',
997
1011
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
998
1012
  },
1013
+ {
1014
+ stateMutability: 'payable',
1015
+ type: 'function',
1016
+ inputs: [
1017
+ { name: 'mintTokenIds', internalType: 'uint256[]', type: 'uint256[]' },
1018
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
1019
+ { name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
1020
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1021
+ {
1022
+ name: 'rewardsRecipients',
1023
+ internalType: 'address[]',
1024
+ type: 'address[]',
1025
+ },
1026
+ { name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
1027
+ ],
1028
+ name: 'mintWithMints',
1029
+ outputs: [
1030
+ { name: 'quantityMinted', internalType: 'uint256', type: 'uint256' },
1031
+ ],
1032
+ },
999
1033
  {
1000
1034
  stateMutability: 'payable',
1001
1035
  type: 'function',
@@ -1030,6 +1064,19 @@ export const zoraCreator1155ImplABI = [
1030
1064
  name: 'nextTokenId',
1031
1065
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1032
1066
  },
1067
+ {
1068
+ stateMutability: 'pure',
1069
+ type: 'function',
1070
+ inputs: [
1071
+ { name: '', internalType: 'address', type: 'address' },
1072
+ { name: '', internalType: 'address', type: 'address' },
1073
+ { name: '', internalType: 'uint256', type: 'uint256' },
1074
+ { name: '', internalType: 'uint256', type: 'uint256' },
1075
+ { name: '', internalType: 'bytes', type: 'bytes' },
1076
+ ],
1077
+ name: 'onERC1155Received',
1078
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
1079
+ },
1033
1080
  {
1034
1081
  stateMutability: 'view',
1035
1082
  type: 'function',
@@ -1853,17 +1900,8 @@ export const zoraCreator1155ImplABI = [
1853
1900
  name: 'InvalidMerkleProof',
1854
1901
  },
1855
1902
  { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
1856
- {
1857
- type: 'error',
1858
- inputs: [
1859
- {
1860
- name: 'recoverError',
1861
- internalType: 'enum ECDSAUpgradeable.RecoverError',
1862
- type: 'uint8',
1863
- },
1864
- ],
1865
- name: 'InvalidSignature',
1866
- },
1903
+ { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
1904
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
1867
1905
  { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
1868
1906
  {
1869
1907
  type: 'error',
@@ -1872,6 +1910,7 @@ export const zoraCreator1155ImplABI = [
1872
1910
  },
1873
1911
  { type: 'error', inputs: [], name: 'MintNotYetStarted' },
1874
1912
  { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
1913
+ { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
1875
1914
  { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
1876
1915
  { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
1877
1916
  { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
@@ -2209,7 +2248,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2209
2248
  { name: 'quantityToMint', internalType: 'uint256', type: 'uint256' },
2210
2249
  {
2211
2250
  name: 'mintArguments',
2212
- internalType: 'struct IZoraCreator1155PremintExecutor.MintArguments',
2251
+ internalType: 'struct MintArguments',
2213
2252
  type: 'tuple',
2214
2253
  components: [
2215
2254
  { name: 'mintRecipient', internalType: 'address', type: 'address' },
@@ -2226,7 +2265,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2226
2265
  outputs: [
2227
2266
  {
2228
2267
  name: 'result',
2229
- internalType: 'struct IZoraCreator1155PremintExecutor.PremintResult',
2268
+ internalType: 'struct PremintResult',
2230
2269
  type: 'tuple',
2231
2270
  components: [
2232
2271
  { name: 'contractAddress', internalType: 'address', type: 'address' },
@@ -2297,7 +2336,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2297
2336
  { name: 'quantityToMint', internalType: 'uint256', type: 'uint256' },
2298
2337
  {
2299
2338
  name: 'mintArguments',
2300
- internalType: 'struct IZoraCreator1155PremintExecutor.MintArguments',
2339
+ internalType: 'struct MintArguments',
2301
2340
  type: 'tuple',
2302
2341
  components: [
2303
2342
  { name: 'mintRecipient', internalType: 'address', type: 'address' },
@@ -2314,7 +2353,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2314
2353
  outputs: [
2315
2354
  {
2316
2355
  name: 'result',
2317
- internalType: 'struct IZoraCreator1155PremintExecutor.PremintResult',
2356
+ internalType: 'struct PremintResult',
2318
2357
  type: 'tuple',
2319
2358
  components: [
2320
2359
  { name: 'contractAddress', internalType: 'address', type: 'address' },
@@ -2385,7 +2424,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2385
2424
  { name: 'quantityToMint', internalType: 'uint256', type: 'uint256' },
2386
2425
  {
2387
2426
  name: 'mintArguments',
2388
- internalType: 'struct IZoraCreator1155PremintExecutor.MintArguments',
2427
+ internalType: 'struct MintArguments',
2389
2428
  type: 'tuple',
2390
2429
  components: [
2391
2430
  { name: 'mintRecipient', internalType: 'address', type: 'address' },
@@ -2403,7 +2442,78 @@ export const zoraCreator1155PremintExecutorImplABI = [
2403
2442
  outputs: [
2404
2443
  {
2405
2444
  name: 'result',
2406
- internalType: 'struct IZoraCreator1155PremintExecutor.PremintResult',
2445
+ internalType: 'struct PremintResult',
2446
+ type: 'tuple',
2447
+ components: [
2448
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
2449
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
2450
+ { name: 'createdNewContract', internalType: 'bool', type: 'bool' },
2451
+ ],
2452
+ },
2453
+ ],
2454
+ },
2455
+ {
2456
+ stateMutability: 'payable',
2457
+ type: 'function',
2458
+ inputs: [
2459
+ { name: 'mintTokenIds', internalType: 'uint256[]', type: 'uint256[]' },
2460
+ {
2461
+ name: 'mintTokenIdQuantities',
2462
+ internalType: 'uint256[]',
2463
+ type: 'uint256[]',
2464
+ },
2465
+ {
2466
+ name: 'contractConfig',
2467
+ internalType: 'struct ContractCreationConfig',
2468
+ type: 'tuple',
2469
+ components: [
2470
+ { name: 'contractAdmin', internalType: 'address', type: 'address' },
2471
+ { name: 'contractURI', internalType: 'string', type: 'string' },
2472
+ { name: 'contractName', internalType: 'string', type: 'string' },
2473
+ ],
2474
+ },
2475
+ {
2476
+ name: 'encodedPremintConfig',
2477
+ internalType: 'struct EncodedPremintConfig',
2478
+ type: 'tuple',
2479
+ components: [
2480
+ { name: 'premintConfig', internalType: 'bytes', type: 'bytes' },
2481
+ {
2482
+ name: 'premintConfigVersion',
2483
+ internalType: 'bytes32',
2484
+ type: 'bytes32',
2485
+ },
2486
+ { name: 'uid', internalType: 'uint32', type: 'uint32' },
2487
+ {
2488
+ name: 'fixedPriceMinter',
2489
+ internalType: 'address',
2490
+ type: 'address',
2491
+ },
2492
+ ],
2493
+ },
2494
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
2495
+ {
2496
+ name: 'mintArguments',
2497
+ internalType: 'struct MintArguments',
2498
+ type: 'tuple',
2499
+ components: [
2500
+ { name: 'mintRecipient', internalType: 'address', type: 'address' },
2501
+ { name: 'mintComment', internalType: 'string', type: 'string' },
2502
+ {
2503
+ name: 'mintRewardsRecipients',
2504
+ internalType: 'address[]',
2505
+ type: 'address[]',
2506
+ },
2507
+ ],
2508
+ },
2509
+ { name: 'minter', internalType: 'address', type: 'address' },
2510
+ { name: 'signerContract', internalType: 'address', type: 'address' },
2511
+ ],
2512
+ name: 'premintWithMints',
2513
+ outputs: [
2514
+ {
2515
+ name: 'result',
2516
+ internalType: 'struct PremintResult',
2407
2517
  type: 'tuple',
2408
2518
  components: [
2409
2519
  { name: 'contractAddress', internalType: 'address', type: 'address' },
@@ -2801,17 +2911,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2801
2911
  name: 'InvalidMerkleProof',
2802
2912
  },
2803
2913
  { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
2804
- {
2805
- type: 'error',
2806
- inputs: [
2807
- {
2808
- name: 'recoverError',
2809
- internalType: 'enum ECDSAUpgradeable.RecoverError',
2810
- type: 'uint8',
2811
- },
2812
- ],
2813
- name: 'InvalidSignature',
2814
- },
2914
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
2815
2915
  { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
2816
2916
  {
2817
2917
  type: 'error',
@@ -2820,6 +2920,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2820
2920
  },
2821
2921
  { type: 'error', inputs: [], name: 'MintNotYetStarted' },
2822
2922
  { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
2923
+ { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
2823
2924
  { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
2824
2925
  { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
2825
2926
  { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
@@ -3688,3 +3789,813 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
3688
3789
  address: zoraCreatorRedeemMinterFactoryAddress,
3689
3790
  abi: zoraCreatorRedeemMinterFactoryABI,
3690
3791
  } as const
3792
+
3793
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3794
+ // ZoraMintsImpl
3795
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3796
+
3797
+ /**
3798
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773dE7607C8d2eF571ba03ab22a7df64CEA)
3799
+ */
3800
+ export const zoraMintsImplABI = [
3801
+ {
3802
+ stateMutability: 'nonpayable',
3803
+ type: 'constructor',
3804
+ inputs: [
3805
+ {
3806
+ name: '_premintExecutor',
3807
+ internalType: 'contract IPremintWithMints',
3808
+ type: 'address',
3809
+ },
3810
+ ],
3811
+ },
3812
+ {
3813
+ stateMutability: 'nonpayable',
3814
+ type: 'function',
3815
+ inputs: [],
3816
+ name: 'acceptOwnership',
3817
+ outputs: [],
3818
+ },
3819
+ {
3820
+ stateMutability: 'view',
3821
+ type: 'function',
3822
+ inputs: [
3823
+ { name: 'account', internalType: 'address', type: 'address' },
3824
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
3825
+ ],
3826
+ name: 'balanceOf',
3827
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3828
+ },
3829
+ {
3830
+ stateMutability: 'view',
3831
+ type: 'function',
3832
+ inputs: [
3833
+ { name: 'accounts', internalType: 'address[]', type: 'address[]' },
3834
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
3835
+ ],
3836
+ name: 'balanceOfBatch',
3837
+ outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }],
3838
+ },
3839
+ {
3840
+ stateMutability: 'payable',
3841
+ type: 'function',
3842
+ inputs: [
3843
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
3844
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
3845
+ {
3846
+ name: 'zoraCreator1155Contract',
3847
+ internalType: 'contract IMintWithMints',
3848
+ type: 'address',
3849
+ },
3850
+ { name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
3851
+ {
3852
+ name: 'zoraCreator1155TokenId',
3853
+ internalType: 'uint256',
3854
+ type: 'uint256',
3855
+ },
3856
+ {
3857
+ name: 'rewardsRecipients',
3858
+ internalType: 'address[]',
3859
+ type: 'address[]',
3860
+ },
3861
+ { name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
3862
+ ],
3863
+ name: 'collect',
3864
+ outputs: [],
3865
+ },
3866
+ {
3867
+ stateMutability: 'payable',
3868
+ type: 'function',
3869
+ inputs: [
3870
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
3871
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
3872
+ {
3873
+ name: 'contractConfig',
3874
+ internalType: 'struct ContractCreationConfig',
3875
+ type: 'tuple',
3876
+ components: [
3877
+ { name: 'contractAdmin', internalType: 'address', type: 'address' },
3878
+ { name: 'contractURI', internalType: 'string', type: 'string' },
3879
+ { name: 'contractName', internalType: 'string', type: 'string' },
3880
+ ],
3881
+ },
3882
+ {
3883
+ name: 'premintConfig',
3884
+ internalType: 'struct PremintConfigV2',
3885
+ type: 'tuple',
3886
+ components: [
3887
+ {
3888
+ name: 'tokenConfig',
3889
+ internalType: 'struct TokenCreationConfigV2',
3890
+ type: 'tuple',
3891
+ components: [
3892
+ { name: 'tokenURI', internalType: 'string', type: 'string' },
3893
+ { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
3894
+ {
3895
+ name: 'maxTokensPerAddress',
3896
+ internalType: 'uint64',
3897
+ type: 'uint64',
3898
+ },
3899
+ { name: 'pricePerToken', internalType: 'uint96', type: 'uint96' },
3900
+ { name: 'mintStart', internalType: 'uint64', type: 'uint64' },
3901
+ { name: 'mintDuration', internalType: 'uint64', type: 'uint64' },
3902
+ { name: 'royaltyBPS', internalType: 'uint32', type: 'uint32' },
3903
+ {
3904
+ name: 'payoutRecipient',
3905
+ internalType: 'address',
3906
+ type: 'address',
3907
+ },
3908
+ {
3909
+ name: 'fixedPriceMinter',
3910
+ internalType: 'address',
3911
+ type: 'address',
3912
+ },
3913
+ {
3914
+ name: 'createReferral',
3915
+ internalType: 'address',
3916
+ type: 'address',
3917
+ },
3918
+ ],
3919
+ },
3920
+ { name: 'uid', internalType: 'uint32', type: 'uint32' },
3921
+ { name: 'version', internalType: 'uint32', type: 'uint32' },
3922
+ { name: 'deleted', internalType: 'bool', type: 'bool' },
3923
+ ],
3924
+ },
3925
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
3926
+ {
3927
+ name: 'mintArguments',
3928
+ internalType: 'struct MintArguments',
3929
+ type: 'tuple',
3930
+ components: [
3931
+ { name: 'mintRecipient', internalType: 'address', type: 'address' },
3932
+ { name: 'mintComment', internalType: 'string', type: 'string' },
3933
+ {
3934
+ name: 'mintRewardsRecipients',
3935
+ internalType: 'address[]',
3936
+ type: 'address[]',
3937
+ },
3938
+ ],
3939
+ },
3940
+ { name: 'signerContract', internalType: 'address', type: 'address' },
3941
+ ],
3942
+ name: 'collectPremintV2',
3943
+ outputs: [
3944
+ {
3945
+ name: 'result',
3946
+ internalType: 'struct PremintResult',
3947
+ type: 'tuple',
3948
+ components: [
3949
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
3950
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
3951
+ { name: 'createdNewContract', internalType: 'bool', type: 'bool' },
3952
+ ],
3953
+ },
3954
+ ],
3955
+ },
3956
+ {
3957
+ stateMutability: 'pure',
3958
+ type: 'function',
3959
+ inputs: [],
3960
+ name: 'contractVersion',
3961
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
3962
+ },
3963
+ {
3964
+ stateMutability: 'nonpayable',
3965
+ type: 'function',
3966
+ inputs: [
3967
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
3968
+ { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' },
3969
+ { name: 'defaultMintable', internalType: 'bool', type: 'bool' },
3970
+ ],
3971
+ name: 'createEthToken',
3972
+ outputs: [],
3973
+ },
3974
+ {
3975
+ stateMutability: 'view',
3976
+ type: 'function',
3977
+ inputs: [],
3978
+ name: 'getEthPrice',
3979
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3980
+ },
3981
+ {
3982
+ stateMutability: 'view',
3983
+ type: 'function',
3984
+ inputs: [],
3985
+ name: 'implementation',
3986
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
3987
+ },
3988
+ {
3989
+ stateMutability: 'nonpayable',
3990
+ type: 'function',
3991
+ inputs: [
3992
+ { name: 'initialOwner', internalType: 'address', type: 'address' },
3993
+ { name: 'initialEthTokenId', internalType: 'uint256', type: 'uint256' },
3994
+ {
3995
+ name: 'initialEthTokenPrice',
3996
+ internalType: 'uint256',
3997
+ type: 'uint256',
3998
+ },
3999
+ ],
4000
+ name: 'initialize',
4001
+ outputs: [],
4002
+ },
4003
+ {
4004
+ stateMutability: 'view',
4005
+ type: 'function',
4006
+ inputs: [
4007
+ { name: 'account', internalType: 'address', type: 'address' },
4008
+ { name: 'operator', internalType: 'address', type: 'address' },
4009
+ ],
4010
+ name: 'isApprovedForAll',
4011
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4012
+ },
4013
+ {
4014
+ stateMutability: 'payable',
4015
+ type: 'function',
4016
+ inputs: [
4017
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
4018
+ { name: 'recipient', internalType: 'address', type: 'address' },
4019
+ ],
4020
+ name: 'mintWithEth',
4021
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4022
+ },
4023
+ {
4024
+ stateMutability: 'view',
4025
+ type: 'function',
4026
+ inputs: [],
4027
+ name: 'mintableEthToken',
4028
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4029
+ },
4030
+ {
4031
+ stateMutability: 'pure',
4032
+ type: 'function',
4033
+ inputs: [],
4034
+ name: 'name',
4035
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
4036
+ },
4037
+ {
4038
+ stateMutability: 'view',
4039
+ type: 'function',
4040
+ inputs: [],
4041
+ name: 'owner',
4042
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
4043
+ },
4044
+ {
4045
+ stateMutability: 'view',
4046
+ type: 'function',
4047
+ inputs: [],
4048
+ name: 'pendingOwner',
4049
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
4050
+ },
4051
+ {
4052
+ stateMutability: 'view',
4053
+ type: 'function',
4054
+ inputs: [],
4055
+ name: 'premintExecutor',
4056
+ outputs: [
4057
+ { name: '', internalType: 'contract IPremintWithMints', type: 'address' },
4058
+ ],
4059
+ },
4060
+ {
4061
+ stateMutability: 'nonpayable',
4062
+ type: 'function',
4063
+ inputs: [
4064
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
4065
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
4066
+ { name: 'recipient', internalType: 'address', type: 'address' },
4067
+ ],
4068
+ name: 'redeem',
4069
+ outputs: [
4070
+ { name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
4071
+ ],
4072
+ },
4073
+ {
4074
+ stateMutability: 'nonpayable',
4075
+ type: 'function',
4076
+ inputs: [
4077
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
4078
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
4079
+ { name: 'recipient', internalType: 'address', type: 'address' },
4080
+ ],
4081
+ name: 'redeemBatch',
4082
+ outputs: [
4083
+ { name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
4084
+ ],
4085
+ },
4086
+ {
4087
+ stateMutability: 'nonpayable',
4088
+ type: 'function',
4089
+ inputs: [],
4090
+ name: 'renounceOwnership',
4091
+ outputs: [],
4092
+ },
4093
+ {
4094
+ stateMutability: 'nonpayable',
4095
+ type: 'function',
4096
+ inputs: [
4097
+ { name: 'from', internalType: 'address', type: 'address' },
4098
+ { name: 'to', internalType: 'address', type: 'address' },
4099
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
4100
+ { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
4101
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
4102
+ ],
4103
+ name: 'safeBatchTransferFrom',
4104
+ outputs: [],
4105
+ },
4106
+ {
4107
+ stateMutability: 'nonpayable',
4108
+ type: 'function',
4109
+ inputs: [
4110
+ { name: 'from', internalType: 'address', type: 'address' },
4111
+ { name: 'to', internalType: 'address', type: 'address' },
4112
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
4113
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
4114
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
4115
+ ],
4116
+ name: 'safeTransferFrom',
4117
+ outputs: [],
4118
+ },
4119
+ {
4120
+ stateMutability: 'nonpayable',
4121
+ type: 'function',
4122
+ inputs: [
4123
+ { name: 'operator', internalType: 'address', type: 'address' },
4124
+ { name: 'approved', internalType: 'bool', type: 'bool' },
4125
+ ],
4126
+ name: 'setApprovalForAll',
4127
+ outputs: [],
4128
+ },
4129
+ {
4130
+ stateMutability: 'nonpayable',
4131
+ type: 'function',
4132
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
4133
+ name: 'setMintableEthToken',
4134
+ outputs: [],
4135
+ },
4136
+ {
4137
+ stateMutability: 'view',
4138
+ type: 'function',
4139
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
4140
+ name: 'supportsInterface',
4141
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4142
+ },
4143
+ {
4144
+ stateMutability: 'pure',
4145
+ type: 'function',
4146
+ inputs: [],
4147
+ name: 'symbol',
4148
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
4149
+ },
4150
+ {
4151
+ stateMutability: 'view',
4152
+ type: 'function',
4153
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
4154
+ name: 'tokenCreated',
4155
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4156
+ },
4157
+ {
4158
+ stateMutability: 'view',
4159
+ type: 'function',
4160
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
4161
+ name: 'tokenPrice',
4162
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4163
+ },
4164
+ {
4165
+ stateMutability: 'nonpayable',
4166
+ type: 'function',
4167
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
4168
+ name: 'transferOwnership',
4169
+ outputs: [],
4170
+ },
4171
+ {
4172
+ stateMutability: 'view',
4173
+ type: 'function',
4174
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4175
+ name: 'uri',
4176
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
4177
+ },
4178
+ {
4179
+ type: 'event',
4180
+ anonymous: false,
4181
+ inputs: [
4182
+ {
4183
+ name: 'account',
4184
+ internalType: 'address',
4185
+ type: 'address',
4186
+ indexed: true,
4187
+ },
4188
+ {
4189
+ name: 'operator',
4190
+ internalType: 'address',
4191
+ type: 'address',
4192
+ indexed: true,
4193
+ },
4194
+ { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
4195
+ ],
4196
+ name: 'ApprovalForAll',
4197
+ },
4198
+ {
4199
+ type: 'event',
4200
+ anonymous: false,
4201
+ inputs: [
4202
+ {
4203
+ name: 'tokenIds',
4204
+ internalType: 'uint256[]',
4205
+ type: 'uint256[]',
4206
+ indexed: true,
4207
+ },
4208
+ {
4209
+ name: 'quantities',
4210
+ internalType: 'uint256[]',
4211
+ type: 'uint256[]',
4212
+ indexed: false,
4213
+ },
4214
+ {
4215
+ name: 'zoraCreator1155Contract',
4216
+ internalType: 'address',
4217
+ type: 'address',
4218
+ indexed: true,
4219
+ },
4220
+ {
4221
+ name: 'zoraCreator1155TokenId',
4222
+ internalType: 'uint256',
4223
+ type: 'uint256',
4224
+ indexed: true,
4225
+ },
4226
+ ],
4227
+ name: 'Collected',
4228
+ },
4229
+ {
4230
+ type: 'event',
4231
+ anonymous: false,
4232
+ inputs: [
4233
+ {
4234
+ name: 'tokenId',
4235
+ internalType: 'uint256',
4236
+ type: 'uint256',
4237
+ indexed: true,
4238
+ },
4239
+ ],
4240
+ name: 'EthMintableTokenSet',
4241
+ },
4242
+ {
4243
+ type: 'event',
4244
+ anonymous: false,
4245
+ inputs: [
4246
+ {
4247
+ name: 'tokenId',
4248
+ internalType: 'uint256',
4249
+ type: 'uint256',
4250
+ indexed: true,
4251
+ },
4252
+ {
4253
+ name: 'pricePerToken',
4254
+ internalType: 'uint256',
4255
+ type: 'uint256',
4256
+ indexed: true,
4257
+ },
4258
+ ],
4259
+ name: 'EthTokenCreated',
4260
+ },
4261
+ {
4262
+ type: 'event',
4263
+ anonymous: false,
4264
+ inputs: [
4265
+ {
4266
+ name: 'version',
4267
+ internalType: 'uint64',
4268
+ type: 'uint64',
4269
+ indexed: false,
4270
+ },
4271
+ ],
4272
+ name: 'Initialized',
4273
+ },
4274
+ {
4275
+ type: 'event',
4276
+ anonymous: false,
4277
+ inputs: [
4278
+ {
4279
+ name: 'previousOwner',
4280
+ internalType: 'address',
4281
+ type: 'address',
4282
+ indexed: true,
4283
+ },
4284
+ {
4285
+ name: 'newOwner',
4286
+ internalType: 'address',
4287
+ type: 'address',
4288
+ indexed: true,
4289
+ },
4290
+ ],
4291
+ name: 'OwnershipTransferStarted',
4292
+ },
4293
+ {
4294
+ type: 'event',
4295
+ anonymous: false,
4296
+ inputs: [
4297
+ {
4298
+ name: 'previousOwner',
4299
+ internalType: 'address',
4300
+ type: 'address',
4301
+ indexed: true,
4302
+ },
4303
+ {
4304
+ name: 'newOwner',
4305
+ internalType: 'address',
4306
+ type: 'address',
4307
+ indexed: true,
4308
+ },
4309
+ ],
4310
+ name: 'OwnershipTransferred',
4311
+ },
4312
+ {
4313
+ type: 'event',
4314
+ anonymous: false,
4315
+ inputs: [
4316
+ {
4317
+ name: 'tokenIds',
4318
+ internalType: 'uint256[]',
4319
+ type: 'uint256[]',
4320
+ indexed: false,
4321
+ },
4322
+ {
4323
+ name: 'quantities',
4324
+ internalType: 'uint256[]',
4325
+ type: 'uint256[]',
4326
+ indexed: false,
4327
+ },
4328
+ {
4329
+ name: 'recipient',
4330
+ internalType: 'address',
4331
+ type: 'address',
4332
+ indexed: false,
4333
+ },
4334
+ ],
4335
+ name: 'RedeemedBatch',
4336
+ },
4337
+ {
4338
+ type: 'event',
4339
+ anonymous: false,
4340
+ inputs: [
4341
+ {
4342
+ name: 'operator',
4343
+ internalType: 'address',
4344
+ type: 'address',
4345
+ indexed: true,
4346
+ },
4347
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
4348
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
4349
+ {
4350
+ name: 'ids',
4351
+ internalType: 'uint256[]',
4352
+ type: 'uint256[]',
4353
+ indexed: false,
4354
+ },
4355
+ {
4356
+ name: 'values',
4357
+ internalType: 'uint256[]',
4358
+ type: 'uint256[]',
4359
+ indexed: false,
4360
+ },
4361
+ ],
4362
+ name: 'TransferBatch',
4363
+ },
4364
+ {
4365
+ type: 'event',
4366
+ anonymous: false,
4367
+ inputs: [
4368
+ {
4369
+ name: 'operator',
4370
+ internalType: 'address',
4371
+ type: 'address',
4372
+ indexed: true,
4373
+ },
4374
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
4375
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
4376
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: false },
4377
+ {
4378
+ name: 'value',
4379
+ internalType: 'uint256',
4380
+ type: 'uint256',
4381
+ indexed: false,
4382
+ },
4383
+ ],
4384
+ name: 'TransferSingle',
4385
+ },
4386
+ {
4387
+ type: 'event',
4388
+ anonymous: false,
4389
+ inputs: [
4390
+ { name: 'value', internalType: 'string', type: 'string', indexed: false },
4391
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
4392
+ ],
4393
+ name: 'URI',
4394
+ },
4395
+ {
4396
+ type: 'error',
4397
+ inputs: [
4398
+ { name: 'operator', internalType: 'address', type: 'address' },
4399
+ { name: 'user', internalType: 'address', type: 'address' },
4400
+ ],
4401
+ name: 'Burn_NotOwnerOrApproved',
4402
+ },
4403
+ {
4404
+ type: 'error',
4405
+ inputs: [{ name: 'reason', internalType: 'bytes', type: 'bytes' }],
4406
+ name: 'CallFailed',
4407
+ },
4408
+ { type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
4409
+ { type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
4410
+ {
4411
+ type: 'error',
4412
+ inputs: [
4413
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
4414
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
4415
+ { name: 'totalMinted', internalType: 'uint256', type: 'uint256' },
4416
+ { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
4417
+ ],
4418
+ name: 'CannotMintMoreTokens',
4419
+ },
4420
+ {
4421
+ type: 'error',
4422
+ inputs: [
4423
+ { name: 'proposedAddress', internalType: 'address', type: 'address' },
4424
+ ],
4425
+ name: 'Config_TransferHookNotSupported',
4426
+ },
4427
+ {
4428
+ type: 'error',
4429
+ inputs: [
4430
+ { name: 'sender', internalType: 'address', type: 'address' },
4431
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
4432
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
4433
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
4434
+ ],
4435
+ name: 'ERC1155InsufficientBalance',
4436
+ },
4437
+ {
4438
+ type: 'error',
4439
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
4440
+ name: 'ERC1155InvalidApprover',
4441
+ },
4442
+ {
4443
+ type: 'error',
4444
+ inputs: [
4445
+ { name: 'idsLength', internalType: 'uint256', type: 'uint256' },
4446
+ { name: 'valuesLength', internalType: 'uint256', type: 'uint256' },
4447
+ ],
4448
+ name: 'ERC1155InvalidArrayLength',
4449
+ },
4450
+ {
4451
+ type: 'error',
4452
+ inputs: [{ name: 'operator', internalType: 'address', type: 'address' }],
4453
+ name: 'ERC1155InvalidOperator',
4454
+ },
4455
+ {
4456
+ type: 'error',
4457
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
4458
+ name: 'ERC1155InvalidReceiver',
4459
+ },
4460
+ {
4461
+ type: 'error',
4462
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
4463
+ name: 'ERC1155InvalidSender',
4464
+ },
4465
+ {
4466
+ type: 'error',
4467
+ inputs: [
4468
+ { name: 'operator', internalType: 'address', type: 'address' },
4469
+ { name: 'owner', internalType: 'address', type: 'address' },
4470
+ ],
4471
+ name: 'ERC1155MissingApprovalForAll',
4472
+ },
4473
+ { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
4474
+ {
4475
+ type: 'error',
4476
+ inputs: [
4477
+ { name: 'recipient', internalType: 'address', type: 'address' },
4478
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
4479
+ ],
4480
+ name: 'ETHWithdrawFailed',
4481
+ },
4482
+ {
4483
+ type: 'error',
4484
+ inputs: [
4485
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
4486
+ { name: 'contractValue', internalType: 'uint256', type: 'uint256' },
4487
+ ],
4488
+ name: 'FundsWithdrawInsolvent',
4489
+ },
4490
+ { type: 'error', inputs: [], name: 'IncorrectAmountSent' },
4491
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
4492
+ {
4493
+ type: 'error',
4494
+ inputs: [
4495
+ { name: 'mintTo', internalType: 'address', type: 'address' },
4496
+ { name: 'merkleProof', internalType: 'bytes32[]', type: 'bytes32[]' },
4497
+ { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' },
4498
+ ],
4499
+ name: 'InvalidMerkleProof',
4500
+ },
4501
+ { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
4502
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
4503
+ { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
4504
+ {
4505
+ type: 'error',
4506
+ inputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
4507
+ name: 'InvalidSigner',
4508
+ },
4509
+ { type: 'error', inputs: [], name: 'InvalidTokenPrice' },
4510
+ { type: 'error', inputs: [], name: 'MintNotYetStarted' },
4511
+ { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
4512
+ { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
4513
+ { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
4514
+ { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
4515
+ { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
4516
+ { type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
4517
+ { type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
4518
+ { type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
4519
+ { type: 'error', inputs: [], name: 'NotInitializing' },
4520
+ {
4521
+ type: 'error',
4522
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
4523
+ name: 'OwnableInvalidOwner',
4524
+ },
4525
+ {
4526
+ type: 'error',
4527
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
4528
+ name: 'OwnableUnauthorizedAccount',
4529
+ },
4530
+ { type: 'error', inputs: [], name: 'PremintDeleted' },
4531
+ {
4532
+ type: 'error',
4533
+ inputs: [
4534
+ { name: 'caller', internalType: 'address', type: 'address' },
4535
+ { name: 'recipient', internalType: 'address', type: 'address' },
4536
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
4537
+ ],
4538
+ name: 'ProtocolRewardsWithdrawFailed',
4539
+ },
4540
+ { type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
4541
+ { type: 'error', inputs: [], name: 'SaleEnded' },
4542
+ { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
4543
+ {
4544
+ type: 'error',
4545
+ inputs: [
4546
+ { name: 'targetContract', internalType: 'address', type: 'address' },
4547
+ ],
4548
+ name: 'Sale_CannotCallNonSalesContract',
4549
+ },
4550
+ { type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
4551
+ { type: 'error', inputs: [], name: 'TokenDoesNotExist' },
4552
+ {
4553
+ type: 'error',
4554
+ inputs: [
4555
+ { name: 'expected', internalType: 'uint256', type: 'uint256' },
4556
+ { name: 'actual', internalType: 'uint256', type: 'uint256' },
4557
+ ],
4558
+ name: 'TokenIdMismatch',
4559
+ },
4560
+ { type: 'error', inputs: [], name: 'TransferFailed' },
4561
+ {
4562
+ type: 'error',
4563
+ inputs: [
4564
+ { name: 'user', internalType: 'address', type: 'address' },
4565
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
4566
+ { name: 'requestedAmount', internalType: 'uint256', type: 'uint256' },
4567
+ ],
4568
+ name: 'UserExceedsMintLimit',
4569
+ },
4570
+ {
4571
+ type: 'error',
4572
+ inputs: [
4573
+ { name: 'user', internalType: 'address', type: 'address' },
4574
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
4575
+ { name: 'role', internalType: 'uint256', type: 'uint256' },
4576
+ ],
4577
+ name: 'UserMissingRoleForToken',
4578
+ },
4579
+ { type: 'error', inputs: [], name: 'WrongValueSent' },
4580
+ {
4581
+ type: 'error',
4582
+ inputs: [],
4583
+ name: 'premintSignerContractFailedToRecoverSigner',
4584
+ },
4585
+ { type: 'error', inputs: [], name: 'premintSignerContractNotAContract' },
4586
+ ] as const
4587
+
4588
+ /**
4589
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773dE7607C8d2eF571ba03ab22a7df64CEA)
4590
+ */
4591
+ export const zoraMintsImplAddress = {
4592
+ 999999999: '0x77777773dE7607C8d2eF571ba03ab22a7df64CEA',
4593
+ } as const
4594
+
4595
+ /**
4596
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773dE7607C8d2eF571ba03ab22a7df64CEA)
4597
+ */
4598
+ export const zoraMintsImplConfig = {
4599
+ address: zoraMintsImplAddress,
4600
+ abi: zoraMintsImplABI,
4601
+ } as const