The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/solidity/core/contracts/test/TestRecipient.sol

18 lines
433 B

// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.0;
import {IMessageRecipient} from "../../interfaces/IMessageRecipient.sol";
contract TestRecipient is IMessageRecipient {
bytes32 public lastSender;
bytes public lastData;
function handle(
uint32,
bytes32 _sender,
bytes calldata _data
) external override {
lastSender = _sender;
lastData = _data;
}
}