🚰Defragmenting liquidity with Pool Pipes.

We’ve spent the last few months refining liquidity provisioning experiences across DeFi. Uniswap V1 has been our main focus and we are happy to see improved UX attract more new users into Uniswap, and ultimately into DeFi.

The concept of adding/removing assets to/from liquidity pools with a single asset became known as Zapping in/out within the community. 

Note: since all Zap inputs are first allocated into appropriate assets required for pools, each Zap transaction not only adds liquidity but also volume to Uniswap. At least half of the input is always swapped within the same pool. This of course generates immediate fees for liquidity providers.

Today we’re excited to introduce another new feature to help reduce liquidity fragmentation throughout DeFi - Pool Pipes!

What’s a Pool Pipe?

Unipooling easily adds/removes liquidity to/from any pool.

Multipooling allocates liquidity across multiple pools at the same time.

Pool pipes seamlessly re-balance liquidity between pools.

How does it work?

Let’s assume you’re providing liquidity in the sETH pool on Uniswap earning trading fees + SNX rewards. 

You noticed that Synthetix just started distributing SNX rewards to Curve sUSD liquidity providers as well.

To move some of your liquidity from Uniswap sETH Pool into Curve’s sUSD Pool, you would need to perform at least 4 on chain transactions:

  1. Remove liquidity from sETH pool on Uniswap

  2. Use ETH portion to buy DAI 

  3. Use sETH to buy USDC

  4. Add DAI + USDC on Curve

Uniswap V1 <> Curve Pipe cuts this down to one!

Walk-through tutorial:

STEP 1: Visit Zapper.fi & connect your wallet.

STEP 2: View your liquidity pool balances & click ‘Rebalance’

STEP 3: Choose which platform and which pool within that platform you would like to move some or all of your current pool’s liquidity into.

STEP 4: Click confirm once ready to initiate the transaction.

Note: if this is your very first time interacting with pool pipes you will need to confirm an approval transaction at first so you will see 2 requests to confirm. Here’s a sample sETH->sUSD pool piping transaction: https://etherscan.io/tx/0xf3029af4efae7a82aff195f1f4a3961f0b2fb5c24af8806cb0bc31a80a54abbc

Available Pool Pipes:

While some of these may seem similar, each pipe contains optimizations to help you re-balance your assets with the least slippage.

When to ‘pipe’ aka rebalance?

Rebalance trigger parameters will differ based on your investment goals and risk profile but in general could be based one of these:

  • Shifts in liquidity provisioning incentives.

    • We saw this example with SNX shifting some incentives from sETH pool on Uniswap to sUSD pool on Curve.

  • Shifts in trading activity within liquidity pools.

    • As other pools start catching traction, liquidity providers could capture extra yield moving some assets to those pools.

    • Example: let’s say you are currently providing liquidity in the DAI/ETH pool on Uniswap V1 which currently averages ~$750K in daily exchange volume with ~$5.5M total liquidity supplied. As you might already know, fees generated from exchanges are proportionally split between all the liquidity providers of that pool. So what you are really looking for are pools with the highest volume/liquidity ratio to generate the most fees per $ supplied. Doing a quick sort by Vol/Liq on Zapper’s Explore Opportunities table, we can see how USDC/ETH pool is a great alternative as the volume is higher while total liquidity supplied is roughly the same. Also, this pool pair retains your previous pool’s asset exposures (ETH+STABLECOIN). Keep in mind, some trading activity spikes might be temporary so it’s important to analyze longer time frames to get better average estimates.

  • General market shifts.

    • As prices of underlying assets change, liquidity providers could diversify by reallocating liquidity between pegged and stable pools.

    • Example: let’s say you are currently providing liquidity in the WETH/ETH pool on Uniswap (aka ETH pegged pool) and ETH price just doubled in the last 24 hours. You might anticipate some pull-back so you want to sell some of your ETH. But instead of simply selling, you could rebalance some of your liquidity straight into the highest yield generating stable pool on Curve. Now while you are waiting to ‘buy the dip’, your stablecoins are generating fees. To buy back in simply rebalance back into the WETH/ETH pool.

  • Pool yield optimizations.

    • As any yield hacker knows, opportunities in DeFi need to be capitalized ASAP. With pool piping, it’s never been easier to move liquidity around the DeFi ecosystem. Each pool pipe is a general smart contracts so once a pipe is deployed between two underlying platforms, anyone is able to instantly move liquidity between ANY pools within those platforms. Builders could deploy their own auto-rebalancing logic which uses pool pipes to shift liquidity based on set logic.

Why Should I Care?

As you can probably tell, Zapper is in the process of building something much bigger than a way to access pools.

Thanks to composability we’re constantly exploring exciting new ways to provide unique solutions - and offering an easy interface to customize your own.

With features like Multipooling and pool piping, we aim to accelerate user adoption and experimentation of entirely new user cases in DeFi.

To get started with Pool Piping, head on over to Zapper.f

Stay up to date with all things Zapper via our official Twitter and if you are interested in building with Zaps reach out to us on Discord.

⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️

Over the coming months, we’ll continue to offer users the flexibility to tailor their DeFi experience using a suite of no-code features built for enthusiast of all shapes and sizes.

Until then, stay Zappin’ my friends!

⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️ ⚡️

*Please note that Zapper.fi is an experimental project. Zapper.fi is not providing any investment advisory or recommendation service. By using Zapper.fi or its services, you agree that you are using the Services at your own risk and that you will not and do not hold Zapper.fi or its team members liable should the services not perform as per your expectation. Zapper.fi is not a licensed financial advisor under any law. Please consult your own independent investment advisor before making any investment decisions.

Loading more posts…