How it works
A coin lives in three phases. Each one is a state of the contracts, readable by anyone.
1. The curve
CurveLauncherV4.launch deploys the coin (1,000,000,000 tokens, renounced) and opens a Uniswap V4 COIN/USDC pool at the launcher's opening market cap. The whole supply is deposited single-sided above that price: the pool is the bonding curve. Buying moves the price up the curve, selling moves it down, and every trade is instant, in USDC.
The position belongs to PermanentLockerV4, which has no function that withdraws it.
2. The bond
Once the curve holds the bond threshold ($20,000 of USDC), anyone can call startBond(coin):
- the locker takes the position out of the pool (the market pauses);
- its USDC crosses to HyperEVM through Elysium's canonical bridge;
- on HyperEVM,
BondMinterFactorymints the coin's Bounce leveraged token with it, at NAV: a perp position on the Hyperliquid market the creator picked; - the leveraged token comes back to Elysium through the same bridge, and the factory tells the locker how much arrived.
Then anyone calls finalizeBond(coin): the locker opens a COIN/LT pool at the same USD price, with the same curve shape, and locks it again.
The canonical bridge's exit takes about a day (Elysium's challenge period). During that time the coin cannot be traded; balances never move.
If the mint cannot happen (Bounce paused the token, for instance), the USDC is sent back and the COIN/USDC curve reopens at the price it had.
3. Bonded
The coin is now backed by a perp on Hyperliquid, through a Bounce leveraged token: when the market moves 1%, a 3× backing moves about 3%, and so does the value of the liquidity under the coin. The position is Bounce's; the protocol holds no account of its own.
Fees keep flowing to the locker, now partly in the leveraged token.