Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aunyks
Created December 15, 2017 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aunyks/d63be7f9fa4f9ebc8048057f825b12e4 to your computer and use it in GitHub Desktop.
Save aunyks/d63be7f9fa4f9ebc8048057f825b12e4 to your computer and use it in GitHub Desktop.
The Application Binary Interface (ABI) for Snipbin's underlying smart contract. Contract address on ETH mainnet: 0x7dB065361C2956b9bC21d5199F7c7010e6Dc964D.
[
{
"constant": false,
"inputs": [
{
"name": "addr",
"type": "address"
}
],
"name": "getSnippet",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "amtWei",
"type": "uint256"
}
],
"name": "setMinimum",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "snippet",
"type": "string"
}
],
"name": "editSnippet",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment