Oorka is a hackathon build running on testnets with test tokens. It has not been audited.

Wash trading

A curator can trade back and forth through their own range to raise its fee growth. Unlike a donation this is not free:
  • every trade pays the 0.30% swap fee plus price impact;
  • the fees go to all real liquidity in that range, including the vault if it overlaps;
  • every other range overlapping theirs is credited too.
Production fix: cap per-epoch fee credit per curator, or weight fee growth by the number of distinct swappers.

Unmatched side on migration

When the vault moves to a range with a different token ratio, the excess stays idle in the hook until compound() can place it. A production version would rebalance with a swap during migration.

One vault per pool

Each hook serves one pool and one vault. Several vaults with different risk mandates could read the same leaderboard.

Contract size

OorkaHook is 24,358 bytes against the 24,576-byte limit. New features need a library split first.

Testnet operations