Skip to content

Commit

Permalink
Update ERC-7656: Rename IERC7656Contract as IER7656Linked
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
sullof authored May 28, 2024
1 parent ab43266 commit c51fe62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ERCS/erc-7656.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ ERC-1167 Footer (15 bytes)
Any contract created using a `ERC7656Registry` SHOULD implement the `IERC7656Contract` interface:

```solidity
interface IERC7656Contract {
interface IERC7656Linked {
/**
* @notice Returns the token linked to the contract
* @return chainId The chainId of the token
Expand Down Expand Up @@ -263,10 +263,10 @@ contract ERC7656Registry is IERC7656Registry {
}
```

A simple implementation of `IERC7656Contract`:
A simple implementation of `IERC7656Linked`:

```solidity
contract ERC7656Contract is IERC7656Contract, EIP5313 {
contract LinkedContract is IERC7656Linked, EIP5313 {
function token() public view virtual returns (uint256, address, uint256) {
bytes memory footer = new bytes(0x60);
Expand Down

0 comments on commit c51fe62

Please sign in to comment.