You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
597 B
21 lines
597 B
6 years ago
|
pragma solidity ^0.4.24;
|
||
|
|
||
|
import "./RefundableCrowdsale.sol";
|
||
|
import "./PostDeliveryCrowdsale.sol";
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @title RefundablePostDeliveryCrowdsale
|
||
|
* @dev Extension of RefundableCrowdsale contract that only delivers the tokens
|
||
|
* once the crowdsale has closed and the goal met, preventing refunds to be issued
|
||
|
* to token holders.
|
||
|
*/
|
||
|
contract RefundablePostDeliveryCrowdsale is RefundableCrowdsale, PostDeliveryCrowdsale {
|
||
|
function withdrawTokens(address beneficiary) public {
|
||
|
require(finalized());
|
||
|
require(goalReached());
|
||
|
|
||
|
super.withdrawTokens(beneficiary);
|
||
|
}
|
||
|
}
|