YESswap
English简体中文繁體中文日本語한국어РусскийالعربيةEspañolPortuguêsFrançaisDeutschTiếng ViệtBahasa IndonesiaTürkçe

BSC Liquidity Pool Rewards: Two cash flows, one number: decomposing a BSC liquidity

Updated 2026-12-02 · YESswap

Short answer. A quoted LP APR is a sum of two cash flows that never touch the same contract. Fees accrue inside the pair's reserves and settle on every swap, while emissions are released per block by a farm contract and priced by a market you do not control.
Best match for this articleStake and mineLock YES for 50/100/200 day cycles and check your level and yield.

The sum hides two cash flows with different counterparties

Knowing how BSC liquidity pool rewards works is what separates a clean trade from a costly one. Fee yield is a reserve-ratio change. Every swap leaves a slice of the input in the pair's balances, so each LP token redeems for more of token0 and token1 than it did before, and the pair mints no new LP tokens for this. The counterparty is the trader, and the payment settles in the same transaction that emits the Swap log. Emissions yield is a transfer from a schedule. A farm or staking contract releases reward tokens per block to addresses that have staked the LP token, so the counterparty is the protocol's emission budget and the payment depends on a reward rate governance can rewrite. Nothing about the pair's reserves changes when this happens.

Measure the first without the second. Call the pair's getReserves() at two block heights and totalSupply() at the same heights. Reserves per LP token that grew while supply held constant is fee accrual, full stop. Then call the farm's reward-rate getter for the pool ID and confirm where the reward tokens come from. A pre-funded balance at the farm address behaves differently from a mint function the farm can call at will.

Two RPC endpoints can disagree on reserves if one is a few blocks behind or serving a pruned archive. Pin both calls to the same block number via the block tag parameter, not to "latest", then compare the returned blockNumber field on each receipt. If the endpoints diverge, trust the one whose block hash matches a second independent provider before you compute anything.

Fee APR comes from Swap logs, not from a dashboard

Every Swap event carries amount0In, amount1In, amount0Out, amount1Out, and the post-trade reserves. Apply the pair's published fee tier to the input side and you have that swap's contribution to LP value. Sum over a window, divide by average TVL across the same window, and annualize. That is realized fee yield, not a projection from the busiest hour of the week.

Pull the logs with eth_getLogs filtered on the pair address and a fixed block range. Decode the four amount fields. Cross-check the totals against reserves at the window's start and end, and confirm LP supply did not move by reading. Mint and Burn events in the same range. If supply changed, your denominator is wrong and the APR is meaningless. A missing receipt for a swap inside the range understates fee accrual, so reconcile the log count against the pair's nonce or transaction count for that span before trusting the sum.

Pick the window before you look at the data. A range containing one outsized swap annualizes a single trader's route into a yield figure that collapses on the next window. Longer windows smooth this; shorter ones flatter it. State the range alongside the number, or the number is not reproducible. Decision rule: if a single swap contributes more than roughly a tenth of the window's total fees, widen the window until it does not, because the annualized figure is otherwise one trader's route. If the pair's daily volume is small relative to its TVL, treat any fee APR above the pool's own turnover as a measurement error, not a yield.

Emissions APR is contract state multiplied by a market price

The formula is reward tokens per block times blocks per year times reward token price, divided by staked LP value. Only the first factor is fixed by contract state. The price factor moves on its own, so emissions APR falls when the reward token drops even if rewardPerBlock is untouched. Your token count stays constant while its dollar value does not, and stakers are long the emission token by construction whether they intended to be or not.

Read the farm's pool info struct for your pool ID to get allocation points or the per-pool reward rate. Divide by total allocation points to derive this pool's share of the global emission. Multiply by the reward token's price from the deepest pool on the same chain, not from a thin side market. Then check balanceOf on the reward token at the farm address: a pre-funded farm can run dry mid-position, and a minting farm depends on a minter role you should locate in the verified source. A different field to inspect is the emission token's own liquidity depth relative to the farm's per-block output.

If daily emissions are large against the reward token pool's daily volume, the price you annualized at is not the price you will exit at. The quoted APR assumes you sell at spot; the pool says otherwise at size. Decision rule: if remaining reward balance divided by the per-block rate gives fewer blocks than your intended holding period, the farm is pre-funded and will exhaust before you exit. If the minter role is held by an address you cannot identify, treat the emission as revocable and size the position accordingly.

Failure paths that break the combined figure

Impermanent loss is not a fee and never appears in either APR. It is the gap between your position's value at current reserves and the counterfactual of holding the two tokens you deposited. Compute it from the pool's own price ratio against your entry amounts. A pool with strong fee APR in a volatile pair can still return less than doing nothing, and the loss realizes only on withdrawal.

A farm whose stakingToken() returns a different address than the pair you inspected is the quiet failure. The position earns nothing while every dashboard field appears to match. The same applies to a reward token at an address that differs from the protocol's published one. Both are checkable in one call each, and neither is checked by most depositors.

Governance risk sits in the reward-rate setter. Search the verified source for an admin function that writes the rate, then check whether ownership is renounced or held by a multisig you can identify. A rate reduced after you commit capital changes your emissions APR retroactively, and no on-chain event warns you before the transaction lands. Cost and timing: reading reserves, supply, and pool info is a handful of eth_call requests that return in seconds and cost nothing. Pulling a wide eth_getLogs range is the slow step and can hit a provider's result cap, so split it into chunks and reconcile the chunk totals. The only paid step is the deposit or withdrawal transaction, whose gas you pay in BNB and whose fee tier is the pair's published figure.

A check order where each step can invalidate the next

Start with the pair address. Confirm factory() on the pair returns the official factory, not a lookalike deployment with identical symbols. Then confirm the farm's staking token is that exact pair address. Then confirm the reward token matches what the protocol publishes. Measure both yields over the same block window so the two APRs share a denominator. Different windows produce a sum that describes no single moment in time.

On BSC (chainId 56), verify every address against the protocol's own published list before signing anything. For YESswap the YES token is 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 and the fee router is 0x0c9a2351e6e982b16559a68767003e7f4d02fb0d. The only official domain is https://yesswap. vip, with Telegram and X both @web3yesswap. Any other address, handle, or domain is not the protocol, regardless of how the page renders. Decision rule: if any of the four checks fails, stop and do not deposit, because a mismatch on factory, staking token, or reward token means the yield you measured belongs to a different contract than the one that will hold your capital. Every claim above is checkable on BscScan for 0xc22955b28e092060bc5d1e1f3b9d4dcd81091111 on BNB Smart Chain (chain id 56); treat https://yesswap.vip and @web3yesswap as the only official channels.

Open YESswap

Frequently asked questions

Does fee APR compound automatically in a BSC LP position?

Fees sit inside the reserves and raise your LP token's redemption value, but they only compound if you withdraw and redeposit, or if the position is in a vault that reinvests. Otherwise the accrual is linear on your original principal.

Why does emissions APR fall when the reward token price drops if rewardPerBlock is unchanged?

The numerator is token count times price. Token count is contract state and stays fixed. Price is a market variable, so a lower price shrinks the dollar yield while your token balance is identical.

How do I tell whether a farm is pre-funded or minting rewards?

Then search the verified source for a mint function or minter role the farm holds.

Can a protocol change the reward rate after I stake, and where is that setter?

Yes, if the contract exposes an admin function that writes the rate or allocation points. Find it in the verified source, then check owner() and whether it is renounced or a multisig.

What block range should I use to measure fee APR?

Long enough that no single swap dominates the sum, and stated alongside the result. Confirm LP supply was constant across the range by reading Mint and Burn events, or the denominator is wrong.

Keep reading

Where do you want to go?

Every card below opens the live product with your own wallet — no signup, no custody.

Go straight to the tool

Everything above is one page away: add liquidity on bsc.

Stake and mineSwap tokens on BSCYour wallet signs every step. Nothing is custodied.