@zoralabs/protocol-deployments 0.1.5-DEV.1 → 0.1.5-DEV.10

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,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
23
  contracts1155: () => __exports,
24
+ iUnwrapAndForwardActionABI: () => iUnwrapAndForwardActionABI,
25
+ mints: () => mints_exports,
26
+ mintsEthUnwrapperAndCallerABI: () => mintsEthUnwrapperAndCallerABI,
27
+ mintsEthUnwrapperAndCallerAddress: () => mintsEthUnwrapperAndCallerAddress,
28
+ mintsEthUnwrapperAndCallerConfig: () => mintsEthUnwrapperAndCallerConfig,
24
29
  zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
25
30
  zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
26
31
  zoraCreator1155FactoryImplConfig: () => zoraCreator1155FactoryImplConfig,
@@ -36,11 +41,91 @@ __export(src_exports, {
36
41
  zoraCreatorMerkleMinterStrategyConfig: () => zoraCreatorMerkleMinterStrategyConfig,
37
42
  zoraCreatorRedeemMinterFactoryABI: () => zoraCreatorRedeemMinterFactoryABI,
38
43
  zoraCreatorRedeemMinterFactoryAddress: () => zoraCreatorRedeemMinterFactoryAddress,
39
- zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig
44
+ zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig,
45
+ zoraMints1155ABI: () => zoraMints1155ABI,
46
+ zoraMints1155Address: () => zoraMints1155Address,
47
+ zoraMints1155Config: () => zoraMints1155Config,
48
+ zoraMintsManagerImplABI: () => zoraMintsManagerImplABI,
49
+ zoraMintsManagerImplAddress: () => zoraMintsManagerImplAddress,
50
+ zoraMintsManagerImplConfig: () => zoraMintsManagerImplConfig
40
51
  });
41
52
  module.exports = __toCommonJS(src_exports);
42
53
 
43
54
  // src/generated/wagmi.ts
55
+ var iUnwrapAndForwardActionABI = [
56
+ {
57
+ stateMutability: "payable",
58
+ type: "function",
59
+ inputs: [
60
+ { name: "receiverAddress", internalType: "address", type: "address" },
61
+ { name: "call", internalType: "bytes", type: "bytes" },
62
+ { name: "valueToSend", internalType: "uint256", type: "uint256" }
63
+ ],
64
+ name: "callWithEth",
65
+ outputs: []
66
+ }
67
+ ];
68
+ var mintsEthUnwrapperAndCallerABI = [
69
+ {
70
+ stateMutability: "nonpayable",
71
+ type: "constructor",
72
+ inputs: [
73
+ {
74
+ name: "_zoraMints1155",
75
+ internalType: "contract IZoraMints1155",
76
+ type: "address"
77
+ }
78
+ ]
79
+ },
80
+ { stateMutability: "payable", type: "receive" },
81
+ {
82
+ stateMutability: "nonpayable",
83
+ type: "function",
84
+ inputs: [
85
+ { name: "", internalType: "address", type: "address" },
86
+ { name: "from", internalType: "address", type: "address" },
87
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
88
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
89
+ { name: "data", internalType: "bytes", type: "bytes" }
90
+ ],
91
+ name: "onERC1155BatchReceived",
92
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
93
+ },
94
+ {
95
+ stateMutability: "nonpayable",
96
+ type: "function",
97
+ inputs: [
98
+ { name: "", internalType: "address", type: "address" },
99
+ { name: "from", internalType: "address", type: "address" },
100
+ { name: "id", internalType: "uint256", type: "uint256" },
101
+ { name: "value", internalType: "uint256", type: "uint256" },
102
+ { name: "data", internalType: "bytes", type: "bytes" }
103
+ ],
104
+ name: "onERC1155Received",
105
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
106
+ },
107
+ {
108
+ type: "error",
109
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
110
+ name: "ERC20NotSupported"
111
+ },
112
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
113
+ { type: "error", inputs: [], name: "NotExpectingReceive" },
114
+ { type: "error", inputs: [], name: "NotZoraMints1155" },
115
+ {
116
+ type: "error",
117
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
118
+ name: "TransferFailed"
119
+ },
120
+ { type: "error", inputs: [], name: "UnknownUserAction" }
121
+ ];
122
+ var mintsEthUnwrapperAndCallerAddress = {
123
+ 999999999: "0x98d1B7E6B9d11271124316593889BCF07038bE78"
124
+ };
125
+ var mintsEthUnwrapperAndCallerConfig = {
126
+ address: mintsEthUnwrapperAndCallerAddress,
127
+ abi: mintsEthUnwrapperAndCallerABI
128
+ };
44
129
  var zoraCreator1155FactoryImplABI = [
45
130
  {
46
131
  stateMutability: "nonpayable",
@@ -538,7 +623,8 @@ var zoraCreator1155ImplABI = [
538
623
  inputs: [
539
624
  { name: "_mintFeeRecipient", internalType: "address", type: "address" },
540
625
  { name: "_upgradeGate", internalType: "address", type: "address" },
541
- { name: "_protocolRewards", internalType: "address", type: "address" }
626
+ { name: "_protocolRewards", internalType: "address", type: "address" },
627
+ { name: "_mints", internalType: "address", type: "address" }
542
628
  ]
543
629
  },
544
630
  { stateMutability: "payable", type: "receive" },
@@ -607,18 +693,6 @@ var zoraCreator1155ImplABI = [
607
693
  name: "adminMint",
608
694
  outputs: []
609
695
  },
610
- {
611
- stateMutability: "nonpayable",
612
- type: "function",
613
- inputs: [
614
- { name: "recipient", internalType: "address", type: "address" },
615
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
616
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
617
- { name: "data", internalType: "bytes", type: "bytes" }
618
- ],
619
- name: "adminMintBatch",
620
- outputs: []
621
- },
622
696
  {
623
697
  stateMutability: "view",
624
698
  type: "function",
@@ -687,71 +761,10 @@ var zoraCreator1155ImplABI = [
687
761
  {
688
762
  stateMutability: "pure",
689
763
  type: "function",
690
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
691
- name: "computeFreeMintRewards",
692
- outputs: [
693
- {
694
- name: "",
695
- internalType: "struct RewardsSettings",
696
- type: "tuple",
697
- components: [
698
- { name: "creatorReward", internalType: "uint256", type: "uint256" },
699
- {
700
- name: "createReferralReward",
701
- internalType: "uint256",
702
- type: "uint256"
703
- },
704
- {
705
- name: "mintReferralReward",
706
- internalType: "uint256",
707
- type: "uint256"
708
- },
709
- {
710
- name: "firstMinterReward",
711
- internalType: "uint256",
712
- type: "uint256"
713
- },
714
- { name: "zoraReward", internalType: "uint256", type: "uint256" }
715
- ]
716
- }
717
- ]
718
- },
719
- {
720
- stateMutability: "pure",
721
- type: "function",
722
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
723
- name: "computePaidMintRewards",
724
- outputs: [
725
- {
726
- name: "",
727
- internalType: "struct RewardsSettings",
728
- type: "tuple",
729
- components: [
730
- { name: "creatorReward", internalType: "uint256", type: "uint256" },
731
- {
732
- name: "createReferralReward",
733
- internalType: "uint256",
734
- type: "uint256"
735
- },
736
- {
737
- name: "mintReferralReward",
738
- internalType: "uint256",
739
- type: "uint256"
740
- },
741
- {
742
- name: "firstMinterReward",
743
- internalType: "uint256",
744
- type: "uint256"
745
- },
746
- { name: "zoraReward", internalType: "uint256", type: "uint256" }
747
- ]
748
- }
749
- ]
750
- },
751
- {
752
- stateMutability: "pure",
753
- type: "function",
754
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
764
+ inputs: [
765
+ { name: "mintPrice", internalType: "uint256", type: "uint256" },
766
+ { name: "quantity", internalType: "uint256", type: "uint256" }
767
+ ],
755
768
  name: "computeTotalReward",
756
769
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
757
770
  },
@@ -814,7 +827,7 @@ var zoraCreator1155ImplABI = [
814
827
  { name: "premintConfig", internalType: "bytes", type: "bytes" },
815
828
  { name: "premintVersion", internalType: "bytes32", type: "bytes32" },
816
829
  { name: "signature", internalType: "bytes", type: "bytes" },
817
- { name: "sender", internalType: "address", type: "address" },
830
+ { name: "firstMinter", internalType: "address", type: "address" },
818
831
  {
819
832
  name: "premintSignerContract",
820
833
  internalType: "address",
@@ -989,12 +1002,32 @@ var zoraCreator1155ImplABI = [
989
1002
  outputs: []
990
1003
  },
991
1004
  {
992
- stateMutability: "pure",
1005
+ stateMutability: "view",
993
1006
  type: "function",
994
1007
  inputs: [],
995
1008
  name: "mintFee",
996
1009
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
997
1010
  },
1011
+ {
1012
+ stateMutability: "payable",
1013
+ type: "function",
1014
+ inputs: [
1015
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
1016
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
1017
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
1018
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1019
+ {
1020
+ name: "rewardsRecipients",
1021
+ internalType: "address[]",
1022
+ type: "address[]"
1023
+ },
1024
+ { name: "minterArguments", internalType: "bytes", type: "bytes" }
1025
+ ],
1026
+ name: "mintWithMints",
1027
+ outputs: [
1028
+ { name: "quantityMinted", internalType: "uint256", type: "uint256" }
1029
+ ]
1030
+ },
998
1031
  {
999
1032
  stateMutability: "payable",
1000
1033
  type: "function",
@@ -1029,6 +1062,32 @@ var zoraCreator1155ImplABI = [
1029
1062
  name: "nextTokenId",
1030
1063
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1031
1064
  },
1065
+ {
1066
+ stateMutability: "pure",
1067
+ type: "function",
1068
+ inputs: [
1069
+ { name: "", internalType: "address", type: "address" },
1070
+ { name: "", internalType: "address", type: "address" },
1071
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
1072
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
1073
+ { name: "", internalType: "bytes", type: "bytes" }
1074
+ ],
1075
+ name: "onERC1155BatchReceived",
1076
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
1077
+ },
1078
+ {
1079
+ stateMutability: "pure",
1080
+ type: "function",
1081
+ inputs: [
1082
+ { name: "", internalType: "address", type: "address" },
1083
+ { name: "", internalType: "address", type: "address" },
1084
+ { name: "", internalType: "uint256", type: "uint256" },
1085
+ { name: "", internalType: "uint256", type: "uint256" },
1086
+ { name: "", internalType: "bytes", type: "bytes" }
1087
+ ],
1088
+ name: "onERC1155Received",
1089
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
1090
+ },
1032
1091
  {
1033
1092
  stateMutability: "view",
1034
1093
  type: "function",
@@ -1877,6 +1936,7 @@ var zoraCreator1155ImplABI = [
1877
1936
  inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
1878
1937
  name: "NoRendererForToken"
1879
1938
  },
1939
+ { type: "error", inputs: [], name: "NonEthRedemption" },
1880
1940
  { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
1881
1941
  { type: "error", inputs: [], name: "PremintDeleted" },
1882
1942
  {
@@ -2890,6 +2950,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2890
2950
  { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2891
2951
  { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2892
2952
  { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
2953
+ { type: "error", inputs: [], name: "NonEthRedemption" },
2893
2954
  { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
2894
2955
  { type: "error", inputs: [], name: "ONLY_OWNER" },
2895
2956
  { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
@@ -3605,69 +3666,1625 @@ var zoraCreatorRedeemMinterFactoryConfig = {
3605
3666
  address: zoraCreatorRedeemMinterFactoryAddress,
3606
3667
  abi: zoraCreatorRedeemMinterFactoryABI
3607
3668
  };
3608
-
3609
- // src/generated/1155.ts
3610
- var __exports = {};
3611
- __export(__exports, {
3612
- addresses: () => addresses,
3613
- chainConfigs: () => chainConfigs
3614
- });
3615
- var chainConfigs = {
3616
- 1: {
3617
- FACTORY_OWNER: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
3618
- MINT_FEE_RECIPIENT: "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
3619
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3669
+ var zoraMints1155ABI = [
3670
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
3671
+ {
3672
+ stateMutability: "view",
3673
+ type: "function",
3674
+ inputs: [],
3675
+ name: "ETH_ADDRESS",
3676
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3620
3677
  },
3621
- 10: {
3622
- FACTORY_OWNER: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
3623
- MINT_FEE_RECIPIENT: "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
3624
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3678
+ {
3679
+ stateMutability: "view",
3680
+ type: "function",
3681
+ inputs: [],
3682
+ name: "MINIMUM_ERC20_PRICE",
3683
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3625
3684
  },
3626
- 999: {
3627
- FACTORY_OWNER: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3628
- MINT_FEE_RECIPIENT: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3629
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3685
+ {
3686
+ stateMutability: "view",
3687
+ type: "function",
3688
+ inputs: [],
3689
+ name: "MINIMUM_ETH_PRICE",
3690
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3630
3691
  },
3631
- 8453: {
3632
- FACTORY_OWNER: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
3633
- MINT_FEE_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
3634
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3692
+ {
3693
+ stateMutability: "view",
3694
+ type: "function",
3695
+ inputs: [],
3696
+ name: "authority",
3697
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3635
3698
  },
3636
- 42161: {
3637
- FACTORY_OWNER: "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
3638
- MINT_FEE_RECIPIENT: "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
3639
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3699
+ {
3700
+ stateMutability: "view",
3701
+ type: "function",
3702
+ inputs: [
3703
+ { name: "account", internalType: "address", type: "address" },
3704
+ { name: "id", internalType: "uint256", type: "uint256" }
3705
+ ],
3706
+ name: "balanceOf",
3707
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3640
3708
  },
3641
- 81457: {
3642
- FACTORY_OWNER: "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
3643
- MINT_FEE_RECIPIENT: "0x72E6394056f9152D3a41e5A25De383c191D16134",
3644
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3709
+ {
3710
+ stateMutability: "view",
3711
+ type: "function",
3712
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3713
+ name: "balanceOfAccount",
3714
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3645
3715
  },
3646
- 421614: {
3647
- FACTORY_OWNER: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
3648
- MINT_FEE_RECIPIENT: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
3649
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3716
+ {
3717
+ stateMutability: "view",
3718
+ type: "function",
3719
+ inputs: [
3720
+ { name: "accounts", internalType: "address[]", type: "address[]" },
3721
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
3722
+ ],
3723
+ name: "balanceOfBatch",
3724
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }]
3650
3725
  },
3651
- 7777777: {
3652
- FACTORY_OWNER: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
3653
- MINT_FEE_RECIPIENT: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
3654
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3726
+ {
3727
+ stateMutability: "view",
3728
+ type: "function",
3729
+ inputs: [],
3730
+ name: "contractURI",
3731
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3655
3732
  },
3656
- 11155111: {
3657
- FACTORY_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
3658
- MINT_FEE_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
3659
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3733
+ {
3734
+ stateMutability: "pure",
3735
+ type: "function",
3736
+ inputs: [],
3737
+ name: "contractVersion",
3738
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3660
3739
  },
3661
- 168587773: {
3662
- FACTORY_OWNER: "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
3663
- MINT_FEE_RECIPIENT: "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
3664
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3740
+ {
3741
+ stateMutability: "nonpayable",
3742
+ type: "function",
3743
+ inputs: [
3744
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3745
+ {
3746
+ name: "tokenConfig",
3747
+ internalType: "struct TokenConfig",
3748
+ type: "tuple",
3749
+ components: [
3750
+ { name: "price", internalType: "uint256", type: "uint256" },
3751
+ { name: "tokenAddress", internalType: "address", type: "address" },
3752
+ { name: "redeemHandler", internalType: "address", type: "address" }
3753
+ ]
3754
+ }
3755
+ ],
3756
+ name: "createToken",
3757
+ outputs: []
3665
3758
  },
3666
- 999999999: {
3667
- FACTORY_OWNER: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
3668
- MINT_FEE_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
3669
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3670
- }
3759
+ {
3760
+ stateMutability: "view",
3761
+ type: "function",
3762
+ inputs: [],
3763
+ name: "eip712Domain",
3764
+ outputs: [
3765
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
3766
+ { name: "name", internalType: "string", type: "string" },
3767
+ { name: "version", internalType: "string", type: "string" },
3768
+ { name: "chainId", internalType: "uint256", type: "uint256" },
3769
+ { name: "verifyingContract", internalType: "address", type: "address" },
3770
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
3771
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
3772
+ ]
3773
+ },
3774
+ {
3775
+ stateMutability: "view",
3776
+ type: "function",
3777
+ inputs: [],
3778
+ name: "getManager",
3779
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3780
+ },
3781
+ {
3782
+ stateMutability: "view",
3783
+ type: "function",
3784
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3785
+ name: "getTokenConfig",
3786
+ outputs: [
3787
+ {
3788
+ name: "",
3789
+ internalType: "struct TokenConfig",
3790
+ type: "tuple",
3791
+ components: [
3792
+ { name: "price", internalType: "uint256", type: "uint256" },
3793
+ { name: "tokenAddress", internalType: "address", type: "address" },
3794
+ { name: "redeemHandler", internalType: "address", type: "address" }
3795
+ ]
3796
+ }
3797
+ ]
3798
+ },
3799
+ {
3800
+ stateMutability: "view",
3801
+ type: "function",
3802
+ inputs: [
3803
+ {
3804
+ name: "permit",
3805
+ internalType: "struct IZoraMints1155Managed.PermitBatch",
3806
+ type: "tuple",
3807
+ components: [
3808
+ { name: "owner", internalType: "address", type: "address" },
3809
+ { name: "to", internalType: "address", type: "address" },
3810
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3811
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3812
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3813
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3814
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3815
+ ]
3816
+ }
3817
+ ],
3818
+ name: "hashPermitBatch",
3819
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3820
+ },
3821
+ {
3822
+ stateMutability: "view",
3823
+ type: "function",
3824
+ inputs: [
3825
+ {
3826
+ name: "permit",
3827
+ internalType: "struct IZoraMints1155Managed.PermitSingle",
3828
+ type: "tuple",
3829
+ components: [
3830
+ { name: "owner", internalType: "address", type: "address" },
3831
+ { name: "to", internalType: "address", type: "address" },
3832
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3833
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3834
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3835
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3836
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3837
+ ]
3838
+ }
3839
+ ],
3840
+ name: "hashPermitSingle",
3841
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3842
+ },
3843
+ {
3844
+ stateMutability: "view",
3845
+ type: "function",
3846
+ inputs: [
3847
+ { name: "account", internalType: "address", type: "address" },
3848
+ { name: "operator", internalType: "address", type: "address" }
3849
+ ],
3850
+ name: "isApprovedForAll",
3851
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3852
+ },
3853
+ {
3854
+ stateMutability: "view",
3855
+ type: "function",
3856
+ inputs: [],
3857
+ name: "isConsumingScheduledOp",
3858
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
3859
+ },
3860
+ {
3861
+ stateMutability: "view",
3862
+ type: "function",
3863
+ inputs: [
3864
+ {
3865
+ name: "permit",
3866
+ internalType: "struct IZoraMints1155Managed.PermitBatch",
3867
+ type: "tuple",
3868
+ components: [
3869
+ { name: "owner", internalType: "address", type: "address" },
3870
+ { name: "to", internalType: "address", type: "address" },
3871
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3872
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3873
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3874
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3875
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3876
+ ]
3877
+ },
3878
+ { name: "signature", internalType: "bytes", type: "bytes" }
3879
+ ],
3880
+ name: "isValidSignatureTransferBatch",
3881
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3882
+ },
3883
+ {
3884
+ stateMutability: "view",
3885
+ type: "function",
3886
+ inputs: [
3887
+ {
3888
+ name: "permit",
3889
+ internalType: "struct IZoraMints1155Managed.PermitSingle",
3890
+ type: "tuple",
3891
+ components: [
3892
+ { name: "owner", internalType: "address", type: "address" },
3893
+ { name: "to", internalType: "address", type: "address" },
3894
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3895
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3896
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3897
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3898
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3899
+ ]
3900
+ },
3901
+ { name: "signature", internalType: "bytes", type: "bytes" }
3902
+ ],
3903
+ name: "isValidSignatureTransferSingle",
3904
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3905
+ },
3906
+ {
3907
+ stateMutability: "nonpayable",
3908
+ type: "function",
3909
+ inputs: [
3910
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3911
+ { name: "tokenAddress", internalType: "address", type: "address" },
3912
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3913
+ { name: "recipient", internalType: "address", type: "address" },
3914
+ { name: "data", internalType: "bytes", type: "bytes" }
3915
+ ],
3916
+ name: "mintTokenWithERC20",
3917
+ outputs: []
3918
+ },
3919
+ {
3920
+ stateMutability: "payable",
3921
+ type: "function",
3922
+ inputs: [
3923
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3924
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3925
+ { name: "recipient", internalType: "address", type: "address" },
3926
+ { name: "data", internalType: "bytes", type: "bytes" }
3927
+ ],
3928
+ name: "mintTokenWithEth",
3929
+ outputs: []
3930
+ },
3931
+ {
3932
+ stateMutability: "pure",
3933
+ type: "function",
3934
+ inputs: [],
3935
+ name: "name",
3936
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3937
+ },
3938
+ {
3939
+ stateMutability: "view",
3940
+ type: "function",
3941
+ inputs: [
3942
+ { name: "owner", internalType: "address", type: "address" },
3943
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3944
+ ],
3945
+ name: "nonceUsed",
3946
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3947
+ },
3948
+ {
3949
+ stateMutability: "nonpayable",
3950
+ type: "function",
3951
+ inputs: [
3952
+ { name: "newContractURI", internalType: "string", type: "string" },
3953
+ { name: "newBaseURI", internalType: "string", type: "string" }
3954
+ ],
3955
+ name: "notifyURIsUpdated",
3956
+ outputs: []
3957
+ },
3958
+ {
3959
+ stateMutability: "nonpayable",
3960
+ type: "function",
3961
+ inputs: [
3962
+ { name: "newUri", internalType: "string", type: "string" },
3963
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
3964
+ ],
3965
+ name: "notifyUpdatedTokenURI",
3966
+ outputs: []
3967
+ },
3968
+ {
3969
+ stateMutability: "nonpayable",
3970
+ type: "function",
3971
+ inputs: [
3972
+ {
3973
+ name: "permit",
3974
+ internalType: "struct IZoraMints1155Managed.PermitSingle",
3975
+ type: "tuple",
3976
+ components: [
3977
+ { name: "owner", internalType: "address", type: "address" },
3978
+ { name: "to", internalType: "address", type: "address" },
3979
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3980
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3981
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3982
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3983
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3984
+ ]
3985
+ },
3986
+ { name: "signature", internalType: "bytes", type: "bytes" }
3987
+ ],
3988
+ name: "permitSafeTransfer",
3989
+ outputs: []
3990
+ },
3991
+ {
3992
+ stateMutability: "nonpayable",
3993
+ type: "function",
3994
+ inputs: [
3995
+ {
3996
+ name: "permit",
3997
+ internalType: "struct IZoraMints1155Managed.PermitBatch",
3998
+ type: "tuple",
3999
+ components: [
4000
+ { name: "owner", internalType: "address", type: "address" },
4001
+ { name: "to", internalType: "address", type: "address" },
4002
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4003
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4004
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
4005
+ { name: "deadline", internalType: "uint256", type: "uint256" },
4006
+ { name: "nonce", internalType: "uint256", type: "uint256" }
4007
+ ]
4008
+ },
4009
+ { name: "signature", internalType: "bytes", type: "bytes" }
4010
+ ],
4011
+ name: "permitSafeTransferBatch",
4012
+ outputs: []
4013
+ },
4014
+ {
4015
+ stateMutability: "nonpayable",
4016
+ type: "function",
4017
+ inputs: [
4018
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4019
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4020
+ { name: "recipient", internalType: "address", type: "address" }
4021
+ ],
4022
+ name: "redeem",
4023
+ outputs: [
4024
+ {
4025
+ name: "",
4026
+ internalType: "struct Redemption",
4027
+ type: "tuple",
4028
+ components: [
4029
+ { name: "tokenAddress", internalType: "address", type: "address" },
4030
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
4031
+ ]
4032
+ }
4033
+ ]
4034
+ },
4035
+ {
4036
+ stateMutability: "nonpayable",
4037
+ type: "function",
4038
+ inputs: [
4039
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4040
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4041
+ { name: "recipient", internalType: "address", type: "address" }
4042
+ ],
4043
+ name: "redeemBatch",
4044
+ outputs: [
4045
+ {
4046
+ name: "redemptions",
4047
+ internalType: "struct Redemption[]",
4048
+ type: "tuple[]",
4049
+ components: [
4050
+ { name: "tokenAddress", internalType: "address", type: "address" },
4051
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
4052
+ ]
4053
+ }
4054
+ ]
4055
+ },
4056
+ {
4057
+ stateMutability: "nonpayable",
4058
+ type: "function",
4059
+ inputs: [
4060
+ { name: "from", internalType: "address", type: "address" },
4061
+ { name: "to", internalType: "address", type: "address" },
4062
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
4063
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
4064
+ { name: "data", internalType: "bytes", type: "bytes" }
4065
+ ],
4066
+ name: "safeBatchTransferFrom",
4067
+ outputs: []
4068
+ },
4069
+ {
4070
+ stateMutability: "nonpayable",
4071
+ type: "function",
4072
+ inputs: [
4073
+ { name: "from", internalType: "address", type: "address" },
4074
+ { name: "to", internalType: "address", type: "address" },
4075
+ { name: "id", internalType: "uint256", type: "uint256" },
4076
+ { name: "value", internalType: "uint256", type: "uint256" },
4077
+ { name: "data", internalType: "bytes", type: "bytes" }
4078
+ ],
4079
+ name: "safeTransferFrom",
4080
+ outputs: []
4081
+ },
4082
+ {
4083
+ stateMutability: "nonpayable",
4084
+ type: "function",
4085
+ inputs: [
4086
+ { name: "operator", internalType: "address", type: "address" },
4087
+ { name: "approved", internalType: "bool", type: "bool" }
4088
+ ],
4089
+ name: "setApprovalForAll",
4090
+ outputs: []
4091
+ },
4092
+ {
4093
+ stateMutability: "nonpayable",
4094
+ type: "function",
4095
+ inputs: [
4096
+ { name: "newAuthority", internalType: "address", type: "address" }
4097
+ ],
4098
+ name: "setAuthority",
4099
+ outputs: []
4100
+ },
4101
+ {
4102
+ stateMutability: "view",
4103
+ type: "function",
4104
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
4105
+ name: "supportsInterface",
4106
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
4107
+ },
4108
+ {
4109
+ stateMutability: "pure",
4110
+ type: "function",
4111
+ inputs: [],
4112
+ name: "symbol",
4113
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4114
+ },
4115
+ {
4116
+ stateMutability: "view",
4117
+ type: "function",
4118
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
4119
+ name: "tokenExists",
4120
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
4121
+ },
4122
+ {
4123
+ stateMutability: "view",
4124
+ type: "function",
4125
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
4126
+ name: "tokenPrice",
4127
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
4128
+ },
4129
+ {
4130
+ stateMutability: "payable",
4131
+ type: "function",
4132
+ inputs: [
4133
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4134
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4135
+ { name: "call", internalType: "bytes", type: "bytes" }
4136
+ ],
4137
+ name: "transferBatchToManagerAndCall",
4138
+ outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }]
4139
+ },
4140
+ {
4141
+ stateMutability: "view",
4142
+ type: "function",
4143
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
4144
+ name: "uri",
4145
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4146
+ },
4147
+ {
4148
+ type: "event",
4149
+ anonymous: false,
4150
+ inputs: [
4151
+ {
4152
+ name: "account",
4153
+ internalType: "address",
4154
+ type: "address",
4155
+ indexed: true
4156
+ },
4157
+ {
4158
+ name: "operator",
4159
+ internalType: "address",
4160
+ type: "address",
4161
+ indexed: true
4162
+ },
4163
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
4164
+ ],
4165
+ name: "ApprovalForAll"
4166
+ },
4167
+ {
4168
+ type: "event",
4169
+ anonymous: false,
4170
+ inputs: [
4171
+ {
4172
+ name: "authority",
4173
+ internalType: "address",
4174
+ type: "address",
4175
+ indexed: false
4176
+ }
4177
+ ],
4178
+ name: "AuthorityUpdated"
4179
+ },
4180
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
4181
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
4182
+ {
4183
+ type: "event",
4184
+ anonymous: false,
4185
+ inputs: [
4186
+ {
4187
+ name: "tokenId",
4188
+ internalType: "uint256",
4189
+ type: "uint256",
4190
+ indexed: true
4191
+ },
4192
+ {
4193
+ name: "price",
4194
+ internalType: "uint256",
4195
+ type: "uint256",
4196
+ indexed: true
4197
+ },
4198
+ {
4199
+ name: "tokenAddress",
4200
+ internalType: "address",
4201
+ type: "address",
4202
+ indexed: true
4203
+ }
4204
+ ],
4205
+ name: "TokenCreated"
4206
+ },
4207
+ {
4208
+ type: "event",
4209
+ anonymous: false,
4210
+ inputs: [
4211
+ {
4212
+ name: "operator",
4213
+ internalType: "address",
4214
+ type: "address",
4215
+ indexed: true
4216
+ },
4217
+ { name: "from", internalType: "address", type: "address", indexed: true },
4218
+ { name: "to", internalType: "address", type: "address", indexed: true },
4219
+ {
4220
+ name: "ids",
4221
+ internalType: "uint256[]",
4222
+ type: "uint256[]",
4223
+ indexed: false
4224
+ },
4225
+ {
4226
+ name: "values",
4227
+ internalType: "uint256[]",
4228
+ type: "uint256[]",
4229
+ indexed: false
4230
+ }
4231
+ ],
4232
+ name: "TransferBatch"
4233
+ },
4234
+ {
4235
+ type: "event",
4236
+ anonymous: false,
4237
+ inputs: [
4238
+ {
4239
+ name: "operator",
4240
+ internalType: "address",
4241
+ type: "address",
4242
+ indexed: true
4243
+ },
4244
+ { name: "from", internalType: "address", type: "address", indexed: true },
4245
+ { name: "to", internalType: "address", type: "address", indexed: true },
4246
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
4247
+ {
4248
+ name: "value",
4249
+ internalType: "uint256",
4250
+ type: "uint256",
4251
+ indexed: false
4252
+ }
4253
+ ],
4254
+ name: "TransferSingle"
4255
+ },
4256
+ {
4257
+ type: "event",
4258
+ anonymous: false,
4259
+ inputs: [
4260
+ { name: "value", internalType: "string", type: "string", indexed: false },
4261
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
4262
+ ],
4263
+ name: "URI"
4264
+ },
4265
+ {
4266
+ type: "event",
4267
+ anonymous: false,
4268
+ inputs: [
4269
+ {
4270
+ name: "contractURI",
4271
+ internalType: "string",
4272
+ type: "string",
4273
+ indexed: false
4274
+ },
4275
+ {
4276
+ name: "baseURI",
4277
+ internalType: "string",
4278
+ type: "string",
4279
+ indexed: false
4280
+ }
4281
+ ],
4282
+ name: "URIsUpdated"
4283
+ },
4284
+ {
4285
+ type: "error",
4286
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
4287
+ name: "AccessManagedInvalidAuthority"
4288
+ },
4289
+ {
4290
+ type: "error",
4291
+ inputs: [
4292
+ { name: "caller", internalType: "address", type: "address" },
4293
+ { name: "delay", internalType: "uint32", type: "uint32" }
4294
+ ],
4295
+ name: "AccessManagedRequiredDelay"
4296
+ },
4297
+ {
4298
+ type: "error",
4299
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
4300
+ name: "AccessManagedUnauthorized"
4301
+ },
4302
+ {
4303
+ type: "error",
4304
+ inputs: [
4305
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
4306
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
4307
+ ],
4308
+ name: "ArrayLengthMismatch"
4309
+ },
4310
+ {
4311
+ type: "error",
4312
+ inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
4313
+ name: "CallFailed"
4314
+ },
4315
+ {
4316
+ type: "error",
4317
+ inputs: [
4318
+ { name: "sender", internalType: "address", type: "address" },
4319
+ { name: "balance", internalType: "uint256", type: "uint256" },
4320
+ { name: "needed", internalType: "uint256", type: "uint256" },
4321
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
4322
+ ],
4323
+ name: "ERC1155InsufficientBalance"
4324
+ },
4325
+ {
4326
+ type: "error",
4327
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
4328
+ name: "ERC1155InvalidApprover"
4329
+ },
4330
+ {
4331
+ type: "error",
4332
+ inputs: [
4333
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
4334
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
4335
+ ],
4336
+ name: "ERC1155InvalidArrayLength"
4337
+ },
4338
+ {
4339
+ type: "error",
4340
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
4341
+ name: "ERC1155InvalidOperator"
4342
+ },
4343
+ {
4344
+ type: "error",
4345
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
4346
+ name: "ERC1155InvalidReceiver"
4347
+ },
4348
+ {
4349
+ type: "error",
4350
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
4351
+ name: "ERC1155InvalidSender"
4352
+ },
4353
+ {
4354
+ type: "error",
4355
+ inputs: [
4356
+ { name: "operator", internalType: "address", type: "address" },
4357
+ { name: "owner", internalType: "address", type: "address" }
4358
+ ],
4359
+ name: "ERC1155MissingApprovalForAll"
4360
+ },
4361
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
4362
+ {
4363
+ type: "error",
4364
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
4365
+ name: "ERC2612ExpiredSignature"
4366
+ },
4367
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
4368
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
4369
+ {
4370
+ type: "error",
4371
+ inputs: [
4372
+ { name: "account", internalType: "address", type: "address" },
4373
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
4374
+ ],
4375
+ name: "InvalidAccountNonce"
4376
+ },
4377
+ { type: "error", inputs: [], name: "InvalidRecipient" },
4378
+ { type: "error", inputs: [], name: "InvalidShortString" },
4379
+ { type: "error", inputs: [], name: "InvalidSignature" },
4380
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
4381
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
4382
+ {
4383
+ type: "error",
4384
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
4385
+ name: "NotARedeemHandler"
4386
+ },
4387
+ {
4388
+ type: "error",
4389
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
4390
+ name: "StringTooLong"
4391
+ },
4392
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
4393
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
4394
+ {
4395
+ type: "error",
4396
+ inputs: [
4397
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
4398
+ {
4399
+ name: "expectedTokenAddress",
4400
+ internalType: "address",
4401
+ type: "address"
4402
+ }
4403
+ ],
4404
+ name: "TokenMismatch"
4405
+ },
4406
+ { type: "error", inputs: [], name: "TokenNotMintable" }
4407
+ ];
4408
+ var zoraMints1155Address = {
4409
+ 999999999: "0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4"
4410
+ };
4411
+ var zoraMints1155Config = {
4412
+ address: zoraMints1155Address,
4413
+ abi: zoraMints1155ABI
4414
+ };
4415
+ var zoraMintsManagerImplABI = [
4416
+ {
4417
+ stateMutability: "nonpayable",
4418
+ type: "constructor",
4419
+ inputs: [
4420
+ {
4421
+ name: "_premintExecutor",
4422
+ internalType: "contract IZoraCreator1155PremintExecutorV2",
4423
+ type: "address"
4424
+ }
4425
+ ]
4426
+ },
4427
+ {
4428
+ stateMutability: "view",
4429
+ type: "function",
4430
+ inputs: [],
4431
+ name: "UPGRADE_INTERFACE_VERSION",
4432
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4433
+ },
4434
+ {
4435
+ stateMutability: "nonpayable",
4436
+ type: "function",
4437
+ inputs: [],
4438
+ name: "acceptOwnership",
4439
+ outputs: []
4440
+ },
4441
+ {
4442
+ stateMutability: "payable",
4443
+ type: "function",
4444
+ inputs: [
4445
+ { name: "callFrom", internalType: "address", type: "address" },
4446
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4447
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4448
+ { name: "call", internalType: "bytes", type: "bytes" }
4449
+ ],
4450
+ name: "callWithTransferTokens",
4451
+ outputs: [
4452
+ { name: "success", internalType: "bool", type: "bool" },
4453
+ { name: "result", internalType: "bytes", type: "bytes" }
4454
+ ]
4455
+ },
4456
+ {
4457
+ stateMutability: "view",
4458
+ type: "function",
4459
+ inputs: [
4460
+ { name: "caller", internalType: "address", type: "address" },
4461
+ { name: "", internalType: "address", type: "address" },
4462
+ { name: "", internalType: "bytes4", type: "bytes4" }
4463
+ ],
4464
+ name: "canCall",
4465
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
4466
+ },
4467
+ {
4468
+ stateMutability: "payable",
4469
+ type: "function",
4470
+ inputs: [
4471
+ {
4472
+ name: "zoraCreator1155Contract",
4473
+ internalType: "contract IMintWithMints",
4474
+ type: "address"
4475
+ },
4476
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
4477
+ {
4478
+ name: "zoraCreator1155TokenId",
4479
+ internalType: "uint256",
4480
+ type: "uint256"
4481
+ },
4482
+ {
4483
+ name: "collectMintArguments",
4484
+ internalType: "struct ICollectWithZoraMints.CollectMintArguments",
4485
+ type: "tuple",
4486
+ components: [
4487
+ {
4488
+ name: "mintRewardsRecipients",
4489
+ internalType: "address[]",
4490
+ type: "address[]"
4491
+ },
4492
+ { name: "minterArguments", internalType: "bytes", type: "bytes" },
4493
+ { name: "mintComment", internalType: "string", type: "string" }
4494
+ ]
4495
+ }
4496
+ ],
4497
+ name: "collect",
4498
+ outputs: []
4499
+ },
4500
+ {
4501
+ stateMutability: "payable",
4502
+ type: "function",
4503
+ inputs: [
4504
+ {
4505
+ name: "contractConfig",
4506
+ internalType: "struct ContractCreationConfig",
4507
+ type: "tuple",
4508
+ components: [
4509
+ { name: "contractAdmin", internalType: "address", type: "address" },
4510
+ { name: "contractURI", internalType: "string", type: "string" },
4511
+ { name: "contractName", internalType: "string", type: "string" }
4512
+ ]
4513
+ },
4514
+ {
4515
+ name: "premintConfig",
4516
+ internalType: "struct PremintConfigV2",
4517
+ type: "tuple",
4518
+ components: [
4519
+ {
4520
+ name: "tokenConfig",
4521
+ internalType: "struct TokenCreationConfigV2",
4522
+ type: "tuple",
4523
+ components: [
4524
+ { name: "tokenURI", internalType: "string", type: "string" },
4525
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
4526
+ {
4527
+ name: "maxTokensPerAddress",
4528
+ internalType: "uint64",
4529
+ type: "uint64"
4530
+ },
4531
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
4532
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
4533
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
4534
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
4535
+ {
4536
+ name: "payoutRecipient",
4537
+ internalType: "address",
4538
+ type: "address"
4539
+ },
4540
+ {
4541
+ name: "fixedPriceMinter",
4542
+ internalType: "address",
4543
+ type: "address"
4544
+ },
4545
+ {
4546
+ name: "createReferral",
4547
+ internalType: "address",
4548
+ type: "address"
4549
+ }
4550
+ ]
4551
+ },
4552
+ { name: "uid", internalType: "uint32", type: "uint32" },
4553
+ { name: "version", internalType: "uint32", type: "uint32" },
4554
+ { name: "deleted", internalType: "bool", type: "bool" }
4555
+ ]
4556
+ },
4557
+ { name: "signature", internalType: "bytes", type: "bytes" },
4558
+ {
4559
+ name: "mintArguments",
4560
+ internalType: "struct MintArguments",
4561
+ type: "tuple",
4562
+ components: [
4563
+ { name: "mintRecipient", internalType: "address", type: "address" },
4564
+ { name: "mintComment", internalType: "string", type: "string" },
4565
+ {
4566
+ name: "mintRewardsRecipients",
4567
+ internalType: "address[]",
4568
+ type: "address[]"
4569
+ }
4570
+ ]
4571
+ },
4572
+ { name: "signerContract", internalType: "address", type: "address" }
4573
+ ],
4574
+ name: "collectPremintV2",
4575
+ outputs: [
4576
+ {
4577
+ name: "result",
4578
+ internalType: "struct PremintResult",
4579
+ type: "tuple",
4580
+ components: [
4581
+ { name: "contractAddress", internalType: "address", type: "address" },
4582
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4583
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
4584
+ ]
4585
+ }
4586
+ ]
4587
+ },
4588
+ {
4589
+ stateMutability: "pure",
4590
+ type: "function",
4591
+ inputs: [],
4592
+ name: "contractName",
4593
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4594
+ },
4595
+ {
4596
+ stateMutability: "view",
4597
+ type: "function",
4598
+ inputs: [],
4599
+ name: "contractURI",
4600
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4601
+ },
4602
+ {
4603
+ stateMutability: "pure",
4604
+ type: "function",
4605
+ inputs: [],
4606
+ name: "contractVersion",
4607
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4608
+ },
4609
+ {
4610
+ stateMutability: "nonpayable",
4611
+ type: "function",
4612
+ inputs: [
4613
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4614
+ {
4615
+ name: "tokenConfig",
4616
+ internalType: "struct TokenConfig",
4617
+ type: "tuple",
4618
+ components: [
4619
+ { name: "price", internalType: "uint256", type: "uint256" },
4620
+ { name: "tokenAddress", internalType: "address", type: "address" },
4621
+ { name: "redeemHandler", internalType: "address", type: "address" }
4622
+ ]
4623
+ },
4624
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
4625
+ ],
4626
+ name: "createToken",
4627
+ outputs: []
4628
+ },
4629
+ {
4630
+ stateMutability: "pure",
4631
+ type: "function",
4632
+ inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
4633
+ name: "decodeMintRecipientAndComment",
4634
+ outputs: [
4635
+ { name: "mintTo", internalType: "address", type: "address" },
4636
+ { name: "mintComment", internalType: "string", type: "string" }
4637
+ ]
4638
+ },
4639
+ {
4640
+ stateMutability: "view",
4641
+ type: "function",
4642
+ inputs: [],
4643
+ name: "getEthPrice",
4644
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
4645
+ },
4646
+ {
4647
+ stateMutability: "view",
4648
+ type: "function",
4649
+ inputs: [],
4650
+ name: "implementation",
4651
+ outputs: [{ name: "", internalType: "address", type: "address" }]
4652
+ },
4653
+ {
4654
+ stateMutability: "nonpayable",
4655
+ type: "function",
4656
+ inputs: [
4657
+ { name: "defaultOwner", internalType: "address", type: "address" },
4658
+ { name: "zoraMintsSalt", internalType: "bytes32", type: "bytes32" },
4659
+ { name: "zoraMintsCreationCode", internalType: "bytes", type: "bytes" },
4660
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
4661
+ {
4662
+ name: "initialEthTokenPrice",
4663
+ internalType: "uint256",
4664
+ type: "uint256"
4665
+ },
4666
+ { name: "newBaseURI", internalType: "string", type: "string" },
4667
+ { name: "newContractURI", internalType: "string", type: "string" }
4668
+ ],
4669
+ name: "initialize",
4670
+ outputs: [
4671
+ {
4672
+ name: "mints",
4673
+ internalType: "contract IZoraMints1155",
4674
+ type: "address"
4675
+ }
4676
+ ]
4677
+ },
4678
+ {
4679
+ stateMutability: "nonpayable",
4680
+ type: "function",
4681
+ inputs: [
4682
+ { name: "tokenAddress", internalType: "address", type: "address" },
4683
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4684
+ { name: "recipient", internalType: "address", type: "address" }
4685
+ ],
4686
+ name: "mintWithERC20",
4687
+ outputs: [
4688
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
4689
+ ]
4690
+ },
4691
+ {
4692
+ stateMutability: "payable",
4693
+ type: "function",
4694
+ inputs: [
4695
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4696
+ { name: "recipient", internalType: "address", type: "address" }
4697
+ ],
4698
+ name: "mintWithEth",
4699
+ outputs: [
4700
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
4701
+ ]
4702
+ },
4703
+ {
4704
+ stateMutability: "view",
4705
+ type: "function",
4706
+ inputs: [],
4707
+ name: "mintableEthToken",
4708
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
4709
+ },
4710
+ {
4711
+ stateMutability: "nonpayable",
4712
+ type: "function",
4713
+ inputs: [
4714
+ { name: "", internalType: "address", type: "address" },
4715
+ { name: "from", internalType: "address", type: "address" },
4716
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
4717
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
4718
+ { name: "data", internalType: "bytes", type: "bytes" }
4719
+ ],
4720
+ name: "onERC1155BatchReceived",
4721
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
4722
+ },
4723
+ {
4724
+ stateMutability: "nonpayable",
4725
+ type: "function",
4726
+ inputs: [
4727
+ { name: "", internalType: "address", type: "address" },
4728
+ { name: "from", internalType: "address", type: "address" },
4729
+ { name: "id", internalType: "uint256", type: "uint256" },
4730
+ { name: "value", internalType: "uint256", type: "uint256" },
4731
+ { name: "data", internalType: "bytes", type: "bytes" }
4732
+ ],
4733
+ name: "onERC1155Received",
4734
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
4735
+ },
4736
+ {
4737
+ stateMutability: "view",
4738
+ type: "function",
4739
+ inputs: [],
4740
+ name: "owner",
4741
+ outputs: [{ name: "", internalType: "address", type: "address" }]
4742
+ },
4743
+ {
4744
+ stateMutability: "view",
4745
+ type: "function",
4746
+ inputs: [],
4747
+ name: "pendingOwner",
4748
+ outputs: [{ name: "", internalType: "address", type: "address" }]
4749
+ },
4750
+ {
4751
+ stateMutability: "view",
4752
+ type: "function",
4753
+ inputs: [],
4754
+ name: "proxiableUUID",
4755
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
4756
+ },
4757
+ {
4758
+ stateMutability: "nonpayable",
4759
+ type: "function",
4760
+ inputs: [],
4761
+ name: "renounceOwnership",
4762
+ outputs: []
4763
+ },
4764
+ {
4765
+ stateMutability: "nonpayable",
4766
+ type: "function",
4767
+ inputs: [
4768
+ { name: "tokenAddress", internalType: "address", type: "address" },
4769
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
4770
+ ],
4771
+ name: "setDefaultMintable",
4772
+ outputs: []
4773
+ },
4774
+ {
4775
+ stateMutability: "nonpayable",
4776
+ type: "function",
4777
+ inputs: [
4778
+ { name: "newContractURI", internalType: "string", type: "string" },
4779
+ { name: "newBaseURI", internalType: "string", type: "string" }
4780
+ ],
4781
+ name: "setMetadataURIs",
4782
+ outputs: []
4783
+ },
4784
+ {
4785
+ stateMutability: "nonpayable",
4786
+ type: "function",
4787
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
4788
+ name: "transferOwnership",
4789
+ outputs: []
4790
+ },
4791
+ {
4792
+ stateMutability: "payable",
4793
+ type: "function",
4794
+ inputs: [
4795
+ { name: "newImplementation", internalType: "address", type: "address" },
4796
+ { name: "data", internalType: "bytes", type: "bytes" }
4797
+ ],
4798
+ name: "upgradeToAndCall",
4799
+ outputs: []
4800
+ },
4801
+ {
4802
+ stateMutability: "view",
4803
+ type: "function",
4804
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
4805
+ name: "uri",
4806
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4807
+ },
4808
+ {
4809
+ stateMutability: "view",
4810
+ type: "function",
4811
+ inputs: [],
4812
+ name: "zoraMints1155",
4813
+ outputs: [
4814
+ { name: "", internalType: "contract IZoraMints1155", type: "address" }
4815
+ ]
4816
+ },
4817
+ {
4818
+ type: "event",
4819
+ anonymous: false,
4820
+ inputs: [
4821
+ {
4822
+ name: "tokenIds",
4823
+ internalType: "uint256[]",
4824
+ type: "uint256[]",
4825
+ indexed: true
4826
+ },
4827
+ {
4828
+ name: "quantities",
4829
+ internalType: "uint256[]",
4830
+ type: "uint256[]",
4831
+ indexed: false
4832
+ },
4833
+ {
4834
+ name: "zoraCreator1155Contract",
4835
+ internalType: "address",
4836
+ type: "address",
4837
+ indexed: true
4838
+ },
4839
+ {
4840
+ name: "zoraCreator1155TokenId",
4841
+ internalType: "uint256",
4842
+ type: "uint256",
4843
+ indexed: true
4844
+ }
4845
+ ],
4846
+ name: "Collected"
4847
+ },
4848
+ {
4849
+ type: "event",
4850
+ anonymous: false,
4851
+ inputs: [
4852
+ {
4853
+ name: "tokenAddress",
4854
+ internalType: "address",
4855
+ type: "address",
4856
+ indexed: false
4857
+ },
4858
+ {
4859
+ name: "tokenId",
4860
+ internalType: "uint256",
4861
+ type: "uint256",
4862
+ indexed: false
4863
+ }
4864
+ ],
4865
+ name: "DefaultMintableTokenSet"
4866
+ },
4867
+ {
4868
+ type: "event",
4869
+ anonymous: false,
4870
+ inputs: [
4871
+ {
4872
+ name: "version",
4873
+ internalType: "uint64",
4874
+ type: "uint64",
4875
+ indexed: false
4876
+ }
4877
+ ],
4878
+ name: "Initialized"
4879
+ },
4880
+ {
4881
+ type: "event",
4882
+ anonymous: false,
4883
+ inputs: [
4884
+ {
4885
+ name: "sender",
4886
+ internalType: "address",
4887
+ type: "address",
4888
+ indexed: true
4889
+ },
4890
+ {
4891
+ name: "tokenContract",
4892
+ internalType: "address",
4893
+ type: "address",
4894
+ indexed: true
4895
+ },
4896
+ {
4897
+ name: "tokenId",
4898
+ internalType: "uint256",
4899
+ type: "uint256",
4900
+ indexed: true
4901
+ },
4902
+ {
4903
+ name: "quantity",
4904
+ internalType: "uint256",
4905
+ type: "uint256",
4906
+ indexed: false
4907
+ },
4908
+ {
4909
+ name: "comment",
4910
+ internalType: "string",
4911
+ type: "string",
4912
+ indexed: false
4913
+ }
4914
+ ],
4915
+ name: "MintComment"
4916
+ },
4917
+ {
4918
+ type: "event",
4919
+ anonymous: false,
4920
+ inputs: [
4921
+ {
4922
+ name: "previousOwner",
4923
+ internalType: "address",
4924
+ type: "address",
4925
+ indexed: true
4926
+ },
4927
+ {
4928
+ name: "newOwner",
4929
+ internalType: "address",
4930
+ type: "address",
4931
+ indexed: true
4932
+ }
4933
+ ],
4934
+ name: "OwnershipTransferStarted"
4935
+ },
4936
+ {
4937
+ type: "event",
4938
+ anonymous: false,
4939
+ inputs: [
4940
+ {
4941
+ name: "previousOwner",
4942
+ internalType: "address",
4943
+ type: "address",
4944
+ indexed: true
4945
+ },
4946
+ {
4947
+ name: "newOwner",
4948
+ internalType: "address",
4949
+ type: "address",
4950
+ indexed: true
4951
+ }
4952
+ ],
4953
+ name: "OwnershipTransferred"
4954
+ },
4955
+ {
4956
+ type: "event",
4957
+ anonymous: false,
4958
+ inputs: [
4959
+ {
4960
+ name: "contractURI",
4961
+ internalType: "string",
4962
+ type: "string",
4963
+ indexed: false
4964
+ },
4965
+ {
4966
+ name: "baseURI",
4967
+ internalType: "string",
4968
+ type: "string",
4969
+ indexed: false
4970
+ }
4971
+ ],
4972
+ name: "URIsUpdated"
4973
+ },
4974
+ {
4975
+ type: "event",
4976
+ anonymous: false,
4977
+ inputs: [
4978
+ {
4979
+ name: "implementation",
4980
+ internalType: "address",
4981
+ type: "address",
4982
+ indexed: true
4983
+ }
4984
+ ],
4985
+ name: "Upgraded"
4986
+ },
4987
+ {
4988
+ type: "error",
4989
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
4990
+ name: "AddressEmptyCode"
4991
+ },
4992
+ {
4993
+ type: "error",
4994
+ inputs: [
4995
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
4996
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
4997
+ ],
4998
+ name: "ArrayLengthMismatch"
4999
+ },
5000
+ {
5001
+ type: "error",
5002
+ inputs: [
5003
+ { name: "operator", internalType: "address", type: "address" },
5004
+ { name: "user", internalType: "address", type: "address" }
5005
+ ],
5006
+ name: "Burn_NotOwnerOrApproved"
5007
+ },
5008
+ {
5009
+ type: "error",
5010
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
5011
+ name: "CallFailed"
5012
+ },
5013
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
5014
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
5015
+ {
5016
+ type: "error",
5017
+ inputs: [
5018
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
5019
+ { name: "quantity", internalType: "uint256", type: "uint256" },
5020
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
5021
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
5022
+ ],
5023
+ name: "CannotMintMoreTokens"
5024
+ },
5025
+ {
5026
+ type: "error",
5027
+ inputs: [
5028
+ { name: "proposedAddress", internalType: "address", type: "address" }
5029
+ ],
5030
+ name: "Config_TransferHookNotSupported"
5031
+ },
5032
+ { type: "error", inputs: [], name: "Create2EmptyBytecode" },
5033
+ { type: "error", inputs: [], name: "Create2FailedDeployment" },
5034
+ {
5035
+ type: "error",
5036
+ inputs: [
5037
+ { name: "balance", internalType: "uint256", type: "uint256" },
5038
+ { name: "needed", internalType: "uint256", type: "uint256" }
5039
+ ],
5040
+ name: "Create2InsufficientBalance"
5041
+ },
5042
+ { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
5043
+ { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
5044
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
5045
+ {
5046
+ type: "error",
5047
+ inputs: [
5048
+ { name: "implementation", internalType: "address", type: "address" }
5049
+ ],
5050
+ name: "ERC1967InvalidImplementation"
5051
+ },
5052
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
5053
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
5054
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
5055
+ {
5056
+ type: "error",
5057
+ inputs: [
5058
+ { name: "recipient", internalType: "address", type: "address" },
5059
+ { name: "amount", internalType: "uint256", type: "uint256" }
5060
+ ],
5061
+ name: "ETHWithdrawFailed"
5062
+ },
5063
+ { type: "error", inputs: [], name: "FailedInnerCall" },
5064
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
5065
+ {
5066
+ type: "error",
5067
+ inputs: [
5068
+ { name: "amount", internalType: "uint256", type: "uint256" },
5069
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
5070
+ ],
5071
+ name: "FundsWithdrawInsolvent"
5072
+ },
5073
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
5074
+ { type: "error", inputs: [], name: "InvalidAdminAction" },
5075
+ { type: "error", inputs: [], name: "InvalidInitialization" },
5076
+ {
5077
+ type: "error",
5078
+ inputs: [
5079
+ { name: "mintTo", internalType: "address", type: "address" },
5080
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
5081
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
5082
+ ],
5083
+ name: "InvalidMerkleProof"
5084
+ },
5085
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
5086
+ { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraMints" },
5087
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
5088
+ { type: "error", inputs: [], name: "InvalidRecipient" },
5089
+ { type: "error", inputs: [], name: "InvalidSignature" },
5090
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
5091
+ {
5092
+ type: "error",
5093
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
5094
+ name: "InvalidSigner"
5095
+ },
5096
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
5097
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
5098
+ { type: "error", inputs: [], name: "MintWithMintsNotSupportedOnContract" },
5099
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
5100
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
5101
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
5102
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
5103
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
5104
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
5105
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
5106
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
5107
+ { type: "error", inputs: [], name: "NoTokensTransferred" },
5108
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
5109
+ { type: "error", inputs: [], name: "NonEthRedemption" },
5110
+ {
5111
+ type: "error",
5112
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
5113
+ name: "NotARedeemHandler"
5114
+ },
5115
+ { type: "error", inputs: [], name: "NotInitializing" },
5116
+ { type: "error", inputs: [], name: "NotSelfCall" },
5117
+ { type: "error", inputs: [], name: "NotZoraMints1155" },
5118
+ {
5119
+ type: "error",
5120
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
5121
+ name: "OwnableInvalidOwner"
5122
+ },
5123
+ {
5124
+ type: "error",
5125
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
5126
+ name: "OwnableUnauthorizedAccount"
5127
+ },
5128
+ { type: "error", inputs: [], name: "PremintDeleted" },
5129
+ { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
5130
+ {
5131
+ type: "error",
5132
+ inputs: [
5133
+ { name: "caller", internalType: "address", type: "address" },
5134
+ { name: "recipient", internalType: "address", type: "address" },
5135
+ { name: "amount", internalType: "uint256", type: "uint256" }
5136
+ ],
5137
+ name: "ProtocolRewardsWithdrawFailed"
5138
+ },
5139
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
5140
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
5141
+ { type: "error", inputs: [], name: "SaleEnded" },
5142
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
5143
+ {
5144
+ type: "error",
5145
+ inputs: [
5146
+ { name: "targetContract", internalType: "address", type: "address" }
5147
+ ],
5148
+ name: "Sale_CannotCallNonSalesContract"
5149
+ },
5150
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
5151
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
5152
+ {
5153
+ type: "error",
5154
+ inputs: [
5155
+ { name: "expected", internalType: "uint256", type: "uint256" },
5156
+ { name: "actual", internalType: "uint256", type: "uint256" }
5157
+ ],
5158
+ name: "TokenIdMismatch"
5159
+ },
5160
+ {
5161
+ type: "error",
5162
+ inputs: [
5163
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
5164
+ {
5165
+ name: "expectedTokenAddress",
5166
+ internalType: "address",
5167
+ type: "address"
5168
+ }
5169
+ ],
5170
+ name: "TokenMismatch"
5171
+ },
5172
+ { type: "error", inputs: [], name: "TokenNotMintable" },
5173
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
5174
+ {
5175
+ type: "error",
5176
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
5177
+ name: "UUPSUnsupportedProxiableUUID"
5178
+ },
5179
+ {
5180
+ type: "error",
5181
+ inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
5182
+ name: "UnknownUserAction"
5183
+ },
5184
+ {
5185
+ type: "error",
5186
+ inputs: [
5187
+ { name: "expected", internalType: "string", type: "string" },
5188
+ { name: "actual", internalType: "string", type: "string" }
5189
+ ],
5190
+ name: "UpgradeToMismatchedContractName"
5191
+ },
5192
+ {
5193
+ type: "error",
5194
+ inputs: [
5195
+ { name: "user", internalType: "address", type: "address" },
5196
+ { name: "limit", internalType: "uint256", type: "uint256" },
5197
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
5198
+ ],
5199
+ name: "UserExceedsMintLimit"
5200
+ },
5201
+ {
5202
+ type: "error",
5203
+ inputs: [
5204
+ { name: "user", internalType: "address", type: "address" },
5205
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
5206
+ { name: "role", internalType: "uint256", type: "uint256" }
5207
+ ],
5208
+ name: "UserMissingRoleForToken"
5209
+ },
5210
+ { type: "error", inputs: [], name: "WrongValueSent" },
5211
+ {
5212
+ type: "error",
5213
+ inputs: [],
5214
+ name: "premintSignerContractFailedToRecoverSigner"
5215
+ },
5216
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
5217
+ ];
5218
+ var zoraMintsManagerImplAddress = {
5219
+ 999999999: "0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7"
5220
+ };
5221
+ var zoraMintsManagerImplConfig = {
5222
+ address: zoraMintsManagerImplAddress,
5223
+ abi: zoraMintsManagerImplABI
5224
+ };
5225
+
5226
+ // src/generated/1155.ts
5227
+ var __exports = {};
5228
+ __export(__exports, {
5229
+ addresses: () => addresses,
5230
+ chainConfigs: () => chainConfigs
5231
+ });
5232
+ var chainConfigs = {
5233
+ 1: {
5234
+ FACTORY_OWNER: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
5235
+ MINT_FEE_RECIPIENT: "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
5236
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5237
+ },
5238
+ 10: {
5239
+ FACTORY_OWNER: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
5240
+ MINT_FEE_RECIPIENT: "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
5241
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5242
+ },
5243
+ 999: {
5244
+ FACTORY_OWNER: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
5245
+ MINT_FEE_RECIPIENT: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
5246
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5247
+ },
5248
+ 8453: {
5249
+ FACTORY_OWNER: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
5250
+ MINT_FEE_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
5251
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5252
+ },
5253
+ 42161: {
5254
+ FACTORY_OWNER: "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
5255
+ MINT_FEE_RECIPIENT: "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
5256
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5257
+ },
5258
+ 81457: {
5259
+ FACTORY_OWNER: "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
5260
+ MINT_FEE_RECIPIENT: "0x72E6394056f9152D3a41e5A25De383c191D16134",
5261
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5262
+ },
5263
+ 421614: {
5264
+ FACTORY_OWNER: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
5265
+ MINT_FEE_RECIPIENT: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
5266
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5267
+ },
5268
+ 7777777: {
5269
+ FACTORY_OWNER: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
5270
+ MINT_FEE_RECIPIENT: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
5271
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5272
+ },
5273
+ 11155111: {
5274
+ FACTORY_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
5275
+ MINT_FEE_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
5276
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5277
+ },
5278
+ 168587773: {
5279
+ FACTORY_OWNER: "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
5280
+ MINT_FEE_RECIPIENT: "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
5281
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5282
+ },
5283
+ 999999999: {
5284
+ FACTORY_OWNER: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
5285
+ MINT_FEE_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
5286
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5287
+ }
3671
5288
  };
3672
5289
  var addresses = {
3673
5290
  1: {
@@ -3809,22 +5426,79 @@ var addresses = {
3809
5426
  timestamp: 1709234007
3810
5427
  },
3811
5428
  999999999: {
3812
- CONTRACT_1155_IMPL: "0x980170C861E723309628a27c27397a955920F968",
3813
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
3814
- FACTORY_IMPL: "0xcea530A0d2d158500E248a59682a1D230c2422F7",
5429
+ CONTRACT_1155_IMPL: "0x7A4149d3696a138bF97093391CDaAc9259783Dda",
5430
+ CONTRACT_1155_IMPL_VERSION: "2.9.0-DEV.0",
5431
+ FACTORY_IMPL: "0xD93c769b61B3B4b0782a936D6040FFAFB7609f02",
3815
5432
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3816
5433
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
3817
5434
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
3818
- PREMINTER_IMPL: "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
5435
+ PREMINTER_IMPL: "0x1840606A43AC211Ffd548BE727563D863bfCF707",
3819
5436
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3820
5437
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
3821
5438
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
3822
- timestamp: 1706663810
5439
+ timestamp: 1712334202
5440
+ }
5441
+ };
5442
+
5443
+ // src/generated/mints.ts
5444
+ var mints_exports = {};
5445
+ __export(mints_exports, {
5446
+ addresses: () => addresses2,
5447
+ chainConfigs: () => chainConfigs2
5448
+ });
5449
+ var chainConfigs2 = {
5450
+ 1: {
5451
+ PROXY_ADMIN: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
5452
+ MINTS_OWNER: "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
5453
+ },
5454
+ 10: {
5455
+ PROXY_ADMIN: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
5456
+ MINTS_OWNER: "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
5457
+ },
5458
+ 420: {
5459
+ PROXY_ADMIN: "0xbb45052B2260707655Dfd916a416264f5981192c",
5460
+ MINTS_OWNER: "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
5461
+ },
5462
+ 999: {
5463
+ PROXY_ADMIN: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
5464
+ MINTS_OWNER: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
5465
+ },
5466
+ 8453: {
5467
+ PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
5468
+ MINTS_OWNER: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
5469
+ },
5470
+ 84531: {
5471
+ PROXY_ADMIN: "0x02539E813cA450C2c7334e885423f4A899a063Fe",
5472
+ MINTS_OWNER: "0x02539E813cA450C2c7334e885423f4A899a063Fe"
5473
+ },
5474
+ 7777777: {
5475
+ PROXY_ADMIN: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
5476
+ MINTS_OWNER: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
5477
+ },
5478
+ 11155111: {
5479
+ PROXY_ADMIN: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
5480
+ MINTS_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
5481
+ },
5482
+ 999999999: {
5483
+ PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
5484
+ MINTS_OWNER: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
5485
+ }
5486
+ };
5487
+ var addresses2 = {
5488
+ 999999999: {
5489
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x98d1B7E6B9d11271124316593889BCF07038bE78",
5490
+ MINTS_MANAGER_IMPL: "0x7f0Ec2B57e9c0FCc45629080b3E772118e7248aE",
5491
+ MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.8"
3823
5492
  }
3824
5493
  };
3825
5494
  // Annotate the CommonJS export names for ESM import in node:
3826
5495
  0 && (module.exports = {
3827
5496
  contracts1155,
5497
+ iUnwrapAndForwardActionABI,
5498
+ mints,
5499
+ mintsEthUnwrapperAndCallerABI,
5500
+ mintsEthUnwrapperAndCallerAddress,
5501
+ mintsEthUnwrapperAndCallerConfig,
3828
5502
  zoraCreator1155FactoryImplABI,
3829
5503
  zoraCreator1155FactoryImplAddress,
3830
5504
  zoraCreator1155FactoryImplConfig,
@@ -3840,6 +5514,12 @@ var addresses = {
3840
5514
  zoraCreatorMerkleMinterStrategyConfig,
3841
5515
  zoraCreatorRedeemMinterFactoryABI,
3842
5516
  zoraCreatorRedeemMinterFactoryAddress,
3843
- zoraCreatorRedeemMinterFactoryConfig
5517
+ zoraCreatorRedeemMinterFactoryConfig,
5518
+ zoraMints1155ABI,
5519
+ zoraMints1155Address,
5520
+ zoraMints1155Config,
5521
+ zoraMintsManagerImplABI,
5522
+ zoraMintsManagerImplAddress,
5523
+ zoraMintsManagerImplConfig
3844
5524
  });
3845
5525
  //# sourceMappingURL=index.cjs.map