Convergence
  • Welcome to Convergence
  • General Information
    • Protocol Overview
  • Staking
    • Convergence for Stake DAO
      • cvgSDT staking
      • sdTKNs staking
      • LPs staking
        • Curve LPs staking
      • Understanding cvgSDT
      • veSDT boost delegation
      • Metagovernance
        • Governance votes
        • Gauge votes
    • Convergence for Convex Finance
      • cvgCVX staking
      • cvxTKNs staking
      • Understanding cvgCVX
      • Understanding CVX1
      • Metagovernance
        • Governance votes
        • Gauge votes
    • Tokenized positions
  • CVG TOKEN
    • Understanding CVG
    • Tokenomics
    • CVG Locking
      • Understanding veCVG
      • Understanding mgCVG
      • Understanding ysCVG
  • GAUGES FUNCTIONING
    • Understanding Gauges
    • Gauges Votes
  • BONDS & TREASURY
    • Bonds
      • Understanding Bonds
      • Oracles and ROI computation
        • Targeted pools
      • Tokenized bonds
    • Treasury
      • Protocol Owned Deployments
      • Protocol Due Deployments
  • Cycles
    • Understanding Cycles
      • cvgCycles
      • tdeCycles
  • Rewards
    • Stake DAO rewards
    • Convex Finance rewards
    • CVG rewards
    • Treasury rewards
  • Navigate UI
    • Staking
      • Stake DAO
        • Staking cvgSDT
          • Use SDT
          • Use cvgSDT
        • Staking sdTKNs
        • Staking LPs
      • Convex Finance
        • Staking cvgCVX
        • Staking cvxTKNs
    • Using bonds
      • Buy a bond
      • Redeem CVG
      • Bond & Lock
    • Claming rewards
      • Claim all rewards
      • Claim by position
    • Lock CVG
      • Create a locked position
      • Increase a locked position
        • Increase amount only
        • Increase time only
        • Increase amount & time
      • Delegate a locked position
        • Delegate veCVG
        • Delegate mgCVG
        • Delegate ysCVG
      • Manage delegations
        • Accept a delegation
        • Remove a delegation
        • Revoke a delegation
    • Vote on gauges
      • Display votes
      • Remove votes
  • FAQ
    • Contract Addresses
    • Treasury Addresses
    • Audits
    • Risks
    • Fees
    • Branding
  • LINKS
    • Website
    • Github
    • Discord
    • Twitter
    • Coingecko/Coinmarketcap
Powered by GitBook
On this page
  • Price oracles
  • cvgOracle
  • Chainlink price feeds
  • ROI computation
  1. BONDS & TREASURY
  2. Bonds

Oracles and ROI computation

PreviousUnderstanding BondsNextTargeted pools

Last updated 10 months ago

Price oracles

cvgOracle

To compute bonds price, Convergence bonds embed a tailored, generic on-chain oracle called cvgOracle. The cvgOracle can get bonded assets price from multiple AMMs (Uniswap V2&V3, Sushiswap, Curve...) and is called each time a user buys a bond.

When a bond is deployed, the most liquid pools are targeted by the cvgOracle (the team will manually set up each bond parameter).

Chainlink price feeds

Convergence bonds also include an additional security check based on Chainlink Price Feeds (CPF). Each time a user buys a bond, after the cvgOracle returns a price, this price is compared to the corresponding asset price given by CPF. The transaction will fail if the price difference between both Oracles exceeds a given percentage.

This security check has been implemented to prevent Convergence bonds from being "exploited" by someone manipulating an underlying pool while allowing the bonding mechanism to function properly during volatility periods.

ROI computation

Once both oracles returned a corresponding price, the discount (ROI) that the bond buyer will get is computed with a mechanism that considers the previous buying activity and the expected buying activity.

For each bond, we define the ROI as a function of ( NtB(t), Ntr(t) ) where Ntr(t) is the amount of token distributed over time, and NtB(t) is defined as :

NtB(t)=tT∗NNtB(t) =\sqrt{ \dfrac{t}{T} }*NNtB(t)=Tt​​∗N

Where T is the duration of the bond, N is the total amount of token released, and t is the duration since the bond has been opened.

The ROI is defined as :

More precisely, the ROI increases and tends towards the upper bound ROI if, during the bonding round, the number of CVG elapsed (Ntr(t)) is lower than the theoretical points (NtB(t)). It decreases progressively towards zero when Ntr(t) is higher than NtB(t).

The figure below gives an insight of the ROI behavior :

Targeted pools
ROI behavior