Skip to content

Commit

Permalink
Natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
gvladika committed Jun 21, 2024
1 parent 11ebb25 commit 43d1eb9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contracts/tokenbridge/arbitrum/gateway/L2ArbitrumGateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,12 @@ abstract contract L2ArbitrumGateway is L2ArbitrumMessenger, TokenGateway {
bytes memory gatewayData
) internal virtual returns (bool shouldHalt);

/**
* @notice Check if expected token address matches the provided one
* @param _l1Address provided address of L1 token
* @param _expectedL2Address address of L2 gateway expects
* @return true if addresses match, false otherwise
*/
function _isValidTokenAddress(address _l1Address, address _expectedL2Address)
internal
view
Expand Down

0 comments on commit 43d1eb9

Please sign in to comment.