735546619e
Signed-off-by: T-Hax <>
20 lines
438 B
Solidity
20 lines
438 B
Solidity
// SPDX-License-Identifier: UNLICENSED
|
|
pragma solidity =0.7.6;
|
|
pragma abicoder v2;
|
|
|
|
import '../SwapRouter.sol';
|
|
|
|
contract MockTimeSwapRouter is SwapRouter {
|
|
uint256 time;
|
|
|
|
constructor(address _factory, address _WETH9) SwapRouter(_factory, _WETH9) {}
|
|
|
|
function _blockTimestamp() internal view override returns (uint256) {
|
|
return time;
|
|
}
|
|
|
|
function setTime(uint256 _time) external {
|
|
time = _time;
|
|
}
|
|
}
|