Mark-to-market & early exit
Closing a swap before maturity settles it at a mark-to-market value plus a flat exit fee — both computed on-chain at the moment of exit.
Exit mark-to-marketLinear basis
The value of the remaining cashflows if the swap were struck today, from the customer's side. Positive means the pool owes the customer.
MTM = (F_exit(T_rem) − r_fixed) × notional × T_rem
forward rate re-fetched at exitremaining tenorPricingEngine.sol:94
Exit fee
exitFee = notional × exitFeeBps / 10,000
default 50 bpsPricingEngine.sol:111
Max settlement budget
A conservative worst-case reserve the pool holds against a swap, using a 4-standard-deviation stress on the floating rate.
worstFloat = E[float] + 4σ_budget budget = max(0, worstFloat − r_fixed) × notional × T
4σ tailPricingEngine.sol:61