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
depositContractControl: Arbitrary.
Constraints: None.
Impact: Address of the deposit contract.
depositTokenControl: Arbitrary.
Constraints: None.
Impact: Address of the deposit token.
enabledControl: 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.