0x5d79e63b9f8fba67c3124de4dd6bef3d50582b51
Verified contract
Proxy
Active on
Ethereum with 1,276 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
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 48 additional slots
-
variable spans 48 additional slots
Balances ($947.07)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
MXH | ERC-20 | 1.595283M | $0.000594 |
$947.07 | |
ecoUsage | ERC-20 | 99.999576M | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20030295 | 5 months ago | | | 0 | 0.0063865698 | |
| 19981187 | 6 months ago | | | 0 | 0.0016093382 | |
| 19642776 | 7 months ago | | | 0 | 0.0028925832 | |
| 19435985 | 8 months ago | | | 0 | 0.0045126425 | |
| 19303533 | 9 months ago | | | 0 | 0.016464682 | |
| 19154569 | 9 months ago | | | 0 | 0.0079531419 | |
| 19154556 | 9 months ago | | | 0 | 0.0017131883 | |
| 19151404 | 9 months ago | | | 0 | 0.0014546253 | |
| 19142561 | 9 months ago | | | 0 | 0.0025213443 | |
| 19128863 | 10 months ago | | | 0 | 0.0024988519 |
ABI
ABI objects
Getter at block 21207093
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
contractType() pure returns (bytes32)
0x546f6b656e5374616b6500000000000000000000000000000000000000000000
contractURI() view returns (string)
ipfs://QmWosT4sZWGm1yvPDoRaazF2cgtrmd8V24a7CEKShy5xb7/0
contractVersion() pure returns (uint8)
1
getRewardRatio() view returns (uint256 _numerator, uint256 _denominator)
(_numerator=1, _denominator=200000)
getRewardTokenBalance() view returns (uint256)
99999576494456768000000000
getTimeUnit() view returns (uint80 _timeUnit)
86400
rewardToken() view returns (address)
0xa4c18968eefcfbfbb4fe0eb162ac644dd49816c6
rewardTokenDecimals() view returns (uint16)
18
stakingToken() view returns (address)
0x95640a134721475bc78594c8ea66c0182c7b9a50
stakingTokenBalance() view returns (uint256)
1595282867183685
stakingTokenDecimals() view returns (uint16)
9
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address member)
getRoleMemberCount(bytes32 role) view returns (uint256 count)
getStakeInfo(address _staker) view returns (uint256 _tokensStaked, uint256 _rewards)
hasRole(bytes32 role, address account) view returns (bool)
hasRoleWithSwitch(bytes32 role, address account) view returns (bool)
isTrustedForwarder(address forwarder) view returns (bool)
stakers(address) view returns (uint128 timeOfLastUpdate, uint64 conditionIdOflastUpdate, uint256 amountStaked, uint256 unclaimedRewards)
stakersArray(uint256) view returns (address)
State-modifying
Events claimRewards()
depositRewardTokens(uint256 _amount) payable
grantRole(bytes32 role, address account)
initialize(address _defaultAdmin, string _contractURI, address[] _trustedForwarders, address _rewardToken, address _stakingToken, uint80 _timeUnit, uint256 _rewardRatioNumerator, uint256 _rewardRatioDenominator)
multicall(bytes[] data) returns (bytes[] results)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setContractURI(string _uri)
setRewardRatio(uint256 _numerator, uint256 _denominator)
setTimeUnit(uint80 _timeUnit)
stake(uint256 _amount) payable
withdraw(uint256 _amount)
withdrawRewardTokens(uint256 _amount)
ContractURIUpdated(string prevURI, string newURI)
Initialized(uint8 version)
RewardTokensDepositedByAdmin(uint256 _amount)
RewardTokensWithdrawnByAdmin(uint256 _amount)
RewardsClaimed(address indexed staker, uint256 rewardAmount)
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)
TokensStaked(address indexed staker, uint256 amount)
TokensWithdrawn(address indexed staker, uint256 amount)
UpdatedMinStakeAmount(uint256 oldAmount, uint256 newAmount)
UpdatedRewardRatio(uint256 oldNumerator, uint256 newNumerator, uint256 oldDenominator, uint256 newDenominator)
UpdatedTimeUnit(uint256 oldTimeUnit, uint256 newTimeUnit)
This contract contains no constructor objects.
receive()
This contract contains no error objects.