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

Use `Ownable2Step` rather than `Ownable`

Summary

Vulnerability Details

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.

Impact

Code Snippet

File: Lender.sol
10: contract Lender is Ownable {

Tools Used

Manual Review

Recommendations

Use Ownable2Step rather than Ownable

Support

FAQs

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