mirror of
https://github.com/luxfi/uma.git
synced 2026-07-27 05:11:41 +00:00
16 lines
569 B
Solidity
16 lines
569 B
Solidity
// SPDX-License-Identifier: AGPL-3.0-only
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../implementation/Testable.sol";
|
|
|
|
// TestableTest is derived from the abstract contract Testable for testing purposes.
|
|
contract TestableTest is Testable {
|
|
// solhint-disable-next-line no-empty-blocks
|
|
constructor(address _timerAddress) Testable(_timerAddress) {}
|
|
|
|
function getTestableTimeAndBlockTime() external view returns (uint256 testableTime, uint256 blockTime) {
|
|
// solhint-disable-next-line not-rely-on-time
|
|
return (getCurrentTime(), block.timestamp);
|
|
}
|
|
}
|