diff options
author | Gav Wood <i@gavwood.com> | 2015-01-09 07:22:06 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-01-09 07:22:06 +0800 |
commit | ffce12b7ee412cbd29dd0873a3e894dd7133ca4e (patch) | |
tree | 867881a37367a42b910a6182499054d8ae127170 /CompilerStack.h | |
parent | d18fa27b6a48540298e835ad324152566586c65c (diff) | |
download | dexon-solidity-ffce12b7ee412cbd29dd0873a3e894dd7133ca4e.tar.gz dexon-solidity-ffce12b7ee412cbd29dd0873a3e894dd7133ca4e.tar.zst dexon-solidity-ffce12b7ee412cbd29dd0873a3e894dd7133ca4e.zip |
Basic logging in Solidity (though no tests yet).
Diffstat (limited to 'CompilerStack.h')
-rw-r--r-- | CompilerStack.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CompilerStack.h b/CompilerStack.h index e7143b7b..d6378ea1 100644 --- a/CompilerStack.h +++ b/CompilerStack.h @@ -43,7 +43,8 @@ enum class DocumentationType: uint8_t { NATSPEC_USER = 1, NATSPEC_DEV, - ABI_INTERFACE + ABI_INTERFACE, + ABI_SOLIDITY_INTERFACE }; /** @@ -81,6 +82,9 @@ public: /// Returns a string representing the contract interface in JSON. /// Prerequisite: Successful call to parse or compile. std::string const& getInterface(std::string const& _contractName = "") const; + /// Returns a string representing the contract interface in JSON. + /// Prerequisite: Successful call to parse or compile. + std::string const& getSolidityInterface(std::string const& _contractName = "") const; /// Returns a string representing the contract's documentation in JSON. /// Prerequisite: Successful call to parse or compile. /// @param type The type of the documentation to get. @@ -118,6 +122,7 @@ private: bytes bytecode; std::shared_ptr<InterfaceHandler> interfaceHandler; mutable std::unique_ptr<std::string const> interface; + mutable std::unique_ptr<std::string const> solidityInterface; mutable std::unique_ptr<std::string const> userDocumentation; mutable std::unique_ptr<std::string const> devDocumentation; |