Use safeMint instead of mint in Solidity contracts for enhanced security. safeMint ensures tokens are only minted to valid, non-zero addresses, preventing accidental loss of tokens.
In Solidity contracts, safeMint should be preferred over mint to improve security and error handling during token creation. Unlike the basic mint function, safeMint performs additional checks and validations to ensure tokens are only minted to valid, non-zero addresses. This prevents the accidental minting of tokens to the zero address, which would make them irretrievable and lead to a loss of value.
Loss of assets
Manual Review
Use safeMint
https://github.com/Cyfrin/2024-05-Sablier/issues/1
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.