mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixed ABI generator
This commit is contained in:
parent
06e846b45c
commit
54676604f5
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user