v3-core
v3-core copied to clipboard
syntax erro on " NoDelegateCall.sol " file
pragma solidity =0.7.6; syntax error on line : 2
I hope you have faced this error on deploying NoDelegateCall.sol contract. As it is an abstract contract, it can not be deployed.
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.7.6;
/// @title Prevents delegatecall to a contract
/// @notice Base contract that provides a modifier for preventing delegatecall to methods in a child contract
abstract contract NoDelegateCall {
Feel free to explain your issue in more detail if not solved :)