15,000 USDC
View results
Submission Details
Severity: low

Use `Ownable2Step` instead of Ownable in `DecentralizedStableCoin`

Description

DecentralizedStableCoin is Ownable meaning that it has an owner address with special privileges. This role can be transferred. When transferring, in order to assure the role is not mistakenly given to the wrong address it is better to use a 2 step routine (the current owner initiates and the new owner must accept) in order to guard against such mistakes.

Recommend Mitigation

Use Ownable2Step from OpenZeppelin instead of Ownable

Support

FAQs

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