Skip to content

Instantly share code, notes, and snippets.

@arhuaco
Created June 10, 2015 07:10
Show Gist options
  • Save arhuaco/d034b64caaeafd17b456 to your computer and use it in GitHub Desktop.
Save arhuaco/d034b64caaeafd17b456 to your computer and use it in GitHub Desktop.
Random Solidity Contract
contract SimpleStorage
{
uint r0 = 1;
uint r1 = 1;
function iterate ()
{
r0 = ((msg.value + r1) + (block.number + r0));
r1 = ((block.number + block.difficulty) + (msg.value + tx.gasprice));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment