Assessment reports>MightyNet>Discussion>Transfer restriction logic omitted in ERC721Restrictable

Transfer restriction logic omitted in ERC721Restrictable

The ERC721Restrictable abstract contract provides hooks for checking whether a token is restricted, but using these checks to restrict transfers is left as the responsibility of concrete implementations. This may result in some duplicated logic and maintenance risk. We recommend adding the relevant logic to this or another abstract class for future assets to inherit.

Zellic © 2024Back to top ↑