Flype-out

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)

  • Approve Uniswap to expand your USDC

  • Swap the USDC tokens to ETH

  • Approve Uniswap to expand your DAI

  • 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:

  • 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

Last updated