For followers
Deposit, hold shares, request an exit, claim at NAV.
On this page
A follower's path is deposit, hold, request, claim. Instant ERC-4626 withdraw and redeem always revert with CooldownRequired. maxWithdraw and maxRedeem return 0.
Deposit
- Approve the vault to spend the asset, or send native HYPE with
depositNativewhen the vault asset is the factory's wrapped native token. - Call
deposit(assets, receiver)ormint(shares, receiver). - The vault crystallizes pending fees, then mints shares.
A deposit reverts if deposits are paused, if any open position has a stale or zero oracle price, or if the amount is zero. depositNative also reverts when the vault asset is not the wrapped native token.
Request a withdrawal
requestRedeem(shares) locks those shares and stores a pending withdrawal. The unlock time is block.timestamp + cooldown. You can have at most 20 open requests. Locked shares cannot be transferred away.
cancelRedeem(id) is available while the request is still pending. It unlocks the shares and marks the request cancelled.
Claim at NAV
After the unlock time, claim(id, asNative) burns the locked shares and pays convertToAssets(shares) of the vault asset. The price is the NAV at claim time, not the NAV when you requested.
The payout is taken from the vault's idle balance of the asset. If that balance is short, the call reverts with InsufficientIdle. The vault does not sell positions to fund your claim. Pass asNative = true only on a wrapped-native vault if you want HYPE unwrapped to your address.