diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-05-11 22:24:04 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-05-11 23:16:52 +0800 |
commit | 78a343d2ff8f49184362d4f12f8fa806f05f969d (patch) | |
tree | 666311403d959771ce555cb54eec7b4f485453b6 /InterfaceHandler.cpp | |
parent | 342afb10d56fd60b6d90ec928c84b0e2274512c5 (diff) | |
download | dexon-solidity-78a343d2ff8f49184362d4f12f8fa806f05f969d.tar.gz dexon-solidity-78a343d2ff8f49184362d4f12f8fa806f05f969d.tar.zst dexon-solidity-78a343d2ff8f49184362d4f12f8fa806f05f969d.zip |
updated unit test
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r-- | InterfaceHandler.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp index e266f8d6..a49c4dc3 100644 --- a/InterfaceHandler.cpp +++ b/InterfaceHandler.cpp @@ -60,10 +60,14 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio method["type"] = "function"; method["name"] = it.second->getDeclaration().getName(); method["constant"] = it.second->isConstant(); - method["inputs"] = populateParameters(externalFunctionType->getParameterNames(), - externalFunctionType->getParameterTypeNames()); - method["outputs"] = populateParameters(externalFunctionType->getReturnParameterNames(), - externalFunctionType->getReturnParameterTypeNames()); + method["inputs"] = populateParameters( + externalFunctionType->getParameterNames(), + externalFunctionType->getParameterTypeNames() + ); + method["outputs"] = populateParameters( + externalFunctionType->getReturnParameterNames(), + externalFunctionType->getReturnParameterTypeNames() + ); abi.append(method); } if (_contractDef.getConstructor()) |