# Leverage in Bucket

Bucket supports two ways to build a leveraged long on supported assets:

* **One-click Leverage** (currently for **SUI/LST** and Wrapped **BTC**)
* **Manual looping** (all other supported collaterals)

Both paths keep you inside a single CDP with fixed-rate borrowing. Every action shows an **after-action simulation**.

***

### One-click Leverage

### Step-by-step

1. Select your **deposit asset**.
2. Select the **target asset**.
3. **Enter** the deposit amount.
4. **Set** your target leverage (> 1.1×).
5. **Review** the preview and costs, then **Confirm** to execute (one transaction).

<figure><img src="https://2164669523-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvo4y92EukVo5jeASAueL%2Fuploads%2F0W5Skj6UvtHAfEba6za7%2FCleanShot%202025-09-14%20at%2015.15.08%402x.png?alt=media&#x26;token=e9a36e54-de37-46b5-ac84-6e873d3c0259" alt="" width="375"><figcaption></figcaption></figure>

### Preview & safety

* Before confirming, you’ll see a simulation of the position at **Detail.**
* A simple **target-leverage health bar** helps you gauge risk.

<figure><img src="https://2164669523-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvo4y92EukVo5jeASAueL%2Fuploads%2FCsmysH85di9UoZ4YRYs3%2FCleanShot%202025-09-14%20at%2015.20.28%402x.png?alt=media&#x26;token=254a9fbb-6234-418a-91fd-a2cc89bc17e2" alt="" width="375"><figcaption></figcaption></figure>

**Routing & slippage**

* Swaps are routed via the **Cetus aggregator**.
* You can set **slippage tolerance** (default **0.5%**).

<figure><img src="https://2164669523-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvo4y92EukVo5jeASAueL%2Fuploads%2FAr32tz98dvk9IoVLdKp1%2FCleanShot%202025-09-14%20at%2015.22.31%402x.png?alt=media&#x26;token=d6eba4e5-a49e-44de-961d-ad0f0ec2462f" alt="" width="375"><figcaption></figcaption></figure>

**Costs shown in the panel**

* **Flash-loan fee**
* **Price impact** (swap-side estimate)

<figure><img src="https://2164669523-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvo4y92EukVo5jeASAueL%2Fuploads%2F3GkgRsgvDAEzvkXMG70z%2FCleanShot%202025-09-14%20at%2015.22.52%402x.png?alt=media&#x26;token=c39d9d37-dae3-4fd4-8fa6-a91704fb87a2" alt="" width="267"><figcaption></figcaption></figure>

### How it works

The Leverage feature allows users to amplify their exposure to supported assets by using USDB flash minting to automatically create a leveraged position in one click.Leverage Process (Example with SUI):A user starts with 100 USDC and targets approximately 3x SUI exposure.

1. User deposits 100 USDC
2. Flash-mints USDB worth 200 USDC
3. Swaps the user’s 100 USDC + flash-minted USDB for 300 USDC worth of SUI
4. Uses 300 USDC worth of SUI as collateral → borrows USDB worth 200 USDC
5. Uses the borrowed USDB to repay the flash-mint
6. Leveraged position is established

Final Position:

* Collateral: 300 USDC worth of SUI
* Debt: USDB worth 200 USDC + borrow fee
* Net SUI Exposure: \~3x the initial deposit

The same process works for other supported assets (e.g., BTC or SUI LST), with adjustments based on the asset type.

***

### Manual looping (all supported collaterals)

Use manual steps when one-click isn’t available:

1. **Deposit collateral**
2. **Borrow USDB**
3. **Swap USDB → more collateral**
4. **Deposit** the new collateral
5. **Repeat** until you reach your desired risk level

***

### De-leverage & raising CR

To reduce leverage or raise your CR:

* **Repay with collateral:** use the slider to choose how much collateral to sell for USDB, preview the **USDB repaid** and **new CR**, then confirm.
* **Repay with USDB:** repay from USDB in your wallet (you can swap into USDB first).
* After repayment, **CR rises** and your liquidation price **moves lower** (safer).
