Repository navigation
v1.2.0
Every fee is now logged, with its pool.
- Book matches emit
OrderFeeAccruedfor both sides: the buyer's 0.02% in the asset, the seller's in the quote. - Dynamic fee: new
DynamicFeeCharged(poolId, orderId, currency, toLps, toFeeVault, refTick). OrderFeeAccruednow includespoolId(indexed, first field) on every fee.
Breaking for indexers
OrderFeeAccrued changed from OrderFeeAccrued(bytes32,address,uint256) to OrderFeeAccrued(bytes32,bytes32,address,uint256), so its topic hash changed. Update any decoder that reads it.
See the fee-events table in docs/protocol.md.
891 Foundry tests pass. AsyncMatching has 14 bytes left under the EIP-170 limit. Not yet covered by the Lean proofs.
Full change: #49