# Bonding \[Deprecated]

{% hint style="danger" %}
Bonding OHM was deprecated due to the Pyth network delisting LBGT price oracle, rendering immutable Bonding contracts unusable. Since then, bonding was upgraded into [Vesting](/arbero/vesting.md).
{% endhint %}

## Arbera Bonding: OHM & brOHM-brarBERO LPs

Arbera introduces a novel liquidity bonding mechanism that allows users to accelerate their **arBERO** vesting by contributing valuable counterparty liquidity, specifically in the form of **OHM**, which will get converted into brOHM-brarBERO LP. This structure not only deepens Protocol-Owned Liquidity (POL) but aligns incentives across stakeholders by offering fast-tracked access to premium rewards.

***

### Overview

The bonding mechanism allows users to:

* Convert `oBERO` into `arBERO` on a 90-day linear vesting schedule.
* Accelerate arBERO access by bonding `OHM` that would be routed into **brOHM-brarBERO liquidity**.
* Generate Protocol-Owned Liquidity that earns yield, boosts Arbera's voting power, and strengthens arBERO emissions.

***

### How It Works

#### 1. Start arBERO Vesting

Users deposit `oBERO` and receive `arBERO` vested linearly over 90 days.

* Example:

  Deposit `1,000 oBERO` → Receive `1,000 arBERO` over 3 months.

  (At $0.50 per oBERO and $2 per arBERO, this is a 4x premium locked behind vesting.)

***

#### 2. Bond OHM to Early Unlock arBERO

To fast-track access to arBERO, users can bond `OHM` and contribute it to Arbera’s POL via the `brOHM-brarBERO` LP.

* On deposit:
  * Dollar value of OHM is calculated using the OHM oracle by Pyth.
  * The OHM is sent to Arbera to zap it into brOHM-brarBERO LP.
* A 7-day cooldown begins from the moment OHM is bonded.
* After 7 days user has to unlock the dollar value plus a 10% bonus:
  * Eg. by depositing $100 in OHM, user receives $110 worth of bonus after 7 days.

***

#### 3. Fast Claim arBERO After Cooldown

After the 7-day lock expires, the user can unlock the bonus and execute a Fast arBERO Claim, withdrawing from their existing vesting position using the bonded liquidity as justification.

* Fast Claim Value:

  The user can claim arBERO worth up to the combined value of deposited OHM and oBERO, plus the 10% bonus on deposited OHM value.

***

### Example Flow

Assumptions:

* oBERO price: <mark style="color:yellow;">`$0.50`</mark>
* arBERO price: <mark style="color:yellow;">`$2.00`</mark>
* OHM price: <mark style="color:yellow;">`$20`</mark>
* arBERO is minted by oBERO 1:1

1. **User Deposits:**
   * <mark style="color:red;">`1,000 oBERO`</mark> → Worth $500
   * Begins 90-day vesting of <mark style="color:green;">`1,000 arBERO`</mark>
2. **User Bonds:**
   * <mark style="color:red;">`5 OHM`</mark> → Worth $100
   * Triggers 7-day timer
3. **User unlocks Bonus (after 7 Days):**
   * User unlocks <mark style="color:green;">`$110 Bonus`</mark> ($100 of deposited OHM value + 10% bonus)
4. **User fast claims arBERO**

* User can use <mark style="color:red;">`$110 Bonus`</mark> to fast claim <mark style="color:green;">`73.33`</mark> arBERO:
  * arBERO Premium Value is <mark style="color:yellow;">`$2 - $0.5 = $1.5`</mark>
  * User can claim <mark style="color:yellow;">`Bonus / Premium Value`</mark>
  * <mark style="color:yellow;">`$110 / $1.5 = 73.33`</mark> arBERO = <mark style="color:green;">`$146.66`</mark>
* User fast claimed arBERO worth <mark style="color:green;">`$146.66`</mark>, which includes:
  * <mark style="color:red;">`$36.66`</mark> of underlying oBERO (<mark style="color:yellow;">`73.33 * $0.5`</mark>)
  * <mark style="color:red;">`$100`</mark> in bonded OHM
  * <mark style="color:green;">`$10`</mark> of Bonus Profit
* User exercised 10% profit over his bonded OHM value.

{% hint style="info" %}
Assuming the arBERO premium to oBERO price didn’t change in 7 days.
{% endhint %}

***

### Why This Matters

* Accelerates Incentives: Users can front-load their arBERO access in return for deepening Arbera’s POL.
* Strengthens Liquidity: Bonded OHM is converted into `brOHM-brarBERO` LPs, expanding depth and stability.
* Premium Yield: With arBERO trading at a premium and earning boosted rewards, the mechanism remains economically attractive while aligned with long-term protocol health.
* No BGT Required: This mechanism operates independently of Berachain’s PoL (Proof of Liquidity) or BGT emissions. When combined in the future, it sets the stage for ultimate rewards vaults.

***

### Security

#### Audit

BondingConverter and ArberoOracle were audited by CDSecurity, nonetheless no audit can guarantee bug-free business logic.

#### Oracles

Bonding and bonus calculations are based on the custom oracles, combining Pyth prices and TWAP Uniswap oracles, to prevent JIT manipulation of prices.

* OHM price is derived as EMA from the Pyth oracle.
* LBGT price is derived as EMA from the Pyth oracle.
* oBERO price is derived as a two price points average of around -1h, and -5m from the tx execution, based on the BERO price from the main BERO-HONEY LP.
* arBERO price is derived as a 1h TWAP from brarBERO-brLBGT LP


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.arbera.io/arbero/bonding-deprecated.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
