Assessment reports>Beefy UniswapV3>Threat Model>setDeviation

Function: setDeviation(int56 _deviation)

Allows owner to set the deviation from the TWAP upon adding liquidity.

Inputs

  • _deviation

    • Control: Fully controlled by the owner.

    • Constraints: No constraints.

    • Impact: The deviation from the TWAP we will allow on adding liquidity.

Branches and code coverage

Intended branches

  • Update the value of deviation.

Negative behavior

  • Should not be callable by anyone other than the owner.

Zellic © 2024Back to top ↑