Assessment reports>Beefy UniswapV3>Threat Model>deposit

Function: deposit()

Allows vault to deposit all liquidity back to their positions.

Branches and code coverage

Intended branches

  • Should update the ticks.

  • Should add liquidity.

  • Trusts the vault in that it assumes the funds have been transferred before calling this function.

Negative behavior

  • Should only be callable by the vault.

  • Should not allow calling this if the strategy is paused.

Zellic © 2024Back to top ↑