diff options
author | arkpar <arkadiy@ethdev.com> | 2015-01-31 08:21:45 +0800 |
---|---|---|
committer | arkpar <arkadiy@ethdev.com> | 2015-01-31 08:21:45 +0800 |
commit | 54676604f535df0bc104684dc46818964b3e5728 (patch) | |
tree | e3dfe25a9296d141ac6dbd19a084d78470c47b53 | |
parent | 06e846b45cedea57c55c7e8da0b77b76bab3bc80 (diff) | |
download | dexon-solidity-54676604f535df0bc104684dc46818964b3e5728.tar.gz dexon-solidity-54676604f535df0bc104684dc46818964b3e5728.tar.zst dexon-solidity-54676604f535df0bc104684dc46818964b3e5728.zip |
fixed ABI generator
-rw-r--r-- | InterfaceHandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp index 92cd5156..c4bed99f 100644 --- a/InterfaceHandler.cpp +++ b/InterfaceHandler.cpp @@ -59,6 +59,7 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio } return params; }; + method["type"] = "function"; method["name"] = it.second->getDeclaration().getName(); method["constant"] = it.second->isConstant(); method["inputs"] = populateParameters(it.second->getParameterNames(), |