il-aware-limit-order-hook
IL-Aware Limit Orders · UHI9 HookathonTurns a passive limit order into a yield-bearing position — and refunds the user for impermanent loss out of the yield it earns.
● Live · Unichain mainnet53 / 53 testsERC-721 · ERC-4626
- Oracle-free IL rebate — impermanent loss derived from sqrtPriceX96 deltas via a 2nd-order Taylor approximation; rebate = min(yield, IL).
- Yield routing — executed output deposited into an ERC-4626 vault until claim.
- Orders as NFTs — every order is an ERC-721: composable and tradable on secondary markets.
- O(1) tick scanning — doubly-linked list of active ticks only; cost scales with populated ticks crossed, not range width.
- Anti-DoS execution — failed orders emit and re-queue instead of reverting the swap, with gas metering against OOG.
Hook · Unichain:0x8C19f1641946c662308000bB4E2Eaf684c81d4CE