22 lines
582 B
Solidity
22 lines
582 B
Solidity
pragma solidity ^0.5.0;
|
|
|
|
import "../token/ERC20/IERC20.sol";
|
|
import "../crowdsale/distribution/RefundablePostDeliveryCrowdsale.sol";
|
|
|
|
contract RefundablePostDeliveryCrowdsaleImpl is RefundablePostDeliveryCrowdsale {
|
|
constructor (
|
|
uint256 openingTime,
|
|
uint256 closingTime,
|
|
uint256 rate,
|
|
address payable wallet,
|
|
IERC20 token,
|
|
uint256 goal
|
|
)
|
|
public
|
|
{
|
|
Crowdsale.initialize(rate, wallet, token);
|
|
TimedCrowdsale.initialize(openingTime, closingTime);
|
|
RefundableCrowdsale.initialize(goal);
|
|
}
|
|
}
|