Price Feeds
Term Finance relies on the TermPriceConsumerV3.sol
to serve as an oracle to monitor the health of active borrows on the Protocol in TermRepoCollateralManager.sol
and the sufficiency of collateral associated with bids placed auction in TermAuctionBidlocker.sol
This oracle inherits Chainlink's AggregatorV3Interface
to retrieve data from Chainlink or Chainlink compatible price aggregators/price feeds. Below, we provide a list of feeds currently subscribed to by the Protocol.
This list is subject to change as new tokens and networks are added to the Protocol.
Data Feed Categories
🟢 Chainlink Feed: follows standard Chainlink price feeds workflow that integrates three layers of aggregation (at the data source, node operator, and oracle network layers)
🔵 Combination/Custom Feed: custom feed for wrapped tokens, 4626 vault tokens etc. that typically combine multiple Chainlink price feeds and/or other on-chain data
No Flashloan Attacks - A flashloan is a type of loan where a user can borrow assets with no upfront collateral so long as they return the borrowed assets within the same blockchain transaction (atomically). Given that loans through Term Protocol can be assigned only after (i) a bid a placed, (ii) the bid is revealed (in a separate transaction), and (iii) the bid is fulfilled in completeAuction
(a third transaction), it is not possible to open a loan atomically and therefore not subject to flashloan attacks.
Last updated