v4-core icon indicating copy to clipboard operation
v4-core copied to clipboard

EIP-173 for Owned.sol

Open z0r0z opened this issue 2 years ago • 2 comments

Component

No response

Describe the suggested feature and problem it solves.

Contract ownership discoverability benefit. Reasons no?

Describe the desired implementation.

No response

Describe alternatives.

No response

Additional context.

No response

z0r0z avatar Jun 13 '23 22:06 z0r0z

It would also be recommended to use the 2-step ownership model to prevent any mistakes during transfer: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable2Step.sol or if you want to cut down on gas https://github.com/Vectorized/solady/blob/main/src/auth/Ownable.sol

zerosnacks avatar Jun 14 '23 09:06 zerosnacks

+1 on using Solady. If v4 could be part of audit push on Solady it would be a nice boost to eco overall as well.

z0r0z avatar Jun 15 '23 15:06 z0r0z