Token Timelock Upgradeable
A token holder contract that will allow a beneficiary to extract the tokens after a given release time. Useful for simple vesting schedules like "advisors get all of their tokens after 1 year".
Methods
beneficiary
function beneficiary() external view returns (address)
Returns
Name
Type
Description
_0
address
the beneficiary of the tokens.
release
function release() external nonpayable
Transfers tokens held by timelock to beneficiary.
releaseTime
function releaseTime() external view returns (uint256)
Returns
Name
Type
Description
_0
uint256
the time when the tokens are released.
token
function token() external view returns (contract IERC20Upgradeable)
Returns
Name
Type
Description
_0
contract IERC20Upgradeable
the token being held.
Last updated