Adding const attribute to ABI output

This commit is contained in:
Lefteris Karapetsas 2014-12-19 10:48:59 +01:00
parent 59835e9df1
commit d612bf1d17

View File

@ -56,6 +56,7 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio
};
method["name"] = f->getName();
method["const"] = f->isDeclaredConst();
method["inputs"] = populateParameters(f->getParameters());
method["outputs"] = populateParameters(f->getReturnParameters());
methods.append(method);