topic-democracy/contracts/democracy/TrustNetworkInterface.sol

11 lines
497 B
Solidity
Raw Normal View History

pragma solidity ^0.4.21;
2018-03-17 13:50:33 -03:00
import "./DelegationInterface.sol";
2018-03-17 13:50:33 -03:00
contract TrustNetworkInterface {
function addTopic(bytes32 topicId, bytes32 parentTopic) public;
function getTopic(bytes32 _topicId) public view returns (DelegationInterface vote, DelegationInterface veto);
function getVoteDelegation(bytes32 _topicId) public view returns (DelegationInterface voteDelegation);
function getVetoDelegation(bytes32 _topicId) public view returns (DelegationInterface vetoDelegation);
2018-03-17 13:50:33 -03:00
}