Skip to main content

Composable Strategies Withdrawal Process

info

Composable Strategies has officially been deprecated. The front-end and its peripheral services have been taken offline in 2023. All funds remain safe within their respective Ethereum smart contract vaults and can still be withdrawn manually by the account holders via Etherscan following the guide on this page. Additionally, if you need further assistance, feel free to contact our community managers on Discord.

  1. GENERIC WITHDRAW of TOKEN ( = DAI, USDC, USDT)

For withdrawing DAI, go to the strategy address:

https://etherscan.io/address/0x4A03ea61E543eC7141a3f90128B0c0c9514F8737

For withdrawing USDC, go to the strategy address:

https://etherscan.io/address/0xF12dA8470E2643cCb39a157e8577D9AA586a488f

For withdrawing USDT, go to the strategy address:

https://etherscan.io/address/0x1941441d31809e9E1828Da0cE6d44175F657E215
  1. Go to ‘Contract’ Tab and click ‘Read as Proxy’

contract_read_as_proxy

  1. Go to method 19 - userInfo. Input your wallet address and select ‘Query’ and copy the ‘amountfToken’ value.

query_amountfToken

  1. Next, go to the ‘Write as Proxy’ tab under Contract and select “Connect to Web3” and press OK to connect with metmask.

contract_write_as_proxy

  1. Go to method 20 - withdraw and fill in the following:
FieldInputDetails
amountamountfTokenvalue of amountfToken from step 3
deadline100000000000000000000use this exact value
slippage50this is 0.5%

sushiswapRouter_account_address

On this address, select 'Contract' and then 'Read Contract' and select method 6 - getAmountsOut

contract_read_getAmountsOut

Token, Address and Decimals for reference in the following steps:

TOKENGeneric Withdraw AddressDecimals
DAI0x4A03ea61E543eC7141a3f90128B0c0c9514F873718
USDC0xF12dA8470E2643cCb39a157e8577D9AA586a488f6
USDT0x1941441d31809e9E1828Da0cE6d44175F657E2156
  1. a) To get the ethPerToken

    In the input field called amountIn insert value 1 * 10 to the power of TOKEN decimal places. (18 decimals for DAI, 6 for USDC and 6 for USDT)

    In the second field called path address[] you need to enter the address of TOKEN (address of DAI, USDC or USDT) then a comma with no space followed by the contract address of wETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) and press Query.

ethPerToken_getAmountsOut

The value after the decimal point is the input value for field 5.a

  1. b) To get the ethPerFarm

    In the input field called amountIn insert value 1 * 10 to the power of FARM token decimal places. https://etherscan.io/token/0xa0246c9032bC3A600820415aE600c6388619A14D?a=0x4A03ea61E543eC7141a3f90128B0c0c9514F8737
    (18 decimals)

    In the second field called path address[] you need to enter the address of FARM (0xa0246c9032bC3A600820415aE600c6388619A14D) then a comma with no space followed by the contract address of wETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) and press Query.

ethPerFarm_getAmountsOut

The value after the decimal point is the input value for field 5.b

  1. c) To get the tokensPerEth

    In the first input field called amountIn input the value 1 * 10 at power of Decimal of TOKEN (18 decimals for DAI, 6 for USDC and 6 for USDT)

    In the second field called path address[] you need to enter the first contract address of wETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) and then add a comma with no space followed by the address of TOKEN (address of DAI, USDC or USDT) and press Query.

tokensPerEth_getAmountsOut

The value after the decimal point is the input value for field 5.c

  1. With all the above data filled in just press WRITE and sign the transaction with your Metmask wallet.

    Be careful we do recommend to set Gas limit to at least 1.5 mil as this is going to be a complex Tx. Check to have enough funds to execute it.

confirm_transaction

caution

If your metmask displays the message below You need to check all the above data as some input data is wrong and the transaction will fail automatically.

troubleshoot_transaction