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

[L-1] Use `Ownable2Step` rather than `Ownable`

Summary

Ownable2Step and Ownable2StepUpgradeable prevent the contract ownership from mistakenly being transferred to an address that cannot handle it (e.g. due to a typo in the address), by requiring that the recipient of the owner permissions actively accept via a contract call of its own.

Vulnerability Details

Instances (3):

File: src/Beedle.sol
9: contract Beedle is Ownable, ERC20, ERC20Permit, ERC20Votes {
File: src/Lender.sol
10: contract Lender is Ownable {
File: src/Staking.sol
11: contract Staking is Ownable {

Impact

Tools Used

Recommendations

Support

FAQs

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