compile fix

This commit is contained in:
Ricardo Guilherme Schmidt 2018-01-22 16:45:14 +00:00
parent db5c00f403
commit 90bce10c2b
4 changed files with 8 additions and 17 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);

View File

@ -1,21 +1,7 @@
pragma solidity ^0.4.17;
import "../deploy/AbstractRecoverer.sol";
contract ENS {
function owner(bytes32 node) constant returns (address);
function resolver(bytes32 node) constant returns (Resolver);
function ttl(bytes32 node) constant returns (uint64);
function setOwner(bytes32 node, address owner);
function setSubnodeOwner(bytes32 node, bytes32 label, address owner);
function setResolver(bytes32 node, address resolver);
function setTTL(bytes32 node, uint64 ttl);
}
contract Resolver {
function addr(bytes32 node) constant returns (address);
}
import "../ens/ENS.sol";
/**
* @title GitPivotRecoverer