Skip to content

Commit

Permalink
fix(gitignore): root interfaces only
Browse files Browse the repository at this point in the history
  • Loading branch information
re1ro committed Nov 1, 2023
1 parent 7b8e689 commit 594b4ef
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ dist
build/
cache/
artifacts/
interfaces/
/interfaces/

info/local.json
keys.json
21 changes: 21 additions & 0 deletions contracts/interfaces/IAddressTracker.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import { IOwnable } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IOwnable.sol';
import { IInterchainAddressTracker } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IInterchainAddressTracker.sol';

interface IAddressTracker is IOwnable, IInterchainAddressTracker {
/**
* @dev Sets the trusted address for the specified chain
* @param chain Chain name to be trusted
* @param address_ Trusted address to be added for the chain
*/
function setTrustedAddress(string memory chain, string memory address_) external;

/**
* @dev Remove the trusted address of the chain.
* @param chain Chain name that should be made untrusted
*/
function removeTrustedAddress(string calldata chain) external;
}

0 comments on commit 594b4ef

Please sign in to comment.