IDStaking

Verified contract

Active on Ethereum with 184,591 txns
Deployed by via 0xac81e36f at 16401288
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $861,079.43
ERC-20
--
0xb30dfde059771fc92154f78cf3c4ad8de5fb528a3f0f33c5541218535b85d0f3
0x005d00a8e62b5401c1cfaa0471f849f5c742ecb2447d0dea1d769e2a32007399
0x3ed57384e89641edaa05f79d89291ebf4ef6d8d0faa8d69789099c3bf7b0604b
0x4a696ec28a31d4eb96929e8bfff2e3a3bc63b95b18bfb6c98fc27a6d30e9fe55
0xc7f537dc526ca47ff7e9ff32e3e9a6a60ddfe0b23c7a0b503773278c4736b896
0xa6624eb1871c3d95f8a7c0a897ec8a5834c5be5fe19f2eeb2c416285562a60e9
0x801497b97b67d73102c7d7e60b1057d9972be4492ed921cd9daa1f7dbfec4192
0x7fb67be32c8d7b0812d8eced1c58ccfca5641e58457b1ab7f961ed6748ca6ac1
0x6c8e6c7d0e9d96e74147a12a76b0cd990bd055b57a6c830697bf620e0e2a8764
0x83174608eaf626ad3a46b95f5ddd17cb2bd36a64dd6496fccd3ef3b0defd9448

Functions
Getter at block 20792034
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
latestRound(view returns (uint256)
7
token(view returns (address)
0xde30da39c46104798bb5aa3fe8b9e0e1f348163f
trustedSigner(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
fetchRoundMeta(uint256 roundIdview returns (uint256 startuint256 durationuint256 tvlstring meta)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStakeId(address stakeraddress userpure returns (bytes32)
getUserStakeForRound(uint256 roundIdaddress userview returns (uint256)
getUserXStakeForRound(uint256 roundIdaddress stakeraddress userview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isActiveRound(uint256 roundIdview returns (bool isActive)
stakes(uint256addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
xStakes(uint256bytes32view returns (uint256)
State-modifying
addAdmin(address admin
createRound(uint256 startuint256 durationstring meta
grantRole(bytes32 roleaddress account
migrateStake(uint256 fromRound
removeAdmin(address admin
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
stake(uint256 roundIduint256 amount
stakeUsers(uint256 roundIdaddress[] usersuint256[] amounts
unstake(uint256 roundIduint256 amount
unstakeUsers(uint256 roundIdaddress[] users
Events
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
roundCreated(uint256 id
selfStake(uint256 roundIdaddress stakeruint256 amountbool staked
tokenMigrated(address stakeruint256 amountuint256 fromRounduint256 toRound
xStake(uint256 roundIdaddress stakeraddress useruint256 amountbool staked
Constructor
constructor(address _token
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.