Work in prgress for creating natspec in alethzero at contract creation

This commit is contained in:
Lefteris Karapetsas
2015-01-12 15:38:58 +01:00
parent 24a2335c01
commit c5d14ce933
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -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.