Documentation
Learn how MaxFi saves you money on every rebalance through zero-swap repositioning.
Backtest Simulator
Test different settings with historical data and see projected returns before you deposit
Refer & Earn
Share MaxFi and earn 0.01% on every rebalance from your referrals—forever
Security & Audits
Review our security audits, contract addresses, and safety features
Team
Meet the people building MaxFi and our approach to development
Risks & Disclaimers
Important information about the risks of using MaxFi and DeFi protocols
Getting Started
Core Concepts
Configuration
What is MaxFi?
MaxFi is an automated concentrated liquidity management protocol built on Base for Uniswap V3, Aerodrome, and PancakeSwap. It uses a novel zero-swap rebalancing technique that eliminates swap fees, slippage, and MEV attacks.
When your concentrated liquidity position goes out of range, traditional rebalancers swap tokens to reposition—costing you fees and exposing you to sandwich attacks. MaxFi does it differently.
We create single-sided positions at the current price boundary and let the pool's natural trading activity rebalance your position while you earn fees. Zero swaps. Zero slippage. Zero MEV.
"Traditional rebalancing swaps at the worst possible moment—right after an extreme move. MaxFi waits for the market to come back, letting the AMM naturally rebalance you at better prices while you earn fees."
The Problem with Traditional Rebalancing
When your position goes out of range, traditional rebalancers immediately swap your tokens. This happens at the worst possible price—right after an extreme move.
Traditional Rebalancing Flow
That swap crystallizes your loss permanently. You're buying Token A back at the top, after the AMM already sold it on the way up. If price reverses, you've already lost.
What Traditional Rebalancing Costs You
How MaxFi Rebalancing Works
Instead of swapping, MaxFi creates a single-sided position at the price boundary using only the tokens you already have.
MaxFi Rebalancing Flow
As the market trades back through your range, the AMM naturally rebalances you—at better average prices. And you're earning trading fees the entire time.
Visual Comparison
Traditional
Price ──────────────────►
┌─────────┐
│ Range 1 │ ← Price exits
└─────────┘
↓ SWAP at high
┌─────────┐
│ Range 2 │ ← New position
└─────────┘
❌ IL locked in at the swapMaxFi
Price ──────────────────►
┌─────────┐
│ Range 1 │ ← Price exits
└─────────┘
↓ NO SWAP
┌─────────┐
│ Range 2 │ ← Edge at price
└─────────┘
◄──── Price returns
✓ AMM rebalances naturallyWhat MaxFi Costs You
Quick Start Guide
Connect your wallet
Click the Connect button in the top right corner.
Choose a pool
Select from Uniswap V3, Aerodrome, or PancakeSwap pools.
Configure your position
Set range width, rebalance delay, auto-rebalance, and auto-compound.
Deposit and earn
Approve your tokens and deposit. Start earning fees immediately.
IL Crystallization vs Deferral
This is the key difference between traditional rebalancing and MaxFi.
Crystallization (Traditional)
When you swap at an extreme price, you lock in your loss permanently. Even if price reverses immediately after, you've already:
- • Sold low or bought high
- • Paid swap fees
- • Lost to MEV
- • Made the IL permanent
Deferral (MaxFi)
MaxFi defers the rebalancing to the market itself. As price moves back through your range:
- • You DCA at gradually improving prices
- • No swap fees or MEV
- • Earn trading fees while waiting
- • IL is reduced, not crystallized
The Math
Traditional rebalance at +5% price move:
- • You swap at the extreme price
- • If price drops 3% back, you've lost that 3% recovery
- • Net: ~5% divergence loss locked in
MaxFi rebalance at +5% price move:
- • You reposition without swapping
- • If price drops 3% back, AMM rebalances you gradually
- • Average entry at ~3.5% above start (not 5%)
- • Net: ~3.5% divergence loss + fees earned
The Mean Reversion Advantage
Price movements often mean-revert, especially in the short term. MaxFi is designed to benefit from this natural market behavior.
How MaxFi Benefits
- 1.Not panicking at extremes — No forced swap at the worst price
- 2.Letting the market come back — Patient repositioning at the boundary
- 3.Earning fees while waiting — Your capital is always working
The Caveat
If price keeps trending in one direction without reverting, MaxFi doesn't save you—you'll keep repositioning. But you're no worse off than traditional, and in the more common case of mean reversion, you come out significantly ahead.
Auto-Compound
Automatically reinvest your trading fees to grow your position—without any swaps or extra cost.
Smart Fee Splitting
When auto-compound is enabled, MaxFi intelligently splits your accrued fees during rebalance:
- →Matching-token fees get compounded into your new position
- →Non-matching fees go directly to your wallet as cash
This is smarter than 50/50—we compound what can be used without swapping, and cash out the rest.
Example: Price Drops
Position is now 100% WETH
Example: Price Rises
Position is now 100% USDC
Auto-Compound ON
Matching-token fees reinvest automatically. Position grows over time.
Best for: Long-term growth
Auto-Compound OFF
All trading fees sent to your wallet during rebalances.
Best for: Regular income
Auto-Rebalance vs Manual
Auto-Rebalance (Enabled)
When your position goes out of range, MaxFi automatically repositions after your configured delay.
Best for: Passive LPs who want hands-off management
Manual (Disabled)
Your position won't auto-rebalance. Use "Rebalance" when ready, or let it act as a limit order.
Best for: Active traders, limit order strategies
Fee-Earning Limit Orders
MaxFi can act as a limit order that pays you while you wait.
- 1. Deposit a single token (e.g., USDC below current price)
- 2. Disable auto-rebalance
- 3. As price enters your range, you accumulate the other token
- 4. You earn trading fees the entire time
Unlike a regular limit order, you get paid for providing liquidity. And since there's no rebalance, there's no protocol fee—it's completely free.
Buy the Dip
Deposit USDC below current ETH price. As ETH drops into your range, you accumulate ETH—while earning fees.
Take Profits
Deposit ETH above current price. As ETH rises into your range, you sell into USDC—while earning fees.
Range Width
Range width determines how concentrated your liquidity is around the current price.
Rebalance Delay
How long to wait after going out of range before auto-rebalancing. This prevents unnecessary rebalances during temporary price spikes.
Choosing Your Settings
Our defaults are optimized for strong, consistent returns across market conditions. But you can experiment—use the backtester to find settings that work for your strategy.
Recommended Starting Settings (365-Day Backtests)
| Pool | Range | Delay | Return* |
|---|---|---|---|
| cbBTC/USDC | 3% | 6-8h | 78-91% |
| WETH/USDC | 1-5% | 2-14h | 42-178% |
| WETH/cbBTC | 2.5% | 8h | 76-79% |
*Results from 365-day backtests during a volatile bear market. Experienced users often achieve higher returns with custom settings.
How Settings Affect Returns
- Wider range = Fewer rebalances, less fees earned, less IL exposure
- Narrower range = More rebalances, more fees earned, more IL exposure
- Longer delay = More fees earned while OOR, but longer time out of optimal range
- Shorter delay = Faster repositioning, but potentially more protocol fees
- Auto-Compound ON = Position grows automatically, best for long-term
- Auto-Compound OFF = All fees to wallet, best for income
Backtest Simulator
Before depositing real funds, use our backtest simulator to see exactly how MaxFi would have performed. Our backtests show 42-178% annual returns across pools—even during one of the worst years for LPs.
Industry-Leading Accuracy
Our backtester doesn't just use price data—it uses real historical APY data derived from daily volume, TVL, and fee data for each pool. This is something no other protocol offers.
What the Simulator Shows You
Simulator Parameters
Range Width (0.5% - 5%)
How wide your liquidity range is. Narrower = more fees but more rebalances.
Rebalance Delay (1 - 24 hours)
How long to wait out-of-range before rebalancing. Longer = fewer rebalances but more time not earning.
Time Period (7 - 365 days)
Historical window to simulate. We have a full year of data—test across bull runs, crashes, and everything in between.
Compound Percentage (0% - 100%)
How much of matching-token fees to reinvest. 100% = full auto-compound.
Important Disclaimer
Backtests use historical data and cannot predict future results. Market conditions change, and past performance is not indicative of future returns. Use the simulator to understand how different settings behave, not as a guarantee of returns.
Cost Comparison
See how MaxFi stacks up against traditional LP management.
| Factor | Traditional | MaxFi |
|---|---|---|
| Swap at rebalance | Yes (at extreme) | No |
| IL crystallization | Immediate | Deferred |
| Swap fees | 0.05% - 1% | None |
| Slippage | 0.5% - 5% | None |
| MEV exposure | High | Impossible |
| Fee earning during rebalance | Paused | Continuous |
| Mean reversion benefit | Lost | Captured |
| Auto-compound cost | Swap fees | Free |
| Protocol fee | 0.5% - 2% | 0.06% |
Scenario Analysis
How MaxFi performs in different market conditions.
| Scenario | Traditional | MaxFi |
|---|---|---|
| Price continues trending | Swap loss + new position | Reposition, no swap loss |
| Price reverses (mean reversion) | Locked in loss | AMM rebalances at better prices |
| Price oscillates | Multiple swaps at extremes | Natural rebalancing via trading |
Fee Structure
You only pay when MaxFi actively repositions your liquidity. Everything else is free. The 0.06% rebalance fee covers operational costs—primarily the gas fees for Chainlink Keepers that automatically monitor and manage positions 24/7.
| Action | Fee |
|---|---|
| Deposit | Free |
| Withdraw | Free |
| Harvest Fees | Free |
| Auto-Compound | Free |
| Limit Orders (no rebalance) | Free |
| Rebalance | 0.06% |
Referral Program
Earn 0.01% of every rebalance from users you refer—forever.
How It Works
Get your referral link
Visit the Refer page to generate your unique link.
Share with others
Send to friends, communities, or social media.
Earn forever
Get 0.01% of every rebalance they do—permanently.
Fee Distribution
When a rebalance occurs (0.06% protocol fee):
Important: Past performance does not indicate future results. IL reduction depends on mean-reverting market conditions. Our contracts have undergone a comprehensive security review which you can read in full. As with all DeFi, please understand the risks before depositing.