diff options
Diffstat (limited to 'CompilerStack.h')
-rw-r--r-- | CompilerStack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CompilerStack.h b/CompilerStack.h index afc9a516..6b60f1dd 100644 --- a/CompilerStack.h +++ b/CompilerStack.h @@ -28,6 +28,7 @@ #include <memory> #include <boost/noncopyable.hpp> #include <libdevcore/Common.h> +#include <libdevcore/FixedHash.h> namespace dev { namespace solidity { @@ -104,6 +105,9 @@ public: /// scanning the source code - this is useful for printing exception information. static bytes staticCompile(std::string const& _sourceCode, bool _optimize = false); + /// Get the runtime context's code hash for a contract. LTODO + dev::h256 getContractCodeHash(std::string const& _contractName); + private: /** * Information pertaining to one source unit, filled gradually during parsing and compilation. |