Function: computeFee(uint256 amount, FeeConfig feeConfig)
This function is used to compute the fee amount based on the deposit amount and fee configuration.
Inputs
amountControl: Arbitrary.
Constraints: None.
Impact: Value of the amount that the fee is computed on.
feeConfigControl: Arbitrary.
Constraints: None.
Impact: Fee configuration.
Branches and code coverage
Intended branches
Calculate the fee amount.