Skip to content

Commit b7f1ba9

Browse files
committed
1 parent 6b40c91 commit b7f1ba9

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
pragma solidity ^0.4.24;
2+
3+
import "../token/ERC20/ERC20Mintable.sol";
4+
import "../token/ERC20/ERC20Detailed.sol";
5+
import "../token/ERC20/TokenTimelock.sol";
6+
7+
/**
8+
* @title SampleTimelockToken
9+
* @dev Very simple ERC20 Token that can be minted.
10+
* It is meant to be used in a tokentimelock contract.
11+
*/
12+
contract SampleTimelockToken is ERC20Mintable, ERC20Detailed {
13+
constructor() public ERC20Detailed("Sample Timelock Token", "SLT", 18) {}
14+
}
15+
16+
17+
/**
18+
* @title SampleTokenTimelock
19+
* @dev This is an example of a token lock for certain time.
20+
*/
21+
22+
contract SampleTokenTimelock is TokenTimelock{
23+
24+
constructor(
25+
ERC20Mintable token,
26+
address beneficiary,
27+
uint256 releaseTime
28+
)
29+
public
30+
TokenTimelock(token, beneficiary, releaseTime){}
31+
32+
}

0 commit comments

Comments
 (0)