Liquidity Provider’s Income
There are 3 main types of income that liquidity providers can receive from Pangea's pool.
LP_Fee=swap_fee+flash_fee+airdrop_reward(rewards) Liquidity providers receive these returns based on the size and price range of their liquidity positions.
Income Breakdown
1. swap Fee
: Fees received from the swap amount when a swap occurs. Taken from the output token.
swap_fee=swap_output∗1,000,000pool_fee_rate c.f.) 10% of the total swap fee
goes to the protocol.
2. flash Fee
: Fees received from flash transactions where borrowing and repaying assets within 1 transaction.
flash_fee=borrowed_amount∗1,000,000flash_fee c.f) The flash fee
is calculated at the same rate as the pool fee rate per pool.
c.f.) 10% of the total flash fee
goes to the protocol.
3. airdrop Reward
: Airdrop rewards for liquidity providers in the pool. Provided together with swap fee rewards when claiming.
airdrop_per_second=86,400airdrop_amount c.f) Distributed in proportion to the time and is distributed to the users who have provided liquidity to price ranges including the pool price at that time. Airdrop rewards start to be distributed every Thursday at 09:00(KST, UTC+9), and are distributed linearly for one week.
c.f.) No protocol fee is taken from airdrop rewards
.
How to Calculate Estimated APR
Estimated APR is calculated by using the following formula to find the Estimated APR (APR_full range) for a full range position and then multiplying it by the Fee Boost.
unitReward0=(swapFeeGrowthGlobal0now−swapFeeGrowthGlobal0now−1D)⋅price0unitReward1=(swapFeeGrowthGlobal1now−swapFeeGrowthGlobal1now−1D)⋅price1unitAirdropReward0=airdrop_per_second0⋅86,400⋅price0unitAirdropReward1=airdrop_per_second0⋅86,400⋅price1 APRfull_range=(unitReward0+unitReward1+unitAirdropReward0+unitAirdropReward1)⋅liquidity1dollar⋅365D Estimated_APR=APRfull_range⋅FeeBoost