diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-17 00:15:04 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-17 00:16:15 +0800 |
commit | 500cb69f12a1e048258b1ebb9fa5ea858433ffff (patch) | |
tree | 0b9e480d0cbae0bb66e79871a4b7688b3478f4d0 | |
parent | 241c86a2e8aef00c65c6e8f1296fa66ed88f5a71 (diff) | |
download | dexon-solidity-500cb69f12a1e048258b1ebb9fa5ea858433ffff.tar dexon-solidity-500cb69f12a1e048258b1ebb9fa5ea858433ffff.tar.gz dexon-solidity-500cb69f12a1e048258b1ebb9fa5ea858433ffff.tar.bz2 dexon-solidity-500cb69f12a1e048258b1ebb9fa5ea858433ffff.tar.lz dexon-solidity-500cb69f12a1e048258b1ebb9fa5ea858433ffff.tar.xz dexon-solidity-500cb69f12a1e048258b1ebb9fa5ea858433ffff.tar.zst dexon-solidity-500cb69f12a1e048258b1ebb9fa5ea858433ffff.zip |
Removing events from Solidity Interface
-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 + "}")); } |