Skip to content

Commit

Permalink
fix: lints
Browse files Browse the repository at this point in the history
  • Loading branch information
capedcrusader21 committed Sep 9, 2024
1 parent b4cc71a commit 375d1ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions packages/marketplace/contracts/ExchangeCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,14 @@ abstract contract ExchangeCore is Initializable, ITransferManager {
LibOrder.FillResult memory newFill = _parseOrdersSetFillEmitMatch(sender, orderLeft, orderRight);

doTransfers(
ITransferManager.DealSide(LibAsset.Asset(makeMatch, newFill.leftValue, orderLeft.makeAsset.priceDistribution), orderLeft.maker),
ITransferManager.DealSide(LibAsset.Asset(takeMatch, newFill.rightValue, orderRight.makeAsset.priceDistribution), orderRight.maker),
ITransferManager.DealSide(
LibAsset.Asset(makeMatch, newFill.leftValue, orderLeft.makeAsset.priceDistribution),
orderLeft.maker
),
ITransferManager.DealSide(
LibAsset.Asset(takeMatch, newFill.rightValue, orderRight.makeAsset.priceDistribution),
orderRight.maker
),
LibAsset.getFeeSide(makeMatch.assetClass, takeMatch.assetClass)
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/marketplace/contracts/TransferManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ abstract contract TransferManager is Initializable, ITransferManager {
} else {
(address token, uint256 tokenId) = LibAsset.decodeToken(nftSide.asset.assetType);
(, address nftSideRecipient) = _getRecipients(paymentSide, nftSide);
IRoyaltiesProvider.Part[] memory royalties = royaltiesRegistry.getRoyalties(token, tokenId);
IRoyaltiesProvider.Part[] memory royalties = royaltiesRegistry.getRoyalties(token, tokenId);
remainder = _applyRoyalties(remainder, paymentSide, remainder, royalties, nftSide.recipient);
}
return remainder;
Expand Down

0 comments on commit 375d1ee

Please sign in to comment.