Liquidity

In addition to swapping tokens, ApeSwap users can also add liquidity to the DEX itself by contributing equal amounts of two tokens (a token pair) to create liquidity provider (LP) tokens.

How Liquidity Pools Work

Liquidity pools are created by pairing together two different crypto tokens and depositing them into a smart contract. ApeSwap currently uses the constant product formula for our automated market market (AMM) and liquidity pools, ensuring that assets are always deposited in an equal 50/50 split based on the current value of those assets, and that all liquidity pools only ever have two tokens in them.

Liquidity pools are often referred to as "trading pairs," because you are combining two tokens to create a liquidity provider token. A liquidity pool of two assets allows you to swap (trade) between those two tokens. You can explore the various liquidity pools and liquidity depths of all trading pairs on our info page. Note that the liquidity on the info page does not necessarily represent all possible routes for a trade.

Additionally, if you want to dig deeper on the math behind our AMM (the constant product formula) check out Binance's walkthrough here.

Creating Liquidity Provider Tokens

A liquidity provider token (aka "LP token") is essentially a receipt that a protocol provides to a user who adds liquidity to a decentralized exchange. ApeSwap allows you to provide liquidity by adding your token pairs to liquidity pools, using equal amounts for each token.

When you add your tokens to a liquidity pool, you will receive APE-LPs - ApeSwap’s native liquidity provider tokens.

For example: if you deposited BANANA and BNB into a liquidity pool, you would receive BANANA-BNB APE-LP tokens.

The number of APE-LP tokens you receive represents your portion of the BANANA-BNB liquidity pool. You can also redeem your funds at any time by removing your liquidity, but please be conscious of impermanent loss.

Liquidity Provider Benefits

There are two main ways that you can earn rewards after adding liquidity. As soon as a user creates an APE-LP token and holds it in their wallet, they begin collecting trading fees (aka Liquidity Mining). When transactions occur on the DEX that involve the tokens represented by a particular APE-LP token, fees collected on those transactions are distributed proportionally among the holders of the applicable LP tokens.

ApeSwap also incentivizes liquidity between certain token pairs by creating Yield Farms and BANANA Maximizers for the APE-LP tokens that correspond to those token pairs. You can stake your APE-LP tokens in Yield Farms to earn BANANA.

NOTE: Liquidity provider tokens are native to a particular DEX and cannot be used to earn trading fees or staking rewards on other DEXs. Only LP tokens created on ApeSwap (APE-LPs) can be used for liquidity mining on ApeSwap, or staked in ApeSwap Yield Farms.

Liquidity Mining

Any time someone swaps between a token pair on ApeSwap’s DEX that is routed through Ape LPs, a 0.20% trading fee is collected.

For trades on BNB Chain, Ethereum, and Arbitrum: Of the 0.20% trading fee, 0.05% goes to the ApeSwap Treasury, and the remaining 0.15% is distributed proportionally to all holders of the applicable APE-LP token.

For trades on Polygon: Of the 0.20% trading fee, 0.15% goes to the ApeSwap Treasury, and the remaining 0.05% is distributed proportionally to all holders of the applicable APE-LP token.

Keep in mind that theses trading fees are only distributed to V3 token holders when the relative token price is within the price range that they set when setting up the position.

NOTE: Trading fees are earned on APE-LPs that are held in your wallet AND on those that are staked in Yield Farms. You do not have to unstake APE-LPs from Yield Farms in order to earn trading fees.

Yield Farming

On certain chains, you can also choose to stake your APE-LP tokens in our Yield Farms to earn BANANA rewards. Visit our Yield Farms page to learn more.

Impermanent Loss

Providing liquidity is not without risk, as you may be exposed to impermanent loss. “Simply put, impermanent loss is the difference between holding tokens in an AMM and holding them in your wallet.” - Nate Hindman

What if I deposit unequal amounts into a liquidity pool? Creating a liquidity pool with unequal amounts of two tokens opens users up to "impermanent loss." If the price of the tokens offset from each another by a significant amount, LP holders could get a lesser return compared to staking each token separately. To reduce the risk of impermanent loss, LP holders are suggested to split their liquidity in half between the two tokens.

Check out Binance Academy's detailed walkthrough on impermanent loss to learn more:

Continue to the How to Add Liquidity page for a detailed walkthrough.

Last updated