hypeball

A ball of staked HYPE that every trade packs tighter. Each swap sheds a little HYPE into it, HYPE's own price decides whether that HYPE is staked or spent burning coins, and the kHYPE behind each coin never goes down.

D = K ÷ S, counted swap by swap
coreshell
DENSITY
kHYPE per coin, K ÷ S
CORE
kHYPE, never spent
SHELL
HYPE resting in the bid
BURNED
coins, every path
ABSTRACT

A coin quoted in HYPE carries two prices at once: its own, and HYPE's. hypeball is built around the second one. The coin trades in a single pool on Elysium with a hook attached, and the hook takes a cut of every swap in HYPE. Part of that cut is staked into kHYPE and never spent. That part is the core. The rest is the shell, and it rests in the pool as a standing bid under the price. On each swap the hook reads how far HYPE has moved in dollars since it last acted. If HYPE has risen, shell is staked into the core. If HYPE has fallen, shell buys the coin and burns it. One number comes out of all this, the density: kHYPE in the core divided by coins in existence. Every path through the contract leaves it where it was or raises it. This page gives the formula, the skim, the two halves of the ball, the slope reading, the rolling bid, calving, and the short list of things the contract cannot do.

The ball

Every swap in the pool passes through the hook before it settles. The hook does five things in a fixed order and then gets out of the way. It measures how far the swap moves the price. It takes the skim. It splits the skim between core and shell. It reads the slope and acts on it if HYPE has moved enough. Last, it checks whether the bid needs to move up.

Nothing in that list waits for a clock. There are no rounds, no daily runs and no keeper that has to wake up. If nobody trades, nothing happens, and the ball sits exactly as the last swap left it. Its history is counted in swaps, not in hours.

swaphookskimcore, kHYPEslopeshell, HYPEbid rangeburn40%60%accretiveablativeabsorbed
the path of one swap. The hook takes the skim in HYPE, stakes two fifths of it into the core and rests the rest in the bid. The slope reading decides whether shell is staked or spent on burns. Coins the bid absorbs are burned.

The contract has no owner function that moves HYPE or kHYPE out, no mint, and no switch that changes the rates below. What goes into the ball leaves it in only three ways: paid to a seller whose coins are then burned, spent buying coins that are then burned, or paid to a holder who burns coins to calve.

Density

The ball answers one question for each coin: how much staked HYPE stands behind it.

D = KS
SYMBOLMEANINGVALUE
KkHYPE held in the coreonly grows, apart from calving
Scoins in existencefixed at deploy, only falls
DdensitykHYPE per coin
kHYPE per kHYPEset by Kinetiq staking
D · kdensity valued in HYPEfollows k

Read it from the top. K goes up when a swap is skimmed and when shell is staked. S goes down when coins are burned. There is no operation that lowers K without lowering S by more, and none that raises S at all, so D cannot fall. A sell does not lower it. A quiet week does not lower it. A falling HYPE price does not lower it, because D is counted in kHYPE and not in dollars.

The HYPE value of that kHYPE is a second reading, D times k. The rate k climbs as staking rewards accrue to kHYPE, so the HYPE behind each coin grows even between swaps. It would drop only if the validators behind kHYPE were slashed. That risk belongs to kHYPE and the site does not pretend otherwise: the number that cannot fall is D in kHYPE.

density after each recorded event
density, event by event. The horizontal axis counts recorded events, not time. The hook keeps the last thirty two. Every step is flat or up.

The skim

The cut is not flat. It grows with the size of the push.

r = min( rmax, r0 + a · I )
SYMBOLMEANINGVALUE
rskim rate on the HYPE side of the swap0.30% to 3.00%
r₀base rate0.30%
aimpact coefficient0.25
Iprice impact of the swappercent, measured by the hook
r maxcap3.00%
1%2%3%02%5%10.8%r max = 3.00%0.30%0.55%0.80%1.55%3.00%skim rate against price impact
the skim. A swap that moves nothing pays 0.30%. Every percent of price impact adds a quarter of a percent, up to the cap of 3.00% at an impact of 10.8%. Past that point the line is flat.
IMPACTRATEOF THE CAP
0.00%0.30%10.0%
0.50%0.425%14.2%
1.00%0.55%18.3%
2.00%0.80%26.7%
5.00%1.55%51.7%
10.80%3.00%100.0%
20.00%3.00%100.0%

A small trade in a deep pool pays close to the base rate. A trade that shoves the price pays several times more, in both directions. The effect is that the trades which do the most damage to the pool feed the ball the most, and splitting one large order into many small ones costs the trader gas and patience but never drops the rate under 0.30%.

The skim is always taken in HYPE. On a buy it comes off the HYPE going in. On a sell it comes off the HYPE going out. The hook never takes coins as a fee and never sells coins for HYPE.

Core and shell

Each skim is split the moment it is taken.

SHAREGOES TOHELD ASCAN BE SPENT
40%corekHYPEno
60%shellHYPE in the bidyes, on burns only

The core is the part that counts toward density. It is staked into kHYPE in the same transaction as the swap and stays there. The contract has no path that sells it, lends it or moves it, other than paying a calving holder their share.

The shell is working HYPE. It is never idle in the contract: all of it rests in the pool as a range of bids under the price. From there it has three possible ends. It is staked into the core when HYPE rises. It buys and burns coins when HYPE falls. Or a seller trades into the bid, takes the HYPE, and the coins they sold are burned.

Each of those three ends raises density. The first raises K. The other two lower S.

The slope

Holders of a coin priced in HYPE ride HYPE whether they meant to or not. If HYPE drops ten percent, the coin is worth ten percent less in dollars before a single coin has been sold. The slope reading is the ball leaning against that.

Δ = PPref − 1
SYMBOLMEANINGVALUE
PHYPE in US dollars at this swapread by the hook
P refHYPE in US dollars at the last swap that actedstored in the hook
bdead band1.00%
mresponse5
qshare of the shell usedmin( 1, m · abs Δ )
Δ = P ÷ P ref − 1ablativeΔ ≤ −1%buy and burn with qneutral|Δ| < 1%hold the shellaccretiveΔ ≥ +1%stake q into core
the slope reading. P is HYPE's dollar price at the swap, P ref is the price at the last swap that acted. Inside the band the hook does nothing and the reference stays where it is.
ΔSTATESHELL USEDWHAT HAPPENS
under 1% either wayneutral0%nothing, reference unchanged
+1%accretive5%staked into core
+2%accretive10%staked into core
+5%accretive25%staked into core
+10%accretive50%staked into core
+20% or moreaccretive100%staked into core
−1%ablative5%buys coins, burns them
−2%ablative10%buys coins, burns them
−5%ablative25%buys coins, burns them
−10%ablative50%buys coins, burns them
−20% or lessablative100%buys coins, burns them

When HYPE has risen, the shell's HYPE is worth more than when it was skimmed, and the hook banks that by staking it. When HYPE has fallen, the hook spends shell buying the coin, which lifts the coin's price in HYPE at the moment its dollar price is being dragged down, and burns what it buys.

After the hook acts, the reference is reset to the current price. Inside the band it does not act and the reference stays put, so a slow drift still adds up and triggers once it crosses one percent. The reading is taken only when someone swaps. HYPE can move all night and the ball will respond on the first trade of the morning, in one step, sized to the whole move.

The roll

The shell sits under the market as one range of bids, priced in HYPE per coin.

U = p · ( 1 − g ) ,   L = U · ( 1 − w )
SYMBOLMEANINGVALUE
ppool price after the swapHYPE per coin
Uupper edge of the bid2% under p when placed
Llower edge of the bid10% under U
ggap2.00%
wwidth10.00%
the bid. All of the shell rests as one order range under spot, in HYPE per coin. It moves up when price pulls 4% clear of its upper edge and never moves down. The dashed line is what one coin redeems for by calving.

When a swap leaves the price more than 4% above the upper edge, the hook lifts the whole range and places it again 2% under the new price. That is a roll. Each roll raises the bid by about 2.08%. The range is never lowered. If the price falls, the bid stays where it was and the market comes down to meet it.

A sell that reaches the range is filled by the shell. The seller gets HYPE and the hook is left holding the coins, which it burns before the swap finishes. A bid that fills is not refilled from the core. It is rebuilt only by the skims of later swaps, sixty percent at a time.

Calving

Any holder can leave through the core instead of through the pool. They burn coins and receive kHYPE from the core at the current density, less a fee that stays behind.

payout = x · D · ( 1 − c )
D′ = D · S − x ( 1 − c )S − x
SYMBOLMEANINGVALUE
xcoins burned by the holderchosen by the holder
ccalving fee, left in the core8.00%
D′density afteralways above D
SUPPLY CALVEDDENSITY AFTERCHANGE
0.1%× 1.00008+0.008%
1%× 1.00081+0.081%
10%× 1.00889+0.889%
50%× 1.08000+8.000%

The fraction in the second equation is always greater than one, because the holder takes 92% of their share and removes 100% of their coins. Everyone who stays ends up with slightly more kHYPE behind each coin than before.

Calving also puts a line under the price. One coin always redeems for 0.92 times D in kHYPE. If the pool price falls under that, burning is worth more than selling, and every coin burned that way lifts the line for the rest.

What cannot happen

EVENTCORE KSUPPLY SDENSITY D
skimupsameup
accretive stakeupsameup
ablative burnsamedownup
absorbed sellsamedownup
rollsamesamesame
calvedown by 92% of the sharedown by 100% of the coinsup

That table is the whole state machine. There is no seventh row. The contract cannot mint, cannot pay a team wallet, cannot lower the bid, cannot unstake the core for any purpose except a calving payout, and cannot change r₀, a, r max, b, m, g, w or c after deploy.

Where it runs

hypeball lives on Elysium, the layer 2 Kinetiq built for Hyperliquid. Elysium settles to HyperEVM, pays gas in HYPE and produces a block about every 100 milliseconds, which is what lets a hook do this much work inside a single swap without the trade feeling slow. The pool is quoted in HYPE. The core is kHYPE, Kinetiq's staked HYPE.

The hook reads HYPE's dollar price on Elysium itself. Kinetiq has said a later upgrade will let Elysium contracts read HyperCore, Hyperliquid's order book layer, directly. When that exists, the same reading can come from HyperCore's own mark price. Nothing else about the mechanism depends on it.

Every figure on this site other than the dollar price is read from the hook contract. Thecontract page shows the raw bytes they come from.