Looping
For the degens and Yeetards
Last updated
For the degens and Yeetards
Last updated
Using leverage carries risks. It is possible to lose all of your collateral if you do not pay back your loan in time.
Advanced Feature: Users can borrow $BERA
against their $BREAD
, use the borrowed $BERA
to bake or buy more $BREAD
, and repeat this process; i.e., looping
UI Support: A user friendly interface on the BakerDAO website facilitates looping in one transaction, making it quick and simple to open and unwind leveraged positions
Fee Discount: The $BREAD
baking fee is discounted from 2.69%
to 1.42%
when opening leveraged positions
Liquidation: If a leverage position defaults, then the $BREAD
collateral is burned, causing the ratio of $BERA
per $BREAD
to increase. $BREAD
collateral from liquidated positions are burned collectively, every day, at 00:00 UTC
In order to facilitate easier opening of looped positions, users can open max looped positions in one click which utilize flashloans to create the position in a single transaction. This allows users to easily open and close leveraged positions, and baking fees are reduced from 2.69%
to 1.42%
for these transactions.
This functionality allows users to close a position using the $BREAD
collateral itself without needing to acquire additional $BERA
. To use this, select "Existing Collateral" in the repayment modal.
When you choose "Existing Collateral", the following process occurs:
Collateral Valuation: The system calculates the current value of your BREAD collateral in terms of BERA based on the protocol's backing ratio.
Burn Fee Application: A 2.69% burn fee is applied to your BREAD's valuation, reducing the effective value.
Debt Settlement: The remaining value (after the fee) is used to settle your outstanding loan.
Excess Value Check: The system determines if there's any value left after repaying the loan:
If the remaining value exceeds the loan amount, the excess is returned to you as BERA.
If the remaining value is less than or equal to the loan amount, nothing is returned (the entire collateral value is consumed).