LockTOS
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "LockTOS"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LockTOS"
ABI
ABI objects
Getter at block 21304911 currentStakedTotalTOS() view returns (uint256)
ADMIN_ROLE() view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
BURNER_ROLE() view returns (bytes32)
0x9667e80708b6eeeb0053fa0cca44e028ff548e2a9f029edfeac87c118b08b7c8
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE() view returns (bytes32)
0xf0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9
MULTIPLIER() view returns (uint256)
1000000000000000000
activeHolders() view returns (address[])
[]
allHolders() view returns (address[])
[]
cumulativeEpochUnit() view returns (uint256)
0
cumulativeTOSAmount() view returns (uint256)
0
epochUnit() view returns (uint256)
0
getCurrentTime() view returns (uint256)
1733022971
lockIdCounter() view returns (uint256)
0
maxTime() view returns (uint256)
0
migratedL2() view returns (bool)
false
needCheckpoint() view returns (bool need)
true
pauseProxy() view returns (bool)
false
stakeRegistry() view returns (address)
0x0000000000000000000000000000000000000000
tos() view returns (address)
0x0000000000000000000000000000000000000000
totalSupply() view returns (uint256)
0
Read-only
activeLocksOf(address _addr) view returns (uint256[])
allLocks(uint256) view returns (uint256 start, uint256 end, uint256 amount, bool withdrawn)
balanceOf(address _addr) view returns (uint256 balance)
balanceOfAt(address _addr, uint256 _timestamp) view returns (uint256 balance)
balanceOfLock(uint256 _lockId) view returns (uint256)
balanceOfLockAt(uint256 _lockId, uint256 _timestamp) 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)
inUse(uint256) view returns (bool)
isAdmin(address account) view returns (bool)
lockPointHistory(uint256, uint256) view returns (int256 bias, int256 slope, uint256 timestamp)
lockedBalances(address, uint256) view returns (uint256 start, uint256 end, uint256 amount, bool withdrawn)
locksInfo(uint256 _lockId) view returns (uint256 start, uint256 end, uint256 amount)
locksOf(address _addr) view returns (uint256[])
pointHistory(uint256) view returns (int256 bias, int256 slope, uint256 timestamp)
pointHistoryOf(uint256 _lockId) view returns (struct LibLockTOSPoint[])
slopeChanges(uint256) view returns (int256)
totalLockedAmountOf(address _addr) view returns (uint256)
totalSupplyAt(uint256 _timestamp) view returns (uint256)
uniqueUsers(uint256) view returns (address)
userLocks(address, uint256) view returns (uint256)
withdrawableAmountOf(address _addr) view returns (uint256)
withdrawableLocksOf(address _addr) view returns (uint256[])
State-modifying
Events addAdmin(address account)
createLock(uint256 _value, uint256 _unlockWeeks) returns (uint256 lockId)
createLockWithPermit(uint256 _value, uint256 _unlockWeeks, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns (uint256 lockId)
depositFor(address _addr, uint256 _lockId, uint256 _value)
globalCheckpoint()
grantRole(bytes32 role, address account)
increaseAmount(uint256 _lockId, uint256 _value)
increaseUnlockTime(uint256 _lockId, uint256 _unlockWeeks)
removeAdmin(address account)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setMaxTime(uint256 _maxTime)
transferAdmin(address newAdmin)
withdraw(uint256 _lockId)
withdrawAll()
LockAmountIncreased(address account, uint256 lockId, uint256 value)
LockCreated(address account, uint256 lockId, uint256 value, uint256 unlockTime)
LockDeposited(address account, uint256 lockId, uint256 value)
LockUnlockTimeIncreased(address account, uint256 lockId, uint256 unlockTime)
LockWithdrawn(address account, uint256 lockId, uint256 value)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.