Function: addFeeConfig(address depositContract, address depositToken, uint16 fee, bool enabled)
This function is used to add a new fee configuration without a fee recipient. 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.
feeControl: Arbitrary.
Constraints: Value between zero and 10,000.
Impact: Fee in basis points.
enabledControl: Arbitrary.
Constraints: None.
Impact: Boolean value to determine if the fee configuration is enabled.
Branches and code coverage
Intended branches
Update the fee configuration.
Negative behavior
Revert if the caller is not the contract owner.
Revert if the fee is greater than 10,000.