Skip to content

Instantly share code, notes, and snippets.

@martdn
Last active July 16, 2018 09:52
Show Gist options
  • Save martdn/9ebf8daf695ec4c423166aa3d92bca63 to your computer and use it in GitHub Desktop.
Save martdn/9ebf8daf695ec4c423166aa3d92bca63 to your computer and use it in GitHub Desktop.
Destruction smart-contract. Код контракта удалится из блокчейна, и им нельзя никак воспользоваться.
pragma solidity ^0.4.18;
contract GetsBurned {
function BurnMe () public {
// Selfdestruct and send eth to self,
selfdestruct(address(this));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment