aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/AST.cpp b/AST.cpp
index 59a7b61c..2c4dbd9d 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -124,6 +124,12 @@ FunctionDefinition const* ContractDefinition::getConstructor() const
return nullptr;
}
+FixedHash<4> ContractDefinition::getConstructorsInterface() const
+{
+ return FixedHash<4>(dev::sha3(getConstructor()->externalSignature()));
+ //return hash;
+}
+
FunctionDefinition const* ContractDefinition::getFallbackFunction() const
{
for (ContractDefinition const* contract: getLinearizedBaseContracts())