aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/EVMVersion.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/interface/EVMVersion.h')
-rw-r--r--libsolidity/interface/EVMVersion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/interface/EVMVersion.h b/libsolidity/interface/EVMVersion.h
index b68e1f4e..657727ac 100644
--- a/libsolidity/interface/EVMVersion.h
+++ b/libsolidity/interface/EVMVersion.h
@@ -75,6 +75,7 @@ public:
bool supportsReturndata() const { return *this >= byzantium(); }
bool hasStaticCall() const { return *this >= byzantium(); }
bool hasBitwiseShifting() const { return *this >= constantinople(); }
+ bool hasCreate2() const { return *this >= constantinople(); }
/// Whether we have to retain the costs for the call opcode itself (false),
/// or whether we can just forward easily all remaining gas (true).