- BNB Lending (V2)
We have updated the new BNB deposit vault. Users will receive ibBNB instead when depositing BNB.
Last updated
Was this helpful?
We have updated the new BNB deposit vault. Users will receive ibBNB instead when depositing BNB.
Last updated
Was this helpful?
ibBNB can be calculated by;
CASE 1 : (Total BNB - Deposit Amount) > 0
CASE 2 : (Total BNB - Deposit Amount) ≤ 0
*Total Liquidity = Total BNB Deposited + Cumulative Borrow Interest
Total ibBNB token is set based on the first user who deposits this asset. For example, if Bob is the first user who deposits 1,000 BNB, then the total ibBNB token starts with 1,000 ibBNB. If Alice then adds 100 BNB then the total liquidity will be 1,100 BNB, then Alice gets 90.90 ibBNB (100 * 1,000 / 1,100).
The number of withdrawal share that can be calculated from the following equation;
Can be called 'Total Liquidity', the total amount of liquidity in each asset pool, calculated as
Can be called 'Total Borrow Shares', the total number of shares of Total Borrow for an asset, while Total Borrows are the sum of the total borrowed amount and accumulated borrow interest of an asset.
Can be calculated from the following equation