diff --git a/evm/src/interfaces/IVaaV1Receiver.sol b/evm/src/interfaces/IVaaV1Receiver.sol new file mode 100644 index 0000000..2db252b --- /dev/null +++ b/evm/src/interfaces/IVaaV1Receiver.sol @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: Apache-2.0 +pragma solidity ^0.8.19; + +/// @notice Any contract that wishes to receive V1 VAAs from the executor needs to implement `IVaaV1Receiver`. +interface IVaaV1Receiver { + /// @notice Receive an attested message from the executor relayer. + /// @param msg The attested message payload. + function receiveMessage(bytes memory msg) external payable; +}