437 lines
9.8 KiB
JavaScript
437 lines
9.8 KiB
JavaScript
const abi = [{
|
|
"constant": false,
|
|
"inputs": [],
|
|
"name": "acceptOwnership",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{
|
|
"name": "spender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "tokens",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "approve",
|
|
"outputs": [{
|
|
"name": "success",
|
|
"type": "bool"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{
|
|
"name": "spender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "tokens",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": "bytes"
|
|
}
|
|
],
|
|
"name": "approveAndCall",
|
|
"outputs": [{
|
|
"name": "success",
|
|
"type": "bool"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{
|
|
"name": "spender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "tokens",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "decreaseApproval",
|
|
"outputs": [{
|
|
"name": "success",
|
|
"type": "bool"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [],
|
|
"name": "getETH",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{
|
|
"name": "spender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "tokens",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "increaseApproval",
|
|
"outputs": [{
|
|
"name": "success",
|
|
"type": "bool"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{
|
|
"name": "to",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "tokens",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "transfer",
|
|
"outputs": [{
|
|
"name": "success",
|
|
"type": "bool"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{
|
|
"name": "tokenAddress",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "tokens",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "transferAnyERC20Token",
|
|
"outputs": [{
|
|
"name": "success",
|
|
"type": "bool"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{
|
|
"name": "from",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "to",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "tokens",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "transferFrom",
|
|
"outputs": [{
|
|
"name": "success",
|
|
"type": "bool"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{
|
|
"name": "_newOwner",
|
|
"type": "address"
|
|
}],
|
|
"name": "transferOwnership",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{
|
|
"name": "CCDBAddress",
|
|
"type": "string"
|
|
}],
|
|
"name": "updateCCDBAddress",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"payable": true,
|
|
"stateMutability": "payable",
|
|
"type": "fallback"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [{
|
|
"indexed": true,
|
|
"name": "_from",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"name": "_to",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "OwnershipTransferred",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [{
|
|
"indexed": true,
|
|
"name": "from",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"name": "to",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"name": "tokens",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "Transfer",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [{
|
|
"indexed": true,
|
|
"name": "tokenOwner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"name": "spender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"name": "tokens",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "Approval",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "_CCDBAddress",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "string"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "_totalSupply",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [{
|
|
"name": "tokenOwner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "spender",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "allowance",
|
|
"outputs": [{
|
|
"name": "remaining",
|
|
"type": "uint256"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [{
|
|
"name": "tokenOwner",
|
|
"type": "address"
|
|
}],
|
|
"name": "balanceOf",
|
|
"outputs": [{
|
|
"name": "balance",
|
|
"type": "uint256"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "bonus1Ends",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "bonus2Ends",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "decimals",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "uint8"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "endDate",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "name",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "string"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "newOwner",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "address"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "owner",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "address"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "preICOEnds",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "symbol",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "string"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "totalSupply",
|
|
"outputs": [{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}
|
|
]
|
|
|
|
|
|
|
|
module.exports = abi |