from the pool
to the book.
Koala 1 is the Uniswap v4 pool a token is born in on Elysium. Koala 2 is the HyperCore order book. Between them stands a contract that does one thing: it grades the pool from chain state and, when the grades hold, lets anyone graduate the token. The listing is paid by the fund the community raised, the first ladder is made of the inventory the community pledged, and the tuition is burned in 2KOALAS.
addresses
| chain | Elysium · 99901 · gas in HYPE |
|---|---|
| KoalaGraduation | not deployed yet (sandbox) |
| KoalaDiploma | not deployed yet (sandbox) |
| V4BuyAdapter | not deployed yet (sandbox) |
| StateView (read) | 0x27ed73ae0652fdcf71d6793412a7525f32be9dfe |
| PoolManager | 0xE2e105d3F7209A9DA11f83cCf3E7398a753823F1 |
| WHYPE | 0xba876237b0f021a6c6d852d6c26e107997cc5e81 |
| ElysiumCoreWriter | predeploy, address not published by Kinetiq yet; set with setWriter() the day it is |
one course, five stages
the grade
The only metric is depth: the HYPE it would take to double the token's price at the pool's current active liquidity. It is read from two StateView calls, getSlot0 and getLiquidity, so it cannot be faked by wash volume or by splitting holders. It can only be raised by putting liquidity near the price and leaving it there.
// HYPE is currency1: depth = L · √P · (√2 − 1)
// HYPE is currency0: depth = L / √P · (√2 − 1)
function depthOf(address token) public view returns (uint256) {
(uint160 sqrtP,,,) = stateView.getSlot0(poolId);
uint128 L = stateView.getLiquidity(poolId);
uint256 base = hypeIsZero ? (uint256(L) << 96) / sqrtP
: (uint256(L) * (uint256(sqrtP) >> 32)) >> 64;
return base * 41421356 / 1e8;
}A grade is accepted once per interval. The dean's cron calls it, and so may anyone else: a community that wants its third pass on time can send the transaction itself.
the four conditions
| streak | 3 consecutive passes at ≥ 25 HYPE of depth. roughly a day of real liquidity. |
|---|---|
| inventory | pledged tokens worth ≥ 10 HYPE at the pool price. they become the asks of the first HyperCore ladder. withdrawable until the diploma. |
| fund | ≥ 600 HYPE, from anyone. a HIP-1 spot deployment is a 31-hour Dutch auction with a floor of 500 HYPE. withdrawable until the diploma. 2% buys 2KOALAS at graduation. |
| tuition | 2KOALAS burned to 0xdead toward the course, by anyone. zero until the token exists and the school is armed; then a flat amount per course, set by the owner and public. |
When all four hold, eligible(token) returns true and graduate(token) succeeds for whoever calls it. No role can graduate a token that fails, and no role can stop one that passes.
the hypercore leg
Three things are needed for a token to trade on HyperCore: a spot deployment (HIP-1, paid in the deploy gas auction), a link between the HyperCore token and the EVM token (so balances mirror), and resting orders. The first two need a signing wallet on Hyperliquid, so they are done by the dean, a named wallet, with the fund the course raised. Every step is attested on-chain so the sequence is public: release (fund and inventory leave the contract), commence (HyperCore token index and spot index are recorded; anyone can check them against Hyperliquid), seed (the ladder), settle (what came back).
// the ladder, already in the contract: CoreWriter action 1 (limit order), encoding version 1
// (asset = 10000 + spotIndex, isBuy, limitPx·1e8, sz·1e8, reduceOnly = false, tif = 1 ALO, cloid)
bytes memory a = abi.encodePacked(uint8(1), uint8(0), uint8(0), uint8(1),
abi.encode(asset, isBuy, limitPx, sz, false, uint8(1), cloid));
coreWriter.sendRawAction(a);On HyperEVM this writer is 0x3333333333333333333333333333333333333333. Kinetiq documents the same mechanism for Elysium as a predeploy named ElysiumCoreWriter, shipping in an ArbOS upgrade about four weeks after mainnet, without a published address yet. Until setWriter() is called, seed() reverts with WriterNotLive and the dean posts the ladder from its own HyperCore account. The byte encoding is covered by the test suite either way.
what 2KOALAS gets
Three flows, all into the same vault, all through the v4 adapter to 0xdead: the enrol fee of every course, 2% of every graduation fund, 1% of every settlement. And the tuition, which is not a flow but a burn: every graduation removes a fixed amount of 2KOALAS from supply. The more tokens Elysium wants on the book, the fewer 2KOALAS exist.
interface
interface IKoalaGraduation {
// anyone
function enroll(address token, PoolKey calldata key) external payable; // enrollFee
function grade(address token) external; // once per gradeInterval
function pledge(address token, uint256 amount) external; function unpledge(address token, uint256 amount) external;
function fund(address token) external payable; function defund(address token, uint256 amount) external;
function payTuition(address token, uint256 koalas) external; // burned
function graduate(address token) external; // when eligible
function claim(address token) external; // after settlement, pledgers
function flush() external; // vault → buy & burn
// views
function depthOf(address token) external view returns (uint256 hypeTo2x);
function pledgedValue(address token) external view returns (uint256 hype);
function eligible(address token) external view returns (bool);
function course(address token) external view returns (Course memory);
function rosterSlice(uint256 from, uint256 n) external view returns (address[] memory);
// the dean (HyperCore leg, each step attested)
function release(address token) external;
function commence(address token, uint64 coreToken, uint32 spotIndex) external;
function seed(address token, Rung[] calldata rungs) external; // CoreWriter action 1
function settle(address token, uint256 tokens) external payable;
}enrol
the cohort
| TOKEN | STAGE | DEPTH (HYPE TO 2×) | STREAK | PLEDGED | FUND | TUITION | NEXT GRADE | PROGRESS |
|---|---|---|---|---|---|---|---|---|
| reading the class… | ||||||||
every row is a course on the contract; depth and pledged value are read live from the pool.
honest limits
Depth measures liquidity, not virtue: a rich team can pass the exam by funding its own pool, and that is fine, because the exam is about whether the book will have something to trade. The auction price on HyperCore is set by a Dutch auction and can exceed the fund target; the owner can raise listingCost, and funds stay withdrawable until the diploma. The dean is trusted during the HyperCore leg, by design and in public, until ElysiumCoreWriter lets the contract hold that leg itself.
sources: hyperliquid · interacting with hypercore · HIP-1 · kinetiq · trading on hypercore from elysium