Assessment reports>Falcon Finance>Threat Model>cooldownAssets

Function: cooldownAssets(uint256 assets, address owner)

This function withdraws assets with a cooldown period.

Inputs

  • assets

    • Control: Fully controlled by the caller.

    • Constraints: N/A.

    • Impact: Amount of assets to withdraw.

  • owner

    • Control: Fully controlled by the caller.

    • Constraints: N/A.

    • Impact: Address of the owner of assets.

Branches and code coverage

Intended branches

  • Set owner's cooldownEnd to current block.timestamp plus cooldownDuration.

  • Add owner's underlyingAmount amount of assets.

  • Call parent's withdrawal for silo, which receives withdrawals.

Zellic © 2025Back to top ↑