ONXRewards
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "ONXRewards"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ONXRewards"
ABI
ABI objects
Getter at block 20814208
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
decimals() view returns (uint8)
18
name() view returns (string)
onxToken() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
totalSupply() view returns (uint256)
0
Read-only
allowance(address, address) view returns (uint256)
balanceOf(address) view returns (uint256)
earned(address _account, address _rewardsToken) view returns (uint256)
getRewardForDuration(address _rewardsToken) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
lastTimeRewardApplicable(address _rewardsToken) view returns (uint256)
rewardData(address) view returns (uint256 rewardsDuration, uint256 periodFinish, uint256 rewardRate, uint256 lastUpdateTime, uint256 rewardPerTokenStored)
rewardPerToken(address _rewardsToken) view returns (uint256)
rewardTokens(uint256) view returns (address)
rewards(address, address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
userRewardPerTokenPaid(address, address) view returns (uint256)
State-modifying
Events addReward(address _rewardsToken, uint256 _rewardsDuration)
approve(address _spender, uint256 _value) returns (bool)
deposit(uint256 _value)
getReward()
grantRole(bytes32 role, address account)
initialize(string _name, string _symbol, address _onx)
notifyRewardAmount(address _rewardsToken, uint256 _reward)
recoverERC20(address _tokenAddress, uint256 _tokenAmount)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setRewardsDuration(address _rewardsToken, uint256 _rewardsDuration)
transfer(address _to, uint256 _value) returns (bool)
transferFrom(address _from, address _to, uint256 _value) returns (bool)
withdraw(uint256 _value)
Approval(address indexed owner, address indexed spender, uint256 value)
Recovered(address token, uint256 amount)
RewardAdded(uint256 reward)
RewardPaid(address indexed user, address indexed rewardsToken, uint256 reward)
RewardsDurationUpdated(address token, uint256 newDuration)
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)
Transfer(address indexed from, address indexed to, uint256 value)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.