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
Constants & Variables
contract IERC20 private _token;
address private _beneficiary;
uint256 private _releaseTime;
function token() public
returns(contract IERC20)
Returns
the token being held.
Arguments
Name | Type | Description |
---|
function beneficiary() public
returns(address)
Returns
the beneficiary of the tokens.
Arguments
Name | Type | Description |
---|
function releaseTime() public
returns(uint256)
Returns
the time when the tokens are released.
Arguments
Name | Type | Description |
---|
Transfers tokens held by timelock to beneficiary.
function release() public undefined
Arguments
Name | Type | Description |
---|
- Address
- AddressImpl
- AllowanceCrowdsale
- AllowanceCrowdsaleImpl
- Arrays
- ArraysImpl
- CappedCrowdsale
- CappedCrowdsaleImpl
- CapperRole
- CapperRoleMock
- ConditionalEscrow
- ConditionalEscrowMock
- Counter
- CounterImpl
- Crowdsale
- CrowdsaleMock
- ECDSA
- ECDSAMock
- ERC165
- ERC165Checker
- ERC165CheckerMock
- ERC165InterfacesSupported
- ERC165Mock
- ERC165NotSupported
- ERC20
- ERC20Burnable
- ERC20BurnableMock
- ERC20Capped
- ERC20Detailed
- ERC20DetailedMock
- ERC20FailingMock
- ERC20Migrator
- ERC20Mintable
- ERC20MintableMock
- ERC20Mock
- ERC20Pausable
- ERC20PausableMock
- ERC20SucceedingMock
- ERC20TokenMetadata
- ERC20WithMetadata
- ERC20WithMetadataMock
- ERC721
- ERC721Burnable
- ERC721Enumerable
- ERC721Full
- ERC721FullMock
- ERC721Holder
- ERC721Metadata
- ERC721MetadataMintable
- ERC721Mintable
- ERC721MintableBurnableImpl
- ERC721Mock
- ERC721Pausable
- ERC721PausableMock
- ERC721ReceiverMock
- Escrow
- EventEmitter
- FinalizableCrowdsale
- FinalizableCrowdsaleImpl
- IERC165
- IERC20
- IERC721
- IERC721Enumerable
- IERC721Full
- IERC721Metadata
- IERC721Receiver
- IncreasingPriceCrowdsale
- IncreasingPriceCrowdsaleImpl
- IndividuallyCappedCrowdsale
- IndividuallyCappedCrowdsaleImpl
- Math
- MathMock
- MerkleProof
- MerkleProofWrapper
- MintedCrowdsale
- MintedCrowdsaleImpl
- MinterRole
- MinterRoleMock
- Ownable
- OwnableMock
- Pausable
- PausableMock
- PauserRole
- PauserRoleMock
- PaymentSplitter
- PostDeliveryCrowdsale
- PostDeliveryCrowdsaleImpl
- PullPayment
- PullPaymentMock
- ReentrancyAttack
- ReentrancyGuard
- ReentrancyMock
- RefundableCrowdsale
- RefundableCrowdsaleImpl
- RefundEscrow
- Roles
- RolesMock
- SafeERC20
- SafeERC20Helper
- SafeMath
- SafeMathMock
- SampleCrowdsale
- SampleCrowdsaleToken
- Secondary
- SecondaryMock
- SignatureBouncer
- SignatureBouncerMock
- SignerRole
- SignerRoleMock
- SimpleToken
- SupportsInterfaceWithLookupMock
- TimedCrowdsale
- TimedCrowdsaleImpl
- TokenTimelock
- TokenVesting