Add event and error identifiers to cli hashes cmd

This commit is contained in:
joshieDo
2022-02-08 17:44:21 +01:00
committed by Marenz
parent 5c3bcb6c2d
commit 9e62f21b25
7 changed files with 109 additions and 2 deletions
+6
View File
@@ -330,6 +330,12 @@ public:
/// @returns a JSON representing a map of method identifiers (hashes) to function names.
Json::Value methodIdentifiers(std::string const& _contractName) const;
/// @returns a JSON representing a map of error identifiers (hashes) to error names.
Json::Value errorIdentifiers(std::string const& _contractName) const;
/// @returns a JSON representing a map of event identifiers (hashes) to event names.
Json::Value eventIdentifiers(std::string const& _contractName) const;
/// @returns the Contract Metadata matching the pipeline selected using the viaIR setting.
std::string const& metadata(std::string const& _contractName) const { return metadata(contract(_contractName)); }