Skip to content

Instantly share code, notes, and snippets.

@CJentzsch
Created March 23, 2016 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CJentzsch/2deac3aaaba33c821205 to your computer and use it in GitHub Desktop.
Save CJentzsch/2deac3aaaba33c821205 to your computer and use it in GitHub Desktop.
[ { "constant": true, "inputs": [ { "name": "", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "", "template": "elements_input_uint" } ], "name": "proposals", "outputs": [ { "name": "recipient", "type": "address", "value": "0x0000000000000000000000000000000000000000", "displayName": "recipient" }, { "name": "amount", "type": "uint256", "value": "0", "displayName": "amount" }, { "name": "description", "type": "string", "value": "", "displayName": "description" }, { "name": "votingDeadline", "type": "uint256", "value": "0", "displayName": "voting Deadline" }, { "name": "open", "type": "bool", "value": false, "displayName": "open" }, { "name": "proposalPassed", "type": "bool", "value": false, "displayName": "proposal Passed" }, { "name": "proposalHash", "type": "bytes32", "value": "0x0000000000000000000000000000000000000000000000000000000000000000", "displayName": "proposal Hash" }, { "name": "proposalDeposit", "type": "uint256", "value": "0", "displayName": "proposal Deposit" }, { "name": "newServiceProvider", "type": "bool", "value": false, "displayName": "new Service Provider" }, { "name": "yea", "type": "uint256", "value": "0", "displayName": "yea" }, { "name": "nay", "type": "uint256", "value": "0", "displayName": "nay" }, { "name": "creator", "type": "address", "value": "0x0000000000000000000000000000000000000000", "displayName": "creator" } ], "type": "function", "displayName": "proposals" }, { "constant": false, "inputs": [ { "name": "_spender", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;spender", "template": "elements_input_address" }, { "name": "_amount", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;amount", "template": "elements_input_uint" } ], "name": "approve", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "approve" }, { "constant": false, "inputs": [ { "name": "_tokenHolder", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;token Holder", "template": "elements_input_address" } ], "name": "buyTokenProxy", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "buy Token Proxy" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "name": "", "type": "uint256", "value": "35785714285714285", "displayName": "" } ], "type": "function", "displayName": "total Supply" }, { "constant": false, "inputs": [ { "name": "_proposalID", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;proposal I D", "template": "elements_input_uint" }, { "name": "_transactionData", "type": "bytes", "typeShort": "bytes", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;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": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;from", "template": "elements_input_address" }, { "name": "_to", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;to", "template": "elements_input_address" }, { "name": "_value", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;value", "template": "elements_input_uint" } ], "name": "transferFrom", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "transfer From" }, { "constant": true, "inputs": [], "name": "closingTime", "outputs": [ { "name": "", "type": "uint256", "value": "1459159200", "displayName": "" } ], "type": "function", "displayName": "closing Time" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;to", "template": "elements_input_address" }, { "name": "_value", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;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": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;recipient", "template": "elements_input_address" }, { "name": "_amount", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;amount", "template": "elements_input_uint" }, { "name": "_description", "type": "string", "typeShort": "string", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;description", "template": "elements_input_string" }, { "name": "_transactionData", "type": "bytes", "typeShort": "bytes", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;transaction Data", "template": "elements_input_bytes" }, { "name": "_debatingPeriod", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;debating Period", "template": "elements_input_uint" }, { "name": "_newServiceProvider", "type": "bool", "typeShort": "bool", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;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": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;owner", "template": "elements_input_address", "value": "0x5c1967da329bd532ec75414e50230940029d0756" } ], "name": "balanceOf", "outputs": [ { "name": "balance", "type": "uint256", "value": "35714285714285714", "displayName": "balance" } ], "type": "function", "displayName": "balance Of" }, { "constant": true, "inputs": [], "name": "isFunded", "outputs": [ { "name": "", "type": "bool", "value": false, "displayName": "" } ], "type": "function", "displayName": "is Funded" }, { "constant": false, "inputs": [ { "name": "_proposalID", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;proposal I D", "template": "elements_input_uint" }, { "name": "_newServiceProvider", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;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": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;account", "template": "elements_input_address" } ], "name": "withdrawRewardFor", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function", "displayName": "withdraw Reward For" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;to", "template": "elements_input_address" }, { "name": "_value", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;value", "template": "elements_input_uint" } ], "name": "transfer", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function", "displayName": "transfer" }, { "constant": false, "inputs": [ { "name": "_proposalID", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;proposal I D", "template": "elements_input_uint" }, { "name": "_supportsProposal", "type": "bool", "typeShort": "bool", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;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": false, "inputs": [ { "name": "_from", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;from", "template": "elements_input_address" }, { "name": "_to", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;to", "template": "elements_input_address" }, { "name": "_value", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;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": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;owner", "template": "elements_input_address", "value": "" }, { "name": "_spender", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;spender", "template": "elements_input_address", "value": "" } ], "name": "allowance", "outputs": [ { "name": "remaining", "type": "uint256", "value": "0", "displayName": "remaining" } ], "type": "function", "displayName": "allowance" }, { "constant": true, "inputs": [ { "name": "_proposalID", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;proposal I D", "template": "elements_input_uint" }, { "name": "_recipient", "type": "address", "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;recipient", "template": "elements_input_address", "value": "" }, { "name": "_amount", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;amount", "template": "elements_input_uint" }, { "name": "_transactionData", "type": "bytes", "typeShort": "bytes", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;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": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;account", "template": "elements_input_address" } ], "name": "isBlocked", "outputs": [ { "name": "", "type": "bool" } ], "type": "function", "displayName": "is Blocked" }, { "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