Using draft versions is not recommended for productions. Additionally, the non draft version is already available
The contract imports and uses draft versions of external libraries, which are not intended for production use and may contain untested or unstable code. This could expose the system to vulnerabilities or unexpected behavior.
The contract imports external libraries without specifying their exact versions, allowing for draft or development versions to be included. Draft versions are not thoroughly tested and may lead to unintended vulnerabilities or instability when used in a production environment.
Using draft versions of libraries in a production environment can result in unreliable behavior, unanticipated vulnerabilities, and potential loss of user funds or system functionality.
Manual
Use actual non draft version of ERC20Permit
Always use stable and well-tested versions of external libraries when deploying contracts to a production environment. Specify the exact versions of libraries in your import statements to ensure that only trusted and thoroughly reviewed code is utilized.
In the above code snippet, the contract imports the SafeERC20 library without specifying the version. It is recommended to use specific stable versions of libraries instead of relying on draft versions.
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.