Fees, formatting & conversions
Small utility conversions that feed almost every other figure in this reference.
WAD, bps, and USDC display rules
WAD ↔ percent = value / 1e18 × 100bps formatting = 4dp, exact bigint mathUSDC display = half-up rounding to the centExit fee in bps = fee / notional × 10,000quote/format.ts