From d723ef297718c40103d3566b242d89264800b1da Mon Sep 17 00:00:00 2001 From: Geoff Stuart Date: Wed, 22 Nov 2023 12:32:10 -0500 Subject: [PATCH] review fixes --- .../CrossChainApplications/ERC20Bridge/BridgeToken.sol | 2 +- .../CrossChainApplications/ERC20Bridge/IERC20Bridge.sol | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/src/CrossChainApplications/ERC20Bridge/BridgeToken.sol b/contracts/src/CrossChainApplications/ERC20Bridge/BridgeToken.sol index 13ca7d384..da0734aed 100644 --- a/contracts/src/CrossChainApplications/ERC20Bridge/BridgeToken.sol +++ b/contracts/src/CrossChainApplications/ERC20Bridge/BridgeToken.sol @@ -7,7 +7,7 @@ pragma solidity 0.8.18; import {ERC20, ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; -/**tran +/** * @dev BridgeToken is an ERC20Burnable token contract that is associated with a specific native chain bridge and asset, and is only mintable by the bridge contract on this chain. */ contract BridgeToken is ERC20Burnable { diff --git a/contracts/src/CrossChainApplications/ERC20Bridge/IERC20Bridge.sol b/contracts/src/CrossChainApplications/ERC20Bridge/IERC20Bridge.sol index 9fad94262..ee928e160 100644 --- a/contracts/src/CrossChainApplications/ERC20Bridge/IERC20Bridge.sol +++ b/contracts/src/CrossChainApplications/ERC20Bridge/IERC20Bridge.sol @@ -11,14 +11,14 @@ import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; * @dev Interface that describes functionalities for a cross-chain ERC20 bridge. */ interface IERC20Bridge { - + /** + * @dev Enum representing the action to take on receiving a Teleporter message. + */ enum BridgeAction { Create, Mint, Transfer - } /** - * @dev Enum representing the action to take on receiving a Teleporter message. - */ + } /** * @dev Emitted when tokens are locked in this bridge contract to be bridged to another chain.