-
-
Save anisoptera/f603abdb6302e93b322c517812b32621 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contract SimpleWallet is Owned { | |
function transfer(IERC20 token, address payable to, uint256 amount) public isOwner { | |
token.transfer(to, amount); | |
} | |
function transferEth(address payable to, uint256 amount) public isOwner { | |
to.transfer(amount); | |
} | |
function deposit() payable external { | |
} | |
receive() payable external { | |
} | |
fallback() payable external { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment