Liquidity providers can opt to burn their liquidity tokens to withdraw their contributions in the pool. BNB withdrawal is calculated by
bnbWithdrawn=bnbPool(amountBurned / totalAmount)
tokensWithdrawn=tokenPool(amountBurned / totalAmount)
BEP20 tokens and BNB tokens are withdrawn according to the market's prevailing rates, not the rates at the time of investment. This implies some value can be gained or lost due to fluctuations in the market and arbitrage. Fee taken on trades is added to liquidity pools without minting new liquidity tokens.