// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Proofs.sol"; // exposes internal functions of Proofs for testing contract TestProofs is Proofs { function period(bytes32 id) public view returns (uint256) { return _period(id); } function timeout(bytes32 id) public view returns (uint256) { return _timeout(id); } function end(bytes32 id) public view returns (uint256) { return _end(id); } function missed(bytes32 id) public view returns (uint256) { return _missed(id); } function expectProofs( bytes32 id, uint256 _period, uint256 _timeout, uint256 _duration ) public { _expectProofs(id, _period, _timeout, _duration); } function isProofRequired(bytes32 id, uint256 blocknumber) public view returns (bool) { return _isProofRequired(id, blocknumber); } function submitProof( bytes32 id, uint256 blocknumber, bool proof ) public { _submitProof(id, blocknumber, proof); } function markProofAsMissing(bytes32 id, uint256 blocknumber) public { _markProofAsMissing(id, blocknumber); } }