Skip to content

Instantly share code, notes, and snippets.

@josephros
Last active November 17, 2018 17:42
Show Gist options
  • Save josephros/60bab70ade80f342ad1f33328c774e3a to your computer and use it in GitHub Desktop.
Save josephros/60bab70ade80f342ad1f33328c774e3a to your computer and use it in GitHub Desktop.
ERC20 ABI for NodETH Tutorial
var erc20Abi = [
{
"constant": true,
"inputs": [],
"name": "name",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "decimals",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "balance",
"type": "uint256"
}
],
"payable": false,
"type": "function"
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment