Skip to content
Request an audit

‹ All findings

Ownable2Step is preferred over Ownable

Low/InfoTrestle wTIA Bridge·by the Three Sigma team·Modular blockchain infrastructure·27th January 20243S-TR-L05

Description

Openzeppelin Ownable2Step changes transferOwnership() to a 2 step procedure, which means that to change an owner, first a pending owner is set and only then this account must accept ownership.

This means that it's impossible to set the wrong address as the owner by mistake.

Recommendation

Use Ownable2Step.

Status

Acknowledged.