Liquidity Zap Functions

Zap functions reduce the barrier to entry users experience when figuring out how to convert one asset to another and/or providing liquidity into a protocol or pair. We built easy-to-use zap functions to handle the hard work of providing YDF liquidity plus staking all in a single transaction.

Do you want to stake liquidity (slYDF) to yield higher returns than single sided staking offers, but are not exactly sure how to provide liquidity, what that looks like, and/or how to take said liquidity and stake it? We make this process dead simple by providing zap functions, which can take either ETH in your wallet, YDF in your wallet, or both and adding LP + staking it all in one transaction


If you have some naked/spare ETH in your wallet and want to use it to provide liquidity then stake it, this is the easiest and cheapest way to do it. Simply enter the amount of ETH you'd like to use and the rest is handled for you behind the scenes. After executing the ETH-only zap function, you will receive a newly minted slYDF NFT that represents the principal liquidity, lockup period, and APR you selected to stake.


Maybe you recently bought some YDF on Uniswap, but decided now you would like to use some ETH in your wallet to pair it & provide liquidity then stake it. You can zap your ETH+YDF here which provides liquidity for you behind the scenes and stakes it for you automatically, returning back to you a newly minted slYDF NFT of your stake.


If you have YDF in your wallet and want to convert it to liquidity and stake it for higher returns, you can zap your YDF into liquidity and stake it, which under the hood will sell half of your YDF for ETH, provide LP, and stake it returning back to you a newly minted slYDF NFT of your stake.

Attempting to zap a large quantity of YDF alone could result in an error as our zap functions prevent zapping that requires too much slippage. If you wish to liquidity stake and want to use only YDF to do so, you might need to manually sell half of your YDF using Uniswap (Ethereum) or Sushiswap (Arbitrum) then use the ZAP ETH+YDF function above.

Last updated