Pools

7.1 Add a liquidity pool

Step 1: When users click on the button “Pools” on the left side of the header, they will be navigated to the “Pools” screen.

- Users click on the button “Learn about providing liquidity” and they will be navigated to the documents of XSwap.

- Users click on the button “Top Pools” and they will be navigated to the following page.

Step 2: Users can add any liquidity pools by clicking on the button “New Position”.

Step 3: Users select the pair of tokens by searching or choosing from a dropdown list.

Step 4: After selecting the pair, users can adjust the settings by clicking on the setting icon on the right corner of the Add Liquidity box. Settings include the following sectors:

- Transaction Settings:

+ Slippage Tolerance:

Auto Slippage button: fixed 0.5%.

Customized Slippage: Users can adjust this value to define their swap order’s tolerance.

+ Transaction Deadline: After a certain amount of time, the order will be canceled. The Default Amount is 30 minutes and users can adjust this amount.

Step 5: Users can switch between two tokens in the pair to view the exchange rate of two tokens.

Step 6: Users select the fee tier:

Note: One of the differences between V2 and V3 is that each pair of assets will be divided into 4 pools with different Liquidity and Price information.

- 0.01% fee tier: Best for very stable pairs

- 0.05% fee tier: Best for stable pairs

- 0.3% fee tier: Best for most pairs

- 1.0%: Best for exotic pairs

Step 7: Users set a starting price for the pool if the pool has never been created before.

Step 8: Another difference between V2 and V3 is that LP can select a range to provide Liquidity to each Pool which will create concentrated Liquidity & users can decide to invest based on their strategy. Users set the bounds for the price range to provide liquidity.

Note 1: If User clicks “Full range”, the page will automatically display values 0 for min and ∞ for max.

Note 2: The Max and Min Price is calculated based on the Tick Range that is defined for each Fee Tier.

Fee Tier 0.01%: Tick Range is 1

Fee Tier 0.05%: Tick Range is 10

Fee Tier 0.3%: Tick Range is 60

Fee Tier 1%: Tick Range is 200

- If users set the price range within the starting price, users can deposit amounts in both Traded Token and Received Token.

- If users set the price outside the specific price range, users’ positions will not earn fees or be used in trade.

Step 9: Users input the amounts they want to deposit for one of the assets, the corresponding amount of the other asset will automatically be calculated.

Step 10: Users can click on the button “Clear all” to reset to the default setting.

Step 11: Users click the button “Approve [Token]”.

Note: Users only need to approve the usage of assets at the first time of adding liquidity to the pools.

Step 12: Users set a spending cap for the token on the wallet popup, or they can click on the button “max” to auto-generate the maximum amounts of tokens to trade.

NOTE: This applies to Metamask wallet only. Default for other wallets is unlimited but it can be changed anytime thru explorer if the token has a verified contract.

Step 13: Users click on the button “Approve”.

Step 14: Users click on the button “Preview” to view detailed information of the addition of liquidity pools.

Step 15: Users click on the button “Add” on the popup of “Add Liquidity”.

Step 16: Users click on the button “Confirm” in the popup to confirm the payment of the trading fee.Step 16: Users click on the button “Confirm” in the popup to confirm the payment of the trading fee.

Step 17: One toast message appears to inform users of the submitted transaction, and another message on the right side of the page appears to inform users about the successful addition of the liquidity pool.

Step 18: Users are navigated to the “Pools Overview” screen, enabling them to view the list of Liquidity Pools that have been created.

7.2 View my liquidity position

Step 1: After adding a liquidity pool, users can view the information related to their liquidity positions.

- NFT representative of liquidity position. More updates will be provided about the LP NFT position in the future.

- Liquidity: Total amounts of liquidity users have added to the pool and the corresponding proportion of those amounts.

- Unclaimed fees: When users click on the button “Collect Fees”, the trading fee will be collected 100%.

- Price range: Users can view the status, Min Price, Max Price and Current Price of the liquidity pool.

Watch the tutorial video on Adding Liquidity.

7.3 Remove a liquidity pool

Step 1: Users access the “Pools” screen, then select one of the liquidity positions that they have added before and click on the button “Remove Liquidity”.

Step 2: After selecting the pair, users can adjust the settings by clicking on the setting icon on the right corner of the Add Liquidity box. Settings include the following sectors:

- Transaction Settings:

+ Slippage Tolerance:

Auto Slippage button: fixed 5.0%

Customized Slippage: Users can adjust this value to define their swap order’s tolerance

+ Transaction Deadline: After a certain amount of time, the order will be canceled. The Default Amount is 30 minutes and users can adjust this amount.

- Interface Settings:

+ Auto Router API: When users switch this on, the price will be fetched faster.

+ Expert Mode: When users switch this on, they allow high price impact trades and can automatically skip the confirm screen.

Step 3: Users can remove the amount of tokens (in percent) by selecting one radio button or scrolling the horizontal bar.

Step 4: Users click on the button “Remove”.

Step 5: Users read detailed information before removing a certain amount of the asset.

- Pooled [Traded Token].

- Pooled [Received Token].

Step 6: The system will navigate users to the wallet so that users confirm the payment of the trading fee. The corresponding results will take place:

- If users remove 100% of the amount, all fees will be claimed.

- Else, remove only the pooled amount without claiming any fees yet.

Step 7: After clicking, a toast message appears to inform users of the submitted transaction.

Step 8: A popup of successful removal of liquidity positions appears:

- If the amount of liquidity is removed 100%, the NFT position will be burned.

- Else, users’ NFT position will not be affected.

7.4 Increase Liquidity to the available pool

Step 1: Users access the “Pools” screen, then access one of the available pools and click on the “Increase Liquidity” button in that specific pool.

Step 2: Users view detailed information about the pools before clicking on the button “Add more”.

Step 3: Users input the amount of liquidity they want to add further to the pools.

Step 4: Users click on the button “Preview” button to view detailed information of the addition of liquidity pools.

Step 5: Users click on the button “Add” on the popup of “Add Liquidity”.

Step 6: Users click on the button “Confirm” in the popup to confirm the payment of the trading fee.

Step 7: One toast message appears to inform users about the submitted transaction.

Step 8: Users are navigated to the “Pools Overview” screen, enabling them to view the list of Liquidity Pools and updated amounts.

Last updated