Assessment reports>Origami Finance>Threat Model>setExitFeeRate

Function: setExitFeeRate(uint256 _exitFeeRate)

Sets the percentage of the exit fee. This percentage of tokens will be burned during the exit process, but it will not be included in the calculation of the amount of tokens received.

Inputs

  • _exitFeeRate

    • Constraints: Cannot be more than BasisPointFraction.BASIS_POINTS_DIVISOR.

    • Impact: During the exit process, a certain percentage of tokens will be burned and excluded from the calculation of tokens received.

Branches and code coverage

Intended branches

  • exitFeeRate was updated properly.

Negative behavior

  • Caller has no access to this function.

  • _exitFeeRate is more than BasisPointFraction.BASIS_POINTS_DIVISOR.

Zellic © 2025Back to top ↑