mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Issue-#1068: Re-organize content
This commit is contained in:
parent
feda6fa795
commit
5f5e374238
@ -8,30 +8,23 @@
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
4\. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance in wei.
|
4. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance in wei.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
5\. Use this number as value for `poolAmountIn` when exiting the pool.
|
5. Copy this number as later you will use it as the `poolAmountIn` parameter.
|
||||||
|
|
||||||
## Get maximum to remove
|
6. Go to field `55. totalSupply` to get the total amount of pool shares, in wei.
|
||||||
|
|
||||||
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 amount 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.
|
7. 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
|
8. Go to _Contract_ -> _Write Contract_ and connect your wallet. Be sure to have your wallet connected to network of the 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\. Go to the field `5. exitswapPoolAmountIn`
|
9. Go to the field `5. exitswapPoolAmountIn`
|
||||||
|
|
||||||
* For `poolAmountIn` add your pool shares in wei
|
* For `poolAmountIn` add your pool shares in wei
|
||||||
* For `minAmountOut` use anything, like `1`
|
* For `minAmountOut` use anything, like `1`
|
||||||
@ -39,6 +32,6 @@
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
4\. Confirm transaction in Metamask
|
10. Confirm transaction in Metamask
|
||||||
|
|
||||||

|

|
||||||
|
Loading…
Reference in New Issue
Block a user