@zoralabs/protocol-deployments 0.1.5-DEV.2 → 0.1.5-DEV.4

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
@@ -502,7 +502,8 @@ var zoraCreator1155ImplABI = [
502
502
  inputs: [
503
503
  { name: "_mintFeeRecipient", internalType: "address", type: "address" },
504
504
  { name: "_upgradeGate", internalType: "address", type: "address" },
505
- { name: "_protocolRewards", internalType: "address", type: "address" }
505
+ { name: "_protocolRewards", internalType: "address", type: "address" },
506
+ { name: "_mints", internalType: "address", type: "address" }
506
507
  ]
507
508
  },
508
509
  { stateMutability: "payable", type: "receive" },
@@ -571,18 +572,6 @@ var zoraCreator1155ImplABI = [
571
572
  name: "adminMint",
572
573
  outputs: []
573
574
  },
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
575
  {
587
576
  stateMutability: "view",
588
577
  type: "function",
@@ -651,71 +640,10 @@ var zoraCreator1155ImplABI = [
651
640
  {
652
641
  stateMutability: "pure",
653
642
  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" }],
643
+ inputs: [
644
+ { name: "mintPrice", internalType: "uint256", type: "uint256" },
645
+ { name: "quantity", internalType: "uint256", type: "uint256" }
646
+ ],
719
647
  name: "computeTotalReward",
720
648
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
721
649
  },
@@ -778,7 +706,7 @@ var zoraCreator1155ImplABI = [
778
706
  { name: "premintConfig", internalType: "bytes", type: "bytes" },
779
707
  { name: "premintVersion", internalType: "bytes32", type: "bytes32" },
780
708
  { name: "signature", internalType: "bytes", type: "bytes" },
781
- { name: "sender", internalType: "address", type: "address" },
709
+ { name: "firstMinter", internalType: "address", type: "address" },
782
710
  {
783
711
  name: "premintSignerContract",
784
712
  internalType: "address",
@@ -953,12 +881,32 @@ var zoraCreator1155ImplABI = [
953
881
  outputs: []
954
882
  },
955
883
  {
956
- stateMutability: "pure",
884
+ stateMutability: "view",
957
885
  type: "function",
958
886
  inputs: [],
959
887
  name: "mintFee",
960
888
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
961
889
  },
890
+ {
891
+ stateMutability: "payable",
892
+ type: "function",
893
+ inputs: [
894
+ { name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
895
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
896
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
897
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
898
+ {
899
+ name: "rewardsRecipients",
900
+ internalType: "address[]",
901
+ type: "address[]"
902
+ },
903
+ { name: "minterArguments", internalType: "bytes", type: "bytes" }
904
+ ],
905
+ name: "mintWithMints",
906
+ outputs: [
907
+ { name: "quantityMinted", internalType: "uint256", type: "uint256" }
908
+ ]
909
+ },
962
910
  {
963
911
  stateMutability: "payable",
964
912
  type: "function",
@@ -993,6 +941,32 @@ var zoraCreator1155ImplABI = [
993
941
  name: "nextTokenId",
994
942
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
995
943
  },
944
+ {
945
+ stateMutability: "pure",
946
+ type: "function",
947
+ inputs: [
948
+ { name: "", internalType: "address", type: "address" },
949
+ { name: "", internalType: "address", type: "address" },
950
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
951
+ { name: "", internalType: "uint256[]", type: "uint256[]" },
952
+ { name: "", internalType: "bytes", type: "bytes" }
953
+ ],
954
+ name: "onERC1155BatchReceived",
955
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
956
+ },
957
+ {
958
+ stateMutability: "pure",
959
+ type: "function",
960
+ inputs: [
961
+ { name: "", internalType: "address", type: "address" },
962
+ { name: "", internalType: "address", type: "address" },
963
+ { name: "", internalType: "uint256", type: "uint256" },
964
+ { name: "", internalType: "uint256", type: "uint256" },
965
+ { name: "", internalType: "bytes", type: "bytes" }
966
+ ],
967
+ name: "onERC1155Received",
968
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
969
+ },
996
970
  {
997
971
  stateMutability: "view",
998
972
  type: "function",
@@ -1841,6 +1815,7 @@ var zoraCreator1155ImplABI = [
1841
1815
  inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
1842
1816
  name: "NoRendererForToken"
1843
1817
  },
1818
+ { type: "error", inputs: [], name: "NonEthRedemption" },
1844
1819
  { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
1845
1820
  { type: "error", inputs: [], name: "PremintDeleted" },
1846
1821
  {
@@ -2854,6 +2829,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2854
2829
  { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2855
2830
  { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2856
2831
  { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
2832
+ { type: "error", inputs: [], name: "NonEthRedemption" },
2857
2833
  { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
2858
2834
  { type: "error", inputs: [], name: "ONLY_OWNER" },
2859
2835
  { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
@@ -3658,6 +3634,21 @@ var zoraMints1155ABI = [
3658
3634
  name: "createToken",
3659
3635
  outputs: []
3660
3636
  },
3637
+ {
3638
+ stateMutability: "view",
3639
+ type: "function",
3640
+ inputs: [],
3641
+ name: "eip712Domain",
3642
+ outputs: [
3643
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
3644
+ { name: "name", internalType: "string", type: "string" },
3645
+ { name: "version", internalType: "string", type: "string" },
3646
+ { name: "chainId", internalType: "uint256", type: "uint256" },
3647
+ { name: "verifyingContract", internalType: "address", type: "address" },
3648
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
3649
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
3650
+ ]
3651
+ },
3661
3652
  {
3662
3653
  stateMutability: "view",
3663
3654
  type: "function",
@@ -3689,6 +3680,28 @@ var zoraMints1155ABI = [
3689
3680
  }
3690
3681
  ]
3691
3682
  },
3683
+ {
3684
+ stateMutability: "view",
3685
+ type: "function",
3686
+ inputs: [
3687
+ {
3688
+ name: "permit",
3689
+ internalType: "struct IZoraMints1155Managed.Permit",
3690
+ type: "tuple",
3691
+ components: [
3692
+ { name: "owner", internalType: "address", type: "address" },
3693
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3694
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3695
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3696
+ { name: "call", internalType: "bytes", type: "bytes" },
3697
+ { name: "deadline", internalType: "uint256", type: "uint256" }
3698
+ ]
3699
+ },
3700
+ { name: "nonce", internalType: "uint256", type: "uint256" }
3701
+ ],
3702
+ name: "hashPermit",
3703
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3704
+ },
3692
3705
  {
3693
3706
  stateMutability: "view",
3694
3707
  type: "function",
@@ -3706,6 +3719,28 @@ var zoraMints1155ABI = [
3706
3719
  name: "isConsumingScheduledOp",
3707
3720
  outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
3708
3721
  },
3722
+ {
3723
+ stateMutability: "view",
3724
+ type: "function",
3725
+ inputs: [
3726
+ {
3727
+ name: "permit",
3728
+ internalType: "struct IZoraMints1155Managed.Permit",
3729
+ type: "tuple",
3730
+ components: [
3731
+ { name: "owner", internalType: "address", type: "address" },
3732
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3733
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3734
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3735
+ { name: "call", internalType: "bytes", type: "bytes" },
3736
+ { name: "deadline", internalType: "uint256", type: "uint256" }
3737
+ ]
3738
+ },
3739
+ { name: "signature", internalType: "bytes", type: "bytes" }
3740
+ ],
3741
+ name: "isValidSignature",
3742
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3743
+ },
3709
3744
  {
3710
3745
  stateMutability: "nonpayable",
3711
3746
  type: "function",
@@ -3738,6 +3773,13 @@ var zoraMints1155ABI = [
3738
3773
  name: "name",
3739
3774
  outputs: [{ name: "", internalType: "string", type: "string" }]
3740
3775
  },
3776
+ {
3777
+ stateMutability: "view",
3778
+ type: "function",
3779
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
3780
+ name: "nonces",
3781
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3782
+ },
3741
3783
  {
3742
3784
  stateMutability: "nonpayable",
3743
3785
  type: "function",
@@ -3758,6 +3800,28 @@ var zoraMints1155ABI = [
3758
3800
  name: "notifyUpdatedTokenURI",
3759
3801
  outputs: []
3760
3802
  },
3803
+ {
3804
+ stateMutability: "nonpayable",
3805
+ type: "function",
3806
+ inputs: [
3807
+ {
3808
+ name: "permit",
3809
+ internalType: "struct IZoraMints1155Managed.Permit",
3810
+ type: "tuple",
3811
+ components: [
3812
+ { name: "owner", internalType: "address", type: "address" },
3813
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
3814
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3815
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
3816
+ { name: "call", internalType: "bytes", type: "bytes" },
3817
+ { name: "deadline", internalType: "uint256", type: "uint256" }
3818
+ ]
3819
+ },
3820
+ { name: "signature", internalType: "bytes", type: "bytes" }
3821
+ ],
3822
+ name: "permitTransferBatchToManagerAndCall",
3823
+ outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }]
3824
+ },
3761
3825
  {
3762
3826
  stateMutability: "nonpayable",
3763
3827
  type: "function",
@@ -3926,19 +3990,7 @@ var zoraMints1155ABI = [
3926
3990
  name: "AuthorityUpdated"
3927
3991
  },
3928
3992
  { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
3929
- {
3930
- type: "event",
3931
- anonymous: false,
3932
- inputs: [
3933
- {
3934
- name: "tokenId",
3935
- internalType: "uint256",
3936
- type: "uint256",
3937
- indexed: true
3938
- }
3939
- ],
3940
- name: "EthMintableTokenSet"
3941
- },
3993
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
3942
3994
  {
3943
3995
  type: "event",
3944
3996
  anonymous: false,
@@ -3950,57 +4002,15 @@ var zoraMints1155ABI = [
3950
4002
  indexed: true
3951
4003
  },
3952
4004
  {
3953
- name: "pricePerToken",
4005
+ name: "price",
3954
4006
  internalType: "uint256",
3955
4007
  type: "uint256",
3956
4008
  indexed: true
3957
- }
3958
- ],
3959
- name: "EthTokenCreated"
3960
- },
3961
- {
3962
- type: "event",
3963
- anonymous: false,
3964
- inputs: [
3965
- {
3966
- name: "tokenIds",
3967
- internalType: "uint256[]",
3968
- type: "uint256[]",
3969
- indexed: false
3970
4009
  },
3971
4010
  {
3972
- name: "quantities",
3973
- internalType: "uint256[]",
3974
- type: "uint256[]",
3975
- indexed: false
3976
- },
3977
- {
3978
- name: "recipient",
4011
+ name: "tokenAddress",
3979
4012
  internalType: "address",
3980
4013
  type: "address",
3981
- indexed: false
3982
- }
3983
- ],
3984
- name: "RedeemedBatch"
3985
- },
3986
- {
3987
- type: "event",
3988
- anonymous: false,
3989
- inputs: [
3990
- {
3991
- name: "tokenId",
3992
- internalType: "uint256",
3993
- type: "uint256",
3994
- indexed: true
3995
- },
3996
- {
3997
- name: "tokenConfig",
3998
- internalType: "struct TokenConfig",
3999
- type: "tuple",
4000
- components: [
4001
- { name: "price", internalType: "uint256", type: "uint256" },
4002
- { name: "tokenAddress", internalType: "address", type: "address" }
4003
- ],
4004
4014
  indexed: true
4005
4015
  }
4006
4016
  ],
@@ -4161,11 +4171,31 @@ var zoraMints1155ABI = [
4161
4171
  name: "ERC1155MissingApprovalForAll"
4162
4172
  },
4163
4173
  { type: "error", inputs: [], name: "ERC20TransferSlippage" },
4174
+ {
4175
+ type: "error",
4176
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
4177
+ name: "ERC2612ExpiredSignature"
4178
+ },
4164
4179
  { type: "error", inputs: [], name: "ETHTransferFailed" },
4165
4180
  { type: "error", inputs: [], name: "IncorrectAmountSent" },
4181
+ {
4182
+ type: "error",
4183
+ inputs: [
4184
+ { name: "account", internalType: "address", type: "address" },
4185
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
4186
+ ],
4187
+ name: "InvalidAccountNonce"
4188
+ },
4166
4189
  { type: "error", inputs: [], name: "InvalidRecipient" },
4190
+ { type: "error", inputs: [], name: "InvalidShortString" },
4191
+ { type: "error", inputs: [], name: "InvalidSignature" },
4167
4192
  { type: "error", inputs: [], name: "InvalidTokenPrice" },
4168
4193
  { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
4194
+ {
4195
+ type: "error",
4196
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
4197
+ name: "StringTooLong"
4198
+ },
4169
4199
  { type: "error", inputs: [], name: "TokenAlreadyCreated" },
4170
4200
  { type: "error", inputs: [], name: "TokenDoesNotExist" },
4171
4201
  {
@@ -4183,7 +4213,7 @@ var zoraMints1155ABI = [
4183
4213
  { type: "error", inputs: [], name: "TokenNotMintable" }
4184
4214
  ];
4185
4215
  var zoraMints1155Address = {
4186
- 999999999: "0x777777772b3123825eE55F3C45b6CbFd1631aBE1"
4216
+ 999999999: "0x7777777b3Ba1Ca5C68E197DD17546c2d08Ce0131"
4187
4217
  };
4188
4218
  var zoraMints1155Config = {
4189
4219
  address: zoraMints1155Address,
@@ -4385,7 +4415,8 @@ var zoraMintsManagerImplABI = [
4385
4415
  { name: "price", internalType: "uint256", type: "uint256" },
4386
4416
  { name: "tokenAddress", internalType: "address", type: "address" }
4387
4417
  ]
4388
- }
4418
+ },
4419
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
4389
4420
  ],
4390
4421
  name: "createToken",
4391
4422
  outputs: []
@@ -4599,6 +4630,25 @@ var zoraMintsManagerImplABI = [
4599
4630
  ],
4600
4631
  name: "Collected"
4601
4632
  },
4633
+ {
4634
+ type: "event",
4635
+ anonymous: false,
4636
+ inputs: [
4637
+ {
4638
+ name: "tokenAddress",
4639
+ internalType: "address",
4640
+ type: "address",
4641
+ indexed: false
4642
+ },
4643
+ {
4644
+ name: "tokenId",
4645
+ internalType: "uint256",
4646
+ type: "uint256",
4647
+ indexed: false
4648
+ }
4649
+ ],
4650
+ name: "DefaultMintableTokenSet"
4651
+ },
4602
4652
  {
4603
4653
  type: "event",
4604
4654
  anonymous: false,
@@ -4933,7 +4983,7 @@ var zoraMintsManagerImplABI = [
4933
4983
  { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
4934
4984
  ];
4935
4985
  var zoraMintsManagerImplAddress = {
4936
- 999999999: "0x7777777579A2C6363387cC38C0A334624dDAbB90"
4986
+ 999999999: "0x7777777B4115B4030d41E6D2A13d7b37188b3117"
4937
4987
  };
4938
4988
  var zoraMintsManagerImplConfig = {
4939
4989
  address: zoraMintsManagerImplAddress,
@@ -5143,9 +5193,9 @@ var addresses = {
5143
5193
  timestamp: 1709234007
5144
5194
  },
5145
5195
  999999999: {
5146
- CONTRACT_1155_IMPL: "0xCD7aA5CbF0187fd8F426F3322E48B02Fb6b973d8",
5196
+ CONTRACT_1155_IMPL: "0x996937aEc720228a70736738c7e3Bc918998dE46",
5147
5197
  CONTRACT_1155_IMPL_VERSION: "2.9.0-DEV.0",
5148
- FACTORY_IMPL: "0x9474664542fe17AC8f940aaC2160f1816607c9Cc",
5198
+ FACTORY_IMPL: "0xd58319Ecb4436b769a810aF731488071b56A5e34",
5149
5199
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
5150
5200
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
5151
5201
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
@@ -5153,7 +5203,7 @@ var addresses = {
5153
5203
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
5154
5204
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
5155
5205
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
5156
- timestamp: 1711674862
5206
+ timestamp: 1712072944
5157
5207
  }
5158
5208
  };
5159
5209
 
@@ -5203,8 +5253,8 @@ var chainConfigs2 = {
5203
5253
  };
5204
5254
  var addresses2 = {
5205
5255
  999999999: {
5206
- MINTS_MANAGER_IMPL: "0x880AC09CBbc69b49B0FD7434bB7e4eE33D0b0Ae6",
5207
- MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.1"
5256
+ MINTS_MANAGER_IMPL: "0x419bC57fCbca79Dc96220B3d397D54D13bE45267",
5257
+ MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.3"
5208
5258
  }
5209
5259
  };
5210
5260
  export {