Assessment reports>BEND v2>Discussion>Consider adopting two-step ownership transfer in MetaFeePartitioner

Consider adopting two-step ownership transfer in MetaFeePartitioner

The MetaMorphoV1_1 contract uses a two-step ownership-transfer pattern via Ownable2Step.

contract MetaMorphoV1_1 is ERC4626, ERC20Permit, Ownable2Step, Multicall, IMetaMorphoV1_1StaticTyping {

By contrast, MetaFeePartitioner inherits OwnableUpgradeable and relies on a single-step transfer, which can mistakenly assign ownership to an address outside the protocol’s control.

contract MetaFeePartitioner is IMetaFeePartitioner, Initializable, OwnableUpgradeable, UUPSUpgradeable {

For consistency and safer ownership handovers, we recommend adopting a two-step transfer pattern in MetaFeePartitioner by inheriting from Ownable2StepUpgradeable instead.

Zellic © 2025Back to top ↑