TokenLocker
Verified contract
Active on
Ethereum with 3,572 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 10922 additional slots
-
variable spans 8191 additional slots
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
PRISMA | ERC-20 | 97.005433M | $0.020017 |
$1,941,772.3 |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21206405 | 3 days ago | | | 0 | 0.0025958221 | |
| 21203082 | 3 days ago | | | 0 | 0.0026883692 | |
| 21202521 | 3 days ago | | | 0 | 0.0035647738 | |
| 21201125 | 3 days ago | | | 0 | 0.0012603284 | |
| 21188710 | 5 days ago | | | 0 | 0.0053298974 | |
| 21187137 | 5 days ago | | | 0 | 0.0042595755 | |
| 21165148 | 9 days ago | | | 0 | 0.0016442264 | |
| 21165142 | 9 days ago | | | 0 | 0.0014736435 | |
| 21162758 | 9 days ago | | | 0 | 0.0020157857 | |
| 21158168 | 9 days ago | | | 0 | 0.0014849183 |
ABI
ABI objects
Getter at block 21226127
MAX_LOCK_WEEKS() view returns (uint256)
52
PRISMA_CORE() view returns (address)
0x5d17ea085f2ff5da3e6979d5d26f1dbab664ccf8
allowPenaltyWithdrawAfter() view returns (uint256)
1698450000
deploymentManager() view returns (address)
0xd0efdf01dd8d650bba8992e2c42d0bc6d441a673
getTotalWeight() view returns (uint256)
4779420909
getWeek() view returns (uint256 week)
66
guardian() view returns (address)
0x7a28a80dce1733944db5dc50dc2c5147ec993c5a
incentiveVoter() view returns (address)
0xfd8df0db401ab7ec7a06a8465134fa32132e850c
lockToTokenRatio() view returns (uint256)
1000000000000000000
lockToken() view returns (address)
0xda47862a83dac0c112ba89c6abc2159b95afd71c
owner() view returns (address)
0xc53baaaa8595a7a2e7fee71db7291b939f696734
penaltyWithdrawalsEnabled() view returns (bool)
true
prismaCore() view returns (address)
0x5d17ea085f2ff5da3e6979d5d26f1dbab664ccf8
totalDecayRate() view returns (uint32)
8185644
totalUpdatedWeek() view returns (uint16)
66
Read-only
getAccountActiveLocks(address account, uint256 minWeeks) view returns (struct TokenLockerLockData[] lockData, uint256 frozenAmount)
getAccountBalances(address account) view returns (uint256 locked, uint256 unlocked)
getAccountWeight(address account) view returns (uint256)
getAccountWeightAt(address account, uint256 week) view returns (uint256)
getTotalWeightAt(uint256 week) view returns (uint256)
getWithdrawWithPenaltyAmounts(address account, uint256 amountToWithdraw) view returns (uint256 amountWithdrawn, uint256 penaltyAmountPaid)
State-modifying
Events extendLock(uint256 _amount, uint256 _weeks, uint256 _newWeeks) returns (bool)
extendMany(struct TokenLockerExtendLockData[] newExtendLocks) returns (bool)
freeze()
getAccountWeightWrite(address account) returns (uint256)
getTotalWeightWrite() returns (uint256)
lock(address _account, uint256 _amount, uint256 _weeks) returns (bool)
lockMany(address _account, struct TokenLockerLockData[] newLocks) returns (bool)
setAllowPenaltyWithdrawAfter(uint256 _timestamp) returns (bool)
setPenaltyWithdrawalsEnabled(bool _enabled) returns (bool)
unfreeze(bool keepIncentivesVote)
withdrawExpiredLocks(uint256 _weeks) returns (bool)
withdrawWithPenalty(uint256 amountToWithdraw) returns (uint256)
LockCreated(address indexed account, uint256 amount, uint256 _weeks)
LockExtended(address indexed account, uint256 amount, uint256 _weeks, uint256 newWeeks)
LocksCreated(address indexed account, struct TokenLockerLockData[] newLocks)
LocksExtended(address indexed account, struct TokenLockerExtendLockData[] locks)
LocksFrozen(address indexed account, uint256 amount)
LocksUnfrozen(address indexed account, uint256 amount)
LocksWithdrawn(address indexed account, uint256 withdrawn, uint256 penalty)
constructor(address _prismaCore, address _token, address _voter, address _manager, uint256 _lockToTokenRatio)
This contract contains no fallback and receive objects.
This contract contains no error objects.