Oracle.sol

The Line of Credit makes external calls to the Oracle contract which acts as a wrapper contract to simplify integration with the Chainlink FeedRegistry

  • Returns all token prices in USD 8-decimal denomination

  • External calls to - Chainlink FeedRegistry

  • Libraries - Chainlink Denominations

function getLatestAnswer(address token) external returns (int256)

getLatestAnswer(): returns the current price for a token asset in USD (8 decimals)

Last updated

Was this helpful?