Perps docs

How a position is opened, what it pays, when it is liquidated, where the fees go, what $BRM is, and who you are trusting.

What this is

Synthetic perpetuals on Elysium, margined and settled in HYPE. There is no order book and nothing is hedged anywhere: every position is a bet between you and one pool, at the mid price of Hyperliquid's own book.

Markets
BTC-PERP, ETH-PERP, HYPE-PERP, SOL-PERP, KNTQ-PERP
Leverage
Up to 1000×
Margin
HYPE, isolated per position
Price
Hyperliquid's mid, with no spread — of the perp's book, and for KNTQ of its spot pair's
Funding
None
Fee on size
None
Fee on a win
2% of the profit
Fee on a loss
2% of the loss, out of what the pool takes in — nothing on top of the loss
$BRM
100 for every $1 you lose

A position ends one of three ways:

Lost
The loss stays in the pool; the rest of your margin comes back. The loss earns $BRM.
Liquidated
The price touched the liquidation price; the whole margin stays in the pool. It earns $BRM as a loss of the whole margin.
Won
Your margin comes back, and the pool owes you the profit: paid at once, or queued while the pool is short.

Opening and closing

Elysium cannot read Hyperliquid's book, so you do not trade — you ask. Long or Short sends one transaction that records the request and takes the margin; a keeper then fills it at the first mid it sees after your transaction. Closing works the same way. It usually takes a few seconds.

You never pick the price
The fill is the next mid, not the one on screen when you clicked.
Max slippage
The worst entry you accept. If the mid has moved past it by the fill, the margin is returned instead.
Cancelling
An open or a close can be taken back only 60 seconds after it was asked for. An open can be taken back at once while new positions are paused or its market is retired.
Not filled in time
An open not filled within 60 seconds is no longer filled; its margin comes back.
Waiting opens
At most 8 per address and 256 in all; past that a new one is refused until some are filled.
Where the margin comes from
Your perps balance first, the rest from your wallet in the same transaction.
Note

The minute before a request can be cancelled is deliberate: a request that could be withdrawn on sight of the next tick would be a free option against the pool.

An open is refunded in full when it was cancelled, was not filled in time, the price went past your limit, it would put its side of the market over the cap, new positions were paused or the market retired, or the keeper could not fill it.

Margin and liquidation

Each position is isolated: one margin, one leverage. The margin is all it can lose, and it cannot be topped up or trimmed afterwards. The size is margin × leverage.

The liquidation price is fixed at the fill and sits 0.05% of the entry before the point where the margin would be gone:

long: liq = entry × (1 − 1 / leverage + 0.05%)
short: liq = entry × (1 + 1 / leverage − 0.05%)
LeverageMove against you that liquidatesLoss at that price
2×49.95%99.9% of the margin
10×9.95%99.5% of the margin
50×1.95%97.5% of the margin
100×0.95%95% of the margin
250×0.35%87.5% of the margin
500×0.15%75% of the margin
1000×0.05%50% of the margin

A liquidation takes the whole margin all the same: the difference is the buffer, and it is the pool's. At 1000× a move of 0.05% liquidates a position whose loss at that price is 50% of its margin.

On the trade page the chart draws this price for the order you are typing, before you send it, and for every position you have open. When the price touches it, the keeper liquidates the position.

What a win pays

A win does not pay the raw move. This is where the pool's edge is — instead of in a spread, which a 1000× position could not carry. What comes off, in this order:

Deadband
The move is read 0.20 bp shorter. A move within it pays nothing.
Holdback
None on any market now.
Curve
The profit is scaled by (1 − base rate) × move / (move + K): little of a tiny move, nearly all of a large one, never more than 1 − base rate. Each market has its own K.
Ceiling
A market can cap a win at so many margins before the fee. None does now.
Win fee
2% of what the curve leaves, taken when the pool pays the win in full.
move = |exit − entry| / entry
read = move − deadband − holdback(move)
profit = size × read × (1 − base rate) × read / (read + K), at most margin × ceiling
you get = profit × (1 − win fee)

The share of the raw profit (size × move) you keep, by how far the price moved your way:

Move your wayBTCETHHYPESOLKNTQ
0.05%—————
0.1%—————
0.5%—————
1%—————
2%—————
5%—————
10%—————
At most—————

A position keeps the terms it was filled with: the curve, the deadband, the holdback, the ceiling, the win fee and its liquidation price. If the settings change later, they apply to positions opened afterwards. The fee on a loss is the one in force when the position closes.

Fees and where they go

Opening, closing, size
No fee. You pay the network's gas for your own transactions.
Spread, funding
None.
Win
2% of the profit, after the curve, taken when the pool pays the win in full at once. A win that has to wait in the queue pays no fee: that part stays in the pool.
Loss
You lose the loss and nothing more. 2% of it goes from the pool to fees, and only while nobody is waiting in the queue; with a queue, all of it goes to the queue.
Ceiling
No fee can be set above 10%.

Fees build up in the exchange until anyone sends them on to the fee recipient named in the contract.

The pool and the queue

The pool starts at zero and is made of what traders lose. A win it can pay is paid at once, to your perps balance. A win it cannot pay in full is put in a first-in, first-out queue for the part that is missing.

Who is paid first
The front of the queue. Every later loss pays up to 8 entries on its way in; anyone can pay more (harvest).
Nobody jumps it
Not a later winner, and not the fees: while there is a queue, no fee is taken from a loss.
Your margin
Never queued. It comes back with the close; only the profit can wait.
Your balance
Money in your perps balance is yours alone and is not part of the pool.
Ceiling
What sits above the ceiling can be sent to the fee recipient and on to the reserve fund.
Reserve fund
A wallet, not a contract. It can put money back into the pool; nothing obliges it to.
Adding to the pool
Anyone can give HYPE to the pool (fundLp). It is a gift, not a deposit: it cannot be taken back.
Changing the ceiling
Raised at once. Lowered only 3 days after it is announced, and within 7 days after that or not at all.

The pool, the queue and what is open against the pool are on the stats page, live.

$BRM

Every loss earns $BRM, a liquidation included: 100 for every dollar lost, counted at the last price of HYPE a keeper said. A win earns none.

Pool bonus
While the queue is owed more than the pool holds, the part of a loss that pays that debt counts up to 5 times: ×1 when the pool goes under, ×3.22 after a day, ×4.56 after two, ×5 from the third — and ×1 again the moment the pool is whole. The rest of the loss counts once.
Pool bonus now
×1 while the pool can cover the queue.
Moving it
It is credited in your perps session. Transfers are closed. A holder can burn their own, and that is all.
What it is for
The platform's 20% of every launchpad swap fee buys $BRM and burns it. Staking for a share of fees is planned: no staking contract is deployed, and no rate is set.

Your balance and the latest mints are on the $BRM page.

Markets and limits

MarketMax leverageMax sizePer sideBase rateKDeadbandHoldbackMax win
BTC-PERP1000×————0.20 bpNoneNo cap
ETH-PERP1000×————0.20 bpNoneNo cap
HYPE-PERP1000×————0.20 bpNoneNo cap
SOL-PERP1000×————0.20 bpNoneNo cap
KNTQ-PERP1000×————0.20 bpNoneNo cap
Minimum margin
0.1 HYPE
Minimum size
0.1 HYPE × leverage
Per side
Each market has a cap on all longs and on all shorts; a full side takes no new opens.
Retired market
Frozen for good at the last price a keeper said. Every position in it can be settled at that price, by anyone.

What you are trusting

  • The keeper says the price. A keeper that lies could liquidate open positions and pay itself from the pool. The contract's checks — the price's age, how far it may be from the last one, your own limit — catch a broken keeper, not a hostile one.
  • The pool may be short when you win. Then your profit waits in the queue until later losses pay it. There is no promise of when.
  • If the keeper stops, positions cannot be closed until the market is retired. A retired market freezes at the last price said, and everyone settles against that without the keeper.
  • High leverage is liquidated by noise. At 1000× a move of a few hundredths of a percent takes the whole margin.
  • $BRM is the owner's to shape. The token's owner names who may mint it, so how many there are is in the end the owner's call. So is where the stakers' share of the fees goes once there is staking: the contract cannot tell a staking contract from any other address.

What the code in place now does not allow: anyone but you withdrawing your perps balance — not the keeper and not the owner. The owner sets the curve, the fees, the caps and the keepers for positions opened afterwards, and cannot reach margins or the queue. The pool is reached only above its ceiling, and what is there goes to the fee recipient and on to the reserve fund, both named by the owner. The guardian can pause new positions and retire a market; pausing does not stop closes, liquidations or withdrawals.

Contracts

BoromePerps
0xaa48115f49F747b1fF8f75732FF1336613417ba8

The exchange: balances, positions, the pool.

Fee recipient
—

Takes the fees.

$BRM
—

The points token.

Owner
—

Sets the markets, the fees, the caps and the keepers.

Guardian
—

Can pause new positions and retire a market.