Assessment reports>StakeKit FeeWrapper>Threat Model>removeFeeConfig

Function: removeFeeConfig(address depositContract, address depositToken)

This function is used to remove a fee configuration. This function can only be called by the contract owner.

Inputs

  • depositContract

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Address of the deposit contract.

  • depositToken

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Address of the deposit token.

Branches and code coverage

Intended branches

  • Remove the fee configuration.

Negative behavior

  • Revert if the caller is not the contract owner.

  • Revert if the fee configuration does not exist.

Zellic © 2024Back to top ↑