Skip to content

Latest commit

 

History

History
204 lines (171 loc) · 5.74 KB

TokenTimelock.md

File metadata and controls

204 lines (171 loc) · 5.74 KB

TokenTimelock (TokenTimelock.sol)

View Source: contracts/token/ERC20/TokenTimelock.sol

TokenTimelock

TokenTimelock is a token holder contract that will allow a beneficiary to extract the tokens after a given release time

Contract Members

Constants & Variables

contract IERC20 private _token;
address private _beneficiary;
uint256 private _releaseTime;

Functions

token

function token() public
returns(contract IERC20)

Returns

the token being held.

Arguments

Name Type Description

beneficiary

function beneficiary() public
returns(address)

Returns

the beneficiary of the tokens.

Arguments

Name Type Description

releaseTime

function releaseTime() public
returns(uint256)

Returns

the time when the tokens are released.

Arguments

Name Type Description

release

Transfers tokens held by timelock to beneficiary.

function release() public undefined

Arguments

Name Type Description

Contracts