Skip to content

Instantly share code, notes, and snippets.

@microdao
Created July 4, 2016 11:23
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 microdao/58e6e2efdd28222c410823e4423a81b1 to your computer and use it in GitHub Desktop.
Save microdao/58e6e2efdd28222c410823e4423a81b1 to your computer and use it in GitHub Desktop.
Deployed to 0x0352558127F0CDCBFA111eEfF75590fC562E64d6
[ { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "proposals", "outputs": [ { "name": "recipient", "type": "address", "value": "0x0000000000000000000000000000000000000000" }, { "name": "amount", "type": "uint256", "value": "0" }, { "name": "description", "type": "string", "value": "" }, { "name": "votingDeadline", "type": "uint256", "value": "0" }, { "name": "open", "type": "bool", "value": false }, { "name": "proposalPassed", "type": "bool", "value": false }, { "name": "proposalHash", "type": "bytes32", "value": "0x0000000000000000000000000000000000000000000000000000000000000000" }, { "name": "proposalDeposit", "type": "uint256", "value": "0" }, { "name": "newCurator", "type": "bool", "value": false }, { "name": "yea", "type": "uint256", "value": "0" }, { "name": "nay", "type": "uint256", "value": "0" }, { "name": "creator", "type": "address", "value": "0x0000000000000000000000000000000000000000" } ], "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": "rewardAccount", "outputs": [ { "name": "", "type": "address", "value": "0xd5e6ef2f1d8d689e36a09577cc63bb21bbbefdbe" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "daoCreator", "outputs": [ { "name": "", "type": "address", "value": "0x2a18dce952204d7736ae4b75114acc26370839eb" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "name": "", "type": "uint256", "value": "500000000000000000" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "extraBalance", "outputs": [ { "name": "", "type": "address", "value": "0x420a5c598a2f4b3e888fc7a6557de4c932fb355d" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_proposalID", "type": "uint256" }, { "name": "_transactionData", "type": "bytes" } ], "name": "executeProposal", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_from", "type": "address" }, { "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function" }, { "constant": false, "inputs": [], "name": "unblockMe", "outputs": [ { "name": "", "type": "bool" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "totalRewardToken", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "actualBalance", "outputs": [ { "name": "_actualBalance", "type": "uint256", "value": "433333333333333334" } ], "type": "function" }, { "constant": false, "inputs": [], "name": "withdraw", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "allowedRecipients", "outputs": [ { "name": "", "type": "bool", "value": false } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_recipient", "type": "address" }, { "name": "_amount", "type": "uint256" }, { "name": "_description", "type": "string" }, { "name": "_transactionData", "type": "bytes" }, { "name": "_debatingPeriod_172800_86400", "type": "uint256" }, { "name": "_newCurator", "type": "bool" } ], "name": "newProposal", "outputs": [ { "name": "_proposalID", "type": "uint256" } ], "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "DAOpaidOut", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "minQuorumDivisor", "outputs": [ { "name": "", "type": "uint256", "value": "5" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_newContract", "type": "address" } ], "name": "newContract", "outputs": [], "type": "function" }, { "constant": true, "inputs": [ { "name": "_owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "name": "balance", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_recipient", "type": "address" }, { "name": "_allowed", "type": "bool" } ], "name": "changeAllowedRecipients", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function" }, { "constant": false, "inputs": [], "name": "halveMinQuorum", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "paidOut", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_proposalID", "type": "uint256" }, { "name": "_newCurator", "type": "address" } ], "name": "splitDAO", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "DAOrewardAccount", "outputs": [ { "name": "", "type": "address", "value": "0x2ee4471315b97eb407dab276f518538dcda35e1a" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "proposalDeposit", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "numberOfProposals", "outputs": [ { "name": "_numberOfProposals", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "lastTimeMinQuorumMet", "outputs": [ { "name": "", "type": "uint256", "value": "1467629544" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_toMembers", "type": "bool" } ], "name": "retrieveDAOReward", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function" }, { "constant": true, "inputs": [ { "name": "_address", "type": "address" } ], "name": "rewardAvailable", "outputs": [ { "name": "_rewardAvailable", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_tokenHolder", "type": "address" } ], "name": "createTokenProxy", "outputs": [ { "name": "success", "type": "bool" } ], "type": "function" }, { "constant": true, "inputs": [ { "name": "_proposalID", "type": "uint256" } ], "name": "getNewDAOAddress", "outputs": [ { "name": "_newDAO", "type": "address", "value": "0x" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_proposalID", "type": "uint256" }, { "name": "_supportsProposal", "type": "bool" } ], "name": "vote", "outputs": [ { "name": "_voteID", "type": "uint256" } ], "type": "function" }, { "constant": false, "inputs": [], "name": "getMyReward", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "rewardToken", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": true, "inputs": [ { "name": "_owner", "type": "address" }, { "name": "_spender", "type": "address" } ], "name": "allowance", "outputs": [ { "name": "remaining", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_proposalDeposit", "type": "uint256" } ], "name": "changeProposalDeposit", "outputs": [], "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "blocked", "outputs": [ { "name": "", "type": "uint256", "value": "0" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "curator", "outputs": [ { "name": "", "type": "address", "value": "0xf5c1758ab434ac15d3747348485afe3f83f715ad" } ], "type": "function" }, { "constant": false, "inputs": [ { "name": "_max", "type": "uint256" } ], "name": "changeDepositLimit", "outputs": [ { "name": "_success", "type": "bool" } ], "type": "function" }, { "constant": true, "inputs": [ { "name": "_proposalID", "type": "uint256" }, { "name": "_recipient", "type": "address" }, { "name": "_amount", "type": "uint256" }, { "name": "_transactionData", "type": "bytes" } ], "name": "checkProposalCode", "outputs": [ { "name": "_codeChecksOut", "type": "bool", "value": false } ], "type": "function" }, { "constant": true, "inputs": [], "name": "privateCreation", "outputs": [ { "name": "", "type": "address", "value": "0x0000000000000000000000000000000000000000" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "creationDepositLimit", "outputs": [ { "name": "", "type": "uint256", "value": "11000000000000000000" } ], "type": "function" }, { "inputs": [ { "name": "_curator", "type": "address", "index": 0, "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;curator", "template": "elements_input_address", "value": "0xf5c1758AB434AC15D3747348485aFE3f83f715AD" }, { "name": "_daoCreator", "type": "address", "index": 1, "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;dao Creator", "template": "elements_input_address", "value": "0x2a18DcE952204D7736ae4B75114AcC26370839eB" }, { "name": "_creationDepositLimit", "type": "uint256", "index": 2, "typeShort": "uint", "bits": "256", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;creation Deposit Limit", "template": "elements_input_uint", "value": "11000000000000000000" }, { "name": "_privateCreation", "type": "address", "index": 3, "typeShort": "address", "bits": "", "displayName": "&thinsp;<span class=\"punctuation\">_</span>&thinsp;private Creation", "template": "elements_input_address", "value": "0x0000000000000000000000000000000000000000" } ], "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": "FuelingToDate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "to", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "CreatedToken", "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": "newCurator", "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": "_newCurator", "type": "address" } ], "name": "NewCurator", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "_recipient", "type": "address" }, { "indexed": false, "name": "_allowed", "type": "bool" } ], "name": "AllowedRecipientChanged", "type": "event" } ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment