diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-10 00:02:39 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-12 22:38:58 +0800 |
commit | c5d14ce933e3f1d4814c73cbb6d7fe7062caaa06 (patch) | |
tree | 2505714e9397a128856b6f9793a63f2df62af7d7 /CompilerStack.h | |
parent | 24a2335c01fa2d0baeda97b795a9bf8b05b6529d (diff) | |
download | dexon-solidity-c5d14ce933e3f1d4814c73cbb6d7fe7062caaa06.tar.gz dexon-solidity-c5d14ce933e3f1d4814c73cbb6d7fe7062caaa06.tar.zst dexon-solidity-c5d14ce933e3f1d4814c73cbb6d7fe7062caaa06.zip |
Work in prgress for creating natspec in alethzero at contract creation
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. |