@@ -256,7 +256,7 @@ contract MarketplaceEnglishAuctionsTest is BaseTest, IExtension {
256
256
// 4. ======== Check balances after royalty payments ========
257
257
258
258
{
259
- uint256 defaultFee = (buyoutAmount * 250 ) / 10_000 ;
259
+ uint256 defaultFee = (buyoutAmount * 100 ) / 10_000 ;
260
260
261
261
// Royalty recipients receive correct amounts
262
262
assertBalERC20Eq (address (erc20), customRoyaltyRecipients[0 ], customRoyaltyAmounts[0 ]);
@@ -307,7 +307,7 @@ contract MarketplaceEnglishAuctionsTest is BaseTest, IExtension {
307
307
// 4. ======== Check balances after royalty payments ========
308
308
309
309
{
310
- uint256 defaultFee = (buyoutAmount * 250 ) / 10_000 ;
310
+ uint256 defaultFee = (buyoutAmount * 100 ) / 10_000 ;
311
311
312
312
uint256 royaltyAmount = (royaltyBps * buyoutAmount) / 10_000 ;
313
313
// Royalty recipient receives correct amounts
@@ -345,7 +345,7 @@ contract MarketplaceEnglishAuctionsTest is BaseTest, IExtension {
345
345
// 4. ======== Check balances after royalty payments ========
346
346
347
347
{
348
- uint256 defaultFee = (buyoutAmount * 250 ) / 10_000 ;
348
+ uint256 defaultFee = (buyoutAmount * 100 ) / 10_000 ;
349
349
uint256 royaltyAmount = (royaltyBps * buyoutAmount) / 10_000 ;
350
350
// Royalty recipient receives correct amounts
351
351
assertBalERC20Eq (address (erc20), royaltyRecipient, royaltyAmount);
@@ -392,7 +392,7 @@ contract MarketplaceEnglishAuctionsTest is BaseTest, IExtension {
392
392
// 4. ======== Check balances after royalty payments ========
393
393
394
394
{
395
- uint256 defaultFee = (buyoutAmount * 250 ) / 10_000 ;
395
+ uint256 defaultFee = (buyoutAmount * 100 ) / 10_000 ;
396
396
397
397
// Royalty recipients receive correct amounts
398
398
assertBalERC20Eq (address (erc20), customRoyaltyRecipients[0 ], customRoyaltyAmounts[0 ]);
@@ -422,7 +422,7 @@ contract MarketplaceEnglishAuctionsTest is BaseTest, IExtension {
422
422
423
423
// Set platform fee on marketplace
424
424
address platformFeeRecipient = marketplaceDeployer;
425
- uint128 platformFeeBps = 9750 ; // equal to max bps 10_000 or 100% with 250 bps default
425
+ uint128 platformFeeBps = 9900 ; // equal to max bps 10_000 or 100% with 100 bps default
426
426
vm.prank (marketplaceDeployer);
427
427
IPlatformFee (marketplace).setPlatformFeeInfo (platformFeeRecipient, platformFeeBps);
428
428
@@ -1514,7 +1514,7 @@ contract MarketplaceEnglishAuctionsTest is BaseTest, IExtension {
1514
1514
assertEq (currency, address (erc20));
1515
1515
assertEq (bidAmount, 10 ether);
1516
1516
1517
- uint256 defaultFee = (10 ether * 250 ) / 10_000 ;
1517
+ uint256 defaultFee = (10 ether * 100 ) / 10_000 ;
1518
1518
1519
1519
// collect auction payout
1520
1520
vm.prank (seller);
@@ -1563,7 +1563,7 @@ contract MarketplaceEnglishAuctionsTest is BaseTest, IExtension {
1563
1563
vm.prank (seller);
1564
1564
EnglishAuctionsLogic (marketplace).collectAuctionPayout (auctionId);
1565
1565
1566
- uint256 defaultFee = (5 ether * 250 ) / 10_000 ;
1566
+ uint256 defaultFee = (5 ether * 100 ) / 10_000 ;
1567
1567
1568
1568
assertIsOwnerERC721 (address (erc721), marketplace, tokenIds);
1569
1569
assertEq (erc20.balanceOf (marketplace), 0 );
@@ -1951,7 +1951,7 @@ contract MarketplaceEnglishAuctionsTest is BaseTest, IExtension {
1951
1951
assertEq (currency, NATIVE_TOKEN);
1952
1952
assertEq (bidAmount, 10 ether);
1953
1953
1954
- uint256 defaultFee = (10 ether * 250 ) / 10_000 ;
1954
+ uint256 defaultFee = (10 ether * 100 ) / 10_000 ;
1955
1955
1956
1956
vm.prank (seller);
1957
1957
// calls WETH.withdraw (which calls receive function of Marketplace) and sends native tokens to seller
@@ -2298,7 +2298,7 @@ contract BreitwieserTheCreator is BaseTest, IERC721Receiver, IExtension {
2298
2298
EnglishAuctionsLogic (marketplace).bidInAuction (auctionId, buyoutBidAmount);
2299
2299
2300
2300
// 2. Collect their own bid.
2301
- uint256 defaultFee = (buyoutBidAmount * 250 ) / 10_000 ;
2301
+ uint256 defaultFee = (buyoutBidAmount * 100 ) / 10_000 ;
2302
2302
EnglishAuctionsLogic (marketplace).collectAuctionPayout (auctionId);
2303
2303
assertEq (erc20.balanceOf (seller), buyoutBidAmount - defaultFee);
2304
2304
assertEq (erc20.balanceOf (defaultFeeRecipient), defaultFee);
0 commit comments