Skip to content

Commit a9b2831

Browse files
committed
evm: Add IVaaV1Receiver
1 parent ee1115c commit a9b2831

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// SPDX-License-Identifier: Apache-2.0
2+
pragma solidity ^0.8.19;
3+
4+
/// @notice Any contract that wishes to receive V1 VAAs from the executor needs to implement `IVaaV1Receiver`.
5+
interface IVaaV1Receiver {
6+
/// @notice Receive an attested message from the executor relayer.
7+
/// @param msg The attested message payload.
8+
function receiveMessage(bytes memory msg) external payable;
9+
}

0 commit comments

Comments
 (0)