✒️
Teller V1 Docs
  • Introduction
  • Getting Started
    • Overview
    • FAQ
  • Protocol
    • Core Contracts
      • ATM Contracts
      • LoanManager Contracts
      • LoanTermsConsensus Contracts
    • Settings Contract
      • Platform Settings
      • Privileged Roles & Ownership
        • Pauser Role
        • Progressive Pauser Role Owner
    • Price Oracles
    • Liquidation Manual
    • Gas Usage
  • Teller Nodes
    • Overview
    • Credit Risk Algorithm (CRA)
    • Accrued Interest
  • Guides & Tutorials
    • Teller Testnet
  • Safety & Audits
    • Audits
  • Additional Resources
    • List
  • Legal
    • Terms of Use
    • Privacy Policy
    • Cookies & Data Policies
Powered by GitBook
On this page
  • Teller APY: Interest Accrued from Borrowed Capital
  • cToken APY: Interest Accrued from Passive Capital
  • Accrued APY: Teller APY + cToken APY
  • Method: Accrued Interest

Was this helpful?

  1. Teller Nodes

Accrued Interest

Teller Interest is accrued from both active and passive capital

PreviousCredit Risk Algorithm (CRA)NextTeller Testnet

Last updated 4 years ago

Was this helpful?

Teller APY: Interest Accrued from Borrowed Capital

Actively borrowed assets reside in the Teller Protocol's pool of outstanding loans. These loans have both an expiration date and a future amount of interest owed.

When an outstanding loan is repaid in full, the lending pool increases in size by the interest owed amount. This amount of newly earned assets are distributed pro-rata across all tToken holders.

Liquidity providers earn interest from outstanding loans based on the block at which the loan is repaid.

cToken APY: Interest Accrued from Passive Capital

Assets that sit idle in the Teller Protocol's lending pools are deposited into the . This capital is subsequently converted into a , where the APY is represented by an increase in the price of the cToken itself.

Liquidity providers earn interest from cToken APY every block.

Accrued APY: Teller APY + cToken APY

Total interest earned is the combination of:

Accrued APY = Teller APY + cToken APY

This Accrued APY is generated throughout the duration of time a user provides liquidity to the protocol. The longer liquidity is deposited, the greater amount of interest that can be generated per user.

Method: Accrued Interest

The method to calculate Accrued Interest is currently run by the node network. For a specific liquidity provider, the node will loop through each block in which the provider held greater than zero tTokens.

The total amount of interest will be equivalent to: ({Teller APY [per block] + cToken APY [per block]} x Number of Blocks)

The resulting interest amount must be submitted to an on-chain consensus review in order to be approved. Once approved, the liquidity provider can claim the outstanding interest accrued.

If interest has previously been claimed by a liquidity provider, the Number of Blocks will be calculated by:(Current Block - Block of Previous Interest Claim) .

Compound Protocol
cToken