Last active
April 18, 2018 06:28
-
-
Save Sowmayjain/af56f26be7ccc32aeca54aacc897a8a3 to your computer and use it in GitHub Desktop.
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" | |
| } | |
| ], | |
| "name": "proposals", | |
| "outputs": [ | |
| { | |
| "name": "recipient", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "description", | |
| "type": "string" | |
| }, | |
| { | |
| "name": "votingDeadline", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "executed", | |
| "type": "bool" | |
| }, | |
| { | |
| "name": "proposalPassed", | |
| "type": "bool" | |
| }, | |
| { | |
| "name": "numberOfVotes", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "currentResult", | |
| "type": "int256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "tokenAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "collectERC20", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "members", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "targetMember", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "removeMember", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "proposalNumber", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "executeProposal", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "addr", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "setFundAdd", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "debatingPeriodInBlocks", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [ | |
| { | |
| "name": "proposalNumber", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "voteID", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getProposalVote", | |
| "outputs": [ | |
| { | |
| "name": "inSupport", | |
| "type": "bool" | |
| }, | |
| { | |
| "name": "voter", | |
| "type": "address" | |
| }, | |
| { | |
| "name": "justification", | |
| "type": "string" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "numProposals", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "_wei", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "sendETHtoFund", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "secondOwner", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "minimumQuorum", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "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": "numberOfMembers", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "majorityMargin", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "int256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "minimumQuorumForProposals", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "blocksForDebate", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "marginOfVotesForMajority", | |
| "type": "int256" | |
| } | |
| ], | |
| "name": "changeVotingRules", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "targetAddress", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "changeSecOwner", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "targetMember", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "addMember", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "proposalNumber", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "supportsProposal", | |
| "type": "bool" | |
| }, | |
| { | |
| "name": "justificationText", | |
| "type": "string" | |
| } | |
| ], | |
| "name": "vote", | |
| "outputs": [ | |
| { | |
| "name": "voteID", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "fundAddress", | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "weiAmount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "proposalDescription", | |
| "type": "string" | |
| } | |
| ], | |
| "name": "newProposal", | |
| "outputs": [ | |
| { | |
| "name": "proposalID", | |
| "type": "uint256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "constant": false, | |
| "inputs": [ | |
| { | |
| "name": "newOwner", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "transferOwnership", | |
| "outputs": [], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "name": "minimumQuorumForProposals", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "blocksForDebate", | |
| "type": "uint256" | |
| }, | |
| { | |
| "name": "marginOfVotesForMajority", | |
| "type": "int256" | |
| } | |
| ], | |
| "payable": false, | |
| "stateMutability": "nonpayable", | |
| "type": "constructor" | |
| }, | |
| { | |
| "payable": true, | |
| "stateMutability": "payable", | |
| "type": "fallback" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "sender", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "amount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "receivedEther", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "proposalID", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "recipient", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "amount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "description", | |
| "type": "string" | |
| } | |
| ], | |
| "name": "ProposalAdded", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "proposalID", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "position", | |
| "type": "bool" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "voter", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "justification", | |
| "type": "string" | |
| } | |
| ], | |
| "name": "Voted", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "proposalID", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "result", | |
| "type": "int256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "quorum", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "active", | |
| "type": "bool" | |
| } | |
| ], | |
| "name": "ProposalTallied", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "name": "newMinimumQuorum", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "newDebatingPeriodInBlocks", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "name": "newMajorityMargin", | |
| "type": "int256" | |
| } | |
| ], | |
| "name": "ChangeOfRules", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "name": "previousOwner", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "name": "newOwner", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "OwnershipTransferred", | |
| "type": "event" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment