XRPL just drafted four new AMM curve types. The same design that blocks flash loans wasn't an accident.
XRPL's new curve types bring concentrated liquidity and StableSwap to its native AMM. The architecture that makes flash loans structurally impossible is doing more work than any curve upgrade.

CryptoVibe Desk · xrpl · amm · defi

- →XRPL's draft 'AMM Swappable Curves' adds four pool types, including concentrated liquidity and StableSwap, to the native AMM.
- →The bigger story is the architecture: XRPL's atomic, non-composable transaction model makes flash loan attacks structurally impossible, not just harder.
- →Watch whether this moves from discussion to a formal amendment vote, and whether the flash-loan resistance becomes a real DeFi deployment argument.
- AMM → A trading pool where prices are set by a math formula, not by people posting buy and sell orders.
- Concentrated liquidity → A way to deposit into a pool only within a specific price range, so your capital earns more fees but stops working if the price moves outside that range.
- StableSwap → A pool curve designed for two assets that are supposed to hold the same value, giving much tighter prices with less slippage than a standard pool.
- Flash loan → A loan where you borrow, do something with the funds, and repay all within one transaction block, making certain exploits possible when a protocol allows it.
XRPL's draft AMM proposal adds four selectable curve types to the native pool. That's the headline change. The more interesting part is in the security section.
XRPL transactions are atomic, but the ledger has no composable intra-transaction calls. That design decision makes flash loan attacks structurally impossible. It's not a missing feature. Composable calls are what let a flash loan work: borrow, run the exploit, repay, all in one transaction. Without them, that sequence cannot be assembled.
The same architecture that narrows single-transaction composability also closes a specific attack class. That class has cost Ethereum-ecosystem DeFi hundreds of millions.
AMM Swappable Curves adds four selectable pool types: ConstantProduct, ConcentratedLiquidity, StableSwap, and Binned. Pool creators choose the type at deployment. Pools without a sfCurveType field default to ConstantProduct, so existing liquidity on the ledger is unaffected. The draft requires XLS-30 AMM, which is already active on the ledger.
Concentrated liquidity works like Uniswap v3. Liquidity providers set a price range, and their capital only earns fees while the price stays inside that range. Binned is the least specified in the current draft. It groups liquidity into discrete price intervals, which lets providers be more precise about where they expect price to settle.
StableSwap gets the most detailed spec. The amplification coefficient runs from 1 to 5000, per the XRPL Standards discussion. At the low end, the curve behaves like constant product: prices move significantly as pool ratios shift. At 5000, liquidity concentrates tightly around parity, so large swaps barely move the price. That's the right behavior for a pool holding two pegged assets, like two dollar-backed stablecoins or two tokenized versions of the same Treasury.
The flash loan resistance comes with a real tradeoff. On Ethereum, one transaction can call multiple contracts, borrow from a pool, execute logic in another protocol, and repay, all in one block. That's what makes flash loans possible. It's also what makes multi-protocol liquidations and flash swaps possible.
XRPL's model doesn't allow it. Each step requires a separate settled transaction. And that's the catch for any developer porting Ethereum-native DeFi logic to XRPL. Multi-step strategies become multi-transaction workflows.
The gap this closes is real. Per CoinDesk, flash loan exploits through Drift Protocol and KelpDAO topped $600 million as of April. The same reporting puts a Thorchain exploit at roughly $10.8 million. These are not fringe attacks. They are a repeating cost of running composable DeFi, and XRPL's architecture sidesteps the whole category.
If you're evaluating XRPL for a DeFi deployment, this proposal changes the calculation. Concentrated liquidity and StableSwap close most of the depth gap with Uniswap v3. The non-composable model closes the flash loan surface entirely. Both come from the same underlying architecture.
Read the draft before it advances to an amendment vote. The security section matters more than the curve specs.
Ripple is advancing AMM Swappable Curves toward a vote without documenting the composability limits. Ethereum-native teams won't hit the flash-swap wall in planning. They'll hit it during integration, which is the most expensive place to find an architectural constraint.
Watch for AMM Swappable Curves to advance from the XRPLF discussion to a formal amendment vote within six months. A stall means concentrated liquidity is further out than the draft timing implies.
Primary links and supporting reads used by the desk for this story.
Forward this.











