20,000 USDC
View results
Submission Details
Severity: gas
Valid

Avoid draft imports

Summary

Avoid draft imports

Vulnerability Details

These contracts are based on unfinalized EIPs, and their "draft" status means that they may have breaking changes in even minor releases

6 import {ERC20Permit} from "openzeppelin-contracts/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";

https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Beedle.sol#L6

Impact

Low

Tools Used

Manual review

Recommendations

Avoid using contracts that are not fully tested and might have big changes in the future

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!