Created
March 16, 2016 08:42
-
-
Save CJentzsch/7a4774d27e08a973fab1 to your computer and use it in GitHub Desktop.
DAO interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ { "constant": true, "inputs": [ { "name": "", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "", "template": "elements_input_uint" } ], "name": "proposals", "outputs": [ { "name": "recipient", "type": "address" }, { "name": "amount", "type": "uint256" }, { "name": "description", "type": "string" }, { "name": "votingDeadline", "type": "uint256" }, { "name": "open", "type": "bool" }, { "name": "proposalPassed", "type": "bool" }, { "name": "proposalHash", "type": "bytes32" }, { "name": "proposalDeposit", "type": "uint256" }, { "name": "newServiceProvider", "type": "bool" }, { "name": "yea", "type": "uint256" }, { "name": "nay", "type": "uint256" }, { "name": "creator", "type": "address" } ], "type": "function", "displayName": "proposals" }, { "constant": false, "inputs": [ { "name": "_spender", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> spender", "template": "elements_input_address" }, { "name": "_amount", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> amount", "template": "elements_input_uint" } ], "name": "approve", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "approve" }, { "constant": true, "inputs": [], "name": "rewardAccount", "outputs": [ { "name": "", "type": "address" } ], "type": "function", "displayName": "reward Account" }, { "constant": false, "inputs": [ { "name": "_tokenHolder", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> token Holder", "template": "elements_input_address" } ], "name": "buyTokenProxy", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "buy Token Proxy" }, { "constant": true, "inputs": [], "name": "daoCreator", "outputs": [ { "name": "", "type": "address" } ], "type": "function", "displayName": "dao Creator" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "name": "", "type": "uint256" } ], "type": "function", "displayName": "total Supply" }, { "constant": false, "inputs": [], "name": "divisor", "outputs": [ { "name": "divisor", "type": "uint256" } ], "type": "function", "displayName": "divisor" }, { "constant": true, "inputs": [], "name": "extraBalance", "outputs": [ { "name": "", "type": "address" } ], "type": "function", "displayName": "extra Balance" }, { "constant": false, "inputs": [ { "name": "_proposalID", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> proposal I D", "template": "elements_input_uint" }, { "name": "_transactionData", "type": "bytes", "typeShort": "bytes", "bits": "", "displayName": " <span class=\"punctuation\">_</span> transaction Data", "template": "elements_input_bytes" } ], "name": "executeProposal", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function", "displayName": "execute Proposal" }, { "constant": false, "inputs": [ { "name": "_from", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> from", "template": "elements_input_address" }, { "name": "_to", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> to", "template": "elements_input_address" }, { "name": "_value", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> value", "template": "elements_input_uint" } ], "name": "transferFrom", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "transfer From" }, { "constant": true, "inputs": [], "name": "totalRewardToken", "outputs": [ { "name": "", "type": "uint256" } ], "type": "function", "displayName": "total Reward Token" }, { "constant": false, "inputs": [], "name": "payDAO", "outputs": [ { "name": "", "type": "bool" } ], "type": "function", "displayName": "pay D A O" }, { "constant": true, "inputs": [], "name": "closingTime", "outputs": [ { "name": "", "type": "uint256" } ], "type": "function", "displayName": "closing Time" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> to", "template": "elements_input_address" }, { "name": "_value", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> value", "template": "elements_input_uint" } ], "name": "transferWithoutReward", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "transfer Without Reward" }, { "constant": false, "inputs": [], "name": "refund", "outputs": [], "type": "function", "displayName": "refund" }, { "constant": false, "inputs": [ { "name": "_recipient", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> recipient", "template": "elements_input_address" }, { "name": "_amount", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> amount", "template": "elements_input_uint" }, { "name": "_description", "type": "string", "typeShort": "string", "bits": "", "displayName": " <span class=\"punctuation\">_</span> description", "template": "elements_input_string" }, { "name": "_transactionData", "type": "bytes", "typeShort": "bytes", "bits": "", "displayName": " <span class=\"punctuation\">_</span> transaction Data", "template": "elements_input_bytes" }, { "name": "_debatingPeriod", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> debating Period", "template": "elements_input_uint" }, { "name": "_newServiceProvider", "type": "bool", "typeShort": "bool", "bits": "", "displayName": " <span class=\"punctuation\">_</span> new Service Provider", "template": "elements_input_bool" } ], "name": "newProposal", "outputs": [ { "name": "_proposalID", "type": "uint256" } ], "type": "function", "displayName": "new Proposal" }, { "constant": true, "inputs": [ { "name": "_owner", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> owner", "template": "elements_input_address", "value": "" } ], "name": "balanceOf", "outputs": [ { "name": "balance", "type": "uint256", "value": "0", "displayName": "balance" } ], "type": "function", "displayName": "balance Of" }, { "constant": false, "inputs": [], "name": "halveMinQuorum", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function", "displayName": "halve Min Quorum" }, { "constant": true, "inputs": [], "name": "isFunded", "outputs": [ { "name": "", "type": "bool" } ], "type": "function", "displayName": "is Funded" }, { "constant": false, "inputs": [ { "name": "_recipient", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> recipient", "template": "elements_input_address" } ], "name": "addAllowedAddress", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function", "displayName": "add Allowed Address" }, { "constant": true, "inputs": [ { "name": "", "type": "address", "typeShort": "address", "bits": "", "displayName": "", "template": "elements_input_address", "value": "" } ], "name": "paidOut", "outputs": [ { "name": "", "type": "uint256", "value": "0", "displayName": "" } ], "type": "function", "displayName": "paid Out" }, { "constant": false, "inputs": [ { "name": "_proposalID", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> proposal I D", "template": "elements_input_uint" }, { "name": "_newServiceProvider", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> new Service Provider", "template": "elements_input_address" } ], "name": "splitDAO", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function", "displayName": "split D A O" }, { "constant": false, "inputs": [ { "name": "_account", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> account", "template": "elements_input_address" } ], "name": "withdrawRewardFor", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function", "displayName": "withdraw Reward For" }, { "constant": true, "inputs": [], "name": "proposalDeposit", "outputs": [ { "name": "", "type": "uint256" } ], "type": "function", "displayName": "proposal Deposit" }, { "constant": true, "inputs": [], "name": "serviceProvider", "outputs": [ { "name": "", "type": "address" } ], "type": "function", "displayName": "service Provider" }, { "constant": true, "inputs": [], "name": "numberOfProposals", "outputs": [ { "name": "_numberOfProposals", "type": "uint256" } ], "type": "function", "displayName": "number Of Proposals" }, { "constant": true, "inputs": [], "name": "minValue", "outputs": [ { "name": "", "type": "uint256" } ], "type": "function", "displayName": "min Value" }, { "constant": true, "inputs": [], "name": "rewards", "outputs": [ { "name": "", "type": "uint256" } ], "type": "function", "displayName": "rewards" }, { "constant": false, "inputs": [], "name": "receiveEther", "outputs": [ { "name": "", "type": "bool" } ], "type": "function", "displayName": "receive Ether" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> to", "template": "elements_input_address" }, { "name": "_value", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> value", "template": "elements_input_uint" } ], "name": "transfer", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "transfer" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "", "template": "elements_input_uint" } ], "name": "allowedRecipients", "outputs": [ { "name": "", "type": "address" } ], "type": "function", "displayName": "allowed Recipients" }, { "constant": true, "inputs": [], "name": "privateSale", "outputs": [ { "name": "", "type": "address" } ], "type": "function", "displayName": "private Sale" }, { "constant": false, "inputs": [ { "name": "_proposalID", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> proposal I D", "template": "elements_input_uint" }, { "name": "_supportsProposal", "type": "bool", "typeShort": "bool", "bits": "", "displayName": " <span class=\"punctuation\">_</span> supports Proposal", "template": "elements_input_bool" } ], "name": "vote", "outputs": [ { "name": "_voteID", "type": "uint256" } ], "type": "function", "displayName": "vote" }, { "constant": false, "inputs": [], "name": "getMyReward", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function", "displayName": "get My Reward" }, { "constant": true, "inputs": [ { "name": "", "type": "address", "typeShort": "address", "bits": "", "displayName": "", "template": "elements_input_address", "value": "" } ], "name": "rewardToken", "outputs": [ { "name": "", "type": "uint256", "value": "0", "displayName": "" } ], "type": "function", "displayName": "reward Token" }, { "constant": false, "inputs": [ { "name": "_from", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> from", "template": "elements_input_address" }, { "name": "_to", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> to", "template": "elements_input_address" }, { "name": "_value", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> value", "template": "elements_input_uint" } ], "name": "transferFromWithoutReward", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "transfer From Without Reward" }, { "constant": true, "inputs": [ { "name": "_owner", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> owner", "template": "elements_input_address", "value": "" }, { "name": "_spender", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> spender", "template": "elements_input_address", "value": "" } ], "name": "allowance", "outputs": [ { "name": "remaining", "type": "uint256", "value": "0", "displayName": "remaining" } ], "type": "function", "displayName": "allowance" }, { "constant": false, "inputs": [ { "name": "_proposalDeposit", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> proposal Deposit", "template": "elements_input_uint" } ], "name": "changeProposalDeposit", "outputs": [], "type": "function", "displayName": "change Proposal Deposit" }, { "constant": true, "inputs": [ { "name": "", "type": "address", "typeShort": "address", "bits": "", "displayName": "", "template": "elements_input_address", "value": "" } ], "name": "blocked", "outputs": [ { "name": "", "type": "uint256", "value": "0", "displayName": "" } ], "type": "function", "displayName": "blocked" }, { "constant": true, "inputs": [ { "name": "_proposalID", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> proposal I D", "template": "elements_input_uint" }, { "name": "_recipient", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> recipient", "template": "elements_input_address", "value": "" }, { "name": "_amount", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> amount", "template": "elements_input_uint" }, { "name": "_transactionData", "type": "bytes", "typeShort": "bytes", "bits": "", "displayName": " <span class=\"punctuation\">_</span> transaction Data", "template": "elements_input_bytes" } ], "name": "checkProposalCode", "outputs": [ { "name": "_codeChecksOut", "type": "bool", "value": false, "displayName": "_code Checks Out" } ], "type": "function", "displayName": "check Proposal Code" }, { "constant": false, "inputs": [ { "name": "_account", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> account", "template": "elements_input_address" } ], "name": "isBlocked", "outputs": [ { "name": "", "type": "bool" } ], "type": "function", "displayName": "is Blocked" }, { "inputs": [ { "name": "_defaultServiceProvider", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> default Service Provider", "template": "elements_input_address", "value": "0xacd7609990fa36755316eACF0C883C551fe2087b" }, { "name": "_daoCreator", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> dao Creator", "template": "elements_input_address", "value": "0x37D11ffae6492614a74D523AdC13de8933AE9599" }, { "name": "_minValue", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> min Value", "template": "elements_input_uint", "value": "20000000000000000000" }, { "name": "_closingTime", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": " <span class=\"punctuation\">_</span> closing Time", "template": "elements_input_uint", "value": "1458678128" }, { "name": "_privateSale", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> private Sale", "template": "elements_input_address", "value": "" } ], "type": "constructor" }, { "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" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "value", "type": "uint256" } ], "name": "FundingToDate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "to", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "SoldToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "to", "type": "address" }, { "indexed": false, "name": "value", "type": "uint256" } ], "name": "Refund", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "proposalID", "type": "uint256" }, { "indexed": false, "name": "recipient", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" }, { "indexed": false, "name": "newServiceProvider", "type": "bool" }, { "indexed": false, "name": "description", "type": "string" } ], "name": "ProposalAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "proposalID", "type": "uint256" }, { "indexed": false, "name": "position", "type": "bool" }, { "indexed": true, "name": "voter", "type": "address" } ], "name": "Voted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "proposalID", "type": "uint256" }, { "indexed": false, "name": "result", "type": "bool" }, { "indexed": false, "name": "quorum", "type": "uint256" } ], "name": "ProposalTallied", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "_newServiceProvider", "type": "address" } ], "name": "NewServiceProvider", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "_recipient", "type": "address" } ], "name": "AllowedRecipientAdded", "type": "event" } ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment