Concentrated liquidity execution
Limit orders that liquid and earn
Rerange is a non-custodial protocol for directional liquid orders. Users set a target price, capital, direction, and trigger distance. The protocol deploys liquidity between market price and target price, reranges as price moves, and closes when conversion is complete.
Liquidity Range
BUY
What Rerange Is
Rerange turns a limit order into a working concentrated liquidity position. Instead of waiting idle off-market, the order earns swap fees while price moves toward the user’s target.
The core idea is simple:
- A sell order places liquidity from
max(current tick, target tick - trigger ticks)up to the fixed target tick. - A buy order places liquidity from the fixed target tick up to
min(current tick, target tick + trigger ticks). - Reranging only moves the boundary touching market price. The target stays fixed.
- Assets stay in the user’s vault. The hub coordinates execution but does not custody funds.
Who This Is For
Open orders that aim to convert one asset into another at a target price while collecting LP fees during execution.
Integrate order creation, previews, vaults, and order state through contracts, ABIs, or the TypeScript SDK.
Monitor order state, call permissionless reranges, batch executable orders, and earn resolver rewards from target-asset fees.
Protocol Components
| Component | Role |
|---|---|
| Hub | Order registry, preview surface, range calculation, rerange coordinator, fee settlement. |
| Vault | User-owned execution account that holds tokens and LP positions. |
| Adapter | Stateless venue integration. Current public adapters target Uniswap v3 and v4. |
| Resolver | Offchain automation that calls rerange(orderKey) when an order is executable. |
The Lifecycle
- User previews an order and resolves or creates a vault.
- User approves or pre-funds the source token.
- Hub opens the order and asks the vault to mint concentrated liquidity through an adapter.
- Resolvers watch price, TWAP deviation, cooldown, and conversion progress.
- A resolver calls
rerange(orderKey)when the order is executable. - The vault removes liquidity, collects fees, and redeploys the next sliding window.
- When price crosses target or source balance is effectively converted, the order closes and settles.
Important Safety Properties
- Non-custodial vaults: user funds and LP NFTs stay in vaults owned by users.
- Permissionless maintenance: reranges can be called by anyone.
- No market swap in rerange: execution is done by removing and adding liquidity.
- TWAP protection: adapters expose TWAP and tick-deviation checks for execution plans.
- Directional fee settlement: resolver rewards come only from target-asset fees; referrer and treasury payments come only from non-target-asset fees.
Rerange is protocol infrastructure. Integrators should still simulate transactions, check deployment config, and surface normal LP risks: price movement, fee variability, smart contract risk, and gas cost.