file fixing
This commit is contained in:
@ -1,32 +0,0 @@
|
||||
pragma solidity ^0.4.24;
|
||||
|
||||
import "../token/ERC20/ERC20Mintable.sol";
|
||||
import "../token/ERC20/ERC20Detailed.sol";
|
||||
import "../token/ERC20/TokenTimelock.sol";
|
||||
|
||||
/**
|
||||
* @title SampleTimelockToken
|
||||
* @dev Very simple ERC20 Token that can be minted.
|
||||
* It is meant to be used in a tokentimelock contract.
|
||||
*/
|
||||
contract SampleTimelockToken is ERC20Mintable, ERC20Detailed {
|
||||
constructor() public ERC20Detailed("Sample Timelock Token", "STT", 18) {}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @title SampleTokenTimelock
|
||||
* @dev This is an example of a token lock for certain time.
|
||||
*/
|
||||
|
||||
contract SampleTokenTimelock is TokenTimelock{
|
||||
|
||||
constructor(
|
||||
ERC20Mintable token,
|
||||
address beneficiary,
|
||||
uint256 releaseTime
|
||||
)
|
||||
public
|
||||
TokenTimelock(token, beneficiary, releaseTime){}
|
||||
|
||||
}
|
||||
@ -1,23 +0,0 @@
|
||||
pragma solidity ^0.4.24;
|
||||
|
||||
import "../drafts/TokenVesting.sol";
|
||||
|
||||
/**
|
||||
* @title SampleTokenVesting
|
||||
* @dev This is an example of a token vesting for defined time period.
|
||||
* Tokens to be vested will be sent directly to this contract.
|
||||
*/
|
||||
|
||||
contract SampleTokenVesting is TokenVesting{
|
||||
|
||||
constructor(
|
||||
address beneficiary,
|
||||
uint256 start,
|
||||
uint256 cliffDuration,
|
||||
uint256 duration,
|
||||
bool revocable
|
||||
)
|
||||
public
|
||||
TokenVesting(beneficiary, start, cliffDuration, duration, revocable){}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user