fixed ABI generator

This commit is contained in:
arkpar 2015-01-31 01:21:45 +01:00
parent 06e846b45c
commit 54676604f5

View File

@ -59,6 +59,7 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio
} }
return params; return params;
}; };
method["type"] = "function";
method["name"] = it.second->getDeclaration().getName(); method["name"] = it.second->getDeclaration().getName();
method["constant"] = it.second->isConstant(); method["constant"] = it.second->isConstant();
method["inputs"] = populateParameters(it.second->getParameterNames(), method["inputs"] = populateParameters(it.second->getParameterNames(),