aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.cpp
diff options
context:
space:
mode:
authorarkpar <arkadiy@ethdev.com>2015-01-31 08:21:45 +0800
committerarkpar <arkadiy@ethdev.com>2015-01-31 08:21:45 +0800
commit54676604f535df0bc104684dc46818964b3e5728 (patch)
treee3dfe25a9296d141ac6dbd19a084d78470c47b53 /InterfaceHandler.cpp
parent06e846b45cedea57c55c7e8da0b77b76bab3bc80 (diff)
downloaddexon-solidity-54676604f535df0bc104684dc46818964b3e5728.tar.gz
dexon-solidity-54676604f535df0bc104684dc46818964b3e5728.tar.zst
dexon-solidity-54676604f535df0bc104684dc46818964b3e5728.zip
fixed ABI generator
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r--InterfaceHandler.cpp1
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(),