mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 20:47:16 +00:00
13 lines
232 B
Solidity
13 lines
232 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);
|
||
|
}
|
||
|
}
|