* update solidity-coverage to ^0.5.0 * update truffle dependency to ^4.1.8 * update solium to ^1.1.7 * update all contracts to solidity ^0.4.23
17 lines
384 B
Solidity
17 lines
384 B
Solidity
pragma solidity ^0.4.23;
|
|
|
|
|
|
// @title Force Ether into a contract.
|
|
// @notice even
|
|
// if the contract is not payable.
|
|
// @notice To use, construct the contract with the target as argument.
|
|
// @author Remco Bloemen <remco@neufund.org>
|
|
contract ForceEther {
|
|
|
|
constructor() public payable { }
|
|
|
|
function destroyAndSend(address _recipient) public {
|
|
selfdestruct(_recipient);
|
|
}
|
|
}
|