Skip to content

Instantly share code, notes, and snippets.

@cygaar
Created August 10, 2022 17:49
Show Gist options
  • Save cygaar/6841c57b35ea2e1d7f2ca658186fa1de to your computer and use it in GitHub Desktop.
Save cygaar/6841c57b35ea2e1d7f2ca658186fa1de to your computer and use it in GitHub Desktop.
error SteveAokiNotAllowed();
address public STEVE_AOKI = 0xe4bbcbff51e61d0d95fcc5016609ac8354b177c4;
function transferFrom(
address from,
address to,
uint256 tokenId
) public override {
if (to == STEVE_AOKI) {
revert SteveAokiNotAllowed();
}
super.transferFrom(from, to, tokenId);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment