More consistent contract parameter naming #24

Merged
bumi merged 9 commits from refactor/naming-conventions into master 2018-04-15 18:24:12 +00:00
Showing only changes of commit 147904e237 - Show all commits

View File

@@ -76,7 +76,8 @@ contract Operator is Upgradeable {
ProposalCreated(proposalId, msg.sender, p.recipientId, p.amount);
}
function getProposal(uint id) public view returns (address creator, uint256 recipientId, uint256 votesCount, uint256 votesNeeded, uint256 amount, bool executed, bytes32 ipfsHash, uint8 hashFunction, uint8 hashSize, uint256[] voterIds, bool exists) {
function getProposal(uint proposalId) public view returns (uint256 id, address creator, uint256 recipientId, uint256 votesCount, uint256 votesNeeded, uint256 amount, bool executed, bytes32 ipfsHash, uint8 hashFunction, uint8 hashSize, uint256[] voterIds, bool exists) {
id = proposalId;
Proposal storage p = proposals[id];
return (
p.creator,