22 lines
713 B
Solidity
22 lines
713 B
Solidity
pragma solidity 0.4.24;
|
|
|
|
import "./AsyncInformationProcessor.sol";
|
|
|
|
contract HomeAMB is AsyncInformationProcessor {
|
|
event UserRequestForSignature(bytes32 indexed messageId, bytes encodedData);
|
|
event AffirmationCompleted(
|
|
address indexed sender,
|
|
address indexed executor,
|
|
bytes32 indexed messageId,
|
|
bool status
|
|
);
|
|
|
|
function emitEventOnMessageRequest(bytes32 messageId, bytes encodedData) internal {
|
|
emit UserRequestForSignature(messageId, encodedData);
|
|
}
|
|
|
|
function emitEventOnMessageProcessed(address sender, address executor, bytes32 messageId, bool status) internal {
|
|
emit AffirmationCompleted(sender, executor, messageId, status);
|
|
}
|
|
}
|