2019-02-14 02:06:35 -02:00
|
|
|
pragma solidity >=0.5.0 <0.6.0;
|
2018-03-17 13:50:33 -03:00
|
|
|
|
2019-02-14 10:41:11 -02:00
|
|
|
import "./Delegation.sol";
|
2018-03-17 13:50:33 -03:00
|
|
|
|
|
|
|
contract TrustNetworkInterface {
|
|
|
|
|
|
|
|
function addTopic(bytes32 topicId, bytes32 parentTopic) public;
|
2019-02-14 10:41:11 -02:00
|
|
|
function getTopic(bytes32 _topicId) public view returns (Delegation vote, Delegation veto);
|
|
|
|
function getVoteDelegation(bytes32 _topicId) public view returns (Delegation voteDelegation);
|
|
|
|
function getVetoDelegation(bytes32 _topicId) public view returns (Delegation vetoDelegation);
|
2018-03-17 13:50:33 -03:00
|
|
|
}
|