TimeLockNonTransferablePool

Verified contract

Active on Ethereum
Deployed by via 0x3aaee9e0 at 13970040
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x03006a16e3e854f643452da8b5a9c4e95bdbe572b36de73956ffde6ac84a1221
0x9fbd7300351abcf912760c8be376ed5c06daed969062a3fe5c1cdfef8027cb93
0xda444918070a4c1fb4aa40041081c5858e42aab14fba180533249f199205f00d
0x30c24e63dbfd2393ee6a2ea676e3fe745fb4112be7471dadbe6a408c0d84b669
0x682001cd2ec63766f62bf7f6be7e765cbf86d54f0f11d9cc3b128ceda50a794a
0xa8c2657ad49350311b73025779d6af3f27c0f2f2ca009e1de5a07a6bc69ee4e7
0x7911120f906db41870d1f045e5e0616bbb43d25ee1f79588d74b7552566db71c
0x06c791a0d0bba35064bfbae66f18ba0b0bf71506c2c1e7eaf42d5f697f91945f
0x00b65821fe7a17595e5a1f48f081757f3149ee7b7bc382df7ceadc5db0bca1f4
0xcedaf5746a81ae6ec950ef9d37c6b33d66435f49015bf19a637c62910d7964aa

Functions
Getter at block 21202744
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0x7e0061cd4970c91fd68234ce6cceaa50e79f42619232cd160cb96521d3ec8cbf
MIN_LOCK_DURATION(view returns (uint256)
600
POINTS_MULTIPLIER(view returns (uint128)
340282366920938463463374607431768211455
TOKEN_SAVER_ROLE(view returns (bytes32)
0xd9d917c4034cff8a8c5fa1e40f9fbaf906b827c33ae3ab1fcabbb616cb8ef24d
decimals(view returns (uint8)
18
depositToken(view returns (address)
0x87051936dc0669460951d612fbbe93df88942229
escrowDuration(view returns (uint256)
31536000
escrowPool(view returns (address)
0xff4a68bb559e9ce1429e1e455b1d30564a7dd67f
escrowPortion(view returns (uint256)
1000000000000000000
maxBonus(view returns (uint256)
1000000000000000000
maxLockDuration(view returns (uint256)
10281600
name(view returns (string)
Staked Path Uniswap LP
pointsPerShare(view returns (uint256)
75017407052741973492349872842196211616467
rewardToken(view returns (address)
0x2a2550e0a75acec6d811ae3930732f7f3ad67588
symbol(view returns (string)
SPATHULP
totalRewardsClaimed(view returns (uint256)
28169418127658120609033684
totalSupply(view returns (uint256)
8804702326869583713285
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
checkpoints(address accountuint32 posview returns (struct ERC20VotesCheckpoint)
cumulativeRewardsOf(address _accountview returns (uint256)
delegates(address accountview returns (address)
depositsOf(addressuint256view returns (uint256 amountuint64 startuint64 end)
getDepositsOf(address _accountview returns (struct TimeLockPoolDeposit[])
getDepositsOfLength(address _accountview returns (uint256)
getMultiplier(uint256 _lockDurationview returns (uint256)
getPastTotalSupply(uint256 blockNumberview returns (uint256)
getPastVotes(address accountuint256 blockNumberview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getTotalDeposit(address _accountview returns (uint256)
getVotes(address accountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
nonces(address ownerview returns (uint256)
numCheckpoints(address accountview returns (uint32)
pointsCorrection(addressview returns (int256)
supportsInterface(bytes4 interfaceIdview returns (bool)
withdrawableRewardsOf(address _accountview returns (uint256)
withdrawnRewards(addressview returns (uint256)
withdrawnRewardsOf(address _accountview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
claimRewards(address _receiver
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
delegate(address delegatee
delegateBySig(address delegateeuint256 nonceuint256 expiryuint8 vbytes32 rbytes32 s
deposit(uint256 _amountuint256 _durationaddress _receiver
distributeRewards(uint256 _amount
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
saveToken(address _tokenaddress _receiveruint256 _amount
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
withdraw(uint256 _depositIdaddress _receiver
Events
Approval(address indexed owneraddress indexed spenderuint256 value
DelegateChanged(address indexed delegatoraddress indexed fromDelegateaddress indexed toDelegate
DelegateVotesChanged(address indexed delegateuint256 previousBalanceuint256 newBalance
Deposited(uint256 amountuint256 durationaddress indexed receiveraddress indexed from
RewardsClaimed(address indexed _fromaddress indexed _receiveruint256 _escrowedAmountuint256 _nonEscrowedAmount
RewardsDistributed(address indexed byuint256 rewardsDistributed
RewardsWithdrawn(address indexed byuint256 fundsWithdrawn
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenSaved(address indexed byaddress indexed receiveraddress indexed tokenuint256 amount
Transfer(address indexed fromaddress indexed touint256 value
Withdrawn(uint256 indexed depositIdaddress indexed receiveraddress indexed fromuint256 amount
Constructor
constructor(string _namestring _symboladdress _depositTokenaddress _rewardTokenaddress _escrowPooluint256 _escrowPortionuint256 _escrowDurationuint256 _maxBonusuint256 _maxLockDuration
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.