IDStaking

Verified contract

Active on Ethereum with 187,068 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 $1,099,832.39
ERC-20
--
0x2e074ac2bc7cab4bd026a84e91521dae385a9972a390c4ced13bbfd76194e217
0x7dab557260601029d34e505c664922c265bf6610207b16b2fd2539b499e8b136
0xbf8ebfcca094e12a5cbb4ad0ff624469b1a40cef384d047ba302364e42372504
0x2fff915349e4f8c05973ee250b3e1f3b37d75e8832c0043d339e24ea9ecb016c
0xa5d00b412d5aa965c63eb4a3f4c11135afd4a78cf7a89b745d2250f4d1eeaf3a
0xcc0274a49b844e896cc17943f660ea7cc50150aef8144519deec1c1a45c54aa2
0x70746ad6ee4096376d44aa59ae48a6207a1ebadacc4e73bce8293cc9d47709ad
0x5e1b229049746d0702a6043ab0211271a40bee9429a90a991a3b09d596f61dc3
0x5cac48f1a67ce23489edb7000924316b48c4890592af400738c4579227581a3b
0x7b2b30414c6642b2b333d7a5b1d59116117f933db5aa5a8d753021763d7c4098

Functions
Getter at block 21261274
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.