1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Issue-#1068: Resolve merge conflict

This commit is contained in:
Akshay 2022-07-28 17:20:24 +02:00
commit d1437f497f
3 changed files with 29 additions and 1 deletions

View File

@ -18,6 +18,7 @@
* [Publish a data asset](using-ocean-market/marketplace-publish-data-asset.md) * [Publish a data asset](using-ocean-market/marketplace-publish-data-asset.md)
* [Download a data asset](using-ocean-market/marketplace-download-data-asset.md) * [Download a data asset](using-ocean-market/marketplace-download-data-asset.md)
* [Publishing with hosting services](building-with-ocean/asset-hosting.md) * [Publishing with hosting services](building-with-ocean/asset-hosting.md)
* [Remove liquidity using Etherscan](using-ocean-market/remove-liquidity-using-etherscan.md)
* [Building with Ocean](building-with-ocean/README.md) * [Building with Ocean](building-with-ocean/README.md)
* [Build a Marketplace](building-with-ocean/build-a-marketplace/README.md) * [Build a Marketplace](building-with-ocean/build-a-marketplace/README.md)
* [Forking Ocean Market](building-with-ocean/build-a-marketplace/forking-ocean-market.md) * [Forking Ocean Market](building-with-ocean/build-a-marketplace/forking-ocean-market.md)
@ -42,4 +43,3 @@
* [API references](api-references/README.md) * [API references](api-references/README.md)
* [Aquarius REST API](api-references/aquarius-rest-api.md) * [Aquarius REST API](api-references/aquarius-rest-api.md)
* [Provider REST API](api-references/provider-rest-api.md) * [Provider REST API](api-references/provider-rest-api.md)

View File

@ -18,3 +18,7 @@ If you are new to web3 and blockchain technologies then we suggest you first rea
* [Wallet Basics](building-with-ocean/wallets.md) * [Wallet Basics](building-with-ocean/wallets.md)
* [Set Up MetaMask Wallet](orientation/metamask-setup.md) * [Set Up MetaMask Wallet](orientation/metamask-setup.md)
* [Manage Your OCEAN Tokens](building-with-ocean/wallets-and-ocean-tokens.md) * [Manage Your OCEAN Tokens](building-with-ocean/wallets-and-ocean-tokens.md)
### Removing Liquidity
The AMM pools, and dynamic pricing schema are no longer available on the Ocean Market. Refer [this page](remove-liquidity-using-etherscan.md) on removing liquidity from the pool using Etherscan.

View File

@ -0,0 +1,24 @@
# Remove liquidity using Etherscan
## Get your balance of pool share tokens
1. Go to the pool's Etherscan/Polygonscan page. To find it without UI, see through your latest transactions and look for Ocean Pool Token (OPT) transfers. Those transactions always come from the pool contract.
2. On the pool contract page, go to _Contract_ -> _Read Contract_.
3. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance.
4. To convert to wei, go to [eth-converter.com](https://eth-converter.com) and input the retrieved pool shares number in the _Ether_ field
5. Use the converted wei number as value for `poolAmountIn` when exiting the pool
## Get maximum to remove
1. Go to the pool's Etherscan/Polygonscan page.
2. Go to _Contract_ -> _Read Contract_.
3. Go to field `56. totalSupply` to get the total amopunt of pool shares, in wei.
4. Divide the number by 2 to get the maximum of pool shares you can send in one pool exit transaction. If your number retrieved in former step is bigger, you have to send multiple transactions.
## Exit pool
1. Go to the pool's Etherscan/Polygonscan page.
2. Go to _Contract_ -> _Write Contract_ and connect your wallet. Be sure to have your wallet connected to network of the pool.
3. For `poolAmountIn` add your pool shares in wei
4. For `minAmountOut` use anything, like `1`
5. Hit _Write_