Credit Coop
  • About Us
    • Introduction
    • Get in Touch
  • ⚙️About Our Products
    • Secured Line of Credit
      • Line of Credit Features (v1)
        • Cash Flow Financing
        • Deploying a Secured Line of Credit
        • Core Lending Functionality
        • Revenue-Based Lending Operations
        • Collateral Operations
        • Credit Events
    • The Spigot
      • Key features of the Spigot
      • Spigot Roles
        • Owner
        • Operator
  • ⚙️User Documentation
    • User Documentation (v1)
    • User Documentation (v2)
  • ⚙️DEVELOPER MATERIAL
    • Introduction
    • Deployed Contracts
    • V1 Developer Material
      • Architecture (v1)
      • Functions and Methods
        • LineOfCredit.sol
        • Oracle.sol
        • Spigot.sol
        • SpigotedLine.sol
        • Escrow.sol
        • EscrowedLine.sol
        • SecuredLine.sol
        • LineFactory.sol
        • Libraries
        • InterestRateCredit.sol
          • Accrued Interest Calculation
          • 'Interest Accrued' contract flow
        • Advanced Jargon
      • Repaying Debt - Function View
      • Valuation Oracle
      • Arbiter Role (v1)
        • liquidate() and declareInsolvent()
        • Spigot related functions
        • enableCollateral()
      • Edge Cases and Risk Situations
      • Security Audits
  • 💼Legal
    • Important Legal Notice
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page

Was this helpful?

  1. DEVELOPER MATERIAL
  2. V1 Developer Material

Valuation Oracle

PreviousRepaying Debt - Function ViewNextArbiter Role (v1)

Last updated 1 year ago

Was this helpful?

The Oracle is responsible for valuing all the assets of a Line of Credit. This includes tokens held in the Escrow contract as collateral, Credit Tokens deposited by a Lender and any interest accrued. If a token is not supported by the Oracle, any transaction by a Lender to deposit that token will fail.

For every Line of Credit contract a decision is required at deployment as to which Oracle to use. The standard Oracle used is the . This allows automatic support for any asset available on the Chainlink oracle network which means that any token listed on the registry can be lent out / borrowed or used as collateral.

If desired for a given loan, you can deploy your own oracle that supports NFT pricing, off chain assets, etc.

Borrowers and Lenders are both responsible for reviewing the Oracle address on a Line and for ensuring that it's a reliable oracle to use. If an incorrect asset price is returned by the Oracle, either party can be negatively affected which is why we default to the battle tested, industry standard Chainlink oracles.

⚙️
Chainlink Feed Registry