erigon-pulse/tests/contracts/selfDestructor.sol
2020-10-26 17:16:00 +01:00

14 lines
234 B
Solidity

pragma solidity >=0.5.0;
contract selfDestructor {
int value;
constructor() public {
value = 1;
}
function selfDestruct() public {
address payable nil = address(0);
selfdestruct(nil);
}
}