Skip to content

Commit

Permalink
Move interfaces to src (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw authored Dec 13, 2024
1 parent 50fefd6 commit 945884c
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contracts/crosschain/axelar/AxelarGatewayDestination.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity ^0.8.27;

import {AxelarExecutable} from "@axelar-network/axelar-gmp-sdk-solidity/contracts/executable/AxelarExecutable.sol";
import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
import {IERC7786Receiver} from "../interfaces/draft-IERC7786.sol";
import {IERC7786Receiver} from "../../interfaces/draft-IERC7786.sol";
import {AxelarGatewayBase} from "./AxelarGatewayBase.sol";

/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/crosschain/axelar/AxelarGatewaySource.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {CAIP2} from "@openzeppelin/contracts/utils/CAIP2.sol";
import {CAIP10} from "@openzeppelin/contracts/utils/CAIP10.sol";
import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
import {AxelarGatewayBase} from "./AxelarGatewayBase.sol";
import {IERC7786GatewaySource} from "../interfaces/draft-IERC7786.sol";
import {IERC7786GatewaySource} from "../../interfaces/draft-IERC7786.sol";

/**
* @dev Implementation of an ERC-7786 gateway source adapter for the Axelar Network.
Expand Down
2 changes: 1 addition & 1 deletion contracts/crosschain/utils/draft-ERC7786Receiver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pragma solidity ^0.8.27;

import {IERC7786Receiver} from "../interfaces/draft-IERC7786.sol";
import {IERC7786Receiver} from "../../interfaces/draft-IERC7786.sol";

/**
* @dev Base implementation of an ERC-7786 compliant cross-chain message receiver.
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion contracts/mocks/crosschain/ERC7786GatewayMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {BitMaps} from "@openzeppelin/contracts/utils/structs/BitMaps.sol";
import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
import {CAIP2} from "@openzeppelin/contracts/utils/CAIP2.sol";
import {CAIP10} from "@openzeppelin/contracts/utils/CAIP10.sol";
import {IERC7786GatewaySource, IERC7786Receiver} from "../../crosschain/interfaces/draft-IERC7786.sol";
import {IERC7786GatewaySource, IERC7786Receiver} from "../../interfaces/draft-IERC7786.sol";

contract ERC7786GatewayMock is IERC7786GatewaySource {
using BitMaps for BitMaps.BitMap;
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/crosschain/ERC7786ReceiverInvalidMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pragma solidity ^0.8.0;

import {IERC7786Receiver} from "../../crosschain/interfaces/draft-IERC7786.sol";
import {IERC7786Receiver} from "../../interfaces/draft-IERC7786.sol";

contract ERC7786ReceiverInvalidMock is IERC7786Receiver {
function executeMessage(
Expand Down
2 changes: 1 addition & 1 deletion contracts/token/ERC20/extensions/draft-ERC20Bridgeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
pragma solidity ^0.8.20;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IERC7802} from "./draft-IERC7802.sol";
import {ERC165, IERC165} from "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import {IERC7802} from "../../../interfaces/draft-IERC7802.sol";

/**
* @dev ERC20 extension that implements the standard token interface according to
Expand Down

0 comments on commit 945884c

Please sign in to comment.