From 53ce0a4d41e2e84041d7d6587a631293e518a94e Mon Sep 17 00:00:00 2001 From: Ayush Tiwari Date: Fri, 16 Jun 2023 11:38:16 +0530 Subject: [PATCH] revert: removed indexed from SuperOperator and Minter event --- packages/core/src/solc_0.5/Land/erc721/LandBaseTokenV3.sol | 2 +- .../BaseWithStorage/MetaTransactionReceiverV2.sol | 2 +- .../contracts_common/BaseWithStorage/SuperOperatorsV2.sol | 2 +- .../src/solc_0.8/polygon/child/land/PolygonLandBaseTokenV2.sol | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/src/solc_0.5/Land/erc721/LandBaseTokenV3.sol b/packages/core/src/solc_0.5/Land/erc721/LandBaseTokenV3.sol index 64a13b95b6..04c5ebb686 100644 --- a/packages/core/src/solc_0.5/Land/erc721/LandBaseTokenV3.sol +++ b/packages/core/src/solc_0.5/Land/erc721/LandBaseTokenV3.sol @@ -22,7 +22,7 @@ contract LandBaseTokenV3 is ERC721BaseTokenV2 { uint256 internal constant LAYER_24x24 = 0x0400000000000000000000000000000000000000000000000000000000000000; mapping(address => bool) internal _minters; - event Minter(address indexed superOperator, bool enabled); + event Minter(address superOperator, bool enabled); struct Land { uint256 x; diff --git a/packages/core/src/solc_0.5/contracts_common/BaseWithStorage/MetaTransactionReceiverV2.sol b/packages/core/src/solc_0.5/contracts_common/BaseWithStorage/MetaTransactionReceiverV2.sol index 71da9373ef..fda8ae5f56 100644 --- a/packages/core/src/solc_0.5/contracts_common/BaseWithStorage/MetaTransactionReceiverV2.sol +++ b/packages/core/src/solc_0.5/contracts_common/BaseWithStorage/MetaTransactionReceiverV2.sol @@ -12,7 +12,7 @@ contract MetaTransactionReceiverV2 is AdminV2 { using AddressUtils for address; mapping(address => bool) internal _metaTransactionContracts; - event MetaTransactionProcessor(address indexed metaTransactionProcessor, bool enabled); + event MetaTransactionProcessor(address metaTransactionProcessor, bool enabled); /// @notice Enable or disable the ability of `metaTransactionProcessor` to perform meta-tx (metaTransactionProcessor rights). /// @param metaTransactionProcessor address that will be given/removed metaTransactionProcessor rights. diff --git a/packages/core/src/solc_0.5/contracts_common/BaseWithStorage/SuperOperatorsV2.sol b/packages/core/src/solc_0.5/contracts_common/BaseWithStorage/SuperOperatorsV2.sol index 823a2282e4..beba5b4c4e 100644 --- a/packages/core/src/solc_0.5/contracts_common/BaseWithStorage/SuperOperatorsV2.sol +++ b/packages/core/src/solc_0.5/contracts_common/BaseWithStorage/SuperOperatorsV2.sol @@ -11,7 +11,7 @@ contract SuperOperatorsV2 is AdminV2 { mapping(address => bool) internal _superOperators; - event SuperOperator(address indexed superOperator, bool enabled); + event SuperOperator(address superOperator, bool enabled); /// @notice Enable or disable the ability of `superOperator` to transfer tokens of all (superOperator rights). /// @param superOperator address that will be given/removed superOperator right. diff --git a/packages/core/src/solc_0.8/polygon/child/land/PolygonLandBaseTokenV2.sol b/packages/core/src/solc_0.8/polygon/child/land/PolygonLandBaseTokenV2.sol index 4688251426..ff9bf94ee5 100644 --- a/packages/core/src/solc_0.8/polygon/child/land/PolygonLandBaseTokenV2.sol +++ b/packages/core/src/solc_0.8/polygon/child/land/PolygonLandBaseTokenV2.sol @@ -28,7 +28,7 @@ abstract contract PolygonLandBaseTokenV2 is IPolygonLand, Initializable, ERC721B mapping(address => bool) internal _minters; - event Minter(address indexed minter, bool enabled); + event Minter(address minter, bool enabled); struct Land { uint256 x;