LockTOS

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x4df8fce3 at 13229235
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "LockTOS"

No transactions found for "LockTOS"


Functions
Getter at block 21304911
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
 
currentStakedTotalTOS(view returns (uint256)
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 _addrview returns (uint256[])
allLocks(uint256view returns (uint256 startuint256 enduint256 amountbool withdrawn)
balanceOf(address _addrview returns (uint256 balance)
balanceOfAt(address _addruint256 _timestampview returns (uint256 balance)
balanceOfLock(uint256 _lockIdview returns (uint256)
balanceOfLockAt(uint256 _lockIduint256 _timestampview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
inUse(uint256view returns (bool)
isAdmin(address accountview returns (bool)
lockPointHistory(uint256uint256view returns (int256 biasint256 slopeuint256 timestamp)
lockedBalances(addressuint256view returns (uint256 startuint256 enduint256 amountbool withdrawn)
locksInfo(uint256 _lockIdview returns (uint256 startuint256 enduint256 amount)
locksOf(address _addrview returns (uint256[])
pointHistory(uint256view returns (int256 biasint256 slopeuint256 timestamp)
pointHistoryOf(uint256 _lockIdview returns (struct LibLockTOSPoint[])
slopeChanges(uint256view returns (int256)
totalLockedAmountOf(address _addrview returns (uint256)
totalSupplyAt(uint256 _timestampview returns (uint256)
uniqueUsers(uint256view returns (address)
userLocks(addressuint256view returns (uint256)
withdrawableAmountOf(address _addrview returns (uint256)
withdrawableLocksOf(address _addrview returns (uint256[])
State-modifying
addAdmin(address account
createLock(uint256 _valueuint256 _unlockWeeksreturns (uint256 lockId)
createLockWithPermit(uint256 _valueuint256 _unlockWeeksuint256 _deadlineuint8 _vbytes32 _rbytes32 _sreturns (uint256 lockId)
depositFor(address _addruint256 _lockIduint256 _value
globalCheckpoint(
grantRole(bytes32 roleaddress account
increaseAmount(uint256 _lockIduint256 _value
increaseUnlockTime(uint256 _lockIduint256 _unlockWeeks
removeAdmin(address account
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setMaxTime(uint256 _maxTime
transferAdmin(address newAdmin
withdraw(uint256 _lockId
withdrawAll(
Events
LockAmountIncreased(address accountuint256 lockIduint256 value
LockCreated(address accountuint256 lockIduint256 valueuint256 unlockTime
LockDeposited(address accountuint256 lockIduint256 value
LockUnlockTimeIncreased(address accountuint256 lockIduint256 unlockTime
LockWithdrawn(address accountuint256 lockIduint256 value
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.