ChangeOfRules 68259880| inputs | 0 | uint256 | newMinimumQuorum | |
| 1 | uint256 | newDebatingPeriodInMinutes | ||
| 2 | address | newSharesTokenAddress |
ProposalAdded 06d6b095| inputs | 0 | uint256 | proposalID | |
| 1 | address | recipient | ||
| 2 | uint256 | amount | ||
| 3 | bytes | metadataHash |
ProposalTallied 748f0810| inputs | 0 | uint256 | proposalID | |
| 1 | uint256 | yea | ||
| 2 | uint256 | nay | ||
| 3 | uint256 | quorum | ||
| 4 | bool | active |
ReceivedEther a419615b| inputs | 0 | address | sender | |
| 1 | uint256 | amount |
ReceivedTokens d65b48fd| inputs | 0 | address | from | |
| 1 | uint256 | value | ||
| 2 | address | token | ||
| 3 | bytes | extraData |
TokensDelegated 57593c23| inputs | 0 | address | delegator | |
| 1 | uint256 | numberOfTokens | ||
| 2 | address | delegate |
TokensUndelegated ccc924ef| inputs | 0 | address | delegator | |
| 1 | uint256 | numberOfTokens | ||
| 2 | address | delegate |
Voted 86abfce9| inputs | 0 | uint256 | proposalID | |
| 1 | bool | position | ||
| 2 | address | voter |
DelegatedShareholderAssociation changeVotingRules 6e676b69Change voting rules * Make so that proposals need tobe discussed for at least minutesForDebate/60 hours and all voters combined must own more than minimumSharesToPassAVote shares of token sharesAddress to be executed and a shareholder needs sharesToBeBoardMember shares to create a transaction proposal
| inputs | 0 | uint256 | minimumSharesToPassAVote | proposal can vote only if the sum of shares held by all voters exceed this number |
| 1 | uint256 | minutesForDebate | the minimum amount of delay between when a proposal is made and when it can be executed | |
| 2 | uint256 | sharesToBeBoardMember | the minimum number of shares required to create proposals |
checkProposalCode eceb2945Check if a proposal code matches
| inputs | 0 | uint256 | proposalNumber | ID number of the proposal to query |
| 1 | address | beneficiary | who to send the ether to | |
| 2 | uint256 | weiAmount | amount of ether to send | |
| 3 | bytes | transactionBytecode | bytecode of transaction |
clearDelegateAndUnlockTokens 645bd436Undelegate all delegated tokens Clear the delegate address for all tokens delegated by the sending address, unlocking the locked tokens.
Can only be called by a sending address currently delegating tokens, will transfer all locked tokens back to the sender
| outputs | 0 | uint256 | lockedTokens |
countVotes 1840f0caCount the votes, including delegated votes, in support of, against, and in total for a particular proposal
| inputs | 0 | uint256 | proposalNumber | proposal number |
| outputs | 0 | uint256 | yea | votes, nay votes, quorum (total votes) |
| 1 | uint256 | nay | ||
| 2 | uint256 | quorum |
debatingPeriodInMinutes 69bd3436delegatedAmountsByDelegate 3fb3ec28| inputs | 0 | address |
delegatesByDelegator 064cc7a7| inputs | 0 | address |
executeProposal 237e9492Finish vote * Count the votes proposal #proposalNumber and execute it if approved
| inputs | 0 | uint256 | proposalNumber | proposal number |
| 1 | bytes | transactionBytecode | optional: if the transaction contained a bytecode, you need to send it |
hasVoted 43859632Return whether a particular shareholder has voted on a particular proposal (convenience function)
| inputs | 0 | uint256 | proposalNumber | proposal number |
| 1 | address | shareholder | address to query | |
| outputs | 0 | bool |
lockedDelegatingTokens 13f47f24| inputs | 0 | address |
minimumQuorum 8160f0b5newProposal dbc45228Add Proposal * Propose to send weiAmount / 1e18 ether to beneficiary for jobMetadataHash. transactionBytecode ? Contains : Does not contain code.
Submit proposal for the DAO to execute a particular transaction. Submitter should check that the beneficiary account exists, unless the intent is to burn Ether.
| inputs | 0 | address | beneficiary | who to send the ether to |
| 1 | uint256 | weiAmount | amount of ether to send, in wei | |
| 2 | bytes | jobMetadataHash | Hash of job metadata (IPFS) | |
| 3 | bytes | transactionBytecode | bytecode of transaction |
numProposals 400e3949proposals 013cf08b| inputs | 0 | uint256 |
receiveApproval 8f4ffcb1Receive tokens and generate a log event
| inputs | 0 | address | from | Address from which to transfer tokens |
| 1 | uint256 | value | Amount of tokens to transfer | |
| 2 | address | token | Address of token | |
| 3 | bytes | extraData | Additional data to log |
requiredSharesToBeBoardMember b94fa03fsetDelegateAndLockTokens 5fa7df6bDelegate an amount of tokens Set the delegate address for a specified number of tokens belonging to the sending address, locking the tokens.
An address holding tokens (shares) may only delegate some portion of their vote to one delegate at any one time
| inputs | 0 | uint256 | tokensToLock | number of tokens to be locked (sending address must have at least this many tokens) |
| 1 | address | delegate | the address to which votes equal to the number of tokens locked will be delegated |
sharesTokenAddress 27ebcf0etokenLocker a80bf3e6totalLockedTokens f5c476f9vote c9d27afeLog a vote for a proposal * Vote supportsProposal? in support of : against proposal #proposalNumber
Vote in favor or against an existing proposal. Voter should check that the proposal destination account exists, unless the intent is to burn Ether.
| inputs | 0 | uint256 | proposalNumber | number of proposal |
| 1 | bool | supportsProposal | either in favor or against it |