-
-
Save mirzap/9388f750f5c46cc0a4ba6a8cfa15cb46 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import "owned"; | |
contract DepositTracker is owned | |
{ | |
event Deposit(address indexed from, uint value); | |
event Transfer(address indexed to, uint value); | |
function () { | |
Deposit(msg.sender, msg.value); | |
} | |
function transfer(address to, uint value) onlyowner { | |
to.send(value); | |
Transfer(to, value); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment