# Withdrawal Instructions

<mark style="color:red;">**SPICE DAO will be shutting off frontend hosting for Spice Finance starting January 20th, 2025. We highly recommend withdrawing before January 20th, 2025.**</mark> \
\
Withdrawals from Spice Finance contract's is permission-less and can be performed without the use of a frontend. Please read below for instructions on how to withdraw.

There are four vaults that you may have deposited ETH in:

1. Prologue Vault
2. Leverage Vault
3. Flagship Vault
4. SP-BLUR Vault

<mark style="color:yellow;">**If you are struggling with the following etherscan instructions, please feel free to reach out to SPICE DAO using the resources in:**</mark>[support-contact-info](https://docs.spicefi.xyz/spice-wind-down/support-contact-info "mention")

## Withdrawing from Prologue:

1. Navigate to Etherscan: <https://etherscan.io/address/0x6110d61dd1133b0f845f1025d6678cd22a11a2fe#writeProxyContract>
2. Click the connect to web3 button at the top of the list of functions and make sure you connect the wallet that holds your Prologue NFT.
3. Go to #30 (withdraw) and fill in the following:
   1. id - id of your Prologue NFT
      1. You can find the id of your NFT using OpenSea: <https://opensea.io/>
      2. The id will be a number ranging from 1 - 555
   2. assets - the amount you want to withdraw (denominated in wei)
      1. If you want to calculate the maximum wei you can withdraw:
         1. Navigate to <https://etherscan.io/address/0x6110d61dd1133b0f845f1025d6678cd22a11a2fe#readProxyContract>
         2. In #39. Type in your NFT id (fetched from OpenSea in 3a) and click "Query"
         3. Multiply the output by the number in #41 and divide by the number in #42
         4. Example (using 97 as the NFT id):

            <figure><img src="https://3431786941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrbYm3BfUQbxmgokOyH9%2Fuploads%2FXJEyubXC0YvnE6H816KC%2Fimage.png?alt=media&#x26;token=64dee68d-7242-4982-9670-b620d4e3a512" alt=""><figcaption></figcaption></figure>

            1. 4448219620497531 \* 30416870534398666105 / 16551102534304358 = 8174737605837208856
         5. Round this number down. It represents your ETH balance in wei.
            1. Example:
               1. &#x20;8174737605837208856 -> 8174700000000000000
               2. 8174700000000000000 wei = around 8.17 ETH
   3. receiver - the wallet address that holds the Prologue NFT
4. Click write.
5. Full example:

   <figure><img src="https://3431786941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrbYm3BfUQbxmgokOyH9%2Fuploads%2FWnsSVz8pgwQDBnkK7bfD%2Fimage.png?alt=media&#x26;token=874e72b7-3a01-44f9-b242-3c1e37f7c98d" alt=""><figcaption></figcaption></figure>

## Withdrawing from Flagship:

1. Navigate to Etherscan:
   1. Read as Proxy: <https://etherscan.io/address/0xae11ae7cad244dd1d321ff2989543bcd8a6db6df#readProxyContract>
      1. Type in your address in #26 and click 'Query' to see what is the maximum wei you can withdraw

         <figure><img src="https://3431786941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrbYm3BfUQbxmgokOyH9%2Fuploads%2FFLx5dxx34x4fcL2dxEQP%2Fimage.png?alt=media&#x26;token=637a7b7f-6dad-452c-a3a5-1bbe04361cc7" alt=""><figcaption></figcaption></figure>
2. Navigate to Write as Proxy on Etherscan: <https://etherscan.io/address/0xae11ae7cad244dd1d321ff2989543bcd8a6db6df#writeProxyContract>
3. Click the connect to web3 button at the top of the list of functions and make sure you connect the wallet that holds your Flagship Position.
4. Go to #30 (withdrawETH) and fill in the following:
   1. assets - amount you want to withdraw (in wei). Fetched in 1ai. Recommended that you round down.
   2. receiver - the address of the wallet you have connected
   3. owner - the address of the wallet you have connected
   4. Example

      <figure><img src="https://3431786941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrbYm3BfUQbxmgokOyH9%2Fuploads%2FvqaDmXTRbQOJ0p3sB1K0%2Fimage.png?alt=media&#x26;token=a2f7738a-22d0-4059-ba89-b0f5612d9b2a" alt=""><figcaption></figcaption></figure>

## Withdrawing from Leverage:

1. Navigate to Etherscan:

   1. Read as Proxy: <https://etherscan.io/address/0xd68871bd7d28572860b2e0ee5c713b64445104f9#readProxyContract>
      1. Type in your address in #33 and click 'Query' to see what is the maximum wei you can withdraw

   <figure><img src="https://3431786941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrbYm3BfUQbxmgokOyH9%2Fuploads%2FH4wmcYGW5X1s6Oe9LcA3%2Fimage.png?alt=media&#x26;token=ee0043d1-4f76-44bc-86d6-3987c49c1f8c" alt=""><figcaption></figcaption></figure>
2. Navigate to Write as Proxy on Etherscan: <https://etherscan.io/address/0xd68871bd7d28572860b2e0ee5c713b64445104f9#writeProxyContract>
3. Click the connect to web3 button at the top of the list of functions and make sure you connect the wallet that holds your Leverage Position.
4. Go to #32 (withdrawETH) and fill in the following:
   1. assets - amount you want to withdraw (in wei). Fetched in 1ai. Recommended that you round down.
   2. receiver - the address of the wallet you have connected
   3. owner - the address of the wallet you have connected
   4. Example

<figure><img src="https://3431786941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrbYm3BfUQbxmgokOyH9%2Fuploads%2FYsxOdWIqj6froq9irf2r%2Fimage.png?alt=media&#x26;token=317a5889-8b3e-4db5-bdb5-8f5f8ee8f547" alt=""><figcaption></figcaption></figure>

## Withdrawing from SP-BLUR Vault:

1. Navigate to Etherscan:
   1. Read as Proxy: <https://etherscan.io/address/0xfC287513E2DD58fbf952eB0ED05D511591a6215B#readProxyContract>

      1. Type in your address in #17 and click 'Query' to see what is the maximum wei you can withdraw
      2.

      ```
      <figure><img src="https://3431786941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrbYm3BfUQbxmgokOyH9%2Fuploads%2Fi1lFT5jixF53bNDjDyei%2Fimage.png?alt=media&#x26;token=adfdb4c9-845c-4a44-a337-4d491083d911" alt=""><figcaption></figcaption></figure>
      ```
2. Navigate to Write as Proxy on Etherscan: <https://etherscan.io/address/0xfC287513E2DD58fbf952eB0ED05D511591a6215B#writeProxyContract>
3. Click the connect to web3 button at the top of the list of functions and make sure you connect the wallet that holds your SP-BLUR Position.
4. Go to #18 (withdrawETH) and fill in the following:
   1. assets - amount you want to withdraw (in wei). Fetched in 1ai. Recommended that you round down.
   2. receiver - the address of the wallet you have connected
   3. owner - the address of the wallet you have connected
   4. Example
      1\.

      ```
      <figure><img src="https://3431786941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrbYm3BfUQbxmgokOyH9%2Fuploads%2FN74izWd3smBereLWjvMA%2Fimage.png?alt=media&#x26;token=8bae001b-098b-4459-ad91-620ad6397064" alt=""><figcaption></figcaption></figure>
      ```
