Assessment reports>Falcon Finance>Threat Model>cooldownShares

Function: cooldownShares(uint256 shares, address owner)

This function redeems shares with a cooldown period.

Inputs

  • shares

    • Control: Fully controlled by the caller.

    • Constraints: N/A.

    • Impact: Amount of shares to redeem.

  • owner

    • Control: Fully controlled by the caller.

    • Constraints: N/A.

    • Impact: Address of the owner of shares.

Branches and code coverage

Intended branches

  • Call parent's redemption for silo, which receives redemptions.

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

  • Add the owner's underlyingAmount amount of assets that return redemptions.

Zellic © 2025Back to top ↑