1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-06-26 11:16:27 +02:00

GitBook: [#2] Update content in remove liquidity using Etherscan page

This commit is contained in:
Akshay Patel 2022-07-29 13:10:35 +00:00 committed by gitbook-bot
parent d1437f497f
commit bf615e8aff
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
3 changed files with 12 additions and 9 deletions

View File

@ -10,7 +10,7 @@
* [Data NFTs and Datatokens](core-concepts/datanft-and-datatoken.md) * [Data NFTs and Datatokens](core-concepts/datanft-and-datatoken.md)
* [Roles](core-concepts/roles.md) * [Roles](core-concepts/roles.md)
* [Networks](core-concepts/networks.md) * [Networks](core-concepts/networks.md)
* [Bridges](building-with-ocean/polygon-bridge.md) * [Bridges](core-concepts/networks/bridges.md)
* [Fees](core-concepts/fees.md) * [Fees](core-concepts/fees.md)
* [Asset pricing](core-concepts/asset-pricing.md) * [Asset pricing](core-concepts/asset-pricing.md)
* [DID & DDO](core-concepts/did-ddo.md) * [DID & DDO](core-concepts/did-ddo.md)

View File

@ -0,0 +1,2 @@
# Bridges

View File

@ -2,11 +2,11 @@
## Get your balance of pool share tokens ## 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. 1. Go to the pool's Etherscan/Polygonscan page. You can find it by inspecting your transactions on your account's Etherscan page under _Erc20 Token Txns_.
2. On the pool contract page, go to _Contract_ -> _Read Contract_. 2. Click _View All_ and look for Ocean Pool Token (OPT) transfers. Those transactions always come from the pool contract, which you can click on.
3. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance. 3. On the pool contract page, go to _Contract_ -> _Read Contract_.
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 4. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance in wei.
5. Use the converted wei number as value for `poolAmountIn` when exiting the pool 5. Use this number as value for `poolAmountIn` when exiting the pool.
## Get maximum to remove ## Get maximum to remove
@ -19,6 +19,7 @@
1. Go to the pool's Etherscan/Polygonscan page. 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. 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 3. Go to the field `5. exitswapPoolAmountIn`
4. For `minAmountOut` use anything, like `1` 4. For `poolAmountIn` add your pool shares in wei
5. Hit _Write_ 5. For `minAmountOut` use anything, like `1`
6. Hit _Write_