-
Notifications
You must be signed in to change notification settings - Fork 32
/
InboxEvents.sol
36 lines (32 loc) · 1.53 KB
/
InboxEvents.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
abstract contract InboxEvents {
/**
* @notice Emitted when a snapshot is accepted by the Summit contract.
* @param domain Domain where the signed Agent is active (ZERO for Guards)
* @param agent Agent who signed the snapshot
* @param snapPayload Raw payload with snapshot data
* @param snapSignature Agent signature for the snapshot
*/
event SnapshotAccepted(uint32 indexed domain, address indexed agent, bytes snapPayload, bytes snapSignature);
/**
* @notice Emitted when a snapshot is accepted by the Summit contract.
* @param domain Domain where the signed Notary is active
* @param notary Notary who signed the attestation
* @param rcptPayload Raw payload with receipt data
* @param rcptSignature Notary signature for the receipt
*/
event ReceiptAccepted(uint32 domain, address notary, bytes rcptPayload, bytes rcptSignature);
/**
* @notice Emitted when a proof of invalid attestation is submitted.
* @param attPayload Raw payload with Attestation data
* @param attSignature Notary signature for the attestation
*/
event InvalidAttestation(bytes attPayload, bytes attSignature);
/**
* @notice Emitted when a proof of invalid attestation report is submitted.
* @param arPayload Raw payload with report data
* @param arSignature Guard signature for the report
*/
event InvalidAttestationReport(bytes arPayload, bytes arSignature);
}