UniswapV3PriceProvider
Overview
License: MIT
contract UniswapV3PriceProvider is PriceProvider, Initializable, AccessControlUpgradeableStructs info
UniswapV3Metadata
struct UniswapV3Metadata {
bool isActive;
address[] aggregatorPath;
}UniswapV3MetadataPair
struct UniswapV3MetadataPair {
address token;
address pairToken;
uint8 tokenDecimals;
uint8 pairTokenDecimals;
uint32 pricePointTWAPperiod;
}Events info
SetTokenAndPair
Name
Type
Description
ChangeActive
Name
Type
Description
SetTokenDecimals
Name
Type
Description
SetTokenAndAggregator
Name
Type
Description
Constants info
MODERATOR_ROLE (0x797669c9)
DESCRIPTION (0xf1ae8856)
MAX_PRICE_PATH_LENGTH (0x01a9a5d3)
State variables info
tokenDecimals (0x3b97e856)
uniswapV3Metadata (0xe84cbb89)
uniswapV3MetadataPair (0x918d7a98)
Modifiers info
onlyModerator
Functions info
initialize (0x8129fc1c)
setTokenDecimals (0xf2cf47be)
Name
Type
Description
setTokenAndPair (0x8d46526f)
Requirements:
Name
Type
Description
changeActive (0x258a4532)
Requirements:
Name
Type
Description
isListed (0xf794062e)
Name
Type
Description
Name
Type
Description
isActive (0x9f8a13d7)
Name
Type
Description
Name
Type
Description
getPrice (0x41976e09)
Name
Type
Description
Name
Type
Description
getUnderlyingTokenPrice (0x8020c854)
getPriceDecimals (0x1b30aafc)
Name
Type
Description
getUniswapV3Metadata (0xb790348b)
Name
Type
Description
Name
Type
Description
Last updated