code-423n4 / 2022-06-putty-findings

5 stars 0 forks source link

Upgraded Q -> M from 316 [1657933321396] #462

Closed code423n4 closed 1 year ago

code423n4 commented 1 year ago

Judge has assessed an item in Issue #316 as Medium risk. The relevant finding follows:

HickupHH3 commented 1 year ago
  1. _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 open OpenZeppelin and solmate have versions of this function so that NFTs aren’t lost if they’re minted to contracts that cannot transfer them back out.

dup of #327