Assessment reports>StaFi>Threat Models>transferDelegationBalancer

Function: transferDelegationBalancer(address _newDelegationBalancer)

Allows the transfer of the delegation balancer role to a new address.

Inputs

  • _newDelegationBalancer

    • Control: Fully controlled by the owner.

    • Constraints: Checked that it is not the zero address.

    • Impact: The address of the new delegation balancer.

Branches and code coverage (including function calls)

Intended branches

  • Sets the delegationBalancer variable to the new address.

Negative behavior

  • No one other than the current admin should be able to call this function. Ensured through the onlyAdmin modifier.

Zellic © 2024Back to top ↑