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
- Scoring described in the competition scoring page.
- Findings Severities described in detail on our docs page.
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
- Everything in /src EXCEPT for LimitOrderLens.sol
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
- Trusted Roles
- Owner
- Set the hook address
- Whitelist/delist pools
- Configure keeper addresses
- Set hook fee percentage
- Pause/unpause contract functionality
- LimitOrderHook Fee Manager
- Update dynamic LP fee rates for pools
- Owner
- Lightchaser report:
Contact Us
For any issues or concerns regarding this competition, please reach out to the Cantina core team through the Cantina Discord.
Summary
Status
CompletedTotal 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)