735546619e
Signed-off-by: T-Hax <>
13 lines
428 B
Solidity
13 lines
428 B
Solidity
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
pragma solidity =0.7.6;
|
|
|
|
/// @title Function for getting block timestamp
|
|
/// @dev Base contract that is overridden for tests
|
|
abstract contract BlockTimestamp {
|
|
/// @dev Method that exists purely to be overridden for tests
|
|
/// @return The current block timestamp
|
|
function _blockTimestamp() internal view virtual returns (uint256) {
|
|
return block.timestamp;
|
|
}
|
|
}
|