PriceProviderAggregator
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
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
Balances ($0.00)
No balances found for "PriceProviderAggregator"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PriceProviderAggregator"
ABI
ABI objects
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 token, uint256 tokenAmount) view returns (uint256 evaluation)
getEvaluationSigned(address token, uint256 tokenAmount, uint256 priceMantissa, uint256 validTo, bytes signature) view returns (uint256 evaluation)
getPrice(address token) view returns (uint256 priceMantissa, uint8 priceDecimals)
getPriceSigned(address token, uint256 priceMantissa, uint256 validTo, bytes signature) view returns (uint256 priceMantissa_, uint8 priceDecimals)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenPriceProvider(address) view returns (address priceProvider, bool hasSignedFunction)
State-modifying
Events changeActive(address priceProvider, address token, bool active)
grandModerator(address newModerator)
grantRole(bytes32 role, address account)
initialize()
renounceRole(bytes32 role, address account)
revokeModerator(address moderator)
revokeRole(bytes32 role, address account)
setTokenAndPriceProvider(address token, address priceProvider, bool hasFunctionWithSign)
ChangeActive(address indexed who, address indexed priceProvider, address indexed token, bool active)
GrandModeratorRole(address indexed who, address indexed newModerator)
RevokeModeratorRole(address indexed who, address indexed moderator)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetTokenAndPriceProvider(address indexed who, address indexed token, address indexed priceProvider)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.