IPOR Protocol
  • The IPOR Protocol Documentation
  • IPOR Protocol V2
  • Research / Whitepapers
    • Conceptual Whitepaper
  • Audits
  • Community Links
  • IPOR Protocol Roadmap
  • IPOR FAQ
    • About the IPOR Protocol
    • Using the IPOR Protocol
    • Liquidity Mining
    • Swaps VS Perps
    • $FUSN Snapshot
  • About IPOR
    • Who Uses IPOR and for What?
    • Why IPOR?
    • IPOR Manifesto
  • IPOR Fusion ⚛️
    • Fusion Introduction
      • Defragmenting DeFi Yield
    • Why Fusion?
    • Users
    • Use Cases
    • Architecture Overview
      • Atomists
      • Alphas
    • Vaults
      • Access Management
    • Fuses
    • Security
      • For Liquidity Providers
      • For Vault Owners
      • Testing
    • Open-source Repository
    • Aragon Integration
  • IPOR Index
    • What is the IPOR Index
    • Working with the IPOR Index
    • IPOR stETH Index
  • Interest Rate Derivatives
    • Interest Rate Derivative
    • Index Calculation
    • IPOR Publication
    • IBT
    • Indicative Term Sheet
  • Automated Market Maker
    • The Automated Market Maker
    • Liquidity Provisioning
    • IPOR Swaps
      • Hedging example with Morpho protocol
    • Spread
      • Math behind the demand spread
    • Risk oracle
    • SOAP
    • Liquidations
    • Asset Management
  • Tokenomics
    • IPOR Token
    • Token distribution model
    • Power IPOR
    • Liquidity mining
      • Math behind the rewards contract
    • Power Token Liquidity Mining for Developers
  • IPOR DAO
    • IPOR DAO Governance
      • Discord - All Channels
      • Discord - Open Governance Forum
      • Discord - Formal Governance
      • Snapshot - Formal Governance
      • Governing Multisig wallets
    • Decentralizing IPOR
      • Configuration Parameters
  • Developers Docs
    • Fusion
      • Developing а Fuse
      • Configuring Pre-hooks
    • Deployed Contracts
      • Ethereum
      • Arbitrum
      • Base
    • Working with IPOR Router
    • ABI
    • V2 changes
    • IPOR Oracle
    • Vault Wrapper
Powered by GitBook
On this page
  • Index Components
  • Index Formula
  • Standarizing the rate
  • Updating the Index

Was this helpful?

Edit on GitHub
  1. Interest Rate Derivatives

Index Calculation

PreviousInterest Rate DerivativeNextIPOR Publication

Last updated 1 year ago

Was this helpful?

Index Components

The cornerstone of the IPOR Protocol is the index rates which is sourced from established and robust DeFi credit markets. Conditions for selection of the money markets for the index are outlined in the , but in a nutshell, the rates used to compile the index come from credit markets that:

  • are decentralized - work as on-chain smart contracts

  • are established - they have aggregated users and liquidity over time

  • have proven security track record

The IPOR Oracle service sources the interest rates for every block for any given currency from appointed markets and compiles the IPOR Index rate.

Index Formula

The IPOR Index rate is essentially the market cost of money defined by a weighted average of rates sources at all money markets included in IPOR:

IPOR(Borrow)=∑i∈Iwib⋅riWborrowIPOR(Supply)=∑i∈Iwis⋅riWsupplyIPOR(Borrow) = \frac{\sum_{i \in I} w^b_i \cdot r_i}{W_{borrow}}\\ IPOR(Supply) = \frac{\sum_{i \in I} w^s_i \cdot r_i}{W_{supply}}IPOR(Borrow)=Wborrow​∑i∈I​wib​⋅ri​​IPOR(Supply)=Wsupply​∑i∈I​wis​⋅ri​​
IPOR=IPOR(Borrow)+IPOR(Supply)2IPOR = \frac{IPOR(Borrow) + IPOR(Supply)}{2} IPOR=2IPOR(Borrow)+IPOR(Supply)​

IPOR Borrow is the weighted average of the rate to borrow.

IPOR Supply is the weighted average of the rate to lend.

Weight is the total amount borrowed or supplied on a given market.

Finally, IPOR is the simple average between those two.

Standarizing the rate

Updating the Index

The IPOR is meant to evolve to become the representation of the fair market cost of money. Given the speed of innovation in DeFi and the free flow nature of capital across protocols and chains, it is expected that new platforms will be added, and some platforms will be removed over time. The index methodology may need to be changed or updated, and decisions must be made about how to transition from one construction to another. The IPOR DAO will govern decisions like these.

Listing

When adding a new market to the index, the new rate mustn't cause a sudden jump in the rate. To smooth the process of onboarding new platforms, IPOR oracle will be increasing their weight block over block in a span of the DAO-appointed phase-in period linearly from 0% to 100% of its standard weight as determined by the liquidity in a given protocol.

Delisting

Delisting of the protocol can happen in 2 ways:

  • Standard delisting - the process is generally the reverse of listing a new protocol. Weight is reduced from 100% to 0% over the appointed phase-out time.

  • Emergency delisting - should there be a justified reason to remove the protocol listed as a part of IPOR in an emergency mode (ex. due to hack, fraud, etc.) admin of the oracle may invoke an emergency delisting with immediate consequences.

It is important to note, that the rate that money markets such as AAVE and Compound quote is not always the actual rate, but rather an APY that accocunts for compounding. In order to be able to compare apples for apples the rate is "deflated" to the actuall rate and then compounding is done via the

Manifesto
IBT