Skip to content

Commit

Permalink
Missing renames on EIP number change.
Browse files Browse the repository at this point in the history
  • Loading branch information
steven2308 committed Sep 19, 2023
1 parent 5637d86 commit 4333d9c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity ^0.8.21;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IRMRKEmotesRepository is IERC165 {
interface IERC7409 is IERC165 {
/**
* @notice Used to notify listeners that the token with the specified ID has been emoted to or that the reaction has been revoked.
* @dev The event MUST only be emitted if the state of the emote is changed.
Expand Down
26 changes: 13 additions & 13 deletions contracts/RMRK/emotable/RMRKEmotesRepository.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pragma solidity ^0.8.21;

import "./IRMRKEmotesRepository.sol";
import "./IERC7409.sol";

error BulkParametersOfUnequalLength();
error ExpiredPresignedEmote();
Expand All @@ -13,7 +13,7 @@ error InvalidSignature();
* @author RMRK team
* @notice Smart contract of the RMRK Emotes repository.
*/
contract RMRKEmotesRepository is IRMRKEmotesRepository {
contract RMRKEmotesRepository is IERC7409 {
bytes32 public immutable DOMAIN_SEPARATOR =
keccak256(
abi.encode(
Expand All @@ -31,7 +31,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
private _emotesPerToken;

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function emoteCountOf(
address collection,
Expand All @@ -42,7 +42,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
}

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function bulkEmoteCountOf(
address[] memory collections,
Expand All @@ -67,7 +67,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
}

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function hasEmoterUsedEmote(
address emoter,
Expand All @@ -79,7 +79,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
}

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function haveEmotersUsedEmotes(
address[] memory emoters,
Expand Down Expand Up @@ -110,7 +110,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
}

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function emote(
address collection,
Expand All @@ -135,7 +135,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
}

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function bulkEmote(
address[] memory collections,
Expand Down Expand Up @@ -186,7 +186,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
}

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function prepareMessageToPresignEmote(
address collection,
Expand All @@ -209,7 +209,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
}

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function bulkPrepareMessagesToPresignEmote(
address[] memory collections,
Expand Down Expand Up @@ -248,7 +248,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
}

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function presignedEmote(
address emoter,
Expand Down Expand Up @@ -301,7 +301,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
}

/**
* @inheritdoc IRMRKEmotesRepository
* @inheritdoc IERC7409
*/
function bulkPresignedEmote(
address[] memory emoters,
Expand Down Expand Up @@ -393,7 +393,7 @@ contract RMRKEmotesRepository is IRMRKEmotesRepository {
bytes4 interfaceId
) public view virtual returns (bool) {
return
interfaceId == type(IRMRKEmotesRepository).interfaceId ||
interfaceId == type(IERC7409).interfaceId ||
interfaceId == type(IERC165).interfaceId;
}
}
File renamed without changes.

0 comments on commit 4333d9c

Please sign in to comment.