735546619e
Signed-off-by: T-Hax <>
12 lines
297 B
Solidity
12 lines
297 B
Solidity
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
pragma solidity =0.7.6;
|
|
|
|
import './BlockTimestamp.sol';
|
|
|
|
abstract contract PeripheryValidation is BlockTimestamp {
|
|
modifier checkDeadline(uint256 deadline) {
|
|
require(_blockTimestamp() <= deadline, 'Transaction too old');
|
|
_;
|
|
}
|
|
}
|