Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 753 Bytes

dharma09-Q.md

File metadata and controls

8 lines (7 loc) · 753 Bytes

[L‑01]_safeMint() should be used rather than _mint() wherever possible

_mint() is discouraged in favor of _safeMint() which ensures that the recipient is either an EOA or implements IERC721Receiver. Both OpenZeppelin have versions of this function.

There is 1 instance of this issue: L2StandardERC20.sol

103.    _mint(_to, _amount);