From fa5e7589ad701cb48a19d9494a4795ab4f56c498 Mon Sep 17 00:00:00 2001 From: Ayush Tiwari Date: Fri, 29 Sep 2023 16:22:13 +0530 Subject: [PATCH] refactor: lint fix --- packages/marketplace/contracts/exchange/ExchangeCore.sol | 3 ++- .../marketplace/contracts/transfer-manager/TransferManager.sol | 3 +-- .../contracts/transfer-manager/interfaces/ITransferManager.sol | 3 ++- .../marketplace/contracts/transfer-manager/lib/LibDeal.sol | 1 - 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/marketplace/contracts/exchange/ExchangeCore.sol b/packages/marketplace/contracts/exchange/ExchangeCore.sol index 773d0e3868..57fbb9e6da 100644 --- a/packages/marketplace/contracts/exchange/ExchangeCore.sol +++ b/packages/marketplace/contracts/exchange/ExchangeCore.sol @@ -7,7 +7,8 @@ import {LibFill} from "./libraries/LibFill.sol"; import {LibDirectTransfer} from "./libraries/LibDirectTransfer.sol"; import {IAssetMatcher} from "../interfaces/IAssetMatcher.sol"; import {TransferExecutor, LibTransfer} from "../transfer-manager/TransferExecutor.sol"; -import {LibDeal, LibFeeSide, LibPart, LibAsset} from "../transfer-manager/lib/LibDeal.sol"; +import {LibDeal, LibPart, LibAsset} from "../transfer-manager/lib/LibDeal.sol"; +import {LibFeeSide} from "../transfer-manager/lib/LibFeeSide.sol"; import {LibOrderDataGeneric, LibOrder, LibOrderData} from "./libraries/LibOrderDataGeneric.sol"; import {ITransferManager} from "../transfer-manager/interfaces/ITransferManager.sol"; import {IOrderValidator} from "../interfaces/IOrderValidator.sol"; diff --git a/packages/marketplace/contracts/transfer-manager/TransferManager.sol b/packages/marketplace/contracts/transfer-manager/TransferManager.sol index 18f8a792ab..a7a37876af 100644 --- a/packages/marketplace/contracts/transfer-manager/TransferManager.sol +++ b/packages/marketplace/contracts/transfer-manager/TransferManager.sol @@ -8,10 +8,9 @@ import {LibERC1155LazyMint} from "../lazy-mint/erc-1155/LibERC1155LazyMint.sol"; import {IRoyaltiesProvider} from "../interfaces/IRoyaltiesProvider.sol"; import {BpLibrary} from "../lib-bp/BpLibrary.sol"; import {IRoyaltyUGC} from "./interfaces/IRoyaltyUGC.sol"; -import {ITransferManager, LibDeal} from "./interfaces/ITransferManager.sol"; +import {ITransferManager, LibDeal, LibFeeSide} from "./interfaces/ITransferManager.sol"; import {LibAsset} from "../lib-asset/LibAsset.sol"; import {LibPart} from "../lib-part/LibPart.sol"; -import {LibFeeSide} from "./lib/LibFeeSide.sol"; /// @title TransferManager contract /// @notice responsible for transferring all Assets diff --git a/packages/marketplace/contracts/transfer-manager/interfaces/ITransferManager.sol b/packages/marketplace/contracts/transfer-manager/interfaces/ITransferManager.sol index 3ef3e92040..c7c1a2888c 100644 --- a/packages/marketplace/contracts/transfer-manager/interfaces/ITransferManager.sol +++ b/packages/marketplace/contracts/transfer-manager/interfaces/ITransferManager.sol @@ -2,7 +2,8 @@ pragma solidity 0.8.21; -import {LibDeal, LibFeeSide} from "../lib/LibDeal.sol"; +import {LibDeal} from "../lib/LibDeal.sol"; +import {LibFeeSide} from "../lib/LibFeeSide.sol"; import {ITransferExecutor} from "./ITransferExecutor.sol"; abstract contract ITransferManager is ITransferExecutor { diff --git a/packages/marketplace/contracts/transfer-manager/lib/LibDeal.sol b/packages/marketplace/contracts/transfer-manager/lib/LibDeal.sol index 28b3f3f1df..9cd7ef8305 100644 --- a/packages/marketplace/contracts/transfer-manager/lib/LibDeal.sol +++ b/packages/marketplace/contracts/transfer-manager/lib/LibDeal.sol @@ -4,7 +4,6 @@ pragma solidity 0.8.21; import {LibPart} from "../../lib-part/LibPart.sol"; import {LibAsset} from "../../lib-asset/LibAsset.sol"; -import {LibFeeSide} from "./LibFeeSide.sol"; library LibDeal { struct DealSide {