2022-09-08 07:56:01 +00:00
|
|
|
// 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,
|
|
|
|
uint256 _collateral,
|
2023-01-09 14:52:27 +00:00
|
|
|
uint256 _minCollateralThreshold,
|
|
|
|
uint256 _slashMisses,
|
|
|
|
uint256 _slashPercentage,
|
2022-09-08 07:56:01 +00:00
|
|
|
uint256 _proofPeriod,
|
|
|
|
uint256 _proofTimeout,
|
|
|
|
uint8 _proofDowntime
|
|
|
|
)
|
2022-11-23 14:11:24 +00:00
|
|
|
Marketplace(
|
|
|
|
_token,
|
|
|
|
_collateral,
|
2023-01-09 14:52:27 +00:00
|
|
|
_minCollateralThreshold,
|
|
|
|
_slashMisses,
|
|
|
|
_slashPercentage,
|
2022-11-23 14:11:24 +00:00
|
|
|
_proofPeriod,
|
|
|
|
_proofTimeout,
|
|
|
|
_proofDowntime
|
|
|
|
)
|
2022-09-08 07:56:01 +00:00
|
|
|
// solhint-disable-next-line no-empty-blocks
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-11-23 14:10:58 +00:00
|
|
|
function forciblyFreeSlot(SlotId slotId) public {
|
|
|
|
_forciblyFreeSlot(slotId);
|
2022-09-13 07:18:55 +00:00
|
|
|
}
|
2022-09-21 09:13:12 +00:00
|
|
|
}
|