Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move interfaces to /src #38

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
Loading