How it works
Each part below notes what runs today.
1. A full-range HYPE / USDC position on Montra#
The strategy contract holds one full-range position in Montra's hookless HYPE / USDC pool (Uniswap v4, 0.30% fee). Full range never goes out of range but earns less per dollar than a narrow range.
The vault keeps about 10% as idle USDC for small withdrawals.
Today: the keeper step that moves idle funds into the pool (deployIdle) is not running, so the position is empty.
2. A HYPE short on HyperCore#
Half the position is HYPE. A HYPE perp short of the same size cancels that. The hedge module sets the size:
- Target short = the HYPE the vault holds (idle plus in the pool) times the hedge ratio, which is 100%.
- The short is only resized when it drifts more than 2% from the target.
- Each order is at most 200 HYPE, the short is at most 1,000 HYPE, and at most $250,000 can be traded per day.
- If the share price falls 5% below its high, anyone can freeze further increases of the short. Only the owner can unfreeze.
Funding on the short pays or costs the vault every hour.
Today: no short exists. The keeper simulates rebalance and logs what it would do, but it does not place orders.
3. A keeper and a reporter#
Two bots run on the operator's server:
- The reporter posts the HYPE price to the price feed and posts the HyperCore account value to the hedge module. Deposits and normal withdrawals refuse to run when either is stale (price older than 120 seconds, account report older than 300 seconds).
- The keeper calls
rebalanceon the hedge module. The contract works out the side and size and emits an order. The keeper places that order on HyperCore with a trade-only agent key, then the reporter posts the result back.
Why the contract does not place orders itself#
HyperEVM contracts reach HyperCore through CoreWriter. Elysium does not have it yet, so the keeper places orders off chain inside the contract's limits. A setCoreWriter hook lets the order path move on chain later.
Elysium has no HyperCore read precompile either, so the reporter posts the HYPE price and account value. The feed refuses a post that moves the price more than 10% from a fresh price, and the hedge module refuses an account report that moves equity more than 15% beyond what trading and margin flows explain.
Share price#
The vault values everything in USDC at the feed price: idle USDC and HYPE, the pool position with its unclaimed fees, and the HyperCore account value. The share price is that total divided by the number of shares. It started at 1.0000 USDC per share.