// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.13; import {Inbox} from "../inbox/Inbox.sol"; import {Outbox} from "../outbox/Outbox.sol"; /// @title Messenger /// @author The Warp Team /// @notice This contract implements a generic cross-chain messaging layer /// it combines the functionality of the Outbox (sending messages) /// and the Inbox (receiving messages). contract Messenger is Inbox, Outbox { /// @notice Initialize the contract /// @dev This function can only be called once. /// @param _core The address of the Wormhole core contract. /// @custom:reverts as UsesCore.setCore function initialize(address _core) external { setCore(_core); } }