Skip to content

Instantly share code, notes, and snippets.

@bshastry
Created October 20, 2018 16:02
Show Gist options
  • Save bshastry/30193d6a3ae438043821d04ff3f863dd to your computer and use it in GitHub Desktop.
Save bshastry/30193d6a3ae438043821d04ff3f863dd to your computer and use it in GitHub Desktop.
Solc JSON I/O example
{
"language": "Solidity",
"settings": {
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"*"
],
"*": [
"*"
]
}
}
},
"sources": {
"": {
"content": "contract test { uint256 variable; function f(uint256) public returns (uint out) { f(variable); test; out; }}"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment