Gamma Strategies / gamma-univ4-limit-orders

Gamma Strategies / gamma-univ4-limit-orders


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.

Summary

Status

Completed

Total reward:

20,000 OP

Findings submitted:

136

Start date:

28 Apr 2025 8:00pm (local time)

End date:

5 May 2025 8:00pm (local time)