βͺοΈDepositing and Withdrawing
Depositing & Withdrawing
Learn how to mint new xBNB tokens and redeem them back to collateral.
Minting xBNB by Depositing BNB
Create new xBNB tokens by depositing collateral based on the current Collateral Ratio.
Minting Formula
To mint 1 xBNB:
BNB Required: CR Γ 1 BNB
Required B4NK is provided from B4NK treasury
Example Calculations
To mint 1 xBNB:
BNB needed: 0.90 BNB
0.10 BNB worth of B4NK provided from B4NK treasury
To mint 100 xBNB:
BNB needed: 90 BNB
10 BNB worth of B4NK provided from B4NK treasury
To mint 1 xBNB:
BNB needed: 0.75 BNB
0.25 BNB worth of B4NK provided from B4NK treasury
To mint 100 xBNB:
BNB needed: 75 BNB
25 BNB worth of B4NK provided from B4NK treasury
To mint 1 xBNB:
BNB needed: 0.95 BNB
0.05 BNB worth of B4NK provided from B4NK treasury
To mint 100 xBNB:
BNB needed: 95 BNB
5 BNB worth of B4NK provided from B4NK treasury
Minting Process
Minting Fees
Fee: 1% of minted value
Collected in: BNB
Distributed to: Staked and locked B4NK holders
What Happens to Collateral?
When you mint xBNB:
BNB portion: Held in protocol treasury as collateral
B4NK portion: Burned, removing tokens from circulation
Withdrawing BNB from xBNB
Convert your xBNB back to BNB at any time.
Redeeming Formula
When redeeming 1 xBNB:
BNB Returned: CR Γ 1 BNB
B4NK Returned: (1 - CR) Γ 1 BNB worth
Example Calculations
Redeeming 1 xBNB returns:
BNB: 0.90 BNB
B4NK: 0.10 BNB worth of B4NK
Redeeming 100 xBNB returns:
BNB: 90 BNB
B4NK: 10 BNB worth of B4NK
Redeeming 1 BNBX returns:
BNB: 0.75 BNB
BCB: 0.25 BNB worth of BCB
Redeeming 100 BNBX returns:
BNB: 75 BNB
BCB: 25 BNB worth of BCB
Redeeming 1 BNBX returns:
BNB: 0.95 BNB
BCB: 0.05 BNB worth of BCB
Redeeming 100 BNBX returns:
BNB: 95 BNB
BCB: 5 BNB worth of BCB
Redemption Process
Redemption Fees
Fee: 2% of redeemed value
Collected in: BNB
Distributed to: Staked and locked B4NK holders
What Happens During Redemption?
When you redeem xBNB:
xBNB: Burned, removing tokens from circulation
BNB portion: Released from protocol treasury to you
B4NK portion: Newly minted and sent to you
Two-Step Security
Flash Loan Protection
Both minting and redeeming require two separate transactions. This prevents flash loan attacks since flash loans must be repaid within the same transaction.
Why Two Steps?
Security: Prevents attackers from exploiting the protocol with flash loans
Time Lock: Collateral is time-locked between transactions
User Safety: Additional confirmation step prevents accidental large transactions
Frequently Asked Questions
Next Steps: Learn about the collateral ratio used in B4NK mechanics
Last updated

