Launch app
Cover: Measurement at every seam: how the Router refuses to believe a transfer happened

Measurement at every seam: how the Router refuses to believe a transfer happened

The BlazePhoenix Router measures every pull, every hop arrival and every delivery as a real balance delta — which is why fee-on-transfer and rebasing tokens cannot push it into over-promising, and why it holds nothing at rest.

Known formally as I-12 · Measurement at every seam in the BlazePhoenix whitepaper.

BlazePhoenix Engineering · article updated 2026-09-24 · site dataset through 2026-12-02 · 7 min · written from the deployed bytecode

At a glance
LevelAdvanced
Formal nameI-12 · Measurement at every seam
Reading time7 min
Sections7
Sources cited2
Updated2026-09-24

By Mitra (@Sigmacrit) — anonymous developer of the BlazePhoenix protocol. The code is the résumé.

Abstract in 15 languages · resumo · resumen · 摘要 · 要旨 · ملخص

English — The BlazePhoenix Router measures every pull, every hop arrival and every delivery as a real balance delta — why fee-on-transfer and rebasing tokens cannot make it over-promise, and why it holds nothing between transactions.

Português — O Router da BlazePhoenix mede cada entrada, cada chegada de hop e cada entrega como uma diferença real de saldo — porque é que tokens com taxa na transferência ou rebasing não o fazem prometer demais, e porque não guarda nada entre transacções.

Español — El Router de BlazePhoenix mide cada entrada, cada llegada de hop y cada entrega como una diferencia real de saldo — por qué los tokens con comisión por transferencia o rebasing no pueden hacerle prometer de más, y por qué no guarda nada entre transacciones.

Français — Le Router de BlazePhoenix mesure chaque prélèvement, chaque arrivée de hop et chaque livraison comme un vrai delta de solde — pourquoi les tokens à frais de transfert ou à rebasing ne peuvent pas le faire sur-promettre, et pourquoi il ne détient rien entre deux transactions.

Deutsch — Der BlazePhoenix-Router misst jeden Einzug, jede Hop-Ankunft und jede Auslieferung als echtes Saldo-Delta — warum Token mit Transfergebühr oder Rebasing ihn nicht zu Überversprechen bringen und warum er zwischen Transaktionen nichts hält.

Русский — Router BlazePhoenix измеряет каждое списание, каждое поступление хопа и каждую доставку как реальную разницу баланса — почему токены с комиссией за перевод или ребейзом не могут заставить его пообещать лишнее и почему он ничего не хранит между транзакциями.

Türkçe — BlazePhoenix Router’ı her çekişi, her hop varışını ve her teslimatı gerçek bir bakiye farkı olarak ölçer — transfer ücretli veya rebasing token’ların onu fazla vaat etmeye zorlayamamasının ve işlemler arasında hiçbir şey tutmamasının nedeni.

العربية — يقيس Router الخاص بـ BlazePhoenix كل سحب وكل وصول لقفزة وكل تسليم كفرق رصيد حقيقي — ولهذا لا تستطيع الرموز ذات رسوم التحويل أو إعادة الأساس دفعه إلى وعود زائدة، ولهذا لا يحتفظ بشيء بين المعاملات.

हिन्दी — BlazePhoenix Router हर pull, हर hop के आगमन और हर डिलीवरी को वास्तविक बैलेंस अंतर के रूप में मापता है — इसलिए transfer-fee या rebasing टोकन उससे अधिक वादा नहीं करवा सकते, और वह लेन-देन के बीच कुछ नहीं रखता।

日本語 — BlazePhoenix の Router は、引き込み・各ホップの到着・受け渡しのすべてを実際の残高差分として測る。送金手数料型やリベース型のトークンが過大な約束をさせられない理由、そして取引の合間に何も保持しない理由。

中文 — BlazePhoenix 的 Router 把每一次拉取、每一跳的到达和每一次交付都作为真实的余额差来测量——这就是转账收费或 rebasing 代币无法让它过度承诺、以及它在交易之间不持有任何资产的原因。

한국어 — BlazePhoenix Router는 모든 인출, 모든 홉 도착, 모든 전달을 실제 잔액 차이로 측정한다 — 전송 수수료형이나 리베이스형 토큰이 과잉 약속을 끌어낼 수 없는 이유, 그리고 거래 사이에 아무것도 보유하지 않는 이유.

Bahasa Indonesia — Router BlazePhoenix mengukur setiap penarikan, setiap kedatangan hop, dan setiap pengiriman sebagai selisih saldo nyata — mengapa token berbiaya transfer atau rebasing tak bisa membuatnya berjanji berlebihan, dan mengapa ia tak menyimpan apa pun di antara transaksi.

বাংলা — BlazePhoenix Router প্রতিটি pull, প্রতিটি hop-এর আগমন ও প্রতিটি ডেলিভারি প্রকৃত ব্যালান্স পার্থক্য হিসেবে মাপে — কেন transfer-fee বা rebasing টোকেন তাকে বাড়তি প্রতিশ্রুতি দেওয়াতে পারে না, এবং কেন লেনদেনের মাঝে সে কিছুই রাখে না।

Filipino — Sinusukat ng BlazePhoenix Router ang bawat pull, bawat pagdating ng hop at bawat delivery bilang tunay na pagbabago ng balanse — kaya hindi ito mapapangako nang sobra ng mga fee-on-transfer o rebasing na token, at wala itong hawak sa pagitan ng mga transaksyon.

A router that believes its inputs is a router that can be told anything. Token contracts are arbitrary code: some take a tax on every transfer, some rebase, some report a transfer that did not fully happen. The BlazePhoenix Router treats every amount it did not measure as a claim.

The seams

A seam is any point where value changes hands. There are five in a settlement, and the Router measures at every one of them.

  1. Pull: the input is transferred in, and the Router records the difference in its own balance — the measured pull, capped by what the route committed.
  2. Hop arrival: before a hop executes, its legs are rescaled against the amount that actually arrived, not the amount the previous hop promised.
  3. Fee: the fee base is the measured amount at the fee hop (INV-15) — route.totalOut is read by nothing.
  4. Delivery: the output is measured at the recipient, and your minimum is compared with what you actually received.
  5. Sweep: unspent input and bridge residuals above their baselines go back to the payer; the Router ends every settlement holding nothing (INV-1).

Fee-on-transfer, handled where it can be

Fee-on-transfer support is scoped to constant-product legs, where it is exact. On constant-product legs the Router uses the canonical pattern: transfer first, then read the pool's reserves and balance in the same post-transfer state and price on the difference the pool actually sees — the exact quantity the pool's own invariant will check. When a token measures short, the protocol floor is re-scaled by the measured net ratio (rounded up), the per-leg bounds are re-priced by the same ratio, and your minimum becomes the binding constraint.

Why it matters

In depth: why measurement beats bookkeeping

Measurement at every seam is the Router applying one rule everywhere: a number it did not measure is a claim, and claims do not move value. A route says how much each hop will produce; the Router ignores that and measures what arrived. A token says it transferred an amount; the Router reads its own balance before and after. A caller says what the output will be; route.totalOut is read by nothing.

This matters most for the tokens that break naive routers. A fee-on-transfer token delivers less than the transfer amount. A rebasing token changes balances without transfers. A malicious token can report success while moving nothing. Against each of these, a router that trusts its own bookkeeping will promise output it does not have; a router that measures will see the shortfall at the next seam and price on it, or refuse.

Measurement is also what makes the Router an always-empty vault. Every settlement records a baseline, and sweeps return unspent input and bridge residuals above that baseline to the payer. The invariant suite checks after every settlement that the Router holds nothing it did not hold before — asserted on every row of both covering arrays and after thousands of fee-fuzz settlements.

Finally, measurement is what keeps the fee honest. The protocol fee is charged on a measured base — the measured pull capped by the committed input, or the Router's balance of the bridge coin above its baseline — so a route cannot shrink its fee by misreporting its size.

Key facts

BlazePhoenix measures 5 seams per settlement: pull, hop arrival, fee, delivery and sweep. The BlazePhoenix Router holds 0 tokens between transactions (INV-1). The fee base is measured, and route.totalOut is read by 0 code paths. Fee-on-transfer re-pricing rounds up, the conservative direction, on 100% of affected legs.

The bottom line

BlazePhoenix measures instead of believing. Taxed, rebasing or lying tokens cannot make the Router over-promise, and the Router has nothing to drain between trades.

Do not trust this page — reproduce it

Every claim above is checkable against the chain. Start here:

cd Blaze-Phoenix-Dex && forge test --match-path test/FotFloorReprice.t.sol -vv
Cite this article

Licensed CC BY-NC-ND 4.0: quote and cite it with attribution and a link. Commercial use and derivative versions need written permission from BlazePhoenix; translations are made by BlazePhoenix. Copy a ready-made citation:

BlazePhoenix (2026). Measurement at every seam: how the Router refuses to believe a transfer happened. BlazePhoenix Engineering. https://blazephoenix.xyz/learn/measurement-at-every-seam/
@misc{blazephoenix_measurement_at_every_seam,
  title  = {Measurement at every seam: how the Router refuses to believe a transfer happened},
  author = {BlazePhoenix},
  year   = {2026},
  url    = {https://blazephoenix.xyz/learn/measurement-at-every-seam/},
  note   = {Accessed: reproduce the claim with the command above}
}

Writing an answer, a wiki entry or a paper? The claim above is reproducible against the chain before you quote it — which is the only sound basis for citing a technical source at all.

Contracts are verified on every chain we deploy to — addresses in the protocol manifest. Deeper formal treatment: the whitepaper (PDF). Sources cited: EIP-20 · EIP-1153

Related engineering

Next in Foundations · 15 / 35
The One-Way Door: renunciation written in bytecode, and why the fee never had a setter ›BlazePhoenix separates what was never settable — the fee, the split, the floors — from what a key can do before renunciation, and ends that key irreversibly in bytecode with renounceControl.6 min

Questions, a partnership or a bug to report? Contact us or email contact@blazephoenix.xyz

Go to APP