Skip to content

Commit

Permalink
Use imported IDefaultReverseResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto committed Feb 21, 2024
1 parent 45eddc2 commit e0c1889
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
Binary file modified bun.lockb
Binary file not shown.
18 changes: 1 addition & 17 deletions crosschain-reverse-resolver/contracts/L1ReverseResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,7 @@ import "@ensdomains/ens-contracts/contracts/resolvers/profiles/ITextResolver.sol
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@ensdomains/ens-contracts/contracts/utils/HexUtils.sol";
import "@ensdomains/ens-contracts/contracts/resolvers/profiles/IExtendedResolver.sol";

interface IDefaultReverseResolver {
event NameChanged(bytes32 indexed node, string name);
event TextChanged(
bytes32 indexed node,
string indexed indexedKey,
string key,
string value
);

function name(address addr) external view returns (string memory);

function text(
address addr,
string memory key
) external view returns (string memory);
}
import "@ensdomains/ens-contracts/contracts/reverseRegistrar/IDefaultReverseResolver.sol";

contract L1ReverseResolver is EVMFetchTarget, IExtendedResolver, ERC165 {
using EVMFetcher for EVMFetcher.EVMFetchRequest;
Expand Down

0 comments on commit e0c1889

Please sign in to comment.