Skip to content
Open
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
5 changes: 5 additions & 0 deletions contracts/token/ERC7984/extensions/ERC7984ERC20Wrapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ abstract contract ERC7984ERC20Wrapper is ERC7984, IERC1363Receiver {
return _underlying;
}

/// inheritdoc IERC165
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC7984) returns (bool) {
return interfaceId == type(ERC7984ERC20Wrapper).interfaceId || super.supportsInterface(interfaceId);
}

/**
* @dev `ERC1363` callback function which wraps tokens to the address specified in `data` or
* the address `from` (if no address is specified in `data`). This function refunds any excess tokens
Expand Down
Loading