From e533a2a186d772bcffbda9e18f3285a179575f65 Mon Sep 17 00:00:00 2001 From: Jeffery Walsh Date: Wed, 22 Feb 2023 11:23:19 -0800 Subject: [PATCH] is ether released public function --- packages/protocol/contracts/bridge/Bridge.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/protocol/contracts/bridge/Bridge.sol b/packages/protocol/contracts/bridge/Bridge.sol index 5d024420d85..24a0a5a656f 100644 --- a/packages/protocol/contracts/bridge/Bridge.sol +++ b/packages/protocol/contracts/bridge/Bridge.sol @@ -179,4 +179,8 @@ contract Bridge is EssentialContract, IBridge { ) public pure returns (bytes32) { return LibBridgeStatus.getMessageStatusSlot(msgHash); } + + function isEtherReleased(bytes32 msgHash) public view returns (bool) { + return _state.etherReleased[msgHash]; + } }