# Flype-out

![](https://976579298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftor5sd7sW1BdSm5MKyoe%2Fuploads%2FASdoXgEBr6sXnvqPnbKk%2FFLYPE%20OUT.jpg?alt=media\&token=10470376-4513-43af-8985-b52488eda072)

### What are we trying to solve?

Let's say you have provided liquidity to the DAI/USDC pool on Uniswap, and now you would like to remove your funds back and convert them to ETH, you will have to go through the following steps:

* Give the UNISWAP protocol access to expand the DAI/USDC-LP token
* Withdraw the underlying pair of tokens (DAI + USDC)&#x20;
* Approve Uniswap to expand your USDC
* Swap the USDC tokens to ETH
* Approve Uniswap to expand your DAI&#x20;
* Swap DAI tokens to ETH

### Flype-Out in a single swap

With Flype, all you have to do is swap DAI/USDC-LP token in return for ETH.

The following behind-the-scenes actions are executed by the Flype Protocol on the DAI/USDC-LP/ETH pool:&#x20;

* Calculating the Oracle market value of DAI/USDC-LP token
* Fetching the Oracle market price of ETH
* Calculating the DAI/USC-LP/ETH exchange rate using Flype's IMM mechansim
* Adding DAI/USC-LP to the DAI/USC-LP/ETH Pool
* Transferring the equivalent ETH tokens value in terms of US Dollars from the DAI/USC-LP/ETH Pool to your wallet
