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

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,6 +3990,7 @@ var zoraMints1155ABI = [
3926
3990
  name: "AuthorityUpdated"
3927
3991
  },
3928
3992
  { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
3993
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
3929
3994
  {
3930
3995
  type: "event",
3931
3996
  anonymous: false,
@@ -4161,11 +4226,31 @@ var zoraMints1155ABI = [
4161
4226
  name: "ERC1155MissingApprovalForAll"
4162
4227
  },
4163
4228
  { type: "error", inputs: [], name: "ERC20TransferSlippage" },
4229
+ {
4230
+ type: "error",
4231
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
4232
+ name: "ERC2612ExpiredSignature"
4233
+ },
4164
4234
  { type: "error", inputs: [], name: "ETHTransferFailed" },
4165
4235
  { type: "error", inputs: [], name: "IncorrectAmountSent" },
4236
+ {
4237
+ type: "error",
4238
+ inputs: [
4239
+ { name: "account", internalType: "address", type: "address" },
4240
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
4241
+ ],
4242
+ name: "InvalidAccountNonce"
4243
+ },
4166
4244
  { type: "error", inputs: [], name: "InvalidRecipient" },
4245
+ { type: "error", inputs: [], name: "InvalidShortString" },
4246
+ { type: "error", inputs: [], name: "InvalidSignature" },
4167
4247
  { type: "error", inputs: [], name: "InvalidTokenPrice" },
4168
4248
  { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
4249
+ {
4250
+ type: "error",
4251
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
4252
+ name: "StringTooLong"
4253
+ },
4169
4254
  { type: "error", inputs: [], name: "TokenAlreadyCreated" },
4170
4255
  { type: "error", inputs: [], name: "TokenDoesNotExist" },
4171
4256
  {
@@ -4183,7 +4268,7 @@ var zoraMints1155ABI = [
4183
4268
  { type: "error", inputs: [], name: "TokenNotMintable" }
4184
4269
  ];
4185
4270
  var zoraMints1155Address = {
4186
- 999999999: "0x777777772b3123825eE55F3C45b6CbFd1631aBE1"
4271
+ 999999999: "0x7777777287d4c25c0AD1E532FBd82C4d7Cf79E0F"
4187
4272
  };
4188
4273
  var zoraMints1155Config = {
4189
4274
  address: zoraMints1155Address,
@@ -4385,7 +4470,8 @@ var zoraMintsManagerImplABI = [
4385
4470
  { name: "price", internalType: "uint256", type: "uint256" },
4386
4471
  { name: "tokenAddress", internalType: "address", type: "address" }
4387
4472
  ]
4388
- }
4473
+ },
4474
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
4389
4475
  ],
4390
4476
  name: "createToken",
4391
4477
  outputs: []
@@ -4599,6 +4685,25 @@ var zoraMintsManagerImplABI = [
4599
4685
  ],
4600
4686
  name: "Collected"
4601
4687
  },
4688
+ {
4689
+ type: "event",
4690
+ anonymous: false,
4691
+ inputs: [
4692
+ {
4693
+ name: "tokenAddress",
4694
+ internalType: "address",
4695
+ type: "address",
4696
+ indexed: false
4697
+ },
4698
+ {
4699
+ name: "tokenId",
4700
+ internalType: "uint256",
4701
+ type: "uint256",
4702
+ indexed: false
4703
+ }
4704
+ ],
4705
+ name: "DefaultMintableTokenSet"
4706
+ },
4602
4707
  {
4603
4708
  type: "event",
4604
4709
  anonymous: false,
@@ -4933,7 +5038,7 @@ var zoraMintsManagerImplABI = [
4933
5038
  { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
4934
5039
  ];
4935
5040
  var zoraMintsManagerImplAddress = {
4936
- 999999999: "0x7777777579A2C6363387cC38C0A334624dDAbB90"
5041
+ 999999999: "0x7777777d61b747bB131cEA42Fb849e5F0d8C0483"
4937
5042
  };
4938
5043
  var zoraMintsManagerImplConfig = {
4939
5044
  address: zoraMintsManagerImplAddress,
@@ -5143,9 +5248,9 @@ var addresses = {
5143
5248
  timestamp: 1709234007
5144
5249
  },
5145
5250
  999999999: {
5146
- CONTRACT_1155_IMPL: "0xCD7aA5CbF0187fd8F426F3322E48B02Fb6b973d8",
5251
+ CONTRACT_1155_IMPL: "0xa2562fFeD81C699b08487244A822feE0D09Abe15",
5147
5252
  CONTRACT_1155_IMPL_VERSION: "2.9.0-DEV.0",
5148
- FACTORY_IMPL: "0x9474664542fe17AC8f940aaC2160f1816607c9Cc",
5253
+ FACTORY_IMPL: "0xe61c819753EDE74fB3F97D851f7DDFA3ec738856",
5149
5254
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
5150
5255
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
5151
5256
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
@@ -5153,7 +5258,7 @@ var addresses = {
5153
5258
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
5154
5259
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
5155
5260
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
5156
- timestamp: 1711674862
5261
+ timestamp: 1712013215
5157
5262
  }
5158
5263
  };
5159
5264
 
@@ -5203,8 +5308,8 @@ var chainConfigs2 = {
5203
5308
  };
5204
5309
  var addresses2 = {
5205
5310
  999999999: {
5206
- MINTS_MANAGER_IMPL: "0x880AC09CBbc69b49B0FD7434bB7e4eE33D0b0Ae6",
5207
- MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.1"
5311
+ MINTS_MANAGER_IMPL: "0xeC580aF42A2588f2a6d1753328107FD271a07b74",
5312
+ MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.2"
5208
5313
  }
5209
5314
  };
5210
5315
  export {