# Usecase: Faster RWA settlement with leverage

How Gearbox enables faster entry/exit for RWA-backed debt positions with non-atomic settlement, using ACRED leverage as an illustrative go-to-market use case.

***

### The Problem: Slow Settlement Breaks RWA-Backed Debt Positions

RWA tokens (tokenized securities, private credit, treasuries) typically do not settle atomically. Deposits (e.g., USDC → ACRED mint) can require hours or days, while redemptions can be materially longer (ACRED can be \~90 days).

This settlement profile constrains RWA-backed debt strategies (leverage is the clearest example):

* **Limited ability to react to market opportunities** — by the time a deposit matures, market conditions may have changed
* **Limited ability to exit during volatility** — positions can remain in redemption queues while prices move
* **Lower liquidator participation** — institutional liquidators are reluctant to warehouse long-dated redemption receipts (ACRED: \~90 days)

Traditional flash-loan style flows are insufficient because standard ERC20 collateral is unavailable during the waiting period.

***

### The Solution: Up to 10x Faster Entry/Exit for RWA-Backed Debt Positions

Gearbox acts as a **prime brokerage layer** that holds positions during transition phases — when assets are pending deposits or redemption receipts, not yet standard ERC20s.

**Result:** Partner lending platforms can support RWA-backed debt positions with materially faster entry/exit handling.

* **Time to open an RWA-backed debt position:** can be near-immediate (Hour 0), instead of waiting for mint completion.
* **Time to unwind credit position backed by RWA:** 1 redemption period, instead of iterative deleverage slowed by multi-day redemptions.

***

### Who Benefits

| User              | Current Problem                                                               | With Gearbox                                                            |
| ----------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| **Traders**       | Miss entry points during multi-day settlement                                 | Get an RWA-backed debt position immediately, then exit when appropriate |
| **Liquidators**   | Reluctant to take on long-dated redemption risk (ACRED can be \~90 days)      | Fast de-risking path (sell/finance receipt), reducing duration exposure |
| **Risk Curators** | Limited ability to offer fast credit products on RWAs with delayed settlement | Integration-ready infrastructure with no core protocol changes required |

***

### Exit Speed Comparison (ACRED Redemption)

* **Time to de-risk position exposure:** near-immediate with Gearbox vs \~90 days without
* **Time to unwind leveraged position into stablecoins:** \~90 days with Gearbox vs >240 days without

{% hint style="info" %}
Gearbox improves liquidity and risk transfer during the waiting period; it does not shorten issuer redemption cycles
{% endhint %}

***

### How It Works

Gearbox acts as a **prime brokerage layer** that holds positions during transition phases — when assets are not yet standard ERC20s but pending deposits or redemption receipts.

{% @mermaid/diagram content="flowchart TB
U\["User"] --> UI\["Partner UI<br/>(same UX as today)"]
UI --> Q{"Is collateral in delayed deposit/redemption phase?"}

```
Q -->|No| PM["Partner Market<br/>(default venue)"]
Q -->|Yes| GB["Gearbox Credit Account<br/>(transition venue)"]

GB <--> ISS["RWA Issuer<br/>(mint/redeem settlement)"]
GB -->|After maturity| PM

C["Curator / automation"] -. reallocates liquidity .-> PM
C -. reallocates liquidity .-> GB

classDef unchanged fill:#e8f0fe,stroke:#4a67b3,color:#111;
classDef transition fill:#eaf7ea,stroke:#3d8b40,color:#111;
classDef external fill:#fff4e5,stroke:#c97a00,color:#111;

class U,UI,Q,PM unchanged;
class GB,C transition;
class ISS external;" %}
```

**What happens:**

* User interacts with familiar **Partner UI**
* **Partner Market** holds positions when collateral is mature ERC20
* **Gearbox** holds positions during transition (pending deposits, redemption receipts)
* **Curator** moves liquidity between Partner Market and Gearbox as positions mature

**Result:** Partner lending platforms can offer faster RWA-backed debt products without modifying their core architecture.

***

### Actors & Contracts

| Actor                      | Role                                                                                                                              | Contracts                                           |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| **User**                   | Borrower opening an RWA-backed debt position                                                                                      | User wallet                                         |
| **Partner Market Curator** | Capital allocator. Manages liquidity allocation between Partner vaults and Gearbox pool. Takes lending-side risk.                 | Partner allocator contracts                         |
| **Gearbox Curator**        | Configures collateral types including transition-stage assets. Sets risk parameters for pending deposits and redemption receipts. | Credit Configurator                                 |
| **Partner Market**         | Lending infrastructure for mature ERC20 positions                                                                                 | Partner market contracts                            |
| **Partner Vault**          | Liquidity source. Holds capital allocated by curators.                                                                            | Partner vault contracts                             |
| **Gearbox**                | Transitional venue. Holds positions during deposit/redemption windows.                                                            | Pool, Credit Manager, Credit Facade, Credit Account |
| **Securitize**             | ACRED issuer. Handles mint and redeem operations.                                                                                 | ACRED token, mint contract, redeem contract         |

#### Curator Relationship

Partner Market curators and Gearbox curators are **formally different roles** but can be the same entity. A single party may:

* Configure the Partner Vault and allocate to Gearbox
* Configure the Gearbox market for transition-stage collateral

This alignment simplifies risk management and capital efficiency.

***

### Position Transfer Mechanism

When a position matures (pending-deposit → ACRED), it can be migrated from Gearbox to the Partner Market. Two approaches:

Migration between Gearbox and Partner Market does not require additional capital because both sides of the position move simultaneously:

* **Curator** controls supply-side allocation — moves liquidity between Gearbox Pool and Partner Market
* **User** (via Credit Account) controls debt + collateral — repays one venue, borrows from the other

When curator and user are coordinated (e.g., via smart contract integration or allocator contracts), supply and debt move together. The financial position stays exactly the same — same collateral, same debt, same health factor. Only the infrastructure changes.

This coordination can be implemented at the contract level, but the specifics are integration-dependent.

***

### Entry Flow (Illustrative Use Case): Taking 5x Leverage on ACRED

User wants $500 ACRED exposure with $100 own capital.

#### Phase 1: User Intent

{% @mermaid/diagram content="sequenceDiagram
participant W as User Wallet
participant A as Allocator
participant PV as Partner Vault
participant GP as Gearbox Pool

```
W->>A: Open position (via adapter)
A->>PV: Withdraw USDC
PV-->>GP: $400 USDC allocated
Note over GP: Capital ready for borrowing" %}
```

* User opens leveraged position through Partner UI
* Transaction triggers Allocator (via adapter) to rebalance capital
* Allocator moves USDC from Partner Vault to Gearbox Pool
* Capital is now available for the Credit Account to borrow (next phase)

#### Phase 2: Transition Setup (Gearbox + Securitize contracts)

{% @mermaid/diagram content="sequenceDiagram
participant GP as Gearbox Pool
participant CA as Credit Account
participant S as Securitize

```
Note over CA: Opened via adapter
CA->>GP: Borrow $400 USDC
GP-->>CA: $400 USDC
Note over CA: User's $100 + $400 borrowed = $500 total
CA->>S: Deposit $500 USDC (mint ACRED)
S-->>CA: Pending-deposit token
Note over CA: Collateral: Pending-deposit token<br/>Debt: $400 USDC ✓" %}
```

**Key Points:**

* **Credit Account opened** via adapter (same transaction as Phase 1)
* User's $100 + borrowed $400 = $500 total position
* **Pending-deposit token is valid collateral** (curator-configured)
* Position remains overcollateralized during wait

#### Phase 3: Waiting

{% @mermaid/diagram content="flowchart LR
subgraph Before\["Before Maturation"]
CA1\["Credit Account<br/>━━━━━━━━━━━━━━━<br/>Holds: Pending-deposit token<br/>Debt: $400 USDC<br/>Status: Overcollateralized ✓"]
end

```
subgraph After["After Maturation"]
    CA2["Credit Account<br/>━━━━━━━━━━━━━━━<br/>Holds: ACRED (ERC20)<br/>Debt: $400 USDC<br/>Status: Overcollateralized ✓"]
end

Before -->|"... time passes ..."| After" %}
```

* Deposit window passes (hours to days depending on ACRED terms)
* Pending-deposit token becomes ACRED
* Position still on Gearbox Credit Account

#### Phase 4: Migration to Partner Market (Partner + Gearbox contracts)

User triggers migration (manual or auto-opt-in):

{% @mermaid/diagram content="sequenceDiagram
participant W as User Wallet
participant A as Allocator
participant CA as Credit Account
participant GP as Gearbox Pool
participant PM as Partner Market

```
A->>GP: Withdraw liquidity
A->>PM: Supply liquidity
W->>CA: Trigger migration (via adapter)
Note over CA: Holds: ACRED / Debt: $400
CA->>PM: Borrow $400 USDC
PM-->>CA: $400 USDC
CA->>GP: Repay $400 debt
CA->>PM: Supply ACRED as collateral
Note over CA: Close Credit Account
Note over PM: Position:<br/>$500 ACRED / $400 USDC debt" %}
```

* **Allocator withdraws** liquidity from Gearbox Pool and **supplies** to Partner Market
* **Borrow $400 USDC** from Partner Market
* **Repay Gearbox debt** with borrowed USDC
* **Supply ACRED** to Partner Market as collateral
* **Close Credit Account**

**Result:** User has overcollateralized ACRED position on Partner Market. $500 ACRED collateral, $400 USDC debt. No additional capital is required — curator's supply-side reallocation and the user's debt migration happen together, so the financial position is unchanged (see [Position Transfer Mechanism](#position-transfer-mechanism)).

***

### Exit Flow: Redeeming ACRED Position

User wants to exit a $500 ACRED RWA-backed debt position ($100 equity, $400 debt) and receive USDC.

#### Why Exit Speed Matters

* **Liquidators avoid long-dated redemption risk** — ACRED redemption can be \~90 days
* **Near-immediate de-risking path enables more active liquidation participation**
* **Gearbox provides transition liquidity service** for liquidated positions

#### Phase 1: User Intent

{% @mermaid/diagram content="sequenceDiagram
participant W as User Wallet
participant A as Allocator
participant PV as Partner Vault
participant GP as Gearbox Pool

```
W->>A: Exit position (via adapter)
A->>PV: Withdraw USDC
PV-->>GP: $400 USDC allocated
Note over GP: Capital ready for position migration" %}
```

* User exits position through Partner UI
* Transaction triggers Allocator (via adapter) to rebalance capital
* Allocator moves USDC from Partner Vault to Gearbox Pool

#### Phase 2: Transition Setup (Gearbox + Securitize contracts)

{% @mermaid/diagram content="sequenceDiagram
participant M as Partner Market
participant GP as Gearbox Pool
participant CA as Credit Account
participant S as Securitize

```
Note over CA: Opened via adapter
CA->>GP: Borrow $400 USDC
GP-->>CA: $400 USDC
CA->>M: Repay $400 debt
M-->>CA: Release $500 ACRED
CA->>S: Initiate redemption ($500 ACRED)
S-->>CA: Redemption receipt
Note over CA: Collateral: Redemption receipt<br/>Debt: $400 USDC ✓" %}
```

* **Credit Account opened** via adapter (same transaction as Phase 1)
* **Borrow $400 USDC** from Gearbox pool
* **Repay Partner Market debt** with borrowed USDC
* **Release ACRED** from Partner Market to Credit Account
* **Initiate redemption** → Credit Account sends $500 ACRED to Securitize, receives redemption receipt
* **Position:** Redemption receipt (collateral) + $400 USDC debt
* **Overcollateralized** because Gearbox curator configured redemption receipt as valid collateral

**Result:** User has zero position on Partner Market, overcollateralized position on Gearbox (redemption receipt collateral, USDC debt). As with entry migration, this is capital-neutral — supply and debt move together between venues.

#### Phase 3: Waiting

{% @mermaid/diagram content="flowchart LR
subgraph Before\["Before Maturation"]
CA1\["Credit Account<br/>━━━━━━━━━━━━━━━<br/>Holds: Redemption receipt<br/>Debt: $400 USDC<br/>Status: Overcollateralized ✓"]
end

```
subgraph After["After Maturation"]
    CA2["Credit Account<br/>━━━━━━━━━━━━━━━<br/>Holds: USDC<br/>Debt: $400 USDC<br/>Status: Overcollateralized ✓"]
end

Before -->|"... time passes ..."| After" %}
```

* Redemption window passes (ACRED can be long-dated, e.g., \~90 days; issuer-dependent)
* Redemption receipt matures → USDC received
* Position remains on Gearbox Credit Account until final settlement

#### Phase 4: Finalization & Close (Gearbox + Partner contracts)

User triggers finalization (manual or auto-opt-in):

{% @mermaid/diagram content="sequenceDiagram
participant W as User Wallet
participant A as Allocator
participant CA as Credit Account
participant GP as Gearbox Pool
participant PM as Partner Market

```
W->>CA: Trigger finalization (via adapter)
Note over CA: Holds: $500 USDC / Debt: $400
CA->>GP: Repay $400 debt
Note over CA: Close Credit Account
CA->>W: Withdraw net USDC<br/>(equity ± PnL - fees)
A->>GP: Withdraw liquidity
A->>PM: Supply liquidity" %}
```

* **Repay $400 debt** to Gearbox pool
* **Close Credit Account**
* **User receives** net USDC: redemption proceeds minus debt, interest, and fees (plus/minus PnL)
* **Allocator rebalances** liquidity from Gearbox Pool back to Partner Market

`Net user payout = redemption proceeds - repaid debt - accrued borrow interest - protocol fees ± position PnL`

**Result:** Position fully closed. User has USDC in wallet.

***

### Exit Value for Liquidators

Gearbox's speed advantage is most valuable during liquidations.

#### The Liquidator's Problem

When an RWA-backed debt position becomes undercollateralized:

1. Traditional approach: Liquidator takes position, initiates redemption, and often holds the receipt to settlement (ACRED: \~90 days)
2. Problem: Institutional liquidators are reluctant to hold long-dated redemption receipts through volatile periods
3. Result: **Lower liquidation participation can increase bad-debt risk**

#### The Gearbox Solution

1. Liquidator takes position in Credit Account
2. Redemption receipt is already there (or can be initiated immediately)
3. Liquidator can hold until redemption matures
4. **Or:** Gearbox curator can provide near-immediate liquidity by buying/financing the receipt at a discount

#### Value Proposition

| Metric                               | Traditional                                                | With Gearbox                                       |
| ------------------------------------ | ---------------------------------------------------------- | -------------------------------------------------- |
| Time to de-risk position exposure    | Often tied to full redemption window (\~90 days for ACRED) | Near-immediate if receipt is sold/financed         |
| Time to final issuer cash settlement | \~90 days (ACRED illustrative)                             | \~90 days (issuer-dependent; unchanged by Gearbox) |
| Liquidator risk                      | High (duration + market exposure)                          | Lower (faster de-risking path)                     |
| Protocol health                      | Lower liquidation participation, higher bad-debt risk      | More active liquidation participation              |

**Key insight:** The same mechanism that helps traders enter fast also helps liquidators de-risk faster, while final settlement remains issuer-timed. This makes the system healthier under stress.

***
