• Duel is open on Robinhood Chain
  • Launch a duel two tokens, three pools, one transaction
  • Round closes in --:--:--
  • Four-hour rounds the winner’s buyback is price-limited
  • Liquidity locked forever, no team tokens

Realignment

A duel has three pools: A in ETH, B in ETH, and A in B. Their prices can diverge after a trade. After each trade, in the same transaction, the hook attempts a profitable realignment. It can be skipped or limited by available ETH; exact agreement is not guaranteed.

How it works

When the price discrepancy gives a triangular cycle a profit edge above 0.1% before sizing, the hook can trade around the triangle at zero fee. This is a cycle-profit threshold, not a guarantee that any two pool prices stay within 0.1%:

  • if A became expensive in ETH compared with the A/B pool, the hook buys B with ETH, swaps it for A in the A/B pool and sells that A for ETH;
  • if B did, the same the other way round.

A closed formula sizes the profitable loop, then caps it at what the selling ETH pool can pay. It only keeps a loop that makes a profit. The captured profit goes to the round pot. A failed attempt rolls back and is skipped, so it does not block the user’s swap, unless it ran out of gas: the swap then reverts with ArbitrageStarved, so that no one can skip the realignment by sending too little gas. A limited or skipped loop can leave a price discrepancy.

What it means for the split

The split and rounds read only the two ETH pools. The A/B price never counts directly. A switch through A/B affects them only if realignment actually trades the ETH pools. If no ETH price moves, the switch changes neither the split nor the round’s average, and does not activate an otherwise quiet round.

What it means for traders

The A/B pool holds some of each side. When realignment runs after one side rises, it can sell some of that side into its ETH pool and buy some of the other side. Three possible effects:

A buy can be partly offset right after it. When realignment runs, it can sell part of the bought side and send the captured ETH profit to the pot. An immediate round trip can therefore cost more than swap fees. These illustrative internal measurements use default terms, on a fresh duel and on a duel where one side holds 97% of the split (10 ETH bought on it, none on the other); costs depend on the pool state and are not a fixed rate:

Buy then sell at onceFresh duelAt 97/3, side aheadAt 97/3, side behind
0.1 ETHabout 4%about 2%about 4%
1 ETHabout 5%about 3%about 12%
5 ETHabout 10%about 4%about 32%
20 ETHabout 22%about 7%about 61%

Behind, one big buy costs the most. While the side ahead rose, realignment filled the A/B pool with the side behind. A buy of the side behind has that stock sold into it: the bigger the single buy, the more of it goes to the pot. Several smaller buys, each followed by its own realignment, cost less than one large buy of the same total.

The sides are coupled when realignment runs. A buy on one side can also lift the other, so a comeback can cost more than the ETH gap suggests. A limited or skipped realignment may produce a different outcome. See The leader has an edge, not a lock.

By default, the A/B pool starts with 2% of each supply, the smallest share the contracts allow, to keep this coupling light. A larger initial share strengthens the coupling; its effect depends on the pool state and the size of the trade.

Why do it in the hook

A profitable realignment attempts to reduce the discrepancy and sends its captured profit to the pot. It reduces arbitrage opportunities but does not eliminate them: the loop may be limited, skipped, or leave a residual gap.