Assessment reports>StakeKit FeeWrapper>Threat Model>computeFeeSplit

Function: computeFeeSplit(uint256 feeAmount, FeeConfig feeConfig)

This function is used to compute the fee split between the fee recipient and the provider.

Inputs

  • feeAmount

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Total fee amount, which is split between the fee recipient and the provider.

  • feeConfig

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Fee configuration.

Branches and code coverage

Intended branches

  • Calculate the fee split.

Zellic © 2024Back to top ↑