Composable Strategies Withdrawal Process
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.
- 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
- Go to ‘Contract’ Tab and click ‘Read as Proxy’
- Go to method
19 - userInfo
. Input your wallet address and select ‘Query’ and copy the ‘amountfToken’ value.
- Next, go to the ‘Write as Proxy’ tab under Contract and select “Connect to Web3” and press OK to connect with metmask.
- Go to method
20 - withdraw
and fill in the following:
Field | Input | Details |
---|---|---|
amount | amountfToken | value of amountfToken from step 3 |
deadline | 100000000000000000000 | use this exact value |
slippage | 50 | this is 0.5% |
ethPerToken (uint256): detailed at 5. a)
ethPerFarm (uint256): detailed at 5. b)
tokensPerEth (uint256): detailed at 5. c)
Go the to UniswapV2 Router contract used by the strategy at https://etherscan.io/address/0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
You can check for this address under the contract from step 1 at method
14 - sushiswapRouter
On this address, select 'Contract' and then 'Read Contract' and select method 6 - getAmountsOut
Token, Address and Decimals for reference in the following steps:
TOKEN | Generic Withdraw Address | Decimals |
---|---|---|
DAI | 0x4A03ea61E543eC7141a3f90128B0c0c9514F8737 | 18 |
USDC | 0xF12dA8470E2643cCb39a157e8577D9AA586a488f | 6 |
USDT | 0x1941441d31809e9E1828Da0cE6d44175F657E215 | 6 |
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.
The value after the decimal point is the input value for field 5.a
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.
The value after the decimal point is the input value for field 5.b
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.
The value after the decimal point is the input value for field 5.c
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.
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.