Skip to content

v1.2.0

Choose a tag to compare

@mmsaki mmsaki released this 29 Oct 00:46
· 82 commits to main since this release
v1.2.0
9e8cf35

Every fee is now logged, with its pool.

  • Book matches emit OrderFeeAccrued for 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).
  • OrderFeeAccrued now includes poolId (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