Created
June 1, 2022 17:07
-
-
Save crazyrabbitLTC/4c0fa2bfab0334a36e8575ac0ea5b2ea 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
function _beforeTokenTransfer(address from, address to, uint256 tokenId) | |
internal override(ERC721, ERC721Votes) | |
{ | |
require(from == address(0), "Err: token is SOUL BOUND"); | |
super._beforeTokenTransfer(from, to, tokenId); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment