PriceProviderAggregator

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x5f431cf0 at 14846990
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 "PriceProviderAggregator"

No transactions found for "PriceProviderAggregator"


Functions
Getter at block 20877222
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MODERATOR_ROLE(view returns (bytes32)
0x71f3d55856e4058ed06ee057d79ada615f65cdf5f9ee88181b914225088f834f
usdDecimals(view returns (uint8)
0
Read-only
getEvaluation(address tokenuint256 tokenAmountview returns (uint256 evaluation)
getEvaluationSigned(address tokenuint256 tokenAmountuint256 priceMantissauint256 validTobytes signatureview returns (uint256 evaluation)
getPrice(address tokenview returns (uint256 priceMantissauint8 priceDecimals)
getPriceSigned(address tokenuint256 priceMantissauint256 validTobytes signatureview returns (uint256 priceMantissa_uint8 priceDecimals)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenPriceProvider(addressview returns (address priceProviderbool hasSignedFunction)
State-modifying
changeActive(address priceProvideraddress tokenbool active
grandModerator(address newModerator
grantRole(bytes32 roleaddress account
initialize(
renounceRole(bytes32 roleaddress account
revokeModerator(address moderator
revokeRole(bytes32 roleaddress account
setTokenAndPriceProvider(address tokenaddress priceProviderbool hasFunctionWithSign
Events
ChangeActive(address indexed whoaddress indexed priceProvideraddress indexed tokenbool active
GrandModeratorRole(address indexed whoaddress indexed newModerator
RevokeModeratorRole(address indexed whoaddress indexed moderator
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetTokenAndPriceProvider(address indexed whoaddress indexed tokenaddress indexed priceProvider
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.