gamma-univ4-limit-orders

gamma-univ4-limit-orders

@gammastrategies
Completed

Total reward

20,000 OP

Status

Completed

Findings submitted

136

Start date

28 Apr 2025

End date

5 May 2025

A comprehensive limit order system for Uniswap v4 pools, enabling limit orders and scale orders with keeper functionality and fee management.

Prize distribution and scoring

  • Total Prize Pool: 20,000 OP

Additional pay for dedicated Cantina Fellow: 3,400 OP

Documentation

  • Documentation is provided in the README here

Scope

  • Repository: https://cantina.xyz/code/aaf79192-6ea7-4b1e-aed7-3d23212dd0f1
  • Total LOC: ~1810
  • Files:
    • Everything in /src EXCEPT for LimitOrderLens.sol
      • LimitOrderManager.sol → main contract
      • LimitOrderHook.sol → hook contract
      • PositionManagement.sol → library
      • TickLibrary.sol → library
      • CurrencySettler.sol → library
      • CallbackHandler.sol → library
      • ILimitOrderManager.sol → interface

Build Instructions

  • Please refer the Setup Instructions in the README

Basic POC Test

  • Mandatory POC applies for this competition
  • Please see all tests in the test directory and look at the setup and tests. Foundry tests would be preferred.

Out of scope

Contact Us

For any issues or concerns regarding this competition, please reach out to the Cantina core team through the Cantina Discord.