mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adding const attribute to ABI output
This commit is contained in:
parent
59835e9df1
commit
d612bf1d17
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user