Maker Vault Code Introduction: Maker Vaults are fully on-chain, non-custodial smart contracts that deploy and manage liquidity into DLMM pools. Managed by wallets, these vaults simplify liquidity provisioning while ensuring transparency.
Core Features:
- Open for All: Create and manage an own vault with a one-time creation fee of 400 $S.
- 1-Click Participation: Users can join existing vaults effortlessly, eliminating the complexity of adjusting positions to market volatility.
- Earnings for Vault Operators: Vault operators set an AUM fee (0.5%–10%) for their services.
- Earnings for Vault Participants: Vault participants earn all the trading fees and farming rewards. Trading Fees are auto-compounded and rewards like Metro need to be claimed.
Vault operators have full control to adjust DLMM positions and use the built-in reserve to strategically park unallocated funds. However, they never have direct access to the funds themselves, which are held by the smart contract.
Prize distribution and scoring
- Total Public Pool: $25,000
- Additional pay for dedicated Cantina researcher: $7,000
Scoring described in the competition scoring page.
Findings Severities described in detail on our docs page.
Documentation
Scope
- Repository: metropolis-lb-vaults
- Total LOC: 1.961 (nSLOC)/ 4,727 (LOC)
- Files:
src/*
Build Instructions
- Download the repository from here
- Install the libraries:
-
forge install --no-git wighawag/clones-with-immutable-args@32ae0a3 \ foundry-rs/forge-std@5086c7a \ traderjoe-xyz/joe-v2@0e422c2 \ traderjoe-xyz/joe-v2-periphery@3bc079c \ OpenZeppelin/openzeppelin-contracts@d00acef \ OpenZeppelin/openzeppelin-contracts-upgradeable@f6c4c9c
-
forge build
Basic POC Test
Mandatory rule applies for this competition
- test/01_PoC.t.sol
Out of scope
SimpleVault.sol
- Default Operator and Owner are trusted roles, Normal Operator (untrusted) can be potentially anyone who creates a market maker vault.
- Automated findings by LightChaser
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:
$25,000
Findings submitted:
732
Start date:
2 Apr 2025 8:00pm (local time)
End date:
20 Apr 2025 8:00pm (local time)