<!-- canonical: https://0xsimao.com/findings/vertex-ownable2-step-preferred-ownable -->

# Ownable2Step is preferred over Ownable

Low/Info · Three Sigma · Hybrid orderbook DEX · 3rd April 2024

Finding 3S-Vertex-L15 of the Vertex security review.

- Report: /reports/vertex
- Source: https://github.com/0xsimao/audits/blob/main/Three%20Sigma/2024-04-03-vertex.pdf

---

### Description

[Ownable2Step](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable2Step.sol) places some important checks, such as a 2 step ownership transfer
procedure and should be preferred over [Ownable](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol).

### Recommendation

Replace Ownable2Step by Ownable whenever possible.

### Status

Acknowledged

Disclosed by 0xSimao (https://0xsimao.com/).

---

Related findings:

- [Ownable2Step should be preferred over Ownable](https://0xsimao.com/findings/metazero-i-ownable2-step-preferred-ownable): MetaZero Omnichain NFTs
- [Ownable2Step is preferred over Ownable](https://0xsimao.com/findings/trestle-ownable2-step-preferred-ownable): Trestle wTIA Bridge
- [Ownable2Step is recommended over Ownable](https://0xsimao.com/findings/ostium-ownable2-step-recommended-ownable): Ostium
