Assessment reports>Mantle>Threat Models>transferOwnership

Function: transferOwnership(address _newOwner)

Transfers ownership of the contract to _newOwner.

Inputs

  • _newOwner

    • Control: Full.

    • Constraints: Discarded.

    • Impact: The address of the new owner.

Branches and code coverage (including function calls)

Intended branches

  • Successfully transfers ownership if called by the owner.

Negative behavior

  • Reverts if not called by the owner.

Zellic © 2024Back to top ↑