Skip to main content
Merkle Street

Protocols, markets, policy, people

Why Pool Migration Changes a TRON Swap Quote

A pool migration changes the reserves and routes a TRON swap can use, so the displayed quote may shift even when the token price has not moved elsewhere.

Merkle Street Newsroom#ca642e3 min read

Abstract cover artwork

A pool migration can change a TRON swap quote by moving liquidity to a different contract, changing the reserves a router reads, or changing the route it selects. The wallet starts with the input token and amount. A router checks available pools, estimates how much output each route can return after fees, and displays a quote. When the swap is submitted, the contract uses the pool’s state at execution, which may differ from the state used for the estimate.

In a typical automated market maker, a pool holds two tokens in reserves. A trade adds one token and removes the other, shifting the reserve ratio and the exchange rate. With a constant-product design, for example, the pool keeps the product of its token reserves roughly constant, before fees. A deeper pool usually moves less for a given trade than a shallow one. For the steps involved in choosing among wallet routes, see which TRON swap route fits. A migration can change the available pool depth, so that choice may change too.

What happens when a pool migrates?

A migration moves activity from an older pool or contract to a newer one, but it does not automatically make the new pool’s quote identical. In a common process, liquidity providers withdraw their tokens from the old pool and deposit them into the new pool. They receive new liquidity-provider tokens that represent their share of the new reserves. The pool address changes, and the new contract tracks its own balances and trading rules.

The two reserves may be deposited in a different ratio from the old pool. The market price may have moved between withdrawals and deposits, or providers may choose to add only some of their assets. Some liquidity may remain in the old pool. A router that can still use that pool may quote it as a separate route; a router that excludes it will look elsewhere. Migration therefore affects quotes through the actual reserves and routes available, not through the word “migration” itself.

Why can the quote change after migration?

The quote changes when the router sees different prices, fees, or liquidity across the eligible routes. It may find a deeper new pool, a shallower one, or a path through another token that produces more output after fees. If the old pool is no longer selected, its reserves no longer determine that route’s estimate.

Several pieces can move the displayed amount:

  • Reserve depth: less liquidity means a trade has more price impact.
  • Pool fee: a different fee reduces the amount that reaches the pool’s pricing curve.
  • Route: splitting a trade or adding a hop can change output and add fees.
  • Timing: trades before execution can change reserves after the wallet calculated its quote.

A migration itself does not guarantee a better or worse rate. If the new pool has similar reserves and terms, the quote may barely change. If liquidity is split between old and new pools, or the router has not updated its eligible routes, the quote can differ more. A useful analogy is moving stock between two market stalls: the goods are still available, but the stall holding them and the price offered there can change.

What should you check before swapping?

Compare the expected output and route shown by the wallet, then check the minimum output or slippage limit before confirming. The expected output is an estimate; the minimum sets how far the final amount may fall before the transaction reverts. A wider limit can let a more changed quote through, while a narrower one can cause a delayed transaction to fail.

After a migration, a quote that changes sharply may reflect thin new liquidity, a route change, or a stale estimate. Refresh the quote and inspect the route and minimum output. For most swaps, the better route is the one that returns more after fees while keeping price impact and execution risk acceptable. The pool’s current reserves decide the quote; the migration label does not.