USD · EUR · BRL · IDR

Liquidity that
never leaves

One wallet balance makes FX markets on Solana and 1inch Aqua
and backs every stablecoin when one breaks

Solana1inch Aqua + SwapVMChainlink CREBase
Weather a depeg
buys USDe
at $0.91

When a coin
breaks

Chainlink CRE halts it at $0.93
backstops buy it below that

How it works
your coins aboard8 stablecoins, one 1inch Aqua strategy8 stablecoins, one strategy
Chainlink CREhalts a broken coinhalts a broken coin
the backstopsame balance, buys below the pegbuys below the peg
healthy pairskeep trading on both 1inch routerskeep trading on 1inch

The problem

Stablecoins
sit idle

Stablecoins in wallets and treasuries earn nothing. Pools pay fees, but they take custody, split one basket into dozens of pairs, and fill up with the coin that breaks.

Custody

Locked

Earning fees means handing your coins to a pool.

  • A pool contract holds the deposit, not you
  • Withdraw before you can pay anyone
  • Each pool needs its own copy of your capital

8 coins

Split

Pair pools split one basket into dozens of thin books.

  • USDC to EURC cannot use USDC to DAI depth
  • Every new coin needs n minus 1 new pools
  • Each pool is thin where a dollar trades

USDC $0.88 · March 2023

Drained

When one coin breaks, the pool fills up with it.

  • Traders dump the broken coin at par
  • Every unit absorbed loses 1 minus p
  • LPs end up holding the coin nobody wants

How it works

Four moves,
one wallet

Peglo is an FX market made of wallets. You keep your coins, they earn spread, and when one coin breaks the same balance catches it.

  1. 1inch Aqua

    Ship, never deposit

    Your strategy is a set of virtual balances on Aqua. Coins stay in your wallet and move only when a trade fills, straight to the taker.

  2. SwapVM opcode 34

    One curve, eight coins

    Sphere AMM math from Paradigm's research prices USDC, USDT, DAI, USDS, USDe, EURC, BRZ and IDRX on one curve, as a new SwapVM instruction with one square root per swap.

  3. Chainlink CRE

    Live FX from Chainlink

    A CRE workflow pushes EUR, BRL and IDR rates, bounded onchain by Chainlink feeds. A stale rate stops the swap instead of mispricing it.

  4. SwapVM opcode 35

    When a coin breaks

    CRE halts it on every range. Your backstop buys it at a discount you choose below market, paid from the same wallet balance that runs your FX range.

The math

One curve,
every coin

The pricing follows Paradigm's research on AMMs for many stablecoins, extended to live FX rates and written as two SwapVM instructions. These are the equations the contracts run.

One sphere, live rates

x is your Aqua balance of coin k, rho its USD rate from Chainlink CRE, m the floor that concentrates the range. Every coin trades against every other on one surface.

Sized from live balances

S and Q are the sum and the sum of squares of v. The radius is recomputed on every swap, so fees grow it and compound to the LP.

One square root per swap

Only the two traded balances move, so the output is exact and in closed form, rounded in favor of the LP.

The edge

Past the edge a range refuses its heaviest coin and keeps trading the rest. Each width picks K: Tight stops at a 0.5% depeg, Balanced at 2%, Wide at 8%. An exposure cap limits how much of one coin a range can hold.

Never lose to a trade

Checked after every fill on both routers. A swap that would shrink the LP's position reverts.

What a backstop pays

p comes from Chainlink CRE and the Chainlink market feed, A is what it already bought, a this sale, C its cap. Dormant until CRE halts the coin.

See it

Run the curve
yourself

Both charts are computed in your browser by the Peglo SDK, which matches the contracts to the wei.

Price impact by trade size

One range, five USD coins, $1M each. Fees excluded. Each line ends where the range refuses more size.

0.010.11101001k10k$1k$10k$100k$1Mbpscomputing with the Peglo SDK
Tight301x
refused
Balanced61x
refused
Wide11x
refused
No concentration
refused

A coin breaks its peg

Five USD coins, one breaks. Arbitrageurs sell it into the range until its price matches the market. Value change of the LP position, computed with the same math as the contracts.

0%-10%-20%$1.00$0.95$0.90$0.85$0.80computing with the Peglo SDK

What a backstop pays

Per coin, as its cap fills, with the broken coin at $0.930.

$1.00$0.90$0.80$0.70$0.60emptycap full

Pays $0.911 first, $0.837 when full. Market (red) is $0.930, never above $1.

Range without an edge
…
With the CRE halt at $0.97
…
Peglo range
…
Just holding the coins
…

Built for 1inch Aqua

Aqua, used the way
it was meant

Aqua's promise is that one balance can back many strategies without being locked. Peglo is built entirely on that promise.

Shared liquidity

One wallet backs an FX range and a backstop at the same time. A $67 test wallet backed $108 of strategies: a 1.6x Shared Liquidity Ratio.

Two new instructions

PegloTick (opcode 34) prices the sphere curve. PegloBackstop (opcode 35) buys a depegged coin only while Chainlink says it is broken.

Your official router

The same pricing runs on 1inch's AquaSwapVMRouter at 0x1111…C0De through Extruction, so any taker on the official router can fill it.

One trade, both routers

A batch taker splits each swap across every live strategy on our router and yours, settled in one transaction.

Multi-token strategies

One ship() covers 8 coins and 28 pairs. A wallet that spends its coins is skipped cleanly instead of failing the trade.

Tested on the real thing

All 56 swap directions filled on a Base mainnet fork against official Aqua and the official router, with real EURC, BRZ and IDRX.

Traderthe app or any taker
LP walletships strategies, keeps the coins
PegloBatchTakersplits the trade across every maker
PegloRouterSwapVM, opcodes 34 and 35
1inch AquaSwapVMRouterofficial, through Extruction
PegloPricing · PegloBackstopPricingchecks the maker's wallet, asks the oracle
1inch Aquapulls from the maker's wallet on fill
PegloOraclerates and halts from Chainlink CRE

Built for Chainlink CRE

CRE runs the pool,
not just an alarm

The workflow sets the FX rates every swap uses, and decides when a coin is broken. Without it, Peglo cannot price a euro.

  1. Cronevery 30 s
  2. One EVM read9 Chainlink feeds + oracle
  3. Two price APIsmedian across nodes
  4. Policyhalt · resume · push rates
  5. Signed reportto PegloOracle
  6. Every strategyranges and backstops
$ cre workflow simulate depeg-sentinel -T fork-settings --broadcast
EURC ref=1.116385 feed=1.117162 api=1.038238
     halt=true  offchain 700bps >= hard 300bps
USDe feed=0.998752  halt=false  back within resume band
BRZ  ref=0.181687   halt=false  within peg
oracle updated  pushed [USDe:false EURC:true BRZ:false IDRX:false]
tx 0x3c298e53…bd63e5dc
  • Rates must sit within 0.5% of the Chainlink feed onchain, or the feed wins.
  • A halt needs both price APIs to agree, so one stale API cannot freeze a coin.
  • Reports are refused until our workflow owner is set: no stranger can write.
  • Guardian halts stay put even when a calm report arrives.

Versus

Where Peglo
stands

PropertyUniswap v3CurveOther builds of the paperPeglo
Coins per pool22 to 4NUp to 8 per strategy, routed together
Concentrated liquidityYesAmplified curveYesYes, three widths
Where LP funds sitPool contractPool contractv4 PoolManagerYour own wallet
Spend while providingNoNoNoYes
Non-USD stablecoinsOne pair per poolSeparate poolsUSD coinsEUR, BRL and IDR on one curve
When a coin breaksNo protectionNo protectionRange edgeEdge, Chainlink CRE halt, backstop
Same capital, second jobNoNoNoBackstop on the same balance
VenueUniswapCurveUniswap v4 hook1inch Aqua, both routers

Measured, not promised

Live trades,
real numbers

1.12 bpscost of a live $10,000 USDC to DAI swap on Base Sepolia, fee included
5.24 bpscost of a live $10,000 USDC to EURC swap on Base Sepolia, FX fee included
0USDe bought by any range during a halt
+1.86%backstop return from buying USDe at $0.93
145SDK tests, quotes equal to Solidity to the wei
80contract tests, 9 on official 1inch contracts on Base

Swap costs are live trades on Base Sepolia over test liquidity; costs move as trades tilt the pool. The depeg numbers come from a Base mainnet fork with real coins and both 1inch routers.

References

  1. ParadigmResearch paper on AMMs for many stablecoins, 2025 ↗
  2. 1inchAqua shared liquidity protocol ↗
  3. 1inchSwapVM ↗
  4. ChainlinkRuntime Environment (CRE) ↗
  5. EgorovStableSwap, 2019 ↗

Put your coins
to work