MessageTribute should be controlled
This commit is contained in:
parent
f39622e159
commit
0d232fd6e5
|
@ -1,7 +1,7 @@
|
|||
pragma solidity ^0.4.17;
|
||||
|
||||
import "../token/MiniMeToken.sol";
|
||||
|
||||
import "../common/Controlled.sol";
|
||||
|
||||
/**
|
||||
* @title MessageTribute
|
||||
|
@ -12,7 +12,7 @@ import "../token/MiniMeToken.sol";
|
|||
SNT is deposited, and transferred from stakeholders to recipients upon receiving
|
||||
a reply from the recipient.
|
||||
*/
|
||||
contract MessageTribute {
|
||||
contract MessageTribute is Controlled {
|
||||
|
||||
MiniMeToken public SNT;
|
||||
|
||||
|
@ -37,8 +37,8 @@ contract MessageTribute {
|
|||
|
||||
mapping(address => mapping(address => Audience)) audienceRequested;
|
||||
|
||||
function MessageTribute(address _SNT) public {
|
||||
SNT = MiniMeToken(_SNT);
|
||||
function MessageTribute(MiniMeToken _SNT) public {
|
||||
SNT = _SNT;
|
||||
}
|
||||
|
||||
function addFriends(address[] _friends) public {
|
||||
|
|
Loading…
Reference in New Issue