Skip to content

Commit

Permalink
audit: APEX-478 Import syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-j265 committed Jan 24, 2025
1 parent 8021e65 commit 6dd05a9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions contracts/Gateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "./interfaces/IGateway.sol";
import "./interfaces/IGatewayStructs.sol";
import "./interfaces/IValidators.sol";
import "./NativeTokenPredicate.sol";
import {IGateway} from "./interfaces/IGateway.sol";
import {IGatewayStructs} from "./interfaces/IGatewayStructs.sol";
import {IValidators} from "./interfaces/IValidators.sol";
import {NativeTokenPredicate} from "./NativeTokenPredicate.sol";

contract Gateway is
IGateway,
Expand Down
8 changes: 4 additions & 4 deletions contracts/NativeTokenPredicate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/proxy/Clones.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "./interfaces/INativeTokenPredicate.sol";
import "./interfaces/INativeTokenWallet.sol";
import "./interfaces/IGateway.sol";
import "./interfaces/IGatewayStructs.sol";
import {INativeTokenPredicate} from "./interfaces/INativeTokenPredicate.sol";
import {INativeTokenWallet} from "./interfaces/INativeTokenWallet.sol";
import {IGateway} from "./interfaces/IGateway.sol";
import {IGatewayStructs} from "./interfaces/IGatewayStructs.sol";

/**
@title ERC20TokenPredicate
Expand Down
6 changes: 3 additions & 3 deletions contracts/NativeTokenWallet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "./interfaces/IGatewayStructs.sol";
import "./interfaces/INativeTokenWallet.sol";
import "./NativeTokenPredicate.sol";
import {IGatewayStructs} from "./interfaces/IGatewayStructs.sol";
import {INativeTokenWallet} from "./interfaces/INativeTokenWallet.sol";
import {NativeTokenPredicate} from "./NativeTokenPredicate.sol";

/**
@title NativeToken
Expand Down
4 changes: 2 additions & 2 deletions contracts/Validators.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ pragma solidity ^0.8.24;
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "./interfaces/IValidators.sol";
import "./interfaces/IGatewayStructs.sol";
import {IValidators} from "./interfaces/IValidators.sol";
import {IGatewayStructs} from "./interfaces/IGatewayStructs.sol";

contract Validators is
IValidators,
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IGateway.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import "./IGatewayStructs.sol";
import {IGatewayStructs} from "./IGatewayStructs.sol";

interface IGateway is IGatewayStructs {
function deposit(
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/INativeTokenPredicate.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import "./IGatewayStructs.sol";
import {IGatewayStructs} from "./IGatewayStructs.sol";

interface INativeTokenPredicate is IGatewayStructs {
function deposit(
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IValidators.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.24;

import "./IGatewayStructs.sol";
import {IGatewayStructs} from "./IGatewayStructs.sol";

interface IValidators is IGatewayStructs {
function setValidatorsChainData(
Expand Down

0 comments on commit 6dd05a9

Please sign in to comment.