Skip to content

Conversation

@ricorandom
Copy link

Added the pause feature and the import for the ownable contract.

if (
_tradable != true
) {
revert("Transfers are currently disabled");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import "./ERC721M.sol";
import "./OperatorFilter/DefaultOperatorFilterer.sol";

contract ERC721MOperatorFilterer is ERC721M, DefaultOperatorFilterer {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than modifying ERC721MOperatorFilterer, recommend creating a new variant like ERC721MOperatorFiltererPausable which extends ERC721MOperatorFilterer

Also thoughts on using Pausable?

@ricorandom
Copy link
Author

ricorandom commented May 25, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants