Amendment · Trading and DeFi

fixAMMv1_3Switched on 29 August 2025

In plain words

fixAMMv1_3 adds safety checks and rounding rules to pools, so a pool's balances always add up.

Written by zerps in plain words, from the source linked below.
Switched on
29 August 2025
In ledger
98,491,905
First in server version
2.5.0
Amendment ID
7CA70A7674A26FA517412858659EBC7EDEEF7D2D608824464E6FDEFD06854E14

What it changes

It adds several invariant checks to make sure AMMs work as designed. It adds rounding to AMM deposit and withdraw. On deposit, tokens out are rounded downward and the deposit amount is rounded upward. On withdrawal, tokens in are rounded upward and the withdrawal amount is rounded downward. It also validates AMMBid transactions so that AuthAccounts cannot hold duplicates or the sender of the transaction.

Where it stands

Switched on 29 August 2025, in ledger 98,491,905. The first server version to carry it was 2.5.0.

In the source's words
Adds several fixes to Automated Market Maker code, specifically:xrpl.org

Source: xrpl.org, The transaction that switched it on, Dates and votes: XRP Ledger validator data service. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.