Skip to content

Commit

Permalink
Tests for wrapped names
Browse files Browse the repository at this point in the history
  • Loading branch information
sshmatrix committed Aug 15, 2023
1 parent 00f5a7b commit f3a968b
Show file tree
Hide file tree
Showing 3 changed files with 514 additions and 38 deletions.
1 change: 1 addition & 0 deletions src/CCIP2ETH.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ contract CCIP2ETH is iCCIP2ETH {
supportsInterface[iENSIP10.resolve.selector] = true;
supportsInterface[type(iERC173).interfaceId] = true;
supportsInterface[iCCIP2ETH.setRecordhash.selector] = true;
supportsInterface[iCCIP2ETH.setOwnerhash.selector] = true;
supportsInterface[iCallbackType.signedRecord.selector] = true;
supportsInterface[iCallbackType.signedRedirect.selector] = true;
}
Expand Down
8 changes: 4 additions & 4 deletions src/Interface.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ interface iCCIP2ETH is iENSIP10 {
returns (address _signer);
function setRecordhash(bytes32 _node, bytes calldata _recordhash) external payable;
function setShortRecordhash(bytes32 _node, bytes32 _recordhash) external payable;
function setSubRecordhash(bytes32 _node, string memory _subdomain, bytes calldata _recordhash) external payable;
function setDeepSubRecordhash(bytes32 _node, string[] memory _subdomains, bytes calldata _recordhash)
external
payable;
function setOwnerhash(bytes calldata _recordhash) external payable;
function redirectService(bytes calldata _encoded, bytes calldata _requested)
external
view
returns (bytes4 _selector, bytes32 _namehash, bytes memory _redirectRequest, string memory _domain);
function setDeepSubRecordhash(bytes32 _node, string[] memory _subdomains, bytes calldata _recordhash)
external
payable;
function setSubRecordhash(bytes32 _node, string memory _subdomain, bytes calldata _recordhash) external payable;
}

interface iGatewayManager is iERC173 {
Expand Down
Loading

0 comments on commit f3a968b

Please sign in to comment.