# Why measure instead of trust

> Canonical: https://blazephoenix.xyz/learn/why-measure-instead-of-trust/
> License: CC BY-NC-ND 4.0 (attribution + link) · © 2026 BlazePhoenix
> Updated: 2026-11-16

The Router does not believe what a pool says it paid: it compares its own balance before and after each step and acts on that difference. A pool's claims are free to forge, its measured output is not, so a hostile pool can cost you price but the swap reverts rather than deliver below your minimum.

The Router does not believe what a pool says it paid. It compares its own balance before and after each step and acts on that difference. A pool's claims are free to forge; its measured output is not (Litepaper §3, item 5).

Think of buying a box with "12 eggs" printed on the lid. You can believe the lid, or you can open the box and count. The Router counts. If the box holds ten, the Router works with ten, and your minimum decides whether the deal still stands.

## Said versus measured

Every row is a place where a number could be announced or counted. The Router counts (Whitepaper 2.4 §11.8, §14.9).

## What this buys you

A hostile pool can cost you price, and then the swap reverts. It never delivers below your floor (Litepaper §3; Whitepaper 2.4, Ten lines, item 8). A dishonest counterparty collapses the measured output, and your bound refuses the swap (Whitepaper 2.4 §22).

"The Router ends a swap holding nothing of what it moved" is one of nine guarantees that the repository states. Each of the nine names a command that turns red if the guarantee stops holding (Whitepaper 2.4 §14.9).

## Check the idea yourself

The V2 source is public and can be read, built and run under its source-available license.

**Verify it yourself:** In a checkout of the V2 repository at commit 969bcc6, run git grep -n "function invariant_RouterHoldsNothing" -- test, then run the test file test/RouterBalanceAfterSettlement.t.sol with the Foundry test command named in Whitepaper 2.4 §14.9. It should report every test passing.

Related: https://blazephoenix.xyz/learn/measured-not-nominal/ · https://blazephoenix.xyz/learn/why-blazephoenix-trusts-less/ · https://blazephoenix.xyz/learn/how-to-read-your-swap-receipt/
