TimeLockStaking

Verified contract

Active on Base with 4,376 txns
Deployed by via 0x80823f88 at 11841008
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $37,126,749.68
ERC-20
Value $0.07
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x7ba0f864b5d03581f16db0fb55bf81a238a3e960d0259348031218ea3bc11be9
0x061122da31181136dc2e0ad4b49f8f5f31c3df83161759cee14d974074545567
0xd8a44fc9c42298bd43fc6ee5b3f001e3d0ffcbffbcac0a90ea9a1d00cb3df656
0xe5f91f4fb3118a8710ab11d443372bd7854f3eb1bcee30c54cdcbd0499e50b99
0xc8a345898e1935852b889e8e23bad79d8a8f7101cc392509b7156c0a0d8fd227
0xded522e32b499663924539f4135bab8582713ec6f94cdc18f2b99d095ab996ed
0x4d1b941ab14ce0bc0254e2686e6ff950119a4ce11b72ba3862fc6210edfe2cf6
0x2ab1e99b0ce035b0d38fae7862a0eaf68b51d103b4ef27d66e4944426ebaf8f6
0x1aef83d2fd97cc0487fe440f354b86bdb724781969f4fb7db84ca8f1ecd9b0ad
0x7363db40079410edd0d212d61a57a7cb0f21677bd95136f273d0ab4d8f0589f5

Functions
Getter at block 22933101
CLOCK_MODE(view returns (string)
mode=blocknumber&from=default
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0x626f10071e2cbcc5e1545272ee99ec9212ecf483ea657663a33fd502161da11b
GOV_ROLE(view returns (bytes32)
0x0603f2636f0ca34ae3ea5a23bb826e2bd2ffd59fb1c01edc1ba10fba2899d1ba
MIN_LOCK_DURATION(view returns (uint256)
600
TOKEN_SAVER_ROLE(view returns (bytes32)
0xd9d917c4034cff8a8c5fa1e40f9fbaf906b827c33ae3ab1fcabbb616cb8ef24d
clock(view returns (uint48)
22933101
decimals(view returns (uint8)
18
depositToken(view returns (address)
0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=xVIRTUAL, version=1, chainId=8453, verifyingContract=0x33e34b8684565fcf6a9dd52a7e92c4e70211a045, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
isAdminUnlock(view returns (bool)
true
isAllowDeposits(view returns (bool)
true
isAllowPositionStaking(view returns (bool)
true
maxBonus(view returns (uint256)
16000000000000000000
maxLockDuration(view returns (uint256)
126144000
name(view returns (string)
xVIRTUAL
symbol(view returns (string)
xVIRTUAL
totalSupply(view returns (uint256)
55455568891383630416648518
unit(view returns (uint256)
31536000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
checkpoints(address accountuint32 posview returns (struct CheckpointsCheckpoint208)
curve(uint256view returns (uint256)
delegates(address accountview returns (address)
depositsOf(addressuint256view returns (uint256 amountuint256 shareAmountuint64 startuint64 end)
getDepositsOf(address _accountview returns (struct TimeLockStakingDeposit[])
getDepositsOfLength(address _accountview returns (uint256)
getMultiplier(uint256 _lockDurationview returns (uint256)
getPastTotalSupply(uint256 timepointview returns (uint256)
getPastVotes(address accountuint256 timepointview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
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)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
adjustAdminUnlock(
adjustDeposits(
adjustMaxBonus(uint256 _maxBonus
adjustMaxLockPeriod(uint256 _maxLockDuration
adjustPositionStaking(
approve(address spenderuint256 valuereturns (bool)
delegate(address delegatee
delegateBySig(address delegateeuint256 nonceuint256 expiryuint8 vbytes32 rbytes32 s
deposit(uint256 _amountuint256 _durationaddress _receiver
grantRole(bytes32 roleaddress account
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
saveToken(address _tokenaddress _receiveruint256 _amount
setCurve(uint256[] _curve
setCurvePoint(uint256 _newPointuint256 _position
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
withdraw(uint256 _depositIdaddress _receiver
Events
Approval(address indexed owneraddress indexed spenderuint256 value
CurveChanged(address indexed sender
DelegateChanged(address indexed delegatoraddress indexed fromDelegateaddress indexed toDelegate
DelegateVotesChanged(address indexed delegateuint256 previousVotesuint256 newVotes
Deposited(uint256 amountuint256 shareAmountuint256 durationaddress indexed receiveraddress indexed from
EIP712DomainChanged(
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 _depositTokenuint256 _maxBonusuint256 _maxLockDurationuint256[] _curve
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
CheckpointUnorderedInsertion(
CurveIncreaseError(
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC20ExceededSafeSupply(uint256 increasedSupplyuint256 cap
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC2612ExpiredSignature(uint256 deadline
ERC2612InvalidSigner(address signeraddress owner
ERC5805FutureLookup(uint256 timepointuint48 clock
ERC6372InconsistentClock(
FailedInnerCall(
InvalidAccountNonce(address accountuint256 currentNonce
InvalidShortString(
MaxBonusError(
NotGovError(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeERC20FailedOperation(address token
ShortCurveError(
StringTooLong(string str
VotesExpiredSignature(uint256 expiry