From 0ceb919f0cc553e489952a3e2079cb8dd3af46a4 Mon Sep 17 00:00:00 2001 From: Rishabh Sharma Date: Wed, 30 Aug 2023 13:58:42 +0530 Subject: [PATCH] fix : added indexed params in events --- .../contracts/interfaces/IMultiRoyaltyDistributor.sol | 4 ++-- .../contracts/interfaces/IRoyaltyManager.sol | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/dependency-royalty-management/contracts/interfaces/IMultiRoyaltyDistributor.sol b/packages/dependency-royalty-management/contracts/interfaces/IMultiRoyaltyDistributor.sol index 97b7a8930f..760894bba0 100644 --- a/packages/dependency-royalty-management/contracts/interfaces/IMultiRoyaltyDistributor.sol +++ b/packages/dependency-royalty-management/contracts/interfaces/IMultiRoyaltyDistributor.sol @@ -10,9 +10,9 @@ interface IMultiRoyaltyDistributor is IERC165, IMultiRoyaltyRecipients { event TokenRoyaltyRemoved(uint256 tokenId); event DefaultRoyaltyBpsSet(uint16 royaltyBPS); - event DefaultRoyaltyReceiverSet(address recipient); + event DefaultRoyaltyReceiverSet(address indexed recipient); - event RoyaltyRecipientSet(address splitter, address recipient); + event RoyaltyRecipientSet(address indexed splitter, address indexed recipient); event TokenRoyaltySplitterSet(uint256 tokenId, address splitterAddress); diff --git a/packages/dependency-royalty-management/contracts/interfaces/IRoyaltyManager.sol b/packages/dependency-royalty-management/contracts/interfaces/IRoyaltyManager.sol index d5cd18c12e..6e45f0d14c 100644 --- a/packages/dependency-royalty-management/contracts/interfaces/IRoyaltyManager.sol +++ b/packages/dependency-royalty-management/contracts/interfaces/IRoyaltyManager.sol @@ -6,11 +6,11 @@ import {Recipient} from "@manifoldxyz/royalty-registry-solidity/contracts/overri /// @title IRoyaltyManager /// @notice interface for RoyaltyManager Contract interface IRoyaltyManager { - event RecipientSet(address commonRecipient); + event RecipientSet(address indexed commonRecipient); event SplitSet(uint16 commonSplit); - event RoyaltySet(uint16 royaltyBps, address contractAddress); + event RoyaltySet(uint16 royaltyBps, address indexed contractAddress); event TrustedForwarderSet(address indexed previousForwarder, address indexed newForwarder);