12 lines
377 B
Solidity
12 lines
377 B
Solidity
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
pragma solidity =0.7.6;
|
|
|
|
import '@uniswap/v3-periphery/contracts/base/PeripheryValidation.sol';
|
|
|
|
abstract contract PeripheryValidationExtended is PeripheryValidation {
|
|
modifier checkPreviousBlockhash(bytes32 previousBlockhash) {
|
|
require(blockhash(block.number - 1) == previousBlockhash, 'Blockhash');
|
|
_;
|
|
}
|
|
}
|