IPriceProviderAggregator
Overview
License: MIT
Functions info
setTokenAndPriceProvider (0xf913ab66)
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:
updateMultiFinalPrices (0x1e5f85e6)
Calculates and update multiple the final TWAP prices of a token.
Parameters:
updatePrices (0x0aa9adbc)
Perform a price update if the price is no longer valid.
Parameters:
getTokensUpdateFinalPrices (0xef290120)
This function is called when performing operations using token prices, to determine which tokens will need to update their final price.
Parameters:
Return values:
tokenPriceProvider (0xa33540f1)
Returns priceProvider address.
Parameters:
getPrice (0x41976e09)
Returns the most recent TWAP price of a token.
Parameters:
Return values:
getEvaluation (0x81fd01ea)
returns the most TWAP price in USD evaluation of token by its tokenAmount
Parameters:
Return values:
Last updated