//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.18; contract SimpleStore { uint256 end; constructor() public payable{ end = now + 7 days; } function withdraw(address _to) public payable{ require(now > end); _to.transfer(address(this).balance); } }
0.4.23