From be799ff8b25bcf9eef8b8785bf7f98415ef0a1e2 Mon Sep 17 00:00:00 2001 From: echo Date: Wed, 13 Mar 2024 10:27:35 +0800 Subject: [PATCH] add `dones` interfaces --- src/interfaces/IORMP.sol | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/interfaces/IORMP.sol b/src/interfaces/IORMP.sol index 9a7b103..69b883e 100644 --- a/src/interfaces/IORMP.sol +++ b/src/interfaces/IORMP.sol @@ -69,4 +69,9 @@ interface IORMP { function setAppConfig(address oracle, address relayer) external; function defaultUC() external view returns (UC memory); + + /// @dev Check the msg if it is dispatched. + /// @param msgHash Hash of the checked message. + /// @return Return the dispatched result of the checked message. + function dones(bytes32 msgHash) external view returns (bool); }