TokenStakingControllable
Verified contract
Active on
Ethereum with 2,869 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($3,646,728.14)
Native
Value
$2.17
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.000557 | $3,893.84 |
$2.17 | |
A8 | ERC-20 | 10.154193M | $0.359135 |
$3,646,725.97 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21391865 | an hour ago | | | 0 | 0.0011559121 | |
| 21390575 | 5 hours ago | | | 0 | 0.0012338632 | |
| 21390074 | 7 hours ago | | | 0 | 0.0013016938 | |
| 21389784 | 8 hours ago | | | 0 | 0.0013094858 | |
| 21389631 | 8 hours ago | | | 0 | 0.0016130189 | |
| 21388105 | 14 hours ago | | | 0 | 0.0031077489 | |
| 21386825 | 18 hours ago | | | 0 | 0.0025335440 | |
| 21385572 | a day ago | | | 0 | 0.0019040700 | |
| 21385572 | a day ago | | | 0 | 0.0019258791 | |
| 21385070 | a day ago | | | 0 | 0.0017459467 |
ABI
ABI objects
Getter at block 21392150
CONTROLLER_ROLE() view returns (bytes32)
0x08a35e1699a1a8b5214fb8b0126a8cc4c903fd5c7f475703ee2fc9cca6d1f1ab
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
apocalypseDate() view returns (uint256)
1752710400
getLockUpConfigs() view returns (struct ITokenStakingCoreLockUpConfig[])
[(0, 1000000), (2592000, 1200000), (5184000, 1400000), (15552000, 1800000)]
maxActiveSections() view returns (uint256)
10
sectionCounter() view returns (uint256)
6412
tokenAddress() view returns (address)
0x3e5a19c91266ad8ce2477b91585d1856b84062df
Read-only
activeUserSectionIds(address, uint256) view returns (uint256)
getActiveUserSectionIds(address owner) view returns (uint256[])
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
lockUpConfigs(uint256) view returns (uint256 duration, uint256 multiplier)
sections(uint256) view returns (uint256 id, uint256 amount, uint256 noLockMultiplier, uint256 startedDate, uint256 unstakedDate, struct ITokenStakingCoreLockUpConfig lockUpConfig, address owner)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events delegateStake(address owner, uint256 amount, struct ITokenStakingCoreLockUpConfig lockUpConfig, uint256 noLockMultiplier) returns (uint256)
grantRole(bytes32 role, address account)
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
setApocalypseDate(uint256 _apocalypseDate)
setLockupPeriods(struct ITokenStakingCoreLockUpConfig[] _lockUpConfigs)
setMaxSections(uint256 _maxActiveSections)
stake(uint256 amount, uint256 lockUpConfigIdx) returns (uint256)
unstake(uint256 sectionId)
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)
StakeToken(address indexed staker, uint256 sectionId, uint256 amount, uint256 startedDate, uint256 duration, uint256 multiplier, uint256 noLockMultiplier)
UnstakeToken(address indexed staker, uint256 sectionId)
constructor(address admin, address _tokenAddress, uint256 _maxActiveSections, uint256 _apocalypseDate)
fallback()
receive()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
FailedInnerCall()
SafeERC20FailedOperation(address token)