NEMESISDocs
The gameHow backing works

How backing works

Backers are the other side of every short. You deposit HYPE into one coin's book. When a short opens, the book locks an amount of your free HYPE equal to the stake you cover. At settlement you get that HYPE back plus or minus the result, plus the premium and half the fee.

What you earn and what you risk

For each ticket, the backers who covered it receive, together:

backers receive = 2 × stake − payout + premium + (fee − ⌊fee / 2⌋)
They had locked stake, so their net result is stake − payout + premium + fee share.
  • Coin flat or up: payout is at most the stake, so backers keep the premium, the fee share and the shorter's loss.
  • Coin down: payout is above the stake and backers pay the difference. The worst case is a fall to zero, where the payout is twice the stake and backers lose the locked amount minus the premium and fee share.
  • Ticket voids: the locked HYPE is released untouched. See Settlement and refunds.

Positions

Each deposit is its own position, with its own ID, owner, coin and deposit time. A position tracks:

  • free: HYPE you can withdraw (after the delay) or that new shorts can lock.
  • locked: HYPE currently covering open tickets.
  • deposited and withdrawn: running totals, for display.

Settlement credits go straight back into the position's free balance, so earnings can cover the next short without you doing anything.

FIFO matching across up to 8 positions

Each book keeps a queue of positions that have free HYPE. When a short opens, the contract walks the queue from the front and locks HYPE until the stake is covered:

  1. Take the first position in the queue. Lock the smaller of its free HYPE and what is still needed.
  2. If that position is now empty, it leaves the queue.
  3. Move to the next position and repeat.

Each locked piece is a slice. One ticket can have at most 8 slices. If covering the stake would need a ninth position, the short reverts with NotEnoughBackers, even if more free HYPE sits further back in the queue.

New deposits join the back of the queue. A position that was emptied and then gets HYPE back at settlement also rejoins at the back.

At settlement each slice receives its pro-rata share: backers receive × slice / stake, rounded down, with the last slice taking the rounding remainder.

The 24 hour withdraw delay

You can withdraw free HYPE from a position once withdrawDelay has passed since that position's deposit time. Today that is 24 hours. After that you can withdraw any free amount, any time.

  • The delay is measured from the deposit, not from each settlement credit.
  • Locked HYPE cannot be withdrawn. It frees up when the tickets it covers settle, at most 24 hours and 5 minutes after they opened, plus the time until someone calls settle.
  • The delay is read from the current parameters when you withdraw. The timelock can change it, within a hard maximum of 7 days.
  • Withdraw can never be paused.

Caps

  • Minimum deposit: 0.08 HYPE today.
  • Book cap: a coin's book can hold at most 15.5 HYPE in free plus locked HYPE today.
  • Global cap: all books together can hold at most 78 HYPE today.

Deposits that would go over a cap revert with CapExceeded. Live values are on Parameters.