For the complete documentation index, see llms.txt. This page is also available as Markdown.

πŸ”Import Liquidity

Import Liquidity lets you move an existing LP position into TradeGPT without manually unwinding the position yourself.

Instead of withdrawing liquidity, bridging tokens, finding the right 0G pool, and rebuilding the position by hand, the import flow guides you through the full process in one place.

What Importing Does

When you import a position, TradeGPT:

  • Removes the source LP position

  • Moves the underlying tokens to 0G when the source position is on another chain

  • Maps the position to the closest compatible TradeGPT range

  • Mints a new TradeGPT LP position on 0G

  • Deposits the new LP into the vault when incentives are available

The import flow does not perform extra strategy trades. It breaks down the source LP, moves the underlying tokens when needed, and mints the new TradeGPT position with the usable amounts. Import liquidity uses a combination of Stargate and Khalani to bridge assets when required.

Supported Sources

The importer currently supports DEX positions on:

  • 0G (Oku, Jaine)

  • Ethereum (Uniswap, PancakeSwap)

  • BNB Chain (Uniswap, PancakeSwap)

  • Base (Aerodrome, Uniswap, PancakeSwap)

Only V2 and V3 positions are currently supported. V4 support is coming soon.

Only importable positions are shown. If a position does not appear, it usually means one of the following:

  • The connected wallet does not hold the LP position

  • The position is still staked, vaulted, or held somewhere other than your wallet

  • The pair does not have a compatible TradeGPT pool

  • One or both tokens are not supported for the import route

  • The source DEX or position type is not supported yet

Before You Start

For a successful import, make sure:

  • You have enough source-chain gas for approvals and LP withdrawal

  • For same-chain 0G imports, you have enough 0G gas for approvals, minting, and vault deposit

  • You understand that bridge fees and source-chain gas fees may apply

  • You leave the import window open while the import is running

For cross-chain imports, the bridge route includes 0G gas for the final deposit when available, so you should not need to manually bridge 0G gas before completing the import.

How to Import Liquidity

1. Open Import Liquidity

Go to Earn, then open Import Liquidity.

TradeGPT will scan supported chains and DEXs for importable LP positions in your connected wallet.

2. Review Your Positions

Each importable position shows:

  • Source chain and DEX

  • Token pair

  • Estimated position value

  • Current price range

  • Current source pool fee

  • New TradeGPT pool fee

  • Estimated TradeGPT pool APR. Positions must be in a ZIA vault to earn the advertised APR; the import process handles this automatically when a vault is available. The displayed APR is the pool average, and your exact APR depends on your liquidity range.

Use this screen to compare the source position with the target TradeGPT position before starting.

3. Start the Import

Select Import on the position you want to move.

TradeGPT prepares the route and shows the import steps before asking you to sign. Review the target pool, fee tier, estimated APR, and amount expected to be used for the new LP.

4. Sign Each Wallet Prompt

Depending on the position, you may see wallet prompts for:

  • Token approval

  • Source LP withdrawal

  • WETH unwrap, when needed

  • Bridge transaction

  • 0G token approval

  • TradeGPT LP mint

  • Vault approval and deposit

Approve only the transactions you expect. If your wallet shows a simulation warning, compare it with the TradeGPT preflight status shown in the import modal. Due to bridging and wallet RPC lag, some wallet simulations may fail even when the TradeGPT preflight check expects the transaction to succeed.

5. Wait for Bridging and Minting

Cross-chain imports can take a few minutes.

The progress modal shows each step as it moves through:

  • Pending

  • Sign

  • Active

  • Done

  • Error

If the import is moving funds from another chain, the modal will wait for the bridged tokens to arrive on 0G before minting the new LP.

6. View the New Position

When the import completes, your new TradeGPT LP is live on 0G.

Any leftover tokens that were not needed for the new LP stay in your wallet. This can happen when the source range, target range, or pool ratios do not match perfectly and result in a small amount of leftover tokens.

Select View position to return to Earn and review the imported liquidity.

If an Import Pauses or Fails

Note: A failed import should not result in a loss of funds. However, if the import has passed the LP removal stage, the original LP will no longer exist and the related tokens will be in your wallet or already moving to 0G.

Some failures are recoverable. If the modal shows Retry import, use it before starting over.

Common failure causes include:

  • A wallet prompt was rejected

  • A transaction took too long to confirm

  • A bridge route was delayed

  • The destination funds had not arrived on 0G yet

  • A token approval did not complete

If the source LP was already removed, do not manually recreate the original position unless you are sure the import is no longer in progress. Your tokens may already be in your wallet or moving to 0G.

Important Notes

  • Importing changes your position. You are withdrawing from the source pool and creating a new TradeGPT LP.

  • Bridge fees, source-chain gas fees, and any required approval costs may apply.

  • The new position may not use 100% of the withdrawn tokens. Unused tokens will never leave your wallet.

  • APR is an estimate and can change over time.

  • Imported liquidity is still exposed to normal LP risks, including impermanent loss.

Last updated