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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5,6 +5,80 @@ var __export = (target, all) => {
5
5
  };
6
6
 
7
7
  // src/generated/wagmi.ts
8
+ var iUnwrapAndForwardActionABI = [
9
+ {
10
+ stateMutability: "payable",
11
+ type: "function",
12
+ inputs: [
13
+ { name: "receiverAddress", internalType: "address", type: "address" },
14
+ { name: "call", internalType: "bytes", type: "bytes" },
15
+ { name: "valueToSend", internalType: "uint256", type: "uint256" }
16
+ ],
17
+ name: "callWithEth",
18
+ outputs: []
19
+ }
20
+ ];
21
+ var mintsEthUnwrapperAndCallerABI = [
22
+ {
23
+ stateMutability: "nonpayable",
24
+ type: "constructor",
25
+ inputs: [
26
+ {
27
+ name: "_zoraMints1155",
28
+ internalType: "contract IZoraMints1155",
29
+ type: "address"
30
+ }
31
+ ]
32
+ },
33
+ { stateMutability: "payable", type: "receive" },
34
+ {
35
+ stateMutability: "nonpayable",
36
+ type: "function",
37
+ inputs: [
38
+ { name: "", internalType: "address", type: "address" },
39
+ { name: "from", internalType: "address", type: "address" },
40
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
41
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
42
+ { name: "data", internalType: "bytes", type: "bytes" }
43
+ ],
44
+ name: "onERC1155BatchReceived",
45
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
46
+ },
47
+ {
48
+ stateMutability: "nonpayable",
49
+ type: "function",
50
+ inputs: [
51
+ { name: "", internalType: "address", type: "address" },
52
+ { name: "from", internalType: "address", type: "address" },
53
+ { name: "id", internalType: "uint256", type: "uint256" },
54
+ { name: "value", internalType: "uint256", type: "uint256" },
55
+ { name: "data", internalType: "bytes", type: "bytes" }
56
+ ],
57
+ name: "onERC1155Received",
58
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
59
+ },
60
+ {
61
+ type: "error",
62
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
63
+ name: "ERC20NotSupported"
64
+ },
65
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
66
+ { type: "error", inputs: [], name: "NotExpectingReceive" },
67
+ { type: "error", inputs: [], name: "NotZoraMints1155" },
68
+ {
69
+ type: "error",
70
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
71
+ name: "TransferFailed"
72
+ },
73
+ { type: "error", inputs: [], name: "UnknownUserAction" }
74
+ ];
75
+ var mintsEthUnwrapperAndCallerAddress = {
76
+ 999999999: "0x98d1B7E6B9d11271124316593889BCF07038bE78"
77
+ };
78
+ var mintsEthUnwrapperAndCallerConfig = {
79
+ address: mintsEthUnwrapperAndCallerAddress,
80
+ abi: mintsEthUnwrapperAndCallerABI
81
+ };
8
82
  var zoraCreator1155FactoryImplABI = [
9
83
  {
10
84
  stateMutability: "nonpayable",
@@ -502,7 +576,8 @@ var zoraCreator1155ImplABI = [
502
576
  inputs: [
503
577
  { name: "_mintFeeRecipient", internalType: "address", type: "address" },
504
578
  { name: "_upgradeGate", internalType: "address", type: "address" },
505
- { name: "_protocolRewards", internalType: "address", type: "address" }
579
+ { name: "_protocolRewards", internalType: "address", type: "address" },
580
+ { name: "_mints", internalType: "address", type: "address" }
506
581
  ]
507
582
  },
508
583
  { stateMutability: "payable", type: "receive" },
@@ -571,18 +646,6 @@ var zoraCreator1155ImplABI = [
571
646
  name: "adminMint",
572
647
  outputs: []
573
648
  },
574
- {
575
- stateMutability: "nonpayable",
576
- type: "function",
577
- inputs: [
578
- { name: "recipient", internalType: "address", type: "address" },
579
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
580
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
581
- { name: "data", internalType: "bytes", type: "bytes" }
582
- ],
583
- name: "adminMintBatch",
584
- outputs: []
585
- },
586
649
  {
587
650
  stateMutability: "view",
588
651
  type: "function",
@@ -651,71 +714,10 @@ var zoraCreator1155ImplABI = [
651
714
  {
652
715
  stateMutability: "pure",
653
716
  type: "function",
654
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
655
- name: "computeFreeMintRewards",
656
- outputs: [
657
- {
658
- name: "",
659
- internalType: "struct RewardsSettings",
660
- type: "tuple",
661
- components: [
662
- { name: "creatorReward", internalType: "uint256", type: "uint256" },
663
- {
664
- name: "createReferralReward",
665
- internalType: "uint256",
666
- type: "uint256"
667
- },
668
- {
669
- name: "mintReferralReward",
670
- internalType: "uint256",
671
- type: "uint256"
672
- },
673
- {
674
- name: "firstMinterReward",
675
- internalType: "uint256",
676
- type: "uint256"
677
- },
678
- { name: "zoraReward", internalType: "uint256", type: "uint256" }
679
- ]
680
- }
681
- ]
682
- },
683
- {
684
- stateMutability: "pure",
685
- type: "function",
686
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
687
- name: "computePaidMintRewards",
688
- outputs: [
689
- {
690
- name: "",
691
- internalType: "struct RewardsSettings",
692
- type: "tuple",
693
- components: [
694
- { name: "creatorReward", internalType: "uint256", type: "uint256" },
695
- {
696
- name: "createReferralReward",
697
- internalType: "uint256",
698
- type: "uint256"
699
- },
700
- {
701
- name: "mintReferralReward",
702
- internalType: "uint256",
703
- type: "uint256"
704
- },
705
- {
706
- name: "firstMinterReward",
707
- internalType: "uint256",
708
- type: "uint256"
709
- },
710
- { name: "zoraReward", internalType: "uint256", type: "uint256" }
711
- ]
712
- }
713
- ]
714
- },
715
- {
716
- stateMutability: "pure",
717
- type: "function",
718
- inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
717
+ inputs: [
718
+ { name: "mintPrice", internalType: "uint256", type: "uint256" },
719
+ { name: "quantity", internalType: "uint256", type: "uint256" }
720
+ ],
719
721
  name: "computeTotalReward",
720
722
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
721
723
  },
@@ -778,7 +780,7 @@ var zoraCreator1155ImplABI = [
778
780
  { name: "premintConfig", internalType: "bytes", type: "bytes" },
779
781
  { name: "premintVersion", internalType: "bytes32", type: "bytes32" },
780
782
  { name: "signature", internalType: "bytes", type: "bytes" },
781
- { name: "sender", internalType: "address", type: "address" },
783
+ { name: "firstMinter", internalType: "address", type: "address" },
782
784
  {
783
785
  name: "premintSignerContract",
784
786
  internalType: "address",
@@ -953,12 +955,32 @@ var zoraCreator1155ImplABI = [
953
955
  outputs: []
954
956
  },
955
957
  {
956
- stateMutability: "pure",
958
+ stateMutability: "view",
957
959
  type: "function",
958
960
  inputs: [],
959
961
  name: "mintFee",
960
962
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
961
963
  },
964
+ {
965
+ stateMutability: "payable",
966
+ type: "function",
967
+ inputs: [
968
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
969
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
970
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
971
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
972
+ {
973
+ name: "rewardsRecipients",
974
+ internalType: "address[]",
975
+ type: "address[]"
976
+ },
977
+ { name: "minterArguments", internalType: "bytes", type: "bytes" }
978
+ ],
979
+ name: "mintWithMints",
980
+ outputs: [
981
+ { name: "quantityMinted", internalType: "uint256", type: "uint256" }
982
+ ]
983
+ },
962
984
  {
963
985
  stateMutability: "payable",
964
986
  type: "function",
@@ -993,6 +1015,32 @@ var zoraCreator1155ImplABI = [
993
1015
  name: "nextTokenId",
994
1016
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
995
1017
  },
1018
+ {
1019
+ stateMutability: "pure",
1020
+ type: "function",
1021
+ inputs: [
1022
+ { name: "", internalType: "address", type: "address" },
1023
+ { name: "", internalType: "address", type: "address" },
1024
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
1025
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
1026
+ { name: "", internalType: "bytes", type: "bytes" }
1027
+ ],
1028
+ name: "onERC1155BatchReceived",
1029
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
1030
+ },
1031
+ {
1032
+ stateMutability: "pure",
1033
+ type: "function",
1034
+ inputs: [
1035
+ { name: "", internalType: "address", type: "address" },
1036
+ { name: "", internalType: "address", type: "address" },
1037
+ { name: "", internalType: "uint256", type: "uint256" },
1038
+ { name: "", internalType: "uint256", type: "uint256" },
1039
+ { name: "", internalType: "bytes", type: "bytes" }
1040
+ ],
1041
+ name: "onERC1155Received",
1042
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
1043
+ },
996
1044
  {
997
1045
  stateMutability: "view",
998
1046
  type: "function",
@@ -1841,6 +1889,7 @@ var zoraCreator1155ImplABI = [
1841
1889
  inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
1842
1890
  name: "NoRendererForToken"
1843
1891
  },
1892
+ { type: "error", inputs: [], name: "NonEthRedemption" },
1844
1893
  { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
1845
1894
  { type: "error", inputs: [], name: "PremintDeleted" },
1846
1895
  {
@@ -2854,6 +2903,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2854
2903
  { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2855
2904
  { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2856
2905
  { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
2906
+ { type: "error", inputs: [], name: "NonEthRedemption" },
2857
2907
  { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
2858
2908
  { type: "error", inputs: [], name: "ONLY_OWNER" },
2859
2909
  { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
@@ -3569,69 +3619,1625 @@ var zoraCreatorRedeemMinterFactoryConfig = {
3569
3619
  address: zoraCreatorRedeemMinterFactoryAddress,
3570
3620
  abi: zoraCreatorRedeemMinterFactoryABI
3571
3621
  };
3572
-
3573
- // src/generated/1155.ts
3574
- var __exports = {};
3575
- __export(__exports, {
3576
- addresses: () => addresses,
3577
- chainConfigs: () => chainConfigs
3578
- });
3579
- var chainConfigs = {
3580
- 1: {
3581
- FACTORY_OWNER: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
3582
- MINT_FEE_RECIPIENT: "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
3583
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3622
+ var zoraMints1155ABI = [
3623
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
3624
+ {
3625
+ stateMutability: "view",
3626
+ type: "function",
3627
+ inputs: [],
3628
+ name: "ETH_ADDRESS",
3629
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3584
3630
  },
3585
- 10: {
3586
- FACTORY_OWNER: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
3587
- MINT_FEE_RECIPIENT: "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
3588
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3631
+ {
3632
+ stateMutability: "view",
3633
+ type: "function",
3634
+ inputs: [],
3635
+ name: "MINIMUM_ERC20_PRICE",
3636
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3589
3637
  },
3590
- 999: {
3591
- FACTORY_OWNER: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3592
- MINT_FEE_RECIPIENT: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
3593
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3638
+ {
3639
+ stateMutability: "view",
3640
+ type: "function",
3641
+ inputs: [],
3642
+ name: "MINIMUM_ETH_PRICE",
3643
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3594
3644
  },
3595
- 8453: {
3596
- FACTORY_OWNER: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
3597
- MINT_FEE_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
3598
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3645
+ {
3646
+ stateMutability: "view",
3647
+ type: "function",
3648
+ inputs: [],
3649
+ name: "authority",
3650
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3599
3651
  },
3600
- 42161: {
3601
- FACTORY_OWNER: "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
3602
- MINT_FEE_RECIPIENT: "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
3603
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3652
+ {
3653
+ stateMutability: "view",
3654
+ type: "function",
3655
+ inputs: [
3656
+ { name: "account", internalType: "address", type: "address" },
3657
+ { name: "id", internalType: "uint256", type: "uint256" }
3658
+ ],
3659
+ name: "balanceOf",
3660
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3604
3661
  },
3605
- 81457: {
3606
- FACTORY_OWNER: "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
3607
- MINT_FEE_RECIPIENT: "0x72E6394056f9152D3a41e5A25De383c191D16134",
3608
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3662
+ {
3663
+ stateMutability: "view",
3664
+ type: "function",
3665
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3666
+ name: "balanceOfAccount",
3667
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3609
3668
  },
3610
- 421614: {
3611
- FACTORY_OWNER: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
3612
- MINT_FEE_RECIPIENT: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
3613
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3669
+ {
3670
+ stateMutability: "view",
3671
+ type: "function",
3672
+ inputs: [
3673
+ { name: "accounts", internalType: "address[]", type: "address[]" },
3674
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
3675
+ ],
3676
+ name: "balanceOfBatch",
3677
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }]
3614
3678
  },
3615
- 7777777: {
3616
- FACTORY_OWNER: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
3617
- MINT_FEE_RECIPIENT: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
3618
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3679
+ {
3680
+ stateMutability: "view",
3681
+ type: "function",
3682
+ inputs: [],
3683
+ name: "contractURI",
3684
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3619
3685
  },
3620
- 11155111: {
3621
- FACTORY_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
3622
- MINT_FEE_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
3623
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3686
+ {
3687
+ stateMutability: "pure",
3688
+ type: "function",
3689
+ inputs: [],
3690
+ name: "contractVersion",
3691
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3624
3692
  },
3625
- 168587773: {
3626
- FACTORY_OWNER: "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
3627
- MINT_FEE_RECIPIENT: "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
3628
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3693
+ {
3694
+ stateMutability: "nonpayable",
3695
+ type: "function",
3696
+ inputs: [
3697
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3698
+ {
3699
+ name: "tokenConfig",
3700
+ internalType: "struct TokenConfig",
3701
+ type: "tuple",
3702
+ components: [
3703
+ { name: "price", internalType: "uint256", type: "uint256" },
3704
+ { name: "tokenAddress", internalType: "address", type: "address" },
3705
+ { name: "redeemHandler", internalType: "address", type: "address" }
3706
+ ]
3707
+ }
3708
+ ],
3709
+ name: "createToken",
3710
+ outputs: []
3629
3711
  },
3630
- 999999999: {
3631
- FACTORY_OWNER: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
3632
- MINT_FEE_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
3633
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
3634
- }
3712
+ {
3713
+ stateMutability: "view",
3714
+ type: "function",
3715
+ inputs: [],
3716
+ name: "eip712Domain",
3717
+ outputs: [
3718
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
3719
+ { name: "name", internalType: "string", type: "string" },
3720
+ { name: "version", internalType: "string", type: "string" },
3721
+ { name: "chainId", internalType: "uint256", type: "uint256" },
3722
+ { name: "verifyingContract", internalType: "address", type: "address" },
3723
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
3724
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
3725
+ ]
3726
+ },
3727
+ {
3728
+ stateMutability: "view",
3729
+ type: "function",
3730
+ inputs: [],
3731
+ name: "getManager",
3732
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3733
+ },
3734
+ {
3735
+ stateMutability: "view",
3736
+ type: "function",
3737
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3738
+ name: "getTokenConfig",
3739
+ outputs: [
3740
+ {
3741
+ name: "",
3742
+ internalType: "struct TokenConfig",
3743
+ type: "tuple",
3744
+ components: [
3745
+ { name: "price", internalType: "uint256", type: "uint256" },
3746
+ { name: "tokenAddress", internalType: "address", type: "address" },
3747
+ { name: "redeemHandler", internalType: "address", type: "address" }
3748
+ ]
3749
+ }
3750
+ ]
3751
+ },
3752
+ {
3753
+ stateMutability: "view",
3754
+ type: "function",
3755
+ inputs: [
3756
+ {
3757
+ name: "permit",
3758
+ internalType: "struct IZoraMints1155Managed.PermitBatch",
3759
+ type: "tuple",
3760
+ components: [
3761
+ { name: "owner", internalType: "address", type: "address" },
3762
+ { name: "to", internalType: "address", type: "address" },
3763
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3764
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3765
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3766
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3767
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3768
+ ]
3769
+ }
3770
+ ],
3771
+ name: "hashPermitBatch",
3772
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3773
+ },
3774
+ {
3775
+ stateMutability: "view",
3776
+ type: "function",
3777
+ inputs: [
3778
+ {
3779
+ name: "permit",
3780
+ internalType: "struct IZoraMints1155Managed.PermitSingle",
3781
+ type: "tuple",
3782
+ components: [
3783
+ { name: "owner", internalType: "address", type: "address" },
3784
+ { name: "to", internalType: "address", type: "address" },
3785
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3786
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3787
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3788
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3789
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3790
+ ]
3791
+ }
3792
+ ],
3793
+ name: "hashPermitSingle",
3794
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3795
+ },
3796
+ {
3797
+ stateMutability: "view",
3798
+ type: "function",
3799
+ inputs: [
3800
+ { name: "account", internalType: "address", type: "address" },
3801
+ { name: "operator", internalType: "address", type: "address" }
3802
+ ],
3803
+ name: "isApprovedForAll",
3804
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3805
+ },
3806
+ {
3807
+ stateMutability: "view",
3808
+ type: "function",
3809
+ inputs: [],
3810
+ name: "isConsumingScheduledOp",
3811
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
3812
+ },
3813
+ {
3814
+ stateMutability: "view",
3815
+ type: "function",
3816
+ inputs: [
3817
+ {
3818
+ name: "permit",
3819
+ internalType: "struct IZoraMints1155Managed.PermitBatch",
3820
+ type: "tuple",
3821
+ components: [
3822
+ { name: "owner", internalType: "address", type: "address" },
3823
+ { name: "to", internalType: "address", type: "address" },
3824
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3825
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3826
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3827
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3828
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3829
+ ]
3830
+ },
3831
+ { name: "signature", internalType: "bytes", type: "bytes" }
3832
+ ],
3833
+ name: "isValidSignatureTransferBatch",
3834
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3835
+ },
3836
+ {
3837
+ stateMutability: "view",
3838
+ type: "function",
3839
+ inputs: [
3840
+ {
3841
+ name: "permit",
3842
+ internalType: "struct IZoraMints1155Managed.PermitSingle",
3843
+ type: "tuple",
3844
+ components: [
3845
+ { name: "owner", internalType: "address", type: "address" },
3846
+ { name: "to", internalType: "address", type: "address" },
3847
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3848
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3849
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3850
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3851
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3852
+ ]
3853
+ },
3854
+ { name: "signature", internalType: "bytes", type: "bytes" }
3855
+ ],
3856
+ name: "isValidSignatureTransferSingle",
3857
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3858
+ },
3859
+ {
3860
+ stateMutability: "nonpayable",
3861
+ type: "function",
3862
+ inputs: [
3863
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3864
+ { name: "tokenAddress", internalType: "address", type: "address" },
3865
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3866
+ { name: "recipient", internalType: "address", type: "address" },
3867
+ { name: "data", internalType: "bytes", type: "bytes" }
3868
+ ],
3869
+ name: "mintTokenWithERC20",
3870
+ outputs: []
3871
+ },
3872
+ {
3873
+ stateMutability: "payable",
3874
+ type: "function",
3875
+ inputs: [
3876
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3877
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3878
+ { name: "recipient", internalType: "address", type: "address" },
3879
+ { name: "data", internalType: "bytes", type: "bytes" }
3880
+ ],
3881
+ name: "mintTokenWithEth",
3882
+ outputs: []
3883
+ },
3884
+ {
3885
+ stateMutability: "pure",
3886
+ type: "function",
3887
+ inputs: [],
3888
+ name: "name",
3889
+ outputs: [{ name: "", internalType: "string", type: "string" }]
3890
+ },
3891
+ {
3892
+ stateMutability: "view",
3893
+ type: "function",
3894
+ inputs: [
3895
+ { name: "owner", internalType: "address", type: "address" },
3896
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3897
+ ],
3898
+ name: "nonceUsed",
3899
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3900
+ },
3901
+ {
3902
+ stateMutability: "nonpayable",
3903
+ type: "function",
3904
+ inputs: [
3905
+ { name: "newContractURI", internalType: "string", type: "string" },
3906
+ { name: "newBaseURI", internalType: "string", type: "string" }
3907
+ ],
3908
+ name: "notifyURIsUpdated",
3909
+ outputs: []
3910
+ },
3911
+ {
3912
+ stateMutability: "nonpayable",
3913
+ type: "function",
3914
+ inputs: [
3915
+ { name: "newUri", internalType: "string", type: "string" },
3916
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
3917
+ ],
3918
+ name: "notifyUpdatedTokenURI",
3919
+ outputs: []
3920
+ },
3921
+ {
3922
+ stateMutability: "nonpayable",
3923
+ type: "function",
3924
+ inputs: [
3925
+ {
3926
+ name: "permit",
3927
+ internalType: "struct IZoraMints1155Managed.PermitSingle",
3928
+ type: "tuple",
3929
+ components: [
3930
+ { name: "owner", internalType: "address", type: "address" },
3931
+ { name: "to", internalType: "address", type: "address" },
3932
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3933
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3934
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3935
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3936
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3937
+ ]
3938
+ },
3939
+ { name: "signature", internalType: "bytes", type: "bytes" }
3940
+ ],
3941
+ name: "permitSafeTransfer",
3942
+ outputs: []
3943
+ },
3944
+ {
3945
+ stateMutability: "nonpayable",
3946
+ type: "function",
3947
+ inputs: [
3948
+ {
3949
+ name: "permit",
3950
+ internalType: "struct IZoraMints1155Managed.PermitBatch",
3951
+ type: "tuple",
3952
+ components: [
3953
+ { name: "owner", internalType: "address", type: "address" },
3954
+ { name: "to", internalType: "address", type: "address" },
3955
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3956
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3957
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3958
+ { name: "deadline", internalType: "uint256", type: "uint256" },
3959
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3960
+ ]
3961
+ },
3962
+ { name: "signature", internalType: "bytes", type: "bytes" }
3963
+ ],
3964
+ name: "permitSafeTransferBatch",
3965
+ outputs: []
3966
+ },
3967
+ {
3968
+ stateMutability: "nonpayable",
3969
+ type: "function",
3970
+ inputs: [
3971
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
3972
+ { name: "quantity", internalType: "uint256", type: "uint256" },
3973
+ { name: "recipient", internalType: "address", type: "address" }
3974
+ ],
3975
+ name: "redeem",
3976
+ outputs: [
3977
+ {
3978
+ name: "",
3979
+ internalType: "struct Redemption",
3980
+ type: "tuple",
3981
+ components: [
3982
+ { name: "tokenAddress", internalType: "address", type: "address" },
3983
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
3984
+ ]
3985
+ }
3986
+ ]
3987
+ },
3988
+ {
3989
+ stateMutability: "nonpayable",
3990
+ type: "function",
3991
+ inputs: [
3992
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3993
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3994
+ { name: "recipient", internalType: "address", type: "address" }
3995
+ ],
3996
+ name: "redeemBatch",
3997
+ outputs: [
3998
+ {
3999
+ name: "redemptions",
4000
+ internalType: "struct Redemption[]",
4001
+ type: "tuple[]",
4002
+ components: [
4003
+ { name: "tokenAddress", internalType: "address", type: "address" },
4004
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
4005
+ ]
4006
+ }
4007
+ ]
4008
+ },
4009
+ {
4010
+ stateMutability: "nonpayable",
4011
+ type: "function",
4012
+ inputs: [
4013
+ { name: "from", internalType: "address", type: "address" },
4014
+ { name: "to", internalType: "address", type: "address" },
4015
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
4016
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
4017
+ { name: "data", internalType: "bytes", type: "bytes" }
4018
+ ],
4019
+ name: "safeBatchTransferFrom",
4020
+ outputs: []
4021
+ },
4022
+ {
4023
+ stateMutability: "nonpayable",
4024
+ type: "function",
4025
+ inputs: [
4026
+ { name: "from", internalType: "address", type: "address" },
4027
+ { name: "to", internalType: "address", type: "address" },
4028
+ { name: "id", internalType: "uint256", type: "uint256" },
4029
+ { name: "value", internalType: "uint256", type: "uint256" },
4030
+ { name: "data", internalType: "bytes", type: "bytes" }
4031
+ ],
4032
+ name: "safeTransferFrom",
4033
+ outputs: []
4034
+ },
4035
+ {
4036
+ stateMutability: "nonpayable",
4037
+ type: "function",
4038
+ inputs: [
4039
+ { name: "operator", internalType: "address", type: "address" },
4040
+ { name: "approved", internalType: "bool", type: "bool" }
4041
+ ],
4042
+ name: "setApprovalForAll",
4043
+ outputs: []
4044
+ },
4045
+ {
4046
+ stateMutability: "nonpayable",
4047
+ type: "function",
4048
+ inputs: [
4049
+ { name: "newAuthority", internalType: "address", type: "address" }
4050
+ ],
4051
+ name: "setAuthority",
4052
+ outputs: []
4053
+ },
4054
+ {
4055
+ stateMutability: "view",
4056
+ type: "function",
4057
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
4058
+ name: "supportsInterface",
4059
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
4060
+ },
4061
+ {
4062
+ stateMutability: "pure",
4063
+ type: "function",
4064
+ inputs: [],
4065
+ name: "symbol",
4066
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4067
+ },
4068
+ {
4069
+ stateMutability: "view",
4070
+ type: "function",
4071
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
4072
+ name: "tokenExists",
4073
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
4074
+ },
4075
+ {
4076
+ stateMutability: "view",
4077
+ type: "function",
4078
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
4079
+ name: "tokenPrice",
4080
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
4081
+ },
4082
+ {
4083
+ stateMutability: "payable",
4084
+ type: "function",
4085
+ inputs: [
4086
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4087
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4088
+ { name: "call", internalType: "bytes", type: "bytes" }
4089
+ ],
4090
+ name: "transferBatchToManagerAndCall",
4091
+ outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }]
4092
+ },
4093
+ {
4094
+ stateMutability: "view",
4095
+ type: "function",
4096
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
4097
+ name: "uri",
4098
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4099
+ },
4100
+ {
4101
+ type: "event",
4102
+ anonymous: false,
4103
+ inputs: [
4104
+ {
4105
+ name: "account",
4106
+ internalType: "address",
4107
+ type: "address",
4108
+ indexed: true
4109
+ },
4110
+ {
4111
+ name: "operator",
4112
+ internalType: "address",
4113
+ type: "address",
4114
+ indexed: true
4115
+ },
4116
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
4117
+ ],
4118
+ name: "ApprovalForAll"
4119
+ },
4120
+ {
4121
+ type: "event",
4122
+ anonymous: false,
4123
+ inputs: [
4124
+ {
4125
+ name: "authority",
4126
+ internalType: "address",
4127
+ type: "address",
4128
+ indexed: false
4129
+ }
4130
+ ],
4131
+ name: "AuthorityUpdated"
4132
+ },
4133
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
4134
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
4135
+ {
4136
+ type: "event",
4137
+ anonymous: false,
4138
+ inputs: [
4139
+ {
4140
+ name: "tokenId",
4141
+ internalType: "uint256",
4142
+ type: "uint256",
4143
+ indexed: true
4144
+ },
4145
+ {
4146
+ name: "price",
4147
+ internalType: "uint256",
4148
+ type: "uint256",
4149
+ indexed: true
4150
+ },
4151
+ {
4152
+ name: "tokenAddress",
4153
+ internalType: "address",
4154
+ type: "address",
4155
+ indexed: true
4156
+ }
4157
+ ],
4158
+ name: "TokenCreated"
4159
+ },
4160
+ {
4161
+ type: "event",
4162
+ anonymous: false,
4163
+ inputs: [
4164
+ {
4165
+ name: "operator",
4166
+ internalType: "address",
4167
+ type: "address",
4168
+ indexed: true
4169
+ },
4170
+ { name: "from", internalType: "address", type: "address", indexed: true },
4171
+ { name: "to", internalType: "address", type: "address", indexed: true },
4172
+ {
4173
+ name: "ids",
4174
+ internalType: "uint256[]",
4175
+ type: "uint256[]",
4176
+ indexed: false
4177
+ },
4178
+ {
4179
+ name: "values",
4180
+ internalType: "uint256[]",
4181
+ type: "uint256[]",
4182
+ indexed: false
4183
+ }
4184
+ ],
4185
+ name: "TransferBatch"
4186
+ },
4187
+ {
4188
+ type: "event",
4189
+ anonymous: false,
4190
+ inputs: [
4191
+ {
4192
+ name: "operator",
4193
+ internalType: "address",
4194
+ type: "address",
4195
+ indexed: true
4196
+ },
4197
+ { name: "from", internalType: "address", type: "address", indexed: true },
4198
+ { name: "to", internalType: "address", type: "address", indexed: true },
4199
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
4200
+ {
4201
+ name: "value",
4202
+ internalType: "uint256",
4203
+ type: "uint256",
4204
+ indexed: false
4205
+ }
4206
+ ],
4207
+ name: "TransferSingle"
4208
+ },
4209
+ {
4210
+ type: "event",
4211
+ anonymous: false,
4212
+ inputs: [
4213
+ { name: "value", internalType: "string", type: "string", indexed: false },
4214
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
4215
+ ],
4216
+ name: "URI"
4217
+ },
4218
+ {
4219
+ type: "event",
4220
+ anonymous: false,
4221
+ inputs: [
4222
+ {
4223
+ name: "contractURI",
4224
+ internalType: "string",
4225
+ type: "string",
4226
+ indexed: false
4227
+ },
4228
+ {
4229
+ name: "baseURI",
4230
+ internalType: "string",
4231
+ type: "string",
4232
+ indexed: false
4233
+ }
4234
+ ],
4235
+ name: "URIsUpdated"
4236
+ },
4237
+ {
4238
+ type: "error",
4239
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
4240
+ name: "AccessManagedInvalidAuthority"
4241
+ },
4242
+ {
4243
+ type: "error",
4244
+ inputs: [
4245
+ { name: "caller", internalType: "address", type: "address" },
4246
+ { name: "delay", internalType: "uint32", type: "uint32" }
4247
+ ],
4248
+ name: "AccessManagedRequiredDelay"
4249
+ },
4250
+ {
4251
+ type: "error",
4252
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
4253
+ name: "AccessManagedUnauthorized"
4254
+ },
4255
+ {
4256
+ type: "error",
4257
+ inputs: [
4258
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
4259
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
4260
+ ],
4261
+ name: "ArrayLengthMismatch"
4262
+ },
4263
+ {
4264
+ type: "error",
4265
+ inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
4266
+ name: "CallFailed"
4267
+ },
4268
+ {
4269
+ type: "error",
4270
+ inputs: [
4271
+ { name: "sender", internalType: "address", type: "address" },
4272
+ { name: "balance", internalType: "uint256", type: "uint256" },
4273
+ { name: "needed", internalType: "uint256", type: "uint256" },
4274
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
4275
+ ],
4276
+ name: "ERC1155InsufficientBalance"
4277
+ },
4278
+ {
4279
+ type: "error",
4280
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
4281
+ name: "ERC1155InvalidApprover"
4282
+ },
4283
+ {
4284
+ type: "error",
4285
+ inputs: [
4286
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
4287
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
4288
+ ],
4289
+ name: "ERC1155InvalidArrayLength"
4290
+ },
4291
+ {
4292
+ type: "error",
4293
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
4294
+ name: "ERC1155InvalidOperator"
4295
+ },
4296
+ {
4297
+ type: "error",
4298
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
4299
+ name: "ERC1155InvalidReceiver"
4300
+ },
4301
+ {
4302
+ type: "error",
4303
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
4304
+ name: "ERC1155InvalidSender"
4305
+ },
4306
+ {
4307
+ type: "error",
4308
+ inputs: [
4309
+ { name: "operator", internalType: "address", type: "address" },
4310
+ { name: "owner", internalType: "address", type: "address" }
4311
+ ],
4312
+ name: "ERC1155MissingApprovalForAll"
4313
+ },
4314
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
4315
+ {
4316
+ type: "error",
4317
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
4318
+ name: "ERC2612ExpiredSignature"
4319
+ },
4320
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
4321
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
4322
+ {
4323
+ type: "error",
4324
+ inputs: [
4325
+ { name: "account", internalType: "address", type: "address" },
4326
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
4327
+ ],
4328
+ name: "InvalidAccountNonce"
4329
+ },
4330
+ { type: "error", inputs: [], name: "InvalidRecipient" },
4331
+ { type: "error", inputs: [], name: "InvalidShortString" },
4332
+ { type: "error", inputs: [], name: "InvalidSignature" },
4333
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
4334
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
4335
+ {
4336
+ type: "error",
4337
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
4338
+ name: "NotARedeemHandler"
4339
+ },
4340
+ {
4341
+ type: "error",
4342
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
4343
+ name: "StringTooLong"
4344
+ },
4345
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
4346
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
4347
+ {
4348
+ type: "error",
4349
+ inputs: [
4350
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
4351
+ {
4352
+ name: "expectedTokenAddress",
4353
+ internalType: "address",
4354
+ type: "address"
4355
+ }
4356
+ ],
4357
+ name: "TokenMismatch"
4358
+ },
4359
+ { type: "error", inputs: [], name: "TokenNotMintable" }
4360
+ ];
4361
+ var zoraMints1155Address = {
4362
+ 999999999: "0x7777777EBF55Ec642acCBCfe1342C2B7A384Afe4"
4363
+ };
4364
+ var zoraMints1155Config = {
4365
+ address: zoraMints1155Address,
4366
+ abi: zoraMints1155ABI
4367
+ };
4368
+ var zoraMintsManagerImplABI = [
4369
+ {
4370
+ stateMutability: "nonpayable",
4371
+ type: "constructor",
4372
+ inputs: [
4373
+ {
4374
+ name: "_premintExecutor",
4375
+ internalType: "contract IZoraCreator1155PremintExecutorV2",
4376
+ type: "address"
4377
+ }
4378
+ ]
4379
+ },
4380
+ {
4381
+ stateMutability: "view",
4382
+ type: "function",
4383
+ inputs: [],
4384
+ name: "UPGRADE_INTERFACE_VERSION",
4385
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4386
+ },
4387
+ {
4388
+ stateMutability: "nonpayable",
4389
+ type: "function",
4390
+ inputs: [],
4391
+ name: "acceptOwnership",
4392
+ outputs: []
4393
+ },
4394
+ {
4395
+ stateMutability: "payable",
4396
+ type: "function",
4397
+ inputs: [
4398
+ { name: "callFrom", internalType: "address", type: "address" },
4399
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
4400
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
4401
+ { name: "call", internalType: "bytes", type: "bytes" }
4402
+ ],
4403
+ name: "callWithTransferTokens",
4404
+ outputs: [
4405
+ { name: "success", internalType: "bool", type: "bool" },
4406
+ { name: "result", internalType: "bytes", type: "bytes" }
4407
+ ]
4408
+ },
4409
+ {
4410
+ stateMutability: "view",
4411
+ type: "function",
4412
+ inputs: [
4413
+ { name: "caller", internalType: "address", type: "address" },
4414
+ { name: "", internalType: "address", type: "address" },
4415
+ { name: "", internalType: "bytes4", type: "bytes4" }
4416
+ ],
4417
+ name: "canCall",
4418
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
4419
+ },
4420
+ {
4421
+ stateMutability: "payable",
4422
+ type: "function",
4423
+ inputs: [
4424
+ {
4425
+ name: "zoraCreator1155Contract",
4426
+ internalType: "contract IMintWithMints",
4427
+ type: "address"
4428
+ },
4429
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
4430
+ {
4431
+ name: "zoraCreator1155TokenId",
4432
+ internalType: "uint256",
4433
+ type: "uint256"
4434
+ },
4435
+ {
4436
+ name: "collectMintArguments",
4437
+ internalType: "struct ICollectWithZoraMints.CollectMintArguments",
4438
+ type: "tuple",
4439
+ components: [
4440
+ {
4441
+ name: "mintRewardsRecipients",
4442
+ internalType: "address[]",
4443
+ type: "address[]"
4444
+ },
4445
+ { name: "minterArguments", internalType: "bytes", type: "bytes" },
4446
+ { name: "mintComment", internalType: "string", type: "string" }
4447
+ ]
4448
+ }
4449
+ ],
4450
+ name: "collect",
4451
+ outputs: []
4452
+ },
4453
+ {
4454
+ stateMutability: "payable",
4455
+ type: "function",
4456
+ inputs: [
4457
+ {
4458
+ name: "contractConfig",
4459
+ internalType: "struct ContractCreationConfig",
4460
+ type: "tuple",
4461
+ components: [
4462
+ { name: "contractAdmin", internalType: "address", type: "address" },
4463
+ { name: "contractURI", internalType: "string", type: "string" },
4464
+ { name: "contractName", internalType: "string", type: "string" }
4465
+ ]
4466
+ },
4467
+ {
4468
+ name: "premintConfig",
4469
+ internalType: "struct PremintConfigV2",
4470
+ type: "tuple",
4471
+ components: [
4472
+ {
4473
+ name: "tokenConfig",
4474
+ internalType: "struct TokenCreationConfigV2",
4475
+ type: "tuple",
4476
+ components: [
4477
+ { name: "tokenURI", internalType: "string", type: "string" },
4478
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
4479
+ {
4480
+ name: "maxTokensPerAddress",
4481
+ internalType: "uint64",
4482
+ type: "uint64"
4483
+ },
4484
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
4485
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
4486
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
4487
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
4488
+ {
4489
+ name: "payoutRecipient",
4490
+ internalType: "address",
4491
+ type: "address"
4492
+ },
4493
+ {
4494
+ name: "fixedPriceMinter",
4495
+ internalType: "address",
4496
+ type: "address"
4497
+ },
4498
+ {
4499
+ name: "createReferral",
4500
+ internalType: "address",
4501
+ type: "address"
4502
+ }
4503
+ ]
4504
+ },
4505
+ { name: "uid", internalType: "uint32", type: "uint32" },
4506
+ { name: "version", internalType: "uint32", type: "uint32" },
4507
+ { name: "deleted", internalType: "bool", type: "bool" }
4508
+ ]
4509
+ },
4510
+ { name: "signature", internalType: "bytes", type: "bytes" },
4511
+ {
4512
+ name: "mintArguments",
4513
+ internalType: "struct MintArguments",
4514
+ type: "tuple",
4515
+ components: [
4516
+ { name: "mintRecipient", internalType: "address", type: "address" },
4517
+ { name: "mintComment", internalType: "string", type: "string" },
4518
+ {
4519
+ name: "mintRewardsRecipients",
4520
+ internalType: "address[]",
4521
+ type: "address[]"
4522
+ }
4523
+ ]
4524
+ },
4525
+ { name: "signerContract", internalType: "address", type: "address" }
4526
+ ],
4527
+ name: "collectPremintV2",
4528
+ outputs: [
4529
+ {
4530
+ name: "result",
4531
+ internalType: "struct PremintResult",
4532
+ type: "tuple",
4533
+ components: [
4534
+ { name: "contractAddress", internalType: "address", type: "address" },
4535
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4536
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
4537
+ ]
4538
+ }
4539
+ ]
4540
+ },
4541
+ {
4542
+ stateMutability: "pure",
4543
+ type: "function",
4544
+ inputs: [],
4545
+ name: "contractName",
4546
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4547
+ },
4548
+ {
4549
+ stateMutability: "view",
4550
+ type: "function",
4551
+ inputs: [],
4552
+ name: "contractURI",
4553
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4554
+ },
4555
+ {
4556
+ stateMutability: "pure",
4557
+ type: "function",
4558
+ inputs: [],
4559
+ name: "contractVersion",
4560
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4561
+ },
4562
+ {
4563
+ stateMutability: "nonpayable",
4564
+ type: "function",
4565
+ inputs: [
4566
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4567
+ {
4568
+ name: "tokenConfig",
4569
+ internalType: "struct TokenConfig",
4570
+ type: "tuple",
4571
+ components: [
4572
+ { name: "price", internalType: "uint256", type: "uint256" },
4573
+ { name: "tokenAddress", internalType: "address", type: "address" },
4574
+ { name: "redeemHandler", internalType: "address", type: "address" }
4575
+ ]
4576
+ },
4577
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
4578
+ ],
4579
+ name: "createToken",
4580
+ outputs: []
4581
+ },
4582
+ {
4583
+ stateMutability: "pure",
4584
+ type: "function",
4585
+ inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
4586
+ name: "decodeMintRecipientAndComment",
4587
+ outputs: [
4588
+ { name: "mintTo", internalType: "address", type: "address" },
4589
+ { name: "mintComment", internalType: "string", type: "string" }
4590
+ ]
4591
+ },
4592
+ {
4593
+ stateMutability: "view",
4594
+ type: "function",
4595
+ inputs: [],
4596
+ name: "getEthPrice",
4597
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
4598
+ },
4599
+ {
4600
+ stateMutability: "view",
4601
+ type: "function",
4602
+ inputs: [],
4603
+ name: "implementation",
4604
+ outputs: [{ name: "", internalType: "address", type: "address" }]
4605
+ },
4606
+ {
4607
+ stateMutability: "nonpayable",
4608
+ type: "function",
4609
+ inputs: [
4610
+ { name: "defaultOwner", internalType: "address", type: "address" },
4611
+ { name: "zoraMintsSalt", internalType: "bytes32", type: "bytes32" },
4612
+ { name: "zoraMintsCreationCode", internalType: "bytes", type: "bytes" },
4613
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
4614
+ {
4615
+ name: "initialEthTokenPrice",
4616
+ internalType: "uint256",
4617
+ type: "uint256"
4618
+ },
4619
+ { name: "newBaseURI", internalType: "string", type: "string" },
4620
+ { name: "newContractURI", internalType: "string", type: "string" }
4621
+ ],
4622
+ name: "initialize",
4623
+ outputs: [
4624
+ {
4625
+ name: "mints",
4626
+ internalType: "contract IZoraMints1155",
4627
+ type: "address"
4628
+ }
4629
+ ]
4630
+ },
4631
+ {
4632
+ stateMutability: "nonpayable",
4633
+ type: "function",
4634
+ inputs: [
4635
+ { name: "tokenAddress", internalType: "address", type: "address" },
4636
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4637
+ { name: "recipient", internalType: "address", type: "address" }
4638
+ ],
4639
+ name: "mintWithERC20",
4640
+ outputs: [
4641
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
4642
+ ]
4643
+ },
4644
+ {
4645
+ stateMutability: "payable",
4646
+ type: "function",
4647
+ inputs: [
4648
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4649
+ { name: "recipient", internalType: "address", type: "address" }
4650
+ ],
4651
+ name: "mintWithEth",
4652
+ outputs: [
4653
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
4654
+ ]
4655
+ },
4656
+ {
4657
+ stateMutability: "view",
4658
+ type: "function",
4659
+ inputs: [],
4660
+ name: "mintableEthToken",
4661
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
4662
+ },
4663
+ {
4664
+ stateMutability: "nonpayable",
4665
+ type: "function",
4666
+ inputs: [
4667
+ { name: "", internalType: "address", type: "address" },
4668
+ { name: "from", internalType: "address", type: "address" },
4669
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
4670
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
4671
+ { name: "data", internalType: "bytes", type: "bytes" }
4672
+ ],
4673
+ name: "onERC1155BatchReceived",
4674
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
4675
+ },
4676
+ {
4677
+ stateMutability: "nonpayable",
4678
+ type: "function",
4679
+ inputs: [
4680
+ { name: "", internalType: "address", type: "address" },
4681
+ { name: "from", internalType: "address", type: "address" },
4682
+ { name: "id", internalType: "uint256", type: "uint256" },
4683
+ { name: "value", internalType: "uint256", type: "uint256" },
4684
+ { name: "data", internalType: "bytes", type: "bytes" }
4685
+ ],
4686
+ name: "onERC1155Received",
4687
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
4688
+ },
4689
+ {
4690
+ stateMutability: "view",
4691
+ type: "function",
4692
+ inputs: [],
4693
+ name: "owner",
4694
+ outputs: [{ name: "", internalType: "address", type: "address" }]
4695
+ },
4696
+ {
4697
+ stateMutability: "view",
4698
+ type: "function",
4699
+ inputs: [],
4700
+ name: "pendingOwner",
4701
+ outputs: [{ name: "", internalType: "address", type: "address" }]
4702
+ },
4703
+ {
4704
+ stateMutability: "view",
4705
+ type: "function",
4706
+ inputs: [],
4707
+ name: "proxiableUUID",
4708
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
4709
+ },
4710
+ {
4711
+ stateMutability: "nonpayable",
4712
+ type: "function",
4713
+ inputs: [],
4714
+ name: "renounceOwnership",
4715
+ outputs: []
4716
+ },
4717
+ {
4718
+ stateMutability: "nonpayable",
4719
+ type: "function",
4720
+ inputs: [
4721
+ { name: "tokenAddress", internalType: "address", type: "address" },
4722
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
4723
+ ],
4724
+ name: "setDefaultMintable",
4725
+ outputs: []
4726
+ },
4727
+ {
4728
+ stateMutability: "nonpayable",
4729
+ type: "function",
4730
+ inputs: [
4731
+ { name: "newContractURI", internalType: "string", type: "string" },
4732
+ { name: "newBaseURI", internalType: "string", type: "string" }
4733
+ ],
4734
+ name: "setMetadataURIs",
4735
+ outputs: []
4736
+ },
4737
+ {
4738
+ stateMutability: "nonpayable",
4739
+ type: "function",
4740
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
4741
+ name: "transferOwnership",
4742
+ outputs: []
4743
+ },
4744
+ {
4745
+ stateMutability: "payable",
4746
+ type: "function",
4747
+ inputs: [
4748
+ { name: "newImplementation", internalType: "address", type: "address" },
4749
+ { name: "data", internalType: "bytes", type: "bytes" }
4750
+ ],
4751
+ name: "upgradeToAndCall",
4752
+ outputs: []
4753
+ },
4754
+ {
4755
+ stateMutability: "view",
4756
+ type: "function",
4757
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
4758
+ name: "uri",
4759
+ outputs: [{ name: "", internalType: "string", type: "string" }]
4760
+ },
4761
+ {
4762
+ stateMutability: "view",
4763
+ type: "function",
4764
+ inputs: [],
4765
+ name: "zoraMints1155",
4766
+ outputs: [
4767
+ { name: "", internalType: "contract IZoraMints1155", type: "address" }
4768
+ ]
4769
+ },
4770
+ {
4771
+ type: "event",
4772
+ anonymous: false,
4773
+ inputs: [
4774
+ {
4775
+ name: "tokenIds",
4776
+ internalType: "uint256[]",
4777
+ type: "uint256[]",
4778
+ indexed: true
4779
+ },
4780
+ {
4781
+ name: "quantities",
4782
+ internalType: "uint256[]",
4783
+ type: "uint256[]",
4784
+ indexed: false
4785
+ },
4786
+ {
4787
+ name: "zoraCreator1155Contract",
4788
+ internalType: "address",
4789
+ type: "address",
4790
+ indexed: true
4791
+ },
4792
+ {
4793
+ name: "zoraCreator1155TokenId",
4794
+ internalType: "uint256",
4795
+ type: "uint256",
4796
+ indexed: true
4797
+ }
4798
+ ],
4799
+ name: "Collected"
4800
+ },
4801
+ {
4802
+ type: "event",
4803
+ anonymous: false,
4804
+ inputs: [
4805
+ {
4806
+ name: "tokenAddress",
4807
+ internalType: "address",
4808
+ type: "address",
4809
+ indexed: false
4810
+ },
4811
+ {
4812
+ name: "tokenId",
4813
+ internalType: "uint256",
4814
+ type: "uint256",
4815
+ indexed: false
4816
+ }
4817
+ ],
4818
+ name: "DefaultMintableTokenSet"
4819
+ },
4820
+ {
4821
+ type: "event",
4822
+ anonymous: false,
4823
+ inputs: [
4824
+ {
4825
+ name: "version",
4826
+ internalType: "uint64",
4827
+ type: "uint64",
4828
+ indexed: false
4829
+ }
4830
+ ],
4831
+ name: "Initialized"
4832
+ },
4833
+ {
4834
+ type: "event",
4835
+ anonymous: false,
4836
+ inputs: [
4837
+ {
4838
+ name: "sender",
4839
+ internalType: "address",
4840
+ type: "address",
4841
+ indexed: true
4842
+ },
4843
+ {
4844
+ name: "tokenContract",
4845
+ internalType: "address",
4846
+ type: "address",
4847
+ indexed: true
4848
+ },
4849
+ {
4850
+ name: "tokenId",
4851
+ internalType: "uint256",
4852
+ type: "uint256",
4853
+ indexed: true
4854
+ },
4855
+ {
4856
+ name: "quantity",
4857
+ internalType: "uint256",
4858
+ type: "uint256",
4859
+ indexed: false
4860
+ },
4861
+ {
4862
+ name: "comment",
4863
+ internalType: "string",
4864
+ type: "string",
4865
+ indexed: false
4866
+ }
4867
+ ],
4868
+ name: "MintComment"
4869
+ },
4870
+ {
4871
+ type: "event",
4872
+ anonymous: false,
4873
+ inputs: [
4874
+ {
4875
+ name: "previousOwner",
4876
+ internalType: "address",
4877
+ type: "address",
4878
+ indexed: true
4879
+ },
4880
+ {
4881
+ name: "newOwner",
4882
+ internalType: "address",
4883
+ type: "address",
4884
+ indexed: true
4885
+ }
4886
+ ],
4887
+ name: "OwnershipTransferStarted"
4888
+ },
4889
+ {
4890
+ type: "event",
4891
+ anonymous: false,
4892
+ inputs: [
4893
+ {
4894
+ name: "previousOwner",
4895
+ internalType: "address",
4896
+ type: "address",
4897
+ indexed: true
4898
+ },
4899
+ {
4900
+ name: "newOwner",
4901
+ internalType: "address",
4902
+ type: "address",
4903
+ indexed: true
4904
+ }
4905
+ ],
4906
+ name: "OwnershipTransferred"
4907
+ },
4908
+ {
4909
+ type: "event",
4910
+ anonymous: false,
4911
+ inputs: [
4912
+ {
4913
+ name: "contractURI",
4914
+ internalType: "string",
4915
+ type: "string",
4916
+ indexed: false
4917
+ },
4918
+ {
4919
+ name: "baseURI",
4920
+ internalType: "string",
4921
+ type: "string",
4922
+ indexed: false
4923
+ }
4924
+ ],
4925
+ name: "URIsUpdated"
4926
+ },
4927
+ {
4928
+ type: "event",
4929
+ anonymous: false,
4930
+ inputs: [
4931
+ {
4932
+ name: "implementation",
4933
+ internalType: "address",
4934
+ type: "address",
4935
+ indexed: true
4936
+ }
4937
+ ],
4938
+ name: "Upgraded"
4939
+ },
4940
+ {
4941
+ type: "error",
4942
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
4943
+ name: "AddressEmptyCode"
4944
+ },
4945
+ {
4946
+ type: "error",
4947
+ inputs: [
4948
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
4949
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
4950
+ ],
4951
+ name: "ArrayLengthMismatch"
4952
+ },
4953
+ {
4954
+ type: "error",
4955
+ inputs: [
4956
+ { name: "operator", internalType: "address", type: "address" },
4957
+ { name: "user", internalType: "address", type: "address" }
4958
+ ],
4959
+ name: "Burn_NotOwnerOrApproved"
4960
+ },
4961
+ {
4962
+ type: "error",
4963
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
4964
+ name: "CallFailed"
4965
+ },
4966
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
4967
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
4968
+ {
4969
+ type: "error",
4970
+ inputs: [
4971
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
4972
+ { name: "quantity", internalType: "uint256", type: "uint256" },
4973
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
4974
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
4975
+ ],
4976
+ name: "CannotMintMoreTokens"
4977
+ },
4978
+ {
4979
+ type: "error",
4980
+ inputs: [
4981
+ { name: "proposedAddress", internalType: "address", type: "address" }
4982
+ ],
4983
+ name: "Config_TransferHookNotSupported"
4984
+ },
4985
+ { type: "error", inputs: [], name: "Create2EmptyBytecode" },
4986
+ { type: "error", inputs: [], name: "Create2FailedDeployment" },
4987
+ {
4988
+ type: "error",
4989
+ inputs: [
4990
+ { name: "balance", internalType: "uint256", type: "uint256" },
4991
+ { name: "needed", internalType: "uint256", type: "uint256" }
4992
+ ],
4993
+ name: "Create2InsufficientBalance"
4994
+ },
4995
+ { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
4996
+ { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
4997
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
4998
+ {
4999
+ type: "error",
5000
+ inputs: [
5001
+ { name: "implementation", internalType: "address", type: "address" }
5002
+ ],
5003
+ name: "ERC1967InvalidImplementation"
5004
+ },
5005
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
5006
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
5007
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
5008
+ {
5009
+ type: "error",
5010
+ inputs: [
5011
+ { name: "recipient", internalType: "address", type: "address" },
5012
+ { name: "amount", internalType: "uint256", type: "uint256" }
5013
+ ],
5014
+ name: "ETHWithdrawFailed"
5015
+ },
5016
+ { type: "error", inputs: [], name: "FailedInnerCall" },
5017
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
5018
+ {
5019
+ type: "error",
5020
+ inputs: [
5021
+ { name: "amount", internalType: "uint256", type: "uint256" },
5022
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
5023
+ ],
5024
+ name: "FundsWithdrawInsolvent"
5025
+ },
5026
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
5027
+ { type: "error", inputs: [], name: "InvalidAdminAction" },
5028
+ { type: "error", inputs: [], name: "InvalidInitialization" },
5029
+ {
5030
+ type: "error",
5031
+ inputs: [
5032
+ { name: "mintTo", internalType: "address", type: "address" },
5033
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
5034
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
5035
+ ],
5036
+ name: "InvalidMerkleProof"
5037
+ },
5038
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
5039
+ { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraMints" },
5040
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
5041
+ { type: "error", inputs: [], name: "InvalidRecipient" },
5042
+ { type: "error", inputs: [], name: "InvalidSignature" },
5043
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
5044
+ {
5045
+ type: "error",
5046
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
5047
+ name: "InvalidSigner"
5048
+ },
5049
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
5050
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
5051
+ { type: "error", inputs: [], name: "MintWithMintsNotSupportedOnContract" },
5052
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
5053
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
5054
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
5055
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
5056
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
5057
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
5058
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
5059
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
5060
+ { type: "error", inputs: [], name: "NoTokensTransferred" },
5061
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
5062
+ { type: "error", inputs: [], name: "NonEthRedemption" },
5063
+ {
5064
+ type: "error",
5065
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
5066
+ name: "NotARedeemHandler"
5067
+ },
5068
+ { type: "error", inputs: [], name: "NotInitializing" },
5069
+ { type: "error", inputs: [], name: "NotSelfCall" },
5070
+ { type: "error", inputs: [], name: "NotZoraMints1155" },
5071
+ {
5072
+ type: "error",
5073
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
5074
+ name: "OwnableInvalidOwner"
5075
+ },
5076
+ {
5077
+ type: "error",
5078
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
5079
+ name: "OwnableUnauthorizedAccount"
5080
+ },
5081
+ { type: "error", inputs: [], name: "PremintDeleted" },
5082
+ { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
5083
+ {
5084
+ type: "error",
5085
+ inputs: [
5086
+ { name: "caller", internalType: "address", type: "address" },
5087
+ { name: "recipient", internalType: "address", type: "address" },
5088
+ { name: "amount", internalType: "uint256", type: "uint256" }
5089
+ ],
5090
+ name: "ProtocolRewardsWithdrawFailed"
5091
+ },
5092
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
5093
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
5094
+ { type: "error", inputs: [], name: "SaleEnded" },
5095
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
5096
+ {
5097
+ type: "error",
5098
+ inputs: [
5099
+ { name: "targetContract", internalType: "address", type: "address" }
5100
+ ],
5101
+ name: "Sale_CannotCallNonSalesContract"
5102
+ },
5103
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
5104
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
5105
+ {
5106
+ type: "error",
5107
+ inputs: [
5108
+ { name: "expected", internalType: "uint256", type: "uint256" },
5109
+ { name: "actual", internalType: "uint256", type: "uint256" }
5110
+ ],
5111
+ name: "TokenIdMismatch"
5112
+ },
5113
+ {
5114
+ type: "error",
5115
+ inputs: [
5116
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
5117
+ {
5118
+ name: "expectedTokenAddress",
5119
+ internalType: "address",
5120
+ type: "address"
5121
+ }
5122
+ ],
5123
+ name: "TokenMismatch"
5124
+ },
5125
+ { type: "error", inputs: [], name: "TokenNotMintable" },
5126
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
5127
+ {
5128
+ type: "error",
5129
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
5130
+ name: "UUPSUnsupportedProxiableUUID"
5131
+ },
5132
+ {
5133
+ type: "error",
5134
+ inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
5135
+ name: "UnknownUserAction"
5136
+ },
5137
+ {
5138
+ type: "error",
5139
+ inputs: [
5140
+ { name: "expected", internalType: "string", type: "string" },
5141
+ { name: "actual", internalType: "string", type: "string" }
5142
+ ],
5143
+ name: "UpgradeToMismatchedContractName"
5144
+ },
5145
+ {
5146
+ type: "error",
5147
+ inputs: [
5148
+ { name: "user", internalType: "address", type: "address" },
5149
+ { name: "limit", internalType: "uint256", type: "uint256" },
5150
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
5151
+ ],
5152
+ name: "UserExceedsMintLimit"
5153
+ },
5154
+ {
5155
+ type: "error",
5156
+ inputs: [
5157
+ { name: "user", internalType: "address", type: "address" },
5158
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
5159
+ { name: "role", internalType: "uint256", type: "uint256" }
5160
+ ],
5161
+ name: "UserMissingRoleForToken"
5162
+ },
5163
+ { type: "error", inputs: [], name: "WrongValueSent" },
5164
+ {
5165
+ type: "error",
5166
+ inputs: [],
5167
+ name: "premintSignerContractFailedToRecoverSigner"
5168
+ },
5169
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
5170
+ ];
5171
+ var zoraMintsManagerImplAddress = {
5172
+ 999999999: "0x7777777dB66f897FDC5e6f01dB79C4e56dC817D7"
5173
+ };
5174
+ var zoraMintsManagerImplConfig = {
5175
+ address: zoraMintsManagerImplAddress,
5176
+ abi: zoraMintsManagerImplABI
5177
+ };
5178
+
5179
+ // src/generated/1155.ts
5180
+ var __exports = {};
5181
+ __export(__exports, {
5182
+ addresses: () => addresses,
5183
+ chainConfigs: () => chainConfigs
5184
+ });
5185
+ var chainConfigs = {
5186
+ 1: {
5187
+ FACTORY_OWNER: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
5188
+ MINT_FEE_RECIPIENT: "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
5189
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5190
+ },
5191
+ 10: {
5192
+ FACTORY_OWNER: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
5193
+ MINT_FEE_RECIPIENT: "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
5194
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5195
+ },
5196
+ 999: {
5197
+ FACTORY_OWNER: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
5198
+ MINT_FEE_RECIPIENT: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
5199
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5200
+ },
5201
+ 8453: {
5202
+ FACTORY_OWNER: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
5203
+ MINT_FEE_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
5204
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5205
+ },
5206
+ 42161: {
5207
+ FACTORY_OWNER: "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
5208
+ MINT_FEE_RECIPIENT: "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
5209
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5210
+ },
5211
+ 81457: {
5212
+ FACTORY_OWNER: "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
5213
+ MINT_FEE_RECIPIENT: "0x72E6394056f9152D3a41e5A25De383c191D16134",
5214
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5215
+ },
5216
+ 421614: {
5217
+ FACTORY_OWNER: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
5218
+ MINT_FEE_RECIPIENT: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
5219
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5220
+ },
5221
+ 7777777: {
5222
+ FACTORY_OWNER: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
5223
+ MINT_FEE_RECIPIENT: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
5224
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5225
+ },
5226
+ 11155111: {
5227
+ FACTORY_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
5228
+ MINT_FEE_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
5229
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5230
+ },
5231
+ 168587773: {
5232
+ FACTORY_OWNER: "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
5233
+ MINT_FEE_RECIPIENT: "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
5234
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5235
+ },
5236
+ 999999999: {
5237
+ FACTORY_OWNER: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
5238
+ MINT_FEE_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
5239
+ PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
5240
+ }
3635
5241
  };
3636
5242
  var addresses = {
3637
5243
  1: {
@@ -3773,21 +5379,78 @@ var addresses = {
3773
5379
  timestamp: 1709234007
3774
5380
  },
3775
5381
  999999999: {
3776
- CONTRACT_1155_IMPL: "0x980170C861E723309628a27c27397a955920F968",
3777
- CONTRACT_1155_IMPL_VERSION: "2.7.0",
3778
- FACTORY_IMPL: "0xcea530A0d2d158500E248a59682a1D230c2422F7",
5382
+ CONTRACT_1155_IMPL: "0x7A4149d3696a138bF97093391CDaAc9259783Dda",
5383
+ CONTRACT_1155_IMPL_VERSION: "2.9.0-DEV.0",
5384
+ FACTORY_IMPL: "0xD93c769b61B3B4b0782a936D6040FFAFB7609f02",
3779
5385
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
3780
5386
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
3781
5387
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
3782
- PREMINTER_IMPL: "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
5388
+ PREMINTER_IMPL: "0x1840606A43AC211Ffd548BE727563D863bfCF707",
3783
5389
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
3784
5390
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
3785
5391
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
3786
- timestamp: 1706663810
5392
+ timestamp: 1712334202
5393
+ }
5394
+ };
5395
+
5396
+ // src/generated/mints.ts
5397
+ var mints_exports = {};
5398
+ __export(mints_exports, {
5399
+ addresses: () => addresses2,
5400
+ chainConfigs: () => chainConfigs2
5401
+ });
5402
+ var chainConfigs2 = {
5403
+ 1: {
5404
+ PROXY_ADMIN: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
5405
+ MINTS_OWNER: "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
5406
+ },
5407
+ 10: {
5408
+ PROXY_ADMIN: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
5409
+ MINTS_OWNER: "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
5410
+ },
5411
+ 420: {
5412
+ PROXY_ADMIN: "0xbb45052B2260707655Dfd916a416264f5981192c",
5413
+ MINTS_OWNER: "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
5414
+ },
5415
+ 999: {
5416
+ PROXY_ADMIN: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
5417
+ MINTS_OWNER: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
5418
+ },
5419
+ 8453: {
5420
+ PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
5421
+ MINTS_OWNER: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
5422
+ },
5423
+ 84531: {
5424
+ PROXY_ADMIN: "0x02539E813cA450C2c7334e885423f4A899a063Fe",
5425
+ MINTS_OWNER: "0x02539E813cA450C2c7334e885423f4A899a063Fe"
5426
+ },
5427
+ 7777777: {
5428
+ PROXY_ADMIN: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
5429
+ MINTS_OWNER: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
5430
+ },
5431
+ 11155111: {
5432
+ PROXY_ADMIN: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
5433
+ MINTS_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
5434
+ },
5435
+ 999999999: {
5436
+ PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
5437
+ MINTS_OWNER: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
5438
+ }
5439
+ };
5440
+ var addresses2 = {
5441
+ 999999999: {
5442
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0x98d1B7E6B9d11271124316593889BCF07038bE78",
5443
+ MINTS_MANAGER_IMPL: "0x7f0Ec2B57e9c0FCc45629080b3E772118e7248aE",
5444
+ MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.8"
3787
5445
  }
3788
5446
  };
3789
5447
  export {
3790
5448
  __exports as contracts1155,
5449
+ iUnwrapAndForwardActionABI,
5450
+ mints_exports as mints,
5451
+ mintsEthUnwrapperAndCallerABI,
5452
+ mintsEthUnwrapperAndCallerAddress,
5453
+ mintsEthUnwrapperAndCallerConfig,
3791
5454
  zoraCreator1155FactoryImplABI,
3792
5455
  zoraCreator1155FactoryImplAddress,
3793
5456
  zoraCreator1155FactoryImplConfig,
@@ -3803,6 +5466,12 @@ export {
3803
5466
  zoraCreatorMerkleMinterStrategyConfig,
3804
5467
  zoraCreatorRedeemMinterFactoryABI,
3805
5468
  zoraCreatorRedeemMinterFactoryAddress,
3806
- zoraCreatorRedeemMinterFactoryConfig
5469
+ zoraCreatorRedeemMinterFactoryConfig,
5470
+ zoraMints1155ABI,
5471
+ zoraMints1155Address,
5472
+ zoraMints1155Config,
5473
+ zoraMintsManagerImplABI,
5474
+ zoraMintsManagerImplAddress,
5475
+ zoraMintsManagerImplConfig
3807
5476
  };
3808
5477
  //# sourceMappingURL=index.js.map