mirror of
https://github.com/status-im/contracts.git
synced 2025-02-23 12:08:47 +00:00
natspec
This commit is contained in:
parent
129d8c2edd
commit
c642e4bf94
@ -32,6 +32,7 @@ contract MessageTribute is MessageSigned, Controlled {
|
||||
setTribute(signer, _value);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @notice Stops the contract of being able to change values.
|
||||
*/
|
||||
@ -59,6 +60,11 @@ contract MessageTribute is MessageSigned, Controlled {
|
||||
return keccak256(abi.encodePacked(address(this), _value, _ttl));
|
||||
}
|
||||
|
||||
/**
|
||||
* @notice Changes tribute of account
|
||||
* @param _of Account chaning tribute
|
||||
* @param _value New tribute value
|
||||
*/
|
||||
function setTribute(address _of, uint256 _value) internal {
|
||||
require(!stopped, "Contract stopped by Controller");
|
||||
tributeCatalog[_of] = _value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user