How Liquidity Provision Works
Liquidity providers (LPs) deposit token pairs into pools and earn a share of every swap fee. Your liquidity makes swaps possible — and you get paid for it.The LP Flow
Select a Pool
Choose which token pair you want to provide liquidity for (for example
CC (Amulet) / USDCx). You can see current reserves, fee earnings, and APR for each pool.Enter Deposit Amounts
Specify how much of the first token you want to deposit. The required amount of the second token is calculated automatically based on the current pool ratio.
Create an LP Intent
Confirm your deposit. OneSwap returns the pool LP party plus a transfer reference for the intent.
Send Both Tokens
Transfer both token amounts from the same party to the LP address and include the same transfer reference on both Canton transfers. You currently have 24 hours to complete both deposits.
How LP positions work
Your LP balance represents your ownership share of a liquidity pool.- Proportional — If you deposit 1% of the pool’s total value, you receive 1% of the LP supply
- Appreciating — As swap fees accumulate, your LP balance is backed by more underlying reserves
- Tracked by OneSwap — LP ownership is stored in the OneSwap database, not as a separate on-chain token in your wallet
- Redeemable — Withdraw your LP balance anytime to receive your share of both underlying tokens plus accrued fees
Example
| Your Deposit | Pool Total | Your Share | |
|---|---|---|---|
| CC (Amulet) | 100 | 10,000 | 1% |
| USDCx | 50 | 5,000 | 1% |
| LP Balance | 100 | 10,000 | 1% |
CC (Amulet) and USDCx than you originally deposited.
Deposit Requirements
- Both tokens required — You must deposit both tokens in the pair
- Ratio must match — Deposits must match the current pool ratio (the app calculates this for you)
- 24-hour window — Both deposits must arrive before the current LP intent deadline
- Transfer reference required — Include the returned reference on both Canton transfers so OneSwap can match them to the right LP intent
- Incomplete deposits are refunded — If only one token arrives before timeout, it’s returned to you
- Same sender required — Both deposits must come from the same Canton party that created the LP intent
- One-sided pools are blocked — Existing pools with a zero reserve on one side reject new liquidity until they are reset
Security and settlement model
OneSwap’s liquidity flow is designed to be non-custodial for token movement, but not fully self-custodial for LP ownership.- Direct-party deposits — Users send token A and token B directly to the pool LP party from their own Canton party.
- Exact holding matching — The LP monitor consumes the exact deposit holdings that matched the LP intent. It does not sweep unrelated LP-party balances.
- Refund-first failure handling — If the second token never arrives, the ratio changes too far, or the deposit does not match the intent, OneSwap refunds the deposit instead of partially crediting liquidity.
- Database-tracked LP ownership — LP balances live in the OneSwap database rather than as a user-held on-ledger LP token.
- Locked withdrawals — Withdrawals reserve the LP balance first, transfer both underlying tokens, and only then burn the LP balance.
LP Intent Lifecycle
| Status | Meaning |
|---|---|
pending | Waiting for both token deposits |
partial | One token received, waiting for the second |
processing | Both tokens received and the LP position is being credited |
completed | Both tokens received and the LP position was credited |
refunded | Deposits were returned because the live pool no longer matched the intent |
failed | LP settlement failed and needs investigation |
cancelled | Intent was cancelled before completion |
expired | Timeout reached — any deposited tokens are refunded |
Withdrawing Liquidity
You can withdraw your liquidity at any time:- Go to View Positions to see your LP holdings
- Choose how much of your LP balance to withdraw (partial or full)
- Receive your proportional share of both underlying tokens
You can withdraw partially. If you hold 100 LP balance units, you can withdraw 50 and keep earning with the remaining 50.
Withdrawal guarantees
- The withdrawal destination can be your own party or another Canton party you choose.
- OneSwap does not first send withdrawn tokens to a platform wallet and then forward them.
- If one transfer leg fails during withdrawal, the withdrawal is left in a recoverable state instead of burning the entire LP claim and pretending it succeeded.
Risks
- Impermanent loss — If the price ratio between the two tokens changes significantly from when you deposited, you may receive less value than if you had simply held the tokens. Fee earnings can offset this.
- Pool utilization — Earnings depend on swap volume. Low-volume pools generate fewer fees.
Tips
- Check APR before depositing — on supported pools it shows the annualized return from recent 7-day fee events and effective reserves
- Monitor your positions — Use the View Positions tab to track your earnings in real time
- Start small — Test with a small deposit to understand the flow before committing larger amounts