StakingContract
Verified contract
Active on
Ethereum with 353 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x2ba5…8305
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WAR | ERC-20 | 74.171882K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14359347 | 3 years ago | | | 0 | 0.0054304560 | |
| 13833077 | 3 years ago | | | 0 | 0.0062290399 | |
| 13833066 | 3 years ago | | | 0 | 0.0060213737 | |
| 13780846 | 3 years ago | | | 0 | 0.010623263 | |
| 13754104 | 3 years ago | | | 0 | 0.012824988 | |
| 13747832 | 3 years ago | | | 0 | 0.010294362 | |
| 13392664 | 3 years ago | | | 0 | 0.0076227307 | |
| 13373322 | 3 years ago | | | 0 | 0.017405691 | |
| 13373300 | 3 years ago | | | 0 | 0.014303199 | |
| 13370967 | 3 years ago | | | 0 | 0.010929888 |
ABI
ABI objects
Getter at block 21042603
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE() view returns (bytes32)
0xf0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9
OPERATOR_ROLE() view returns (bytes32)
0x523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c
fightToken() view returns (address)
0x2ba55a162a86c005b900c9cc63be0336e2bb8305
gameStopped() view returns (bool)
false
minStake() view returns (uint256)
5000000000000000000
rate() view returns (uint256)
86400
totalStaked() view returns (uint256)
74171882393690000000000
warToken() view returns (address)
0x4d75d9e37667a2d4677ec3d74bdd9049326ad8d6
Read-only
balance(address) view returns (uint256)
earned(address account) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
lastUpdateTime(address) view returns (uint256)
points(address) view returns (uint256)
State-modifying
Events changeStakeReq(uint256 _newAmount)
exit()
grantRole(bytes32 role, address account)
pauseGame(bool _pause)
redeem()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
stake(uint256 _amount)
updateRate(uint256 _newRate)
RateChanged(uint256 newRate)
Redeemed(address who, uint256 amount)
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)
StakeReqChanged(uint256 newAmount)
Staked(address who, uint256 amount)
Withdrawal(address who, uint256 amount)
constructor(address _fightToken, address _warToken)
This contract contains no fallback and receive objects.
This contract contains no error objects.