Last active
August 29, 2015 14:05
-
-
Save tgerring/dee9f29f0ac8054381f2 to your computer and use it in GitHub Desktop.
Mitch Jack bet Serpent
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
init: | |
contract.storage["Mitch"] = 0xf4b7cc7faa866a2275972317598e7d936cfc9adc | |
contract.storage["Jack"] = 0x52c5535efae9bd86e04c627aa5c716a392358c5e | |
code: | |
BTC = msg.data[0] | |
if (msg.sender == contract.storage["Mitch"] or msg.sender == contract.storage["Jack"]): | |
if block.timestamp > 1449187200: | |
if BTC > 2000: | |
send(contract.storage["Mitch"], contract.balance, (tx.gas - 100)) | |
else: | |
send(contract.storage["Jack"], contract.balance, (tx.gas - 100)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment