# LP Farms

While there is a risk for impermanent loss in your LP assets, you will not lose the number of LP invested in the project, as there is no risk for reductions in LP standard assets.

When the market fluctuates and your LP asset is swapped for two types of assets, the corresponding USDT-standard asset is at risk.

- Manual reinvestment is replaced by automatic contract reinvestment;
- Save gas fee for users;
- Maximize users' mining revenue

The lock-up amount is calculated based on the quantity and price of the two assets in the DEX.

Lock-up amount = Amount(MDX)*Price(MDX)+Amount(USDT)*Price(USDT)

LP estimates the volume of the two corresponding assets by calculating the total number of LPs on the corresponding platform and the total number of two assets in the corresponding LP pool.

Take MDX-USDT LP as an example:

- Go to the MDEX platform information query page and select the corresponding token pair.

- You can see the total number of MDX and USDT in the corresponding pool.

- Click to check the on-chain information of the corresponding token pair.

Users can calculate the exchangeable amount of the two assets after removing

Based on the proportion of HMDX, users can calculate the exchangeable amount of the two assets after removing liquidity.

- MDX unstaked = the number of HMDX held/the total number of HMDX*the total number of MDX in the LP pool.
- USDT unstaked = the number of HMDX held / the total number of HMDX * the total number of USDT in the LP pool.

Last modified 10mo ago