Function: setEnabled(address depositContract, address depositToken, bool enabled)
This function is used to set the enabled status of 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.
enabled
Control: Arbitrary.
Constraints: None.
Impact: New enabled status.
Branches and code coverage
Intended branches
Update the enabled status.
Negative behavior
Revert if the caller is not the contract owner.
Revert if the fee configuration does not exist.