Exit position in two steps: request & bridge. Funds are unlocked bucket-by-bucket, then bridged back to HyperEVM as USDC.
Withdrawals can only pull from buckets whose 4-day lock has expired. Large exits may span multiple epochs if liquidity is still locked. No withdrawal will take longer than 4 days.
Tracks each user’s pending withdrawal: USD amount, equity snapshot, stage.
{ uint64 usd; uint256 preEq; WdrStage st; } — see enum WdrStage below.
NONE · REQUESTED · BRIDGED (two-step process).
User burns their tHLP shares and signals intent to exit. Contract gathers unlocked buckets and bridges funds out of HLP.
function withdrawRequest(uint256 shares) external nonReentrant;Caller completes withdrawal once Hyperliquid transfer arrived — USDC is sent back on HyperEVM and Wdr stage updated.
function withdrawBridge() external;