aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r--InterfaceHandler.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp
index 9817455b..9124d210 100644
--- a/InterfaceHandler.cpp
+++ b/InterfaceHandler.cpp
@@ -121,8 +121,11 @@ unique_ptr<string> InterfaceHandler::getABISolidityInterface(ContractDefinition
{
auto externalFunction = FunctionType(*_contractDef.getConstructor()).externalFunctionType();
solAssert(!!externalFunction, "");
- ret += "function " + _contractDef.getName() +
- populateParameters(externalFunction->getParameterNames(), externalFunction->getParameterTypeNames());
+ ret +=
+ "function " +
+ _contractDef.getName() +
+ populateParameters(externalFunction->getParameterNames(), externalFunction->getParameterTypeNames()) +
+ ";";
}
for (auto const& it: _contractDef.getInterfaceFunctions())
{