Skip to content

Commit

Permalink
Update order of imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ermyas committed Nov 20, 2023
1 parent 24df837 commit 42b6f59
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/child/ChildAxelarBridgeAdaptor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import {IChildERC20BridgeAdaptor} from "../interfaces/child/IChildERC20BridgeAda
import {AdaptorRoles} from "../common/AdaptorRoles.sol";

contract ChildAxelarBridgeAdaptor is
AdaptorRoles,
AxelarExecutable,
IChildERC20BridgeAdaptor,
IChildAxelarBridgeAdaptorErrors,
IChildAxelarBridgeAdaptorEvents,
IChildAxelarBridgeAdaptor,
AdaptorRoles
IChildAxelarBridgeAdaptor
{
/// @notice Address of bridge to relay messages to.
IChildERC20Bridge public childBridge;
Expand Down
2 changes: 1 addition & 1 deletion src/child/ChildERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {BridgeRoles} from "../common/BridgeRoles.sol";
* @dev Because of this pattern, any checks or logic that is agnostic to the messaging protocol should be done in ChildERC20Bridge.
* @dev Any checks or logic that is specific to the underlying messaging protocol should be done in the bridge adaptor.
*/
contract ChildERC20Bridge is IChildERC20BridgeErrors, IChildERC20Bridge, IChildERC20BridgeEvents, BridgeRoles {
contract ChildERC20Bridge is BridgeRoles, IChildERC20BridgeErrors, IChildERC20Bridge, IChildERC20BridgeEvents {
/// @dev leave this as the first param for the integration tests
mapping(address => address) public rootTokenToChildToken;

Expand Down
4 changes: 2 additions & 2 deletions src/root/RootAxelarBridgeAdaptor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import {AdaptorRoles} from "../common/AdaptorRoles.sol";
* @notice RootAxelarBridgeAdaptor is a bridge adaptor that allows the RootERC20Bridge to communicate with the Axelar Gateway.
*/
contract RootAxelarBridgeAdaptor is
AdaptorRoles,
AxelarExecutable,
IRootERC20BridgeAdaptor,
IRootAxelarBridgeAdaptorEvents,
IRootAxelarBridgeAdaptorErrors,
IRootAxelarBridgeAdaptor,
AdaptorRoles
IRootAxelarBridgeAdaptor
{
IRootERC20Bridge public rootBridge;
string public childChain;
Expand Down
2 changes: 1 addition & 1 deletion src/root/RootERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {BridgeRoles} from "../common/BridgeRoles.sol";
* @dev Any checks or logic that is specific to the underlying messaging protocol should be done in the bridge adaptor.
* @dev Note that there is undefined behaviour for bridging non-standard ERC20 tokens (e.g. rebasing tokens). Please approach such cases with great care.
*/
contract RootERC20Bridge is IRootERC20Bridge, IRootERC20BridgeEvents, IRootERC20BridgeErrors, BridgeRoles {
contract RootERC20Bridge is BridgeRoles, IRootERC20Bridge, IRootERC20BridgeEvents, IRootERC20BridgeErrors {
using SafeERC20 for IERC20Metadata;

/// @dev leave this as the first param for the integration tests
Expand Down

0 comments on commit 42b6f59

Please sign in to comment.