GITBOOK-117: change request with no subject merged in GitBook
BIN
.gitbook/assets/balance-of (1).png
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
.gitbook/assets/balance-of.png
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
.gitbook/assets/confirm-metamask.png
Normal file
After Width: | Height: | Size: 224 KiB |
BIN
.gitbook/assets/read-contract.png
Normal file
After Width: | Height: | Size: 211 KiB |
BIN
.gitbook/assets/remove-liquidity.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
.gitbook/assets/total-supply.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
.gitbook/assets/write-contract.png
Normal file
After Width: | Height: | Size: 234 KiB |
@ -62,7 +62,7 @@ Ocean provides convenient methods to list ERC20 datatokens for sale, with fixed-
|
|||||||
|
|
||||||
### High-Level Behavior
|
### High-Level Behavior
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
Here's an example.
|
Here's an example.
|
||||||
|
|
||||||
|
@ -18,41 +18,41 @@ Create an account on [Azure](https://azure.microsoft.com/en-us/). Users might al
|
|||||||
|
|
||||||
Go to the Azure portal: https://portal.azure.com/#home and select `Storage accounts` as shown below.
|
Go to the Azure portal: https://portal.azure.com/#home and select `Storage accounts` as shown below.
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
**Create a new storage account**
|
**Create a new storage account**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Fill in the details**
|
**Fill in the details**
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
**Storage account created**
|
**Storage account created**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Step 2 - Create a blob container**
|
**Step 2 - Create a blob container**
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
**Step 3 - Upload a file**
|
**Step 3 - Upload a file**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Step 4 - Share the file**
|
**Step 4 - Share the file**
|
||||||
|
|
||||||
**Select the file to be published and click Generate SAS**
|
**Select the file to be published and click Generate SAS**
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
**Configure the SAS details and click `Generate SAS token and URL`**
|
**Configure the SAS details and click `Generate SAS token and URL`**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Copy the generated link**
|
**Copy the generated link**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Step 5 - Publish the asset using the generated link**
|
**Step 5 - Publish the asset using the generated link**
|
||||||
|
|
||||||
|
@ -10,32 +10,33 @@ Liquidity pools and dynamic pricing used to be supported in previous versions of
|
|||||||
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.
|
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. On the pool contract page, go to _Contract_ -> _Read Contract_.
|
3. On the pool contract page, go to _Contract_ -> _Read Contract_.
|
||||||
|
|
||||||

|
<figure><img src="../.gitbook/assets/read-contract.png" alt=""><figcaption><p>Read Contract</p></figcaption></figure>
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||

|
<figure><img src="../.gitbook/assets/balance-of.png" alt=""><figcaption><p>Balance Of</p></figcaption></figure>
|
||||||
|
|
||||||
5\. Copy this number as later you will use it as the `poolAmountIn` parameter.
|
5\. Copy this number as later you will use it as the `poolAmountIn` parameter.
|
||||||
|
|
||||||
6\. Go to field `55. totalSupply` to get the total amount of pool shares, in wei.
|
6\. Go to field `55. totalSupply` to get the total amount of pool shares, in wei.
|
||||||
|
|
||||||

|
<figure><img src="../.gitbook/assets/total-supply.png" alt=""><figcaption><p>Total Supply</p></figcaption></figure>
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
8\. Go to _Contract_ -> _Write Contract_ and connect your wallet. Be sure to have your wallet connected to network of the pool.
|
8\. Go to _Contract_ -> _Write Contract_ and connect your wallet. Be sure to have your wallet connected to network of the pool.
|
||||||
|
|
||||||

|
<figure><img src="../.gitbook/assets/write-contract.png" alt=""><figcaption><p>Write Contract</p></figcaption></figure>
|
||||||
|
|
||||||
9\. 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`
|
||||||
* Hit _Write_
|
* Hit _Write_
|
||||||
|
*
|
||||||
|
|
||||||

|
<figure><img src="../.gitbook/assets/remove-liquidity.png" alt=""><figcaption><p>Remove Liquidity</p></figcaption></figure>
|
||||||
|
|
||||||
10\. Confirm transaction in Metamask
|
10\. Confirm transaction in Metamask
|
||||||
|
|
||||||

|
<figure><img src="../.gitbook/assets/confirm-metamask.png" alt=""><figcaption><p>Confirm transaction</p></figcaption></figure>
|
||||||
|
@ -28,7 +28,7 @@ Select Ubuntu OS and choose a plan. The required CPU, Memory depends on the numb
|
|||||||
|
|
||||||
Also, select the region where you want Aquarius to be hosted and a root password.
|
Also, select the region where you want Aquarius to be hosted and a root password.
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|