diff options
-rw-r--r-- | InterfaceHandler.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp index 7ecde802..99a7db96 100644 --- a/InterfaceHandler.cpp +++ b/InterfaceHandler.cpp @@ -108,16 +108,7 @@ unique_ptr<string> InterfaceHandler::getABISolidityInterface(ContractDefinition ret.pop_back(); ret += "{}"; } - for (auto const& it: _contractDef.getInterfaceEvents()) - { - std::string params; - for (auto const& p: it->getParameters()) - params += (params.empty() ? "(" : ",") + p->getType()->toString() + (p->isIndexed() ? " indexed " : " ") + p->getName(); - if (!params.empty()) - params += ")"; - ret += "event " + it->getName() + params + ";"; - } return unique_ptr<string>(new string(ret + "}")); } |