aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/CompilerStack.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-22 18:02:50 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-26 04:17:33 +0800
commit3fc7da11db2b03e63a66e22b72df2d18e534c4e9 (patch)
tree20ae9171a067566091a7320e03a8d48263565132 /libsolidity/interface/CompilerStack.h
parent0ac46090971aab21120875e0e55317e4bd2b397e (diff)
downloaddexon-solidity-3fc7da11db2b03e63a66e22b72df2d18e534c4e9.tar.gz
dexon-solidity-3fc7da11db2b03e63a66e22b72df2d18e534c4e9.tar.zst
dexon-solidity-3fc7da11db2b03e63a66e22b72df2d18e534c4e9.zip
Pull out createCBORMetadata helper
Diffstat (limited to 'libsolidity/interface/CompilerStack.h')
-rw-r--r--libsolidity/interface/CompilerStack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h
index 018c61ec..baaeafa0 100644
--- a/libsolidity/interface/CompilerStack.h
+++ b/libsolidity/interface/CompilerStack.h
@@ -295,6 +295,8 @@ private:
ContractDefinition const& contractDefinition(std::string const& _contractName) const;
std::string createMetadata(Contract const& _contract) const;
+ /// @returns the metadata CBOR for the given serialised metadata JSON.
+ static bytes createCBORMetadata(std::string _metadata, bool _experimentalMode);
std::string computeSourceMapping(eth::AssemblyItems const& _items) const;
Json::Value const& contractABI(Contract const&) const;
Json::Value const& natspecUser(Contract const&) const;