compile fix

This commit is contained in:
Ricardo Guilherme Schmidt 2018-01-22 16:45:14 +00:00
parent 9382b4d359
commit bc3ced8f58
3 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
pragma solidity ^0.4.17;
contract ProposalExecutor {
function executeProposal(address topic, uint value, bytes data) external returns (bool success);
}

View File

@ -114,7 +114,7 @@ contract ProposalManager is Controlled {
proposal.voteIndex[msg.sender] = votePos + 1;
}
function tabulate(uint _proposal, uint loopLimit) {
function tabulate(uint _proposal, uint loopLimit) public {
Proposal storage proposal = proposals[_proposal];
require(block.number > proposal.vetoBlockEnd);
require(!proposal.tabulated);

View File

@ -24,7 +24,7 @@ contract TrustNetwork is Controlled {
topics[0x0] = newTopic(0x0, 0x0);
}
function addTopic(address topicId, address parentTopic) onlyController {
function addTopic(address topicId, address parentTopic) public onlyController {
Topic memory parent = topics[parentTopic];
address vote = address(parent.voteProxy);