@zoralabs/protocol-deployments 0.0.2 → 0.0.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
@@ -582,6 +582,7 @@ var zoraCreator1155ImplABI = [
582
582
  name: "CallFailed"
583
583
  },
584
584
  { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
585
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
585
586
  {
586
587
  type: "error",
587
588
  inputs: [
@@ -680,12 +681,23 @@ var zoraCreator1155ImplABI = [
680
681
  },
681
682
  { type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
682
683
  { type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
684
+ {
685
+ type: "error",
686
+ inputs: [
687
+ { name: "mintTo", internalType: "address", type: "address" },
688
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
689
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
690
+ ],
691
+ name: "InvalidMerkleProof"
692
+ },
683
693
  { type: "error", inputs: [], name: "InvalidMintSchedule" },
684
694
  { type: "error", inputs: [], name: "MintNotYetStarted" },
685
695
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
686
696
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
687
697
  { type: "error", inputs: [], name: "Mint_UnknownCommand" },
688
698
  { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
699
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
700
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
689
701
  { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
690
702
  {
691
703
  type: "error",
@@ -709,6 +721,8 @@ var zoraCreator1155ImplABI = [
709
721
  name: "RendererNotValid"
710
722
  },
711
723
  { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
724
+ { type: "error", inputs: [], name: "SaleEnded" },
725
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
712
726
  {
713
727
  type: "error",
714
728
  inputs: [
@@ -729,6 +743,15 @@ var zoraCreator1155ImplABI = [
729
743
  inputs: [],
730
744
  name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL"
731
745
  },
746
+ {
747
+ type: "error",
748
+ inputs: [
749
+ { name: "user", internalType: "address", type: "address" },
750
+ { name: "limit", internalType: "uint256", type: "uint256" },
751
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
752
+ ],
753
+ name: "UserExceedsMintLimit"
754
+ },
732
755
  {
733
756
  type: "error",
734
757
  inputs: [
@@ -738,6 +761,7 @@ var zoraCreator1155ImplABI = [
738
761
  ],
739
762
  name: "UserMissingRoleForToken"
740
763
  },
764
+ { type: "error", inputs: [], name: "WrongValueSent" },
741
765
  {
742
766
  type: "event",
743
767
  anonymous: false,
@@ -1984,6 +2008,7 @@ var zoraCreator1155PremintExecutorImplABI = [
1984
2008
  name: "CallFailed"
1985
2009
  },
1986
2010
  { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
2011
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
1987
2012
  {
1988
2013
  type: "error",
1989
2014
  inputs: [
@@ -2040,11 +2065,23 @@ var zoraCreator1155PremintExecutorImplABI = [
2040
2065
  inputs: [],
2041
2066
  name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
2042
2067
  },
2068
+ {
2069
+ type: "error",
2070
+ inputs: [
2071
+ { name: "mintTo", internalType: "address", type: "address" },
2072
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
2073
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
2074
+ ],
2075
+ name: "InvalidMerkleProof"
2076
+ },
2077
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
2043
2078
  { type: "error", inputs: [], name: "MintNotYetStarted" },
2044
2079
  { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
2045
2080
  { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
2046
2081
  { type: "error", inputs: [], name: "Mint_UnknownCommand" },
2047
2082
  { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
2083
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2084
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2048
2085
  { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
2049
2086
  { type: "error", inputs: [], name: "ONLY_OWNER" },
2050
2087
  { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
@@ -2060,6 +2097,8 @@ var zoraCreator1155PremintExecutorImplABI = [
2060
2097
  name: "ProtocolRewardsWithdrawFailed"
2061
2098
  },
2062
2099
  { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
2100
+ { type: "error", inputs: [], name: "SaleEnded" },
2101
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
2063
2102
  {
2064
2103
  type: "error",
2065
2104
  inputs: [
@@ -2088,6 +2127,15 @@ var zoraCreator1155PremintExecutorImplABI = [
2088
2127
  ],
2089
2128
  name: "UpgradeToMismatchedContractName"
2090
2129
  },
2130
+ {
2131
+ type: "error",
2132
+ inputs: [
2133
+ { name: "user", internalType: "address", type: "address" },
2134
+ { name: "limit", internalType: "uint256", type: "uint256" },
2135
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
2136
+ ],
2137
+ name: "UserExceedsMintLimit"
2138
+ },
2091
2139
  {
2092
2140
  type: "error",
2093
2141
  inputs: [
@@ -2097,6 +2145,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2097
2145
  ],
2098
2146
  name: "UserMissingRoleForToken"
2099
2147
  },
2148
+ { type: "error", inputs: [], name: "WrongValueSent" },
2100
2149
  {
2101
2150
  type: "event",
2102
2151
  anonymous: false,
@@ -2625,6 +2674,18 @@ var zoraCreator1155PremintExecutorImplConfig = {
2625
2674
  abi: zoraCreator1155PremintExecutorImplABI
2626
2675
  };
2627
2676
  var zoraCreatorFixedPriceSaleStrategyABI = [
2677
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
2678
+ {
2679
+ type: "error",
2680
+ inputs: [
2681
+ { name: "mintTo", internalType: "address", type: "address" },
2682
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
2683
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
2684
+ ],
2685
+ name: "InvalidMerkleProof"
2686
+ },
2687
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2688
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2628
2689
  { type: "error", inputs: [], name: "SaleEnded" },
2629
2690
  { type: "error", inputs: [], name: "SaleHasNotStarted" },
2630
2691
  {
@@ -2863,6 +2924,7 @@ var zoraCreatorFixedPriceSaleStrategyConfig = {
2863
2924
  abi: zoraCreatorFixedPriceSaleStrategyABI
2864
2925
  };
2865
2926
  var zoraCreatorMerkleMinterStrategyABI = [
2927
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
2866
2928
  {
2867
2929
  type: "error",
2868
2930
  inputs: [
@@ -2873,6 +2935,8 @@ var zoraCreatorMerkleMinterStrategyABI = [
2873
2935
  name: "InvalidMerkleProof"
2874
2936
  },
2875
2937
  { type: "error", inputs: [], name: "MerkleClaimsExceeded" },
2938
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2939
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2876
2940
  { type: "error", inputs: [], name: "SaleEnded" },
2877
2941
  { type: "error", inputs: [], name: "SaleHasNotStarted" },
2878
2942
  {
@@ -3076,8 +3140,20 @@ var zoraCreatorMerkleMinterStrategyConfig = {
3076
3140
  var zoraCreatorRedeemMinterFactoryABI = [
3077
3141
  { stateMutability: "nonpayable", type: "constructor", inputs: [] },
3078
3142
  { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
3143
+ {
3144
+ type: "error",
3145
+ inputs: [
3146
+ { name: "mintTo", internalType: "address", type: "address" },
3147
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
3148
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
3149
+ ],
3150
+ name: "InvalidMerkleProof"
3151
+ },
3079
3152
  { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
3080
3153
  { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
3154
+ { type: "error", inputs: [], name: "SaleEnded" },
3155
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
3156
+ { type: "error", inputs: [], name: "WrongValueSent" },
3081
3157
  {
3082
3158
  type: "event",
3083
3159
  anonymous: false,