Ruins of an Ancient City by John Martin: broken temple columns above a wide valley of ruins
Ruins of an Ancient City, John Martin, c. 1810 to 1820. The Cleveland Museum of Art, Open Access
Company News

Introducing ElyStocks

The same share can carry two prices on Elysium at the same moment, one in each pool it trades in. So who fixes it?

Elysium is an Arbitrum Orbit chain built by Kinetiq. It settles to HyperEVM, the EVM side of Hyperliquid, and gas on it is paid in HYPE. Tokenized stocks reach it from the Hyperliquid side: EQX Labs tokens such as EQTSLA and EQNVDA, and wrapped xStocks such as wSPYx and wQQQx. Once they land, they are listed in pools, and usually in more than one: Uniswap v4 pools and Ramses v3 pools, quoted against USDC or against HYPE. Each pool keeps its own price, and none of them reads the others.

When two pools disagree, somebody should buy the cheap one and sell the rich one. Today that somebody needs capital on both sides, a bot and time. Most people have none of the three, so the gaps either stay open or get closed privately by whoever does.

Today we are introducing ElyStocks: flash arbitrage for tokenized stocks on Elysium. One contract, one transaction, no capital. You pick a gap, the engine quotes it exactly, and if the cycle pays, you keep 90% of the profit. If it does not pay, it does not happen.

How A Cycle Works

A cycle is a loop of two to 4 pools that starts and ends in the same token, USDC or HYPE. It runs inside one call to the Uniswap v4 PoolManager, the single contract that holds every v4 pool. Take a stock that is cheaper in pool A than in pool B:

  1. The engine unlocks the PoolManager. From here until the end of the call, the PoolManager keeps a running tally of what the engine owes and what it is owed, instead of asking for payment swap by swap.
  2. It buys the stock in pool A with USDC it does not have yet. The tally now says the engine owes USDC and holds the stock.
  3. It sells the stock in pool B for more USDC than pool A asked. If pool B is a Ramses v3 pool, the engine takes what that pool needs from the PoolManager and settles what comes back, so the leg lands on the same tally.
  4. It settles. Every token movement nets out in the PoolManager, and what is left over is the profit: 10% to the protocol treasury, 90% to the address you choose.
A funnel of four layers: unlock the PoolManager, buy in the cheap pool, sell in the rich pool, settle and keep the profit unlock the PoolManager buy in the cheap pool sell in the rich pool settle

All of it happens in one transaction. The engine holds nothing before and nothing after. If the cycle would end with less than it started, the whole transaction reverts, and the only cost is the gas of a failed transaction, paid in HYPE. A stock quoted in USDC in one pool and in HYPE in another can be cycled across the two: buy with USDC, sell for HYPE, and turn the HYPE back into USDC in the HYPE/USDC pool, three hops in one transaction.

Why Uniswap v4 Makes It Simple

On older pools, a flash cycle has to borrow from the first pool and pay it back from inside that pool's callback. Uniswap v4 changed the shape of the problem. Its flash accounting lets a contract swap first and settle at the end, as long as every balance is square when the call returns. That is exactly the shape of an arbitrage loop, so the engine does not borrow anything. It just has to finish even or better, and the PoolManager refuses to let it finish worse.

Some v4 pools carry hooks, small contracts that run around each swap. A hook can set a dynamic fee, which means the fee of that pool is not a fixed number you can read once and remember. The engine does not need to know it in advance: it quotes the whole cycle against the pools as they are, hooks included.

Old Way, New Way

QuestionBy handElyStocks
CapitalEnough of both tokens to buy and to sell.None. Only gas in HYPE.
TransactionsApprove, buy, sell: three or more.One.
Price riskThe price can move between your buy and your sell.Both legs settle in the same transaction.
QuoteEstimated from mid prices.Exact. The app simulates the whole cycle with an eth_call before you sign.
Worst caseA half-done trade and stock you did not want.A reverted transaction and its gas.
Who can run itWhoever has the capital and the bot.Anyone with a wallet on Elysium.

What The Engine Accepts

A route is a list of hops. Each hop is either a Uniswap v4 pool, named by its pool key (the two currencies, the fee, the tick spacing and the hook), or a Ramses v3 pool address, which the engine checks against the Ramses factory before it swaps. A route that does not return to its start token is refused before anything moves. ElyStocks only routes stocks that trade in two or more pools, because a stock with one pool has nothing to disagree with.

Nuance

What Is Live Today

The scanner and the quote work now in the app, and the oracle page shows each stock's price across its pools. Connect a wallet to open the app. The engine itself is not deployed yet. Until it is, the app quotes against the compiled engine through an eth_call state override, so the numbers are the engine's own answers against live pools, and the run button reads that the engine deploys soon.

$ELYSTOCKS has not launched. The buy link and the Copy CA button in the top bar read SOON until it does, and they are the only place its address will ever appear. Any address that claims to be it before then is not ours.

We Give A FAQ

Do I need capital to run a cycle?

No. Flash accounting lets the engine swap first and settle at the end of the same call. You pay gas in HYPE, and nothing leaves your wallet if the cycle reverts.

What if somebody closes the gap before me?

Then your cycle no longer ends in profit, so it reverts. You pay the gas of a failed transaction and nothing else. You can also set a minimum you want to receive; below it, the cycle reverts too.

Which pools can the engine touch?

Uniswap v4 pools, which all live in the one PoolManager, and Ramses v3 pools that the Ramses factory confirms are its own. Every token movement settles in the PoolManager or the call reverts.

What does the protocol take?

10% of the profit of a successful cycle. Nothing on a revert, and never a share of the size. The contract caps the fee at 20%.

Is profit guaranteed?

No. A quote is exact for the state it was made against, and pools move every block. What is guaranteed is the other side: a cycle that does not pay does not settle.