diff --git a/src/lib/SeaDropErrorsAndEvents.sol b/src/lib/SeaDropErrorsAndEvents.sol index 58b9d0c..a673007 100644 --- a/src/lib/SeaDropErrorsAndEvents.sol +++ b/src/lib/SeaDropErrorsAndEvents.sol @@ -162,71 +162,6 @@ interface SeaDropErrorsAndEvents { */ error InvalidStartAndEndTime(uint256 startTime, uint256 endTime); - /** - * @dev Revert with an error if the signer payment token is not the same. - */ - error InvalidSignedPaymentToken(address got, address want); - - /** - * @dev Revert with an error if supplied signed mint price is less than - * the minimum specified. - */ - error InvalidSignedMintPrice( - address paymentToken, - uint256 got, - uint256 minimum - ); - - /** - * @dev Revert with an error if supplied signed maxTotalMintableByWallet - * is greater than the maximum specified. - */ - error InvalidSignedMaxTotalMintableByWallet(uint256 got, uint256 maximum); - - /** - * @dev Revert with an error if supplied signed - * maxTotalMintableByWalletPerToken is greater than the maximum - * specified. - */ - error InvalidSignedMaxTotalMintableByWalletPerToken( - uint256 got, - uint256 maximum - ); - - /** - * @dev Revert with an error if the fromTokenId is not within range. - */ - error InvalidSignedFromTokenId(uint256 got, uint256 minimum); - - /** - * @dev Revert with an error if the toTokenId is not within range. - */ - error InvalidSignedToTokenId(uint256 got, uint256 maximum); - - /** - * @dev Revert with an error if supplied signed start time is less than - * the minimum specified. - */ - error InvalidSignedStartTime(uint256 got, uint256 minimum); - - /** - * @dev Revert with an error if supplied signed end time is greater than - * the maximum specified. - */ - error InvalidSignedEndTime(uint256 got, uint256 maximum); - - /** - * @dev Revert with an error if supplied signed maxTokenSupplyForStage - * is greater than the maximum specified. - */ - error InvalidSignedMaxTokenSupplyForStage(uint256 got, uint256 maximum); - - /** - * @dev Revert with an error if supplied signed feeBps is greater than - * the maximum specified, or less than the minimum. - */ - error InvalidSignedFeeBps(uint256 got, uint256 minimumOrMaximum); - /** * @dev Revert with an error if signed mint did not specify to restrict * fee recipients. diff --git a/test/ERC1155SeaDrop-mintSigned.spec.ts b/test/ERC1155SeaDrop-mintSigned.spec.ts index 7f02cb2..154959d 100644 --- a/test/ERC1155SeaDrop-mintSigned.spec.ts +++ b/test/ERC1155SeaDrop-mintSigned.spec.ts @@ -686,7 +686,7 @@ describe(`ERC1155SeaDrop - Mint Signed (v${VERSION})`, function () { ).to.be.revertedWithCustomError( marketplaceContract, "InvalidContractOrder" - ); // InvalidSignedFeeBps + ); // InvalidFeeBps }); it("Should allow delegated payers to mint via the DelegationRegistry", async () => { diff --git a/test/ERC721SeaDrop-mintSigned.spec.ts b/test/ERC721SeaDrop-mintSigned.spec.ts index f00ed00..7e62aca 100644 --- a/test/ERC721SeaDrop-mintSigned.spec.ts +++ b/test/ERC721SeaDrop-mintSigned.spec.ts @@ -672,7 +672,7 @@ describe(`ERC721SeaDrop - Mint Signed (v${VERSION})`, function () { ).to.be.revertedWithCustomError( marketplaceContract, "InvalidContractOrder" - ); // InvalidSignedFeeBps + ); // InvalidFeeBps }); it("Should allow delegated payers to mint via the DelegationRegistry", async () => {