14 lines
452 B
Solidity
14 lines
452 B
Solidity
pragma solidity 0.4.24;
|
|
|
|
import "../upgradeability/EternalStorage.sol";
|
|
|
|
contract MessageRelay is EternalStorage {
|
|
function relayedMessages(bytes32 _txHash) public view returns (bool) {
|
|
return boolStorage[keccak256(abi.encodePacked("relayedMessages", _txHash))];
|
|
}
|
|
|
|
function setRelayedMessages(bytes32 _txHash, bool _status) internal {
|
|
boolStorage[keccak256(abi.encodePacked("relayedMessages", _txHash))] = _status;
|
|
}
|
|
}
|