How it works

A basket is a claim on a book.

Elevity never trades on any exchange. Every basket is a set of synthetic positions on Hyperliquid markets, priced by signed Hyperliquid oracle prices and margined in native HYPE against one shared house on Elysium. This is the mechanism, in the order it matters.

What a basket is

A basket is one to five legs and one leverage. Each leg is a Hyperliquid market (a crypto perp, or an xyz stock, index or commodity) and a signed weight in basis points; the absolute weights sum to 10,000. Legs fill from the first slot and unused slots are empty. Leverage is in basis points too, so 20,000 is 2x. The basket ships as an ERC-20 whose supply is minted and burned only by the Elevity contract.

What the basket holds is a set of positions: for each leg, a number of units and the HYPE notional they were entered at. Its net asset value is its HYPE collateral plus the unrealised profit or loss on those units at the latest price, less any funding owed. One share is worth NAV divided by supply, in HYPE.

HYPE margin, dollar returns.

A position is sized in HYPE and pays its market's dollar return: 1 HYPE long BTC gains 0.1 HYPE when BTC rises 10%. A basket's value in HYPE follows its legs. Its value in dollars is that times the HYPE price, so it also moves with HYPE.

Mint and redeem

Mint sends HYPE in. On a basket's first mint the legs are opened at the target weights and leverage. On every later mint each existing position is scaled up by the same fraction the new money is of NAV, so a mint never changes anyone else's exposure: if the basket had drifted to 2.3x, the new money is entered at 2.3x. The open fee, 0.10% of the notional added, comes out of the HYPE sent.

Redeem burns shares and scales every position down by the same fraction, realising that fraction of the PnL against the house and paying out HYPE, less a 0.10% close fee on the notional closed.

Both carry fresh signed prints for the legs they touch, so they are priced in the same transaction they happen in. The desk fetches the prints for you right before it sends.

Prices

Each leg's price is Hyperliquid's oracle price for that market. The Elevity feed signs it as an EIP-712 Print(id, price, ts) with one key fixed when ElyxOracle is deployed. The key never sends a transaction; anyone may post prints, and the engine's own functions take prints as an argument and post them first.

  • A print must carry the feed key's signature, for a listed market.
  • It may be at most 5 minutes ahead of the chain clock.
  • A print no newer than the stored one is skipped, not reverted.
  • It may move the price at most 30% from the stored one, unless that one is over a day old.

A stored price is fresh for 120 seconds. Minting, rebalancing and liquidating need every price they touch to be fresh. Redeeming does too, with one exception: if a held leg has had no print for a full day, redeem pays at the last price, so a dead feed never locks anyone in.

Keeping it on target

Prices move, so a basket drifts off its weights and off its leverage. rebalance marks every position at the latest price, realises the PnL into collateral, and reopens every leg at target. The fee, 0.10%, is charged on turnover only: what would actually have traded.

  • The manager may call it at any time, at most once an hour.
  • Anyone may call it once any leg, or the leverage itself, is 10% off target, or once a proposal has landed.
  • A basket that has been closed to cash is only re-levered by its manager.

This is what keeps a losing basket from creeping toward liquidation: as equity falls and live leverage rises past 110% of target, the public rebalance brings it back down. A keeper runs this check every minute.

Liquidation

If a basket's equity falls through 7.5% of its gross notional, anyone may liquidate it. A liquidation closes every leg to cash and pays the liquidator half the maintenance buffer out of what is left. The shares survive and now hold that cash; the manager may re-lever.

Holders never owe anything.

A loss beyond the collateral is the house's, recorded on chain in writtenOff.

The two promises

Leverage cannot be raised

MAX_LEVERAGE_BPS = 30_000 is a constant in the bytecode. Below it, each basket carries a levCapBps chosen at launch. Every proposal is checked against it, and lowerCap, the only function that touches it, only lowers it. If a cap is lowered under the target, the target is clamped and the basket flagged for a public rebalance.

Every change lands a day later

The manager cannot set anything directly. Legs, weights, leverage and fee go through propose, wait TIMELOCK = 24 hours, and land through execute, which anyone may call for the week after. Handing the basket to a new manager is the same shape. The proposal is public state and the desk shows the countdown, so a holder who dislikes what is coming can redeem before it arrives.

The house

HYPE in the house is the counterparty. Longs and shorts across all baskets net against each other per market, and only the residual skew is the house's book. skewCapBps bounds that skew against house assets, and a withdrawal that would leave the book bigger than the cap is refused.

Funding is the skew fee alone. Per market, the heavy side pays and the light side receives at one rate proportional to how one-sided that market is, 0.05% an hour at full skew. The house keeps the difference.

The house also earns the open, close and rebalance fees, less the treasury's 20%. When baskets win, the house pays, and it never pays more than it holds: a shortfall is recorded as badDebt.

Parameters

NameValueSet by
Legs per basket1 to 5constant
Leverage ceiling3xconstant
Leverage floor0.1xconstant
Maintenance7.5% of grossconstant
Public rebalance drift10%constant
Timelock24h, lapses after 7dconstant
Manager fee ceiling2% a yearconstant
Price freshness120 sconstant
Most one print can move30%constant
Redeem escape hatchafter 1 day of feed silenceconstant
First house depositat least 0.1 HYPEconstant
Open, close, rebalance fee10 bps of notionalowner, capped at 100
Funding at full skew0.05% an hourowner, capped at 0.15%
Treasury share of fees20%owner, capped at 50%
Skew cap100% of houseowner, capped at 200%

What is still trusted

  • The feed key. Within the 30% per-print band it could sign a wrong price, and the house would pay or collect on it. It is fixed at deployment and can never be replaced.
  • The owner of Elevity lists markets, sets the fee and funding parameters inside their caps, and can pause a market, which blocks new risk into it but never a redeem.
  • None of it is audited. Leverage loses money faster than it makes it, and HYPE moves the dollar value of everything here.

Addresses

Elevity shipped under the working name Elyx, and the chain keeps it: the contracts are named Elyx and ElyxOracle, and price prints are signed under the EIP-712 domain "Elyx". Those names cannot change; the addresses below are the ones to check.

Elysium, chain id 99901. Margin is native HYPE.