Created
August 10, 2022 17:49
-
-
Save cygaar/6841c57b35ea2e1d7f2ca658186fa1de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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