Skip to content

Commit

Permalink
feat(protocol): add isEtherReleased to Bridge (#13204)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Wang <99078276+dantaik@users.noreply.github.com>
  • Loading branch information
cyberhorsey and dantaik committed Feb 23, 2023
1 parent 9c3fb10 commit f39e65d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/protocol/contracts/bridge/Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ contract Bridge is EssentialContract, IBridge {
return _state.ctx;
}

function isEtherReleased(bytes32 msgHash) public view returns (bool) {
return _state.etherReleased[msgHash];
}

function isDestChainEnabled(
uint256 _chainId
) public view returns (bool enabled) {
Expand Down

0 comments on commit f39e65d

Please sign in to comment.