Skip to content

Instantly share code, notes, and snippets.

View kai's full-sized avatar

Kai Hilton-Jones kai

View GitHub Profile
@kai
kai / Untitled.sol
Created January 25, 2018 14:48 — forked from anonymous/Untitled.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.19+commit.c4cbbb05.js&optimize=false&gist=
contract Wallet {
address owner;
function Wallet(){
owner = msg.sender;
}
function withdrawal() public {
owner.transfer(this.balance);
}