Skip to content

Commit

Permalink
chore: remove duplicate interface (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevennevins authored May 16, 2024
1 parent d44c4fb commit 52715a2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/mocks/MockERC721.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 <0.9.0;

import {IERC721Metadata} from "../interfaces/IERC721.sol";
import {IERC721Metadata, IERC721TokenReceiver} from "../interfaces/IERC721.sol";

/// @notice This is a mock contract of the ERC721 standard for testing purposes only, it SHOULD NOT be used in production.
/// @dev Forked from: https://github.com/transmissions11/solmate/blob/0384dbaaa4fcb5715738a9254a7c0a4cb62cf458/src/tokens/ERC721.sol
Expand Down Expand Up @@ -229,7 +229,3 @@ contract MockERC721 is IERC721Metadata {
return codeLength > 0;
}
}

interface IERC721TokenReceiver {
function onERC721Received(address, address, uint256, bytes calldata) external returns (bytes4);
}

0 comments on commit 52715a2

Please sign in to comment.