Skip to content

Instantly share code, notes, and snippets.

@sid226
Last active September 11, 2017 13:29
Show Gist options
  • Save sid226/d550ecbfe6fe20a2e8417bd31bf3ebb8 to your computer and use it in GitHub Desktop.
Save sid226/d550ecbfe6fe20a2e8417bd31bf3ebb8 to your computer and use it in GitHub Desktop.
generated from src
[
{
"constant":false,
"inputs":[
{
"name":"_upgradedContract",
"type":"address"
}
],
"name":"upgrade",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
],
"name":"destroyContract",
"outputs":[
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_spender",
"type":"address"
},
{
"name":"_amount",
"type":"uint256"
}
],
"name":"approve",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"totalSupply",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
],
"name":"lockContractOwner",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_from",
"type":"address"
},
{
"name":"_to",
"type":"address"
},
{
"name":"_amount",
"type":"uint256"
}
],
"name":"transferFrom",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_amount",
"type":"uint256"
}
],
"name":"burn",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
],
"name":"close",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"upgradedContract",
"outputs":[
{
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"isLockedOpen",
"outputs":[
{
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_maxSupply",
"type":"uint256"
}
],
"name":"setMaxSupply",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"_owner",
"type":"address"
}
],
"name":"balanceOf",
"outputs":[
{
"name":"balance",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"",
"type":"address"
}
],
"name":"accountExists",
"outputs":[
{
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"getAccounts",
"outputs":[
{
"name":"_accounts",
"type":"address[]"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_newOwner",
"type":"address"
}
],
"name":"transferContractOwnership",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_to",
"type":"address"
},
{
"name":"_amount",
"type":"uint256"
}
],
"name":"transfer",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"isMaxSupplyLocked",
"outputs":[
{
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
],
"name":"lockOpen",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"isClosed",
"outputs":[
{
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"",
"type":"uint256"
}
],
"name":"proofIds",
"outputs":[
{
"name":"",
"type":"string"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"contractOwner",
"outputs":[
{
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"maxSupply",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"_owner",
"type":"address"
},
{
"name":"_spender",
"type":"address"
}
],
"name":"allowance",
"outputs":[
{
"name":"remaining",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
],
"name":"isContractOwnerLocked",
"outputs":[
{
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_to",
"type":"address"
},
{
"name":"_amount",
"type":"uint256"
},
{
"name":"_proofId",
"type":"string"
}
],
"name":"issue",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"",
"type":"uint256"
}
],
"name":"accounts",
"outputs":[
{
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
],
"name":"lockMaxSupply",
"outputs":[
{
"name":"success",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"inputs":[
],
"payable":false,
"stateMutability":"nonpayable",
"type":"constructor"
},
{
"payable":false,
"stateMutability":"nonpayable",
"type":"fallback"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_from",
"type":"address"
},
{
"indexed":true,
"name":"_to",
"type":"address"
},
{
"indexed":true,
"name":"_spender",
"type":"address"
},
{
"indexed":false,
"name":"_amount",
"type":"uint256"
}
],
"name":"TransferFrom",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_from",
"type":"address"
},
{
"indexed":true,
"name":"_to",
"type":"address"
},
{
"indexed":false,
"name":"_amount",
"type":"uint256"
},
{
"indexed":false,
"name":"_proofId",
"type":"string"
}
],
"name":"Issue",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_burnFrom",
"type":"address"
},
{
"indexed":false,
"name":"_amount",
"type":"uint256"
}
],
"name":"Burn",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_closedBy",
"type":"address"
}
],
"name":"Close",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_upgradedContract",
"type":"address"
}
],
"name":"Upgrade",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_by",
"type":"address"
}
],
"name":"LockOpen",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_by",
"type":"address"
}
],
"name":"LockContractOwner",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_by",
"type":"address"
},
{
"indexed":true,
"name":"_to",
"type":"address"
}
],
"name":"TransferContractOwnership",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_by",
"type":"address"
},
{
"indexed":false,
"name":"_newMaxSupply",
"type":"uint256"
},
{
"indexed":false,
"name":"_isMaxSupplyLocked",
"type":"bool"
}
],
"name":"MaxSupply",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_from",
"type":"address"
},
{
"indexed":true,
"name":"_to",
"type":"address"
},
{
"indexed":false,
"name":"_amount",
"type":"uint256"
}
],
"name":"Transfer",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"_owner",
"type":"address"
},
{
"indexed":true,
"name":"_spender",
"type":"address"
},
{
"indexed":false,
"name":"_amount",
"type":"uint256"
}
],
"name":"Approval",
"type":"event"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment