From 500cb69f12a1e048258b1ebb9fa5ea858433ffff Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Mon, 16 Feb 2015 17:15:04 +0100 Subject: [PATCH] Removing events from Solidity Interface --- InterfaceHandler.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp index 7ecde8029..99a7db96e 100644 --- a/InterfaceHandler.cpp +++ b/InterfaceHandler.cpp @@ -108,16 +108,7 @@ unique_ptr 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(new string(ret + "}")); }