
Entering a liquidity position is easy. Exiting one at the right moment is much harder.
Most liquidity providers already know what they want. They want to pull out when the pool price hits a target, when fees reach a certain level, or on a specific date. The plan is clear. Executing it is the problem, because markets move at 3am and nobody watches a chart forever.
Smart Exit on KyberSwap solves this. It lets you set your exit rules in advance and have your liquidity position exited automatically when those rules are met. No monitoring, no manual timing, no native gas token needed at the moment of execution.
This guide breaks down what Smart Exit is, how it works, what you can set, and why it matters for your returns.
What is Smart Exit?
Smart Exit is an automated liquidity withdrawal feature for KyberEarn. You predefine the conditions under which your liquidity position should be closed, and the system exits the position for you once those conditions are met.
Think of it as a standing instruction for your LP position. Instead of watching the pool and reacting, you declare the outcome you want and let the system handle execution.
This matters because LP management has historically been a manual job. Traders have had limit orders and stop-losses for years. Liquidity providers have mostly had spreadsheets, alerts, and willpower. Smart Exit brings that same automation logic to liquidity positions, and it is a first-of-its-kind approach in the current LP management landscape.
The feature sits inside KyberEarn alongside the KyberSwap Aggregator that routes trades across 18 chains and more than 420 liquidity sources.
Why do LPs need automated withdrawal?
Providing liquidity earns you trading fees. That part is straightforward. The hard part is deciding when to stop.
Manual exits fail for a few predictable reasons:
- Volatility does not respect your schedule. Your price target can be hit and lost inside a few minutes while you sleep.
- Constant monitoring is unrealistic. Watching several positions across several pools is a full-time job, not a side activity.
- Emotion overrides the plan. People hold too long after a target is hit, or panic out early on a temporary dip.
- Execution friction adds up. Finding gas, approving transactions and timing submission all cost time and money.
An automated exit removes all four problems at once. Your strategy gets executed the way you wrote it, not the way you happened to feel at the time.
How does Smart Exit work?
Smart Exit uses an intent-based execution model. That sounds technical, so here is the plain version.
Normally you submit a transaction that says “do this now.” With an intent, you instead sign a statement that says “do this when these things are true.” You are declaring an outcome, not a transaction.
Here is the flow:
- You declare your intent. Pick a liquidity position and set the exit conditions you want.
- The system monitors off-chain. Conditions are tracked off-chain, which keeps monitoring fast and cheap.
- Execution is validated on-chain. When your conditions are satisfied, an execution transaction is generated and submitted. Smart contracts then check that the transaction matches your signed intent before the exit is allowed to proceed.
The design is trustless and verifiable. Monitoring and submission involve off-chain components, but all validation logic and execution constraints live in public smart contracts. Your position can only be exited when your declared conditions are actually met, and anyone can verify that behavior on-chain.
How does gasless execution work?
Smart Exit supports gasless order creation and cancellation. You can set up an order or cancel one without submitting an on-chain transaction from your wallet, and without holding native gas tokens at that moment.
Execution itself still needs an on-chain transaction, so network gas costs still exist. The difference is who fronts them. An executor wallet pays the gas upfront and is reimbursed from the tokens your position returns at exit.
That reimbursement is capped. When you create the order, you sign a maximum execution gas cap. If the actual gas required at execution time exceeds your cap, the order simply will not execute. You are protected from a gas spike quietly eating into your position.
What conditions can you set?
Smart Exit gives you three condition types. Use one on its own, or combine two using AND or OR logic.
Fee yield condition
This triggers an exit once the fees your position has earned reach or exceed a threshold you set.
Fee yield is calculated on a token basis, not a USD basis, and it counts fees accumulated from the moment the position was created. Measuring in tokens matters. It means short-term price swings do not distort the reading, so the condition reflects fees your position genuinely earned.
During setup, the interface shows your current Earning Fee Yield, so you can pick a realistic target instead of guessing.
Pool price condition
This triggers an exit when the pool price reaches your target. You can set it in either direction:
- Price is greater than or equal to your target, to exit into strength.
- Price is less than or equal to your target, to exit on a decline.
Pool price uses the pool’s own quote convention, typically Token₁ per Token₀. If you set a target of 1.00, execution happens at 1.00 or marginally above, so your threshold is always respected.
Time-based condition
This triggers an exit before or after a date and time you choose. Used on its own, only the “after” direction applies, which makes it a clean way to set a fixed holding period.
Combined with another condition, time becomes a powerful control. Use AND to require both, or use OR to create a fallback.
Combining conditions with AND / OR
- AND means both conditions must be true at the same time. Example: Fee Yield ≥ 5% AND Pool Price ≥ 1.00. The exit only fires when both are satisfied.
- OR means either condition can trigger the exit, whichever comes first. Example: Fee Yield ≥ 5% OR a time cutoff. You take the fee target if it arrives, and exit on schedule if it does not.
That second pattern is the one experienced LPs tend to reach for. It gives your position room to perform without leaving it open forever.
Smart Exit vs manual withdrawal
| Smart Exit | Manual withdrawal | |
|---|---|---|
| Trigger | Fee yield, pool price or time | You, whenever you notice |
| Monitoring needed | None | Constant |
| Gas token at execution | Not required upfront | Required |
| Combined logic | AND / OR supported | Not applicable |
| Execution guarantee | Enforced by smart contracts | Depends on you |
| Setup and cancellation | Gasless | Not applicable |
Manual withdrawal depends on you being awake and available. Smart Exit is the only one of the three that actually completes the job.
What are the main benefits of Smart Exit?
Pulling it together, here is what LPs get:
- Your strategy executes itself. The exit plan you wrote is the exit plan that runs.
- No constant monitoring. Set the order and step away from the charts.
- Emotion stays out of it. Conditions are signed in advance, before the market gets loud.
- No native gas token needed to set up, cancel or execute. Gas is fronted by an executor and capped by you.
- Gas spikes cannot surprise you. Exceed your cap and the order simply does not run.
- Flexible, layered logic. Fee targets, price targets and time horizons combine into a real strategy.
- Verifiable on-chain. Validation is enforced by public smart contracts, not by trust.
- Full order visibility. Every order, status and execution record stays available for review.
How do you manage your Smart Exit orders?
Smart Exit includes an order management view covering every order you have created. For each one, you can see the selected position, the configured conditions, your maximum execution gas and the current status.
Historical orders stay available too, along with their execution records. That gives you a running log of how your exit strategies actually performed, which is useful when you tune the next one.
Notifications cover the key events: order creation, conditions being met, and execution completing or failing to execute. These arrive through the Notifications Hub on kyberswap.com, so you stay informed without watching the position yourself.
Ready to put your LP exits on autopilot?
Smart Exit turns an exit plan into something that actually runs. You define the outcome, sign it once, and let smart contracts handle the rest.
Head to KyberSwap, open one of your liquidity positions, and set your first Smart Exit order. Your strategy stops depending on your attention span.
Frequently asked questions
Do I need native gas tokens to use Smart Exit?
Not to create or cancel an order, and not at the moment of execution. Execution still incurs network gas, but an executor wallet pays it upfront and is reimbursed from the tokens your position returns.
What happens if gas costs spike above my cap?
The order will not execute. Your maximum execution gas cap is signed by you at setup, and execution cannot proceed beyond it. Your position stays open.
Can I cancel a Smart Exit order?
Yes, and cancellation is gasless. Once cancelled, the order becomes inactive and can no longer be executed.
Does KyberSwap take custody of my liquidity?
No. Off-chain components handle monitoring and submission, but all validation and execution constraints are enforced by public smart contracts. Your position can only be exited under the conditions you signed.
What if my conditions are never met?
Nothing happens and your position stays exactly as it is, continuing to earn fees. This is why many LPs pair a fee or price target with a time-based fallback using OR logic.
Is fee yield measured in USD?
No, it is measured on a token basis and counted from the time the position was created. That keeps the reading tied to fees actually earned rather than to short-term market price movement.
Can I use more than one condition on the same position?
Yes. Conditions can be combined with AND, requiring both to be true, or with OR, letting whichever arrives first trigger the exit.

