Skip to content

Commit

Permalink
Merge pull request #160 from ourzora/remove_legacy_mint_fee_manager
Browse files Browse the repository at this point in the history
refactor: remove legacy mint fee manager
  • Loading branch information
kulkarohan authored Sep 6, 2023
2 parents b7ded4d + 25e7ac3 commit 6b5c145
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/nft/ZoraCreator1155Impl.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import {ITransferHookReceiver} from "../interfaces/ITransferHookReceiver.sol";
import {IFactoryManagedUpgradeGate} from "../interfaces/IFactoryManagedUpgradeGate.sol";
import {IZoraCreator1155} from "../interfaces/IZoraCreator1155.sol";
import {LegacyNamingControl} from "../legacy-naming/LegacyNamingControl.sol";
import {MintFeeManager} from "../fee/MintFeeManager.sol";
import {PublicMulticall} from "../utils/PublicMulticall.sol";
import {SharedBaseConstants} from "../shared/SharedBaseConstants.sol";
import {TransferHelperUtils} from "../utils/TransferHelperUtils.sol";
Expand All @@ -44,7 +43,6 @@ contract ZoraCreator1155Impl is
ReentrancyGuardUpgradeable,
PublicMulticall,
ERC1155Upgradeable,
MintFeeManager,
UUPSUpgradeable,
CreatorRendererControl,
LegacyNamingControl,
Expand All @@ -69,11 +67,11 @@ contract ZoraCreator1155Impl is
IFactoryManagedUpgradeGate internal immutable factory;

constructor(
uint256 _mintFeeAmount,
uint256, // TODO remove
address _mintFeeRecipient,
address _factory,
address _protocolRewards
) MintFeeManager(_mintFeeAmount, _mintFeeRecipient) ERC1155Rewards(_protocolRewards, _mintFeeRecipient) initializer {
) ERC1155Rewards(_protocolRewards, _mintFeeRecipient) initializer {
factory = IFactoryManagedUpgradeGate(_factory);
}

Expand Down

0 comments on commit 6b5c145

Please sign in to comment.