Skip to content

Instantly share code, notes, and snippets.

@jgrizzled
Created June 3, 2015 21:30
Show Gist options
  • Save jgrizzled/82d7f14434802eb9f2ff to your computer and use it in GitHub Desktop.
Save jgrizzled/82d7f14434802eb9f2ff to your computer and use it in GitHub Desktop.
{"source":"contract bloater { bytes32[] public shit; uint public pilesOfShit; function bloat(bytes32 newshit, uint loops) { for(uint i = 0; i \u003c loops; i++) { shit.length++; shit[shit.length-1] = newshit; pilesOfShit++; } } }","language":"Solidity","languageVersion":"0","compilerVersion":"0.9.23","abiDefinition":[{"constant":true,"inputs":[],"name":"pilesOfShit","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"newshit","type":"bytes32"},{"name":"loops","type":"uint256"}],"name":"bloat","outputs":[],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"shit","outputs":[{"name":"","type":"bytes32"}],"type":"function"}],"userDoc":{"methods":{}},"developerDoc":{"methods":{}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment