//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.18; contract Lockup { uint256 canBeWithdrawed; address owner; function Lockup() public { owner = msg.sender; canBeWithdrawed = now + 10 years; } function() payable public {} function withDraw() public { require(now > canBeWithdrawed); owner.transfer(address(this).balance); } }
0.4.18