28 lines
689 B
Solidity
28 lines
689 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,
|
|
uint256 _collateral,
|
|
uint256 _proofPeriod,
|
|
uint256 _proofTimeout,
|
|
uint8 _proofDowntime
|
|
)
|
|
Marketplace(_token, _collateral, _proofPeriod,_proofTimeout,_proofDowntime)
|
|
// solhint-disable-next-line no-empty-blocks
|
|
{
|
|
|
|
}
|
|
|
|
function isCancelled(bytes32 requestId) public view returns (bool) {
|
|
return _isCancelled(requestId);
|
|
}
|
|
|
|
function isSlotCancelled(bytes32 slotId) public view returns (bool) {
|
|
return _isSlotCancelled(slotId);
|
|
}
|
|
} |