TermPriceConsumerV3.sol
This contract operates at the protocol level and governs all instances of a Term Repo. This contract is a centralized price oracle contract that feeds pricing data to all Term Repos.
TermPriceConsumerV3
DEVOPS_ROLE
bytes32 DEVOPS_ROLEEVERGREEN_MANAGEMENT_ROLE
bytes32 EVERGREEN_MANAGEMENT_ROLEpriceFeeds
mapping(address => contract AggregatorV3Interface) priceFeedsconstructor
constructor() publicinitialize
function initialize(address devopsWallet_, address evergreenManagementWallet_) externaladdNewTokenPriceFeed
Parameters
Name
Type
Description
removeTokenPriceFeed
Parameters
Name
Type
Description
usdValueOfTokens
Parameters
Name
Type
Description
Return Values
Name
Type
Description
_getLatestPrice
Return Values
Name
Type
Description
_getDecimals
Return Values
Name
Type
Description
_authorizeUpgrade
Last updated