Assessment reports>Polyhedra DVN>Threat Model>setFeeManager

Function: setFeeManager(address feeManager_, bool enabled_)

Enables and disables the ability of certain callers to call setFee. Callable by the owner only.

Inputs

  • feeManager_

    • Control: Full.

    • Constraints: None.

    • Impact: The address to change the configuration of.

  • enabled_

    • Control: Full.

    • Constraints: Must not be equal to the current state for the fee-manager address.

    • Impact: The new configuration value to use.

Branches and code coverage

Intended branches

  • Successfully modifies the fee-manager configuration.

Negative behavior

  • The feeManager_ is a zero address.

  • The enabled_ equals the current state for that address.

Zellic © 2025Back to top ↑