Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low
Valid

Use `Ownable2Step` rather than `Ownable`

Summary

Use Ownable2Step rather than Ownable

Vulnerability Details

Ownable2Step](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/3d7a93876a2e5e1d7fe29b5a0e96e222afdc4cfa/contracts/access/Ownable2Step.sol#L31-L56) 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

File: src/ProxyFactory.sol
37: contract ProxyFactory is Ownable, EIP712 {

37

Tools Used

Personal bot

Recommendations

Support

FAQs

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