Fixes and additional checks for Natspec Popup authentication

This commit is contained in:
Lefteris Karapetsas
2015-01-14 16:49:09 +01:00
parent ac8ad058cf
commit a78794e872
2 changed files with 5 additions and 26 deletions
+3 -6
View File
@@ -76,11 +76,11 @@ public:
/// @returns the compiled bytecode
bytes const& compile(std::string const& _sourceCode, bool _optimize = false);
/// Gets the assembled bytecode for a contract
/// @returns the assembled bytecode for a contract.
bytes const& getBytecode(std::string const& _contractName = "") const;
/// Get the runtime context's bytecode for a contract
/// @returns the runtime context's bytecode for a contract.
bytes const& getRuntimeBytecode(std::string const& _contractName = "") const;
/// Get the runtime context's code hash for a contract
/// @returns the runtime bytecode for the contract, i.e. the code that is returned by the constructor.
dev::h256 getContractCodeHash(std::string const& _contractName = "") const;
/// Streams a verbose version of the assembly to @a _outStream.
@@ -99,9 +99,6 @@ public:
/// Can be one of 4 types defined at @c DocumentationType
std::string const& getMetadata(std::string const& _contractName, DocumentationType _type) const;
/// Convenience function to return all contract method hashes in a string
std::string const getFunctionHashes(std::string const& _contractName = "");
/// @returns the previously used scanner, useful for counting lines during error reporting.
Scanner const& getScanner(std::string const& _sourceName = "") const;
/// @returns the parsed source unit with the supplied name.