Function: cooldownShares(uint256 shares, address owner)
This function redeems shares with a cooldown period.
Inputs
sharesControl: Fully controlled by the caller.
Constraints: N/A.
Impact: Amount of shares to redeem.
ownerControl: 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
cooldownEndto the currentblock.timestampandcooldownDuration.Add the owner's
underlyingAmountamount of assets that return redemptions.