mirror of
https://github.com/status-im/contracts.git
synced 2025-02-24 04:28:51 +00:00
compile fix
This commit is contained in:
parent
db5c00f403
commit
90bce10c2b
5
contracts/democracy/ProposalExecutor.sol
Normal file
5
contracts/democracy/ProposalExecutor.sol
Normal file
@ -0,0 +1,5 @@
|
||||
pragma solidity ^0.4.17;
|
||||
|
||||
contract ProposalExecutor {
|
||||
function executeProposal(address topic, uint value, bytes data) external returns (bool success);
|
||||
}
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user