PythPriceProvider

Verified contract

Implementation

Active on Ethereum with 1 txns
Deployed by via 0xf1e87ef3 at 20794730
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots

No balances found for "PythPriceProvider"

0x32a391e8dfccd7302e215f64bcec9b0bbfdfec2532ae7812b59364d71d3af205
From

Functions
Getter at block 21271397
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DESCRIPTION(view returns (string)
Price provider that uses pyth
MAX_LENGTH_PRICE_ID_PATH(view returns (uint8)
5
MODERATOR_ROLE(view returns (bytes32)
0x71f3d55856e4058ed06ee057d79ada615f65cdf5f9ee88181b914225088f834f
getPriceDecimals(view returns (uint8)
10
pythOracle(view returns (address)
0x0000000000000000000000000000000000000000
tokenDecimals(view returns (uint8)
10
validTimePeriod(view returns (uint256)
60
Read-only
getExpiredPriceFeeds(address[] tokenuint256 timeBeforeExpirationview returns (bytes32[] priceIdsuint256 updateFee)
getPrice(address tokenview returns (uint256 priceMantissauint8 priceDecimals)
getPythMetadata(address tokenview returns (struct PythPriceProviderPythMetadata)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isActive(address tokenview returns (bool)
isListed(address tokenview returns (bool)
pythMetadata(addressview returns (bool isActive)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
changeActive(address tokenbool active
grantRole(bytes32 roleaddress account
initialize(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setPythOracle(address newPythOracle
setTokenAndPriceIdPath(address tokenbytes32[] newPriceIdPath
setTokenDecimals(uint8 newTokenDecimals
setValidTimePeriod(uint256 newValidTimePeriod
updatePrices(bytes32[] priceIdsbytes[] updateDatapayable 
Events
ChangeActive(address indexed tokenbool active
Initialized(uint8 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetPythOracle(address indexed newPythOracle
SetTokenAndPriceIdPath(address indexed tokenbytes32[] priceIdPath
SetTokenDecimals(uint8 newTokenDecimals
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.