Skip to content

Instantly share code, notes, and snippets.

@sid226
Last active September 11, 2017 10:25
Show Gist options
  • Save sid226/2119c9745dc0336dc3c8f4a05b59c7e7 to your computer and use it in GitHub Desktop.
Save sid226/2119c9745dc0336dc3c8f4a05b59c7e7 to your computer and use it in GitHub Desktop.
DynamicToken.abi
[{
"constant": false,
"inputs": [{
"name": "_upgradedContract",
"type": "address"
}],
"name": "upgrade",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": false,
"inputs": [],
"name": "destroyContract",
"outputs": [],
"type": "function"
}, {
"constant": false,
"inputs": [{
"name": "_spender",
"type": "address"
}, {
"name": "_amount",
"type": "uint256"
}],
"name": "approve",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [{
"name": "",
"type": "uint256"
}],
"type": "function"
}, {
"constant": false,
"inputs": [],
"name": "lockContractOwner",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": false,
"inputs": [{
"name": "_from",
"type": "address"
}, {
"name": "_to",
"type": "address"
}, {
"name": "_amount",
"type": "uint256"
}],
"name": "transferFrom",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": false,
"inputs": [{
"name": "_amount",
"type": "uint256"
}],
"name": "burn",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": false,
"inputs": [],
"name": "close",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": true,
"inputs": [],
"name": "upgradedContract",
"outputs": [{
"name": "",
"type": "address"
}],
"type": "function"
}, {
"constant": true,
"inputs": [],
"name": "isLockedOpen",
"outputs": [{
"name": "",
"type": "bool"
}],
"type": "function"
}, {
"constant": false,
"inputs": [{
"name": "_maxSupply",
"type": "uint256"
}],
"name": "setMaxSupply",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": true,
"inputs": [{
"name": "_owner",
"type": "address"
}],
"name": "balanceOf",
"outputs": [{
"name": "balance",
"type": "uint256"
}],
"type": "function"
}, {
"constant": true,
"inputs": [{
"name": "",
"type": "address"
}],
"name": "accountExists",
"outputs": [{
"name": "",
"type": "bool"
}],
"type": "function"
}, {
"constant": true,
"inputs": [],
"name": "getAccounts",
"outputs": [{
"name": "_accounts",
"type": "address[]"
}],
"type": "function"
}, {
"constant": false,
"inputs": [{
"name": "_newOwner",
"type": "address"
}],
"name": "transferContractOwnership",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": false,
"inputs": [{
"name": "_to",
"type": "address"
}, {
"name": "_amount",
"type": "uint256"
}],
"name": "transfer",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": true,
"inputs": [],
"name": "isMaxSupplyLocked",
"outputs": [{
"name": "",
"type": "bool"
}],
"type": "function"
}, {
"constant": false,
"inputs": [],
"name": "lockOpen",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": true,
"inputs": [],
"name": "isClosed",
"outputs": [{
"name": "",
"type": "bool"
}],
"type": "function"
}, {
"constant": true,
"inputs": [{
"name": "",
"type": "uint256"
}],
"name": "proofIds",
"outputs": [{
"name": "",
"type": "string"
}],
"type": "function"
}, {
"constant": true,
"inputs": [],
"name": "contractOwner",
"outputs": [{
"name": "",
"type": "address"
}],
"type": "function"
}, {
"constant": true,
"inputs": [],
"name": "maxSupply",
"outputs": [{
"name": "",
"type": "uint256"
}],
"type": "function"
}, {
"constant": true,
"inputs": [{
"name": "_owner",
"type": "address"
}, {
"name": "_spender",
"type": "address"
}],
"name": "allowance",
"outputs": [{
"name": "remaining",
"type": "uint256"
}],
"type": "function"
}, {
"constant": true,
"inputs": [],
"name": "isContractOwnerLocked",
"outputs": [{
"name": "",
"type": "bool"
}],
"type": "function"
}, {
"constant": false,
"inputs": [{
"name": "_to",
"type": "address"
}, {
"name": "_amount",
"type": "uint256"
}, {
"name": "_proofId",
"type": "string"
}],
"name": "issue",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"constant": true,
"inputs": [{
"name": "",
"type": "uint256"
}],
"name": "accounts",
"outputs": [{
"name": "",
"type": "address"
}],
"type": "function"
}, {
"constant": false,
"inputs": [],
"name": "lockMaxSupply",
"outputs": [{
"name": "success",
"type": "bool"
}],
"type": "function"
}, {
"inputs": [],
"type": "constructor"
}, {
"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