Assessment reports>WOOFI Stake>Threat Model>deposit

Function: deposit()

This allows depositing into the Aave strategy.

Branches and code coverage

Intended branches

  • Assume that funds have already been transferred in the strategy.

  • Deposit the funds in the Aave Pool on behalf of the strategy.

Negative behavior

  • Should not allow anyone other than the vault to call this function. Currently not enforced.

Zellic © 2024Back to top ↑