GimbalElysiumElysiumHYPEHYPE

How it works

The coin stays yours. A short on Hyperliquid takes HYPE's moves. Here is the whole mechanism, its limits and its risks.

What a-coins are

Every Elysium coin trades against HYPE. Its dollar price is its price in HYPE times HYPE's price, so holding it is two positions in one. Gimbal wraps a coin into its a-version (MONTRA into aMONTRA). The vault keeps your coins and holds a HYPE short on Hyperliquid sized to their HYPE value. The short's dollar gains and losses cancel the HYPE part, so an a-coin moves with the coin against HYPE and nothing else.

How a wrap works

  1. WrapDeposit coins, receive the same number of a-coins. One a-coin is always backed by one coin in the vault.
  2. HedgeThe vault sends a HYPE short through Iris to Hyperliquid, sized to the HYPE value of every coin it holds, at most 3x the desk's margin.
  3. MarkEvery wrap, unwrap and keeper check reads HYPE's mark from Iris and books the short's gain or loss to every a-coin equally, with fees and hourly funding.
  4. UnwrapBurn a-coins, get the same number of coins plus or minus their hedge PnL: a gain is paid in HYPE, a loss is kept as a slice of the coins.

A worked example

100,000 coins at 0.01 HYPE with HYPE at $30 is a $30,000 bag and a 1,000 HYPE short. If HYPE goes to $39, the raw bag is worth $39,000 and the short lost $9,000, so unwrapping returns coins worth $30,000 at the new price, less the $15 fee. If HYPE goes to $21 instead, all your coins come back plus 428.57 HYPE ($9,000). Either way you keep what the coin did against HYPE.

Limits the contract enforces

  • 3xLeverage cap on the desk's margin. Past it the vault hedges only what the cap allows.
  • 20%Margin under 20% of the short: the target drops to 1.5x and the keeper buys back.
  • 10%Margin under 10%: anyone may start the emergency unwind.
  • 120 sOldest HYPE price a wrap accepts.
  • CapsPer-address and total wrap caps. New vaults start at zero.
  • ExitUnwrapping works in every mode, even with a silent oracle.

Powered by Iris

Gimbal reads HYPE prices from the Iris oracle on Elysium mainnet. HYPE is asset id 159.

Iris pushes a new price when HYPE moves 0.25%, and at least every 60 seconds. A signed price can also be pulled into your own transaction as a payload. Each price needs 2 of 3 Iris signers. A price that is stale, or that jumps too far from the last one, makes the transaction revert.

Hedge orders go to Hyperliquid through the Iris order lane. That contract is deployed on mainnet but stays closed until the audit, so wrapping opens after that.

More at irisoracle.xyz and in the Iris docs.

Risks, plainly

You give up HYPE's gains too
Hold the coin, not the HYPE. The short cancels HYPE's moves in both directions. If HYPE falls, your a-coin is spared the loss. If HYPE rallies, your a-coin misses the gain. Only wrap if you want the coin's move against HYPE and nothing else.
The hedge desk is trusted
The desk posts the USDC margin on Hyperliquid, funds the HYPE reserve that pays positive PnL, and declares its collateral to the vault. The contract cannot see Hyperliquid balances. If the reserve runs short, what you are owed is recorded and paid when it is topped up.
One shared Hyperliquid account
Iris places every hedge from one Hyperliquid account. Gimbal tracks its own short on chain, but the margin behind it is shared with other Iris users.
Hedge lag
The short is resized when it drifts 5% from target and the change is at least $10, Hyperliquid's minimum. Between resizes you carry a little HYPE exposure, and very small vaults may be unhedged.
Pool price
The coin's price in HYPE is a time-weighted average from its pool. A thin pool can still be pushed over a whole window. Busy pools that keep little history get a shorter window.
Coin crash with HYPE rally
If the coin falls hard against HYPE while HYPE rises, before the short is resized, a share's hedge loss can exceed its coins. The share then returns nothing and the desk absorbs the rest.
Signers and keeper
Iris signers sign prices and fills; a dishonest majority could post wrong ones. The keeper reports funding (capped per day) and can replay a stuck fill (bounded by the order).
New code
Gimbal and Iris are new and not yet audited. Wrapping stays closed on mainnet until the audit is done and the hedge can run.

Before wrapping opens

  1. Contract auditThe Gimbal vault, the TWAP price source and the Iris order path are reviewed by an outside auditor.
  2. Iris order lane opensIris starts carrying hedge orders from Elysium to Hyperliquid. Prices already stream on mainnet.
  3. Hedge margin postedUSDC margin for the HYPE short goes onto the Hyperliquid account Iris trades from.
  4. Keeper switched onThe keeper that keeps each short sized to its coins starts, with small wrap caps first.