covnert TokenTimelock into initializers
This commit is contained in:
14
contracts/mocks/TokenTimelockMock.sol
Normal file
14
contracts/mocks/TokenTimelockMock.sol
Normal file
@ -0,0 +1,14 @@
|
||||
pragma solidity ^0.4.24;
|
||||
|
||||
import "../Initializable.sol";
|
||||
import "../token/ERC20/TokenTimelock.sol";
|
||||
|
||||
contract TokenTimelockMock is Initializable, TokenTimelock {
|
||||
constructor(
|
||||
IERC20 token,
|
||||
address beneficiary,
|
||||
uint256 releaseTime
|
||||
) public {
|
||||
TokenTimelock.initialize(token, beneficiary, releaseTime);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user