IPriceProviderAggregator
Overview
License: MIT
Functions info
setTokenAndPriceProvider (0x3ca82a11)
Sets price provider to token
and its corresponding price provider.
Parameters:
changeActive (0x3651084e)
Allows the moderator to change the active status of a price provider for a specific token.
Parameters:
getPrice (0x41976e09)
returns tuple (priceMantissa, priceDecimals). price = priceMantissa / (10 ** priceDecimals)
Parameters:
getPriceSigned (0x52bd8224)
returns the price of token multiplied by 10 ** priceDecimals given by price provider. price can be calculated as priceMantissa / (10 ** priceDecimals). i.e. price = priceMantissa / (10 ** priceDecimals).
Parameters:
getEvaluation (0x81fd01ea)
Returns the USD evaluation of token by its tokenAmount
.
Parameters:
getEvaluationSigned (0xf91b9dc2)
Returns the USD evaluation of token by its tokenAmount
.
Parameters:
updatePrices (0x0aa9adbc)
Perform a price update if the price is no longer valid.
Parameters:
Last updated