How it works

The mechanism of $LrBGT

System Architecture

$LrBGT operates through a system of interconnected smart contracts:

  • LrBGT Token Contract: ERC-20 receipt token representing user deposits

  • LrBGT Vault Contract: Manages asset custody, staking, and unstaking operations

  • Fee Collector Contract: Handles fee collection and distribution

  • Router Contract: Interfaces with DEXs for asset swaps

Core Mechanisms

Deposit flow:

  1. Users deposit iBGT and/or other supported assets (WBERA, LAIR, iBERA, etc.)

  2. System calculates and mints proportional LrBGT tokens

  3. iBGT is automatically staked on Infrared

  4. Other assets are paired with WBERA and provided as liquidity on Kodiak

  5. LP tokens are staked on Infrared to farm additional iBGT

Revenue Processing

  1. Scheduler automatically claims iBGT staking rewards (HONEY + WBERA)

  2. System collects protocol fees from rewards

  3. Remaining rewards are converted to WBERA

  4. WBERA is paired with vault-specific assets based on LP ratios

  5. New LP positions are created and staked

  6. Farmed iBGT is restaked for compounding## 3. User Guide

Getting started

Before using LrBGT, ensure you have:

  • A Web3 wallet connected to Berachain

  • iBGT and/or supported LP assets (WBERA, LAIR, iBERA, etc.)

  • BERA for gas fees

Depositing Assets

Multi-Asset Deposit

Multi-asset deposits require you to provide tokens in the correct ratio:

  1. Select the "Multi-Asset Deposit" tab

  2. Enter the amount for one asset

  3. The interface automatically calculates required amounts for other assets

  4. If you lack sufficient balance for any asset, an "Insufficient Balance" error appears

  5. Click "MAX" to deposit the maximum possible amount based on your smallest asset holding

  6. Approve each token sequentially

  7. Confirm the final deposit transaction

Note: The specific assets required depend on which LP pool strategy the vault is using. Common pairs include LAIR/WBERA, iBERA/WBERA, or iBGT/WBERA.

Single-Asset Deposit

Single-asset deposits offer more flexibility:

  1. Select the "Single-Asset Deposit" tab

  2. Choose your deposit token from available options

  3. Enter the desired amount

  4. Review the estimated swap results and slippage

  5. Approve the selected token

  6. Confirm the deposit transaction

The system automatically swaps your token to achieve the required ratio for the vault's current LP strategy.

Withdrawing Assets

To withdraw your assets:

  1. Enter the amount of LrBGT to burn

  2. Review estimated returns:

    • iBGT amount = Your share Γ— Total staked iBGT

    • WBERA amount = Your share Γ— Total WBERA holdings

    • Other asset amounts = Your share Γ— Total holdings of vault-specific assets

  3. Approve LrBGT for burning

  4. Confirm the withdrawal transaction

Last updated