Uniswap v4 hook for automated yield distribution on RWA and rebasing stablecoin pools.
When institutional assets like USDY, USDM, or BUIDL enter a Uniswap pool, their native yield distribution mechanism breaks. The PoolManager has no awareness of external rebases — yield accumulates as idle, unassigned float. Cronstream intercepts it and pushes it directly to LP wallets. Atomic settlement. Zero custody. No protocol fee.
LP deposits RWA pair → Hook indexes share weight │ Rebase / swap fees → yield surplus accumulates │ Keeper monitors threshold → calls distributeYield() │ Flash accounting: pull surplus → reimburse keeper gas inline → push yield to all LP wallets
| Hook contract | Uniswap v4 · BaseHook · afterAddLiquidity · afterSwap · afterDonate · EIP-1153 transient storage |
| Flash accounting | poolManager.unlock() → unlockCallback() · inline ETH swap for keeper reimbursement |
| Keeper | TypeScript · viem · threshold monitoring · permissionless trigger |
| Target chains | Base · Arbitrum One · Unichain |
In active development — Atrium Academy Uniswap Hook Incubator (UHI) cohort.