erigon-pulse/tests/contracts/selfDestructor.sol

14 lines
234 B
Solidity
Raw Normal View History

2020-04-29 10:51:07 +00:00
pragma solidity >=0.5.0;
contract selfDestructor {
int value;
constructor() public {
value = 1;
}
function selfDestruct() public {
address payable nil = address(0);
selfdestruct(nil);
}
2020-10-26 13:51:03 +00:00
}