The independent-pool path
For a five-token exact-input swap through Pool B, its isolated curve returns 18.993189 token1. Pool A does not participate in that calculation, even though both pools trade the same pair.What changes with KNOT
Participating pools keep separate custody and liquidity-provider (LP) ownership. The hook adds one shared accounting boundary: every swap is quoted once against the local reserves and once against the sum of all member reserves. The aggregate curve is virtual. A swap still settles against one pool, and the federation never custodies tokens or creates a cross-pool route.Before and after
KNOT changes the enforceable quote, not the ownership model. If the local pool already gives the
taker the less favourable result, the hook is inert.
See the rule
Follow the exact-input and exact-output decision branches.
Follow a swap
Trace one transaction from the trader through settlement.