StakingContract

Verified contract

Active on Ethereum with 353 txns
Deployed by via 0x341579a3 at 12257805
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xa83aabb63365b06a446c9f05c6726c532b4210585ada4bcc4fd653c9b2357830
0x5bf476a762bca9f7270e81f1fa60e89f3cbc30dafeb5314f5bc18caa5824964a
0x9bb1ac8525d2c79b7325072d8838293219d2accb989b5106eb73a175443280fd
0x5e3dc2b1eb0f2b0ba0d42904986dc50eaf681d18cc4fdb806389549409100a6c
0xa324957285c1c686f96c072479043bd3052fb2b4aa3ed786bad179fc7525ca4a
0xddd0ecb4edcaa7b504c414c4721b68ff7e569a4da0ff8bc657f72bf8b5c6155f
0x879d68f37b8b1269dab790c7e510a0e5702feab6e7071995a626b2f2c545bb75
0xd67e3ded50198999ad0d160b8cf5e624116149f444589b321d42f663bd172d3e
0x2b61397729be918d581405da0f414246bb5d11c46b473672d6e5898047e45997
0x759392feea4ac748a36e728c58bfd8889317bdd411ccd02d5c390e0175547b00

Functions
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(addressview returns (uint256)
earned(address accountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
lastUpdateTime(addressview returns (uint256)
points(addressview returns (uint256)
State-modifying
changeStakeReq(uint256 _newAmount
exit(
grantRole(bytes32 roleaddress account
pauseGame(bool _pause
redeem(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
stake(uint256 _amount
updateRate(uint256 _newRate
Events
RateChanged(uint256 newRate
Redeemed(address whouint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StakeReqChanged(uint256 newAmount
Staked(address whouint256 amount
Withdrawal(address whouint256 amount
Constructor
constructor(address _fightTokenaddress _warToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.