sharesActionTimelock
config option defines the seconds that must pass between a user's most recent deposit and their next transfer or redemption. Though 1 second is enough to prevent flash and sandwich exploits, the longer the sharesActionTimelock
, the less of a guarantee that an arbitrage opportunity will remain open at the allowed time of redemption.EntranceRateBurnFee
, which burns a % of the shares minted during deposit.VaultProxy
(e.g., an airdrop) and unclaimed "external rewards" (e.g., accrued COMP
rewards) (see "Holdings and Shares").COMP
), managers are advised to track any reward token that they expect to earn ASAP, e.g., track COMP
as soon as you lend or borrow via Compound for the first time.redeemSharesForSpecificAssets()
redemption option can be arbitraged, by withdrawing one or more assets that are priced "too low" relative to other assets in the fund.sharesActionTimelock
prevents a user who is yet to hold shares from exercising this arbitrage opportunity, current investors for whom the timelock has expired can redeem at any time.FeeHook.RedeemSharesForSpecificAssets
(i.e., not on in-kind redemption) that burns a % of shares being redeemed.PolicyHook.RedeemSharesForSpecificAssets
and PolicyHook.PreTransferShares
) can only be added upon setup / migration / reconfiguration