codex-contracts-eth/contracts/TestMarketplace.sol
Mark Spanbroek ae70fd7c6f [marketplace] introduce MarketplaceConfiguration struct
Container for all configuration values, replaces separate
constructor parameters and getters.
2023-01-23 15:10:23 +01:00

20 lines
429 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Marketplace.sol";
// exposes internal functions of Marketplace for testing
contract TestMarketplace is Marketplace {
constructor(
IERC20 token,
MarketplaceConfig memory config
) Marketplace(token, config) // solhint-disable-next-line no-empty-blocks
{
}
function forciblyFreeSlot(SlotId slotId) public {
_forciblyFreeSlot(slotId);
}
}