aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/CompilerStack.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-10 17:54:23 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-19 23:11:03 +0800
commit12328b784875bad30156a2c66912652f89fa8222 (patch)
tree629e9c5ad054dae8dd83ce862d6efaeecccf7571 /libsolidity/interface/CompilerStack.h
parent4bf3cbb09a42131dba27b080a4917f30284959d3 (diff)
downloaddexon-solidity-12328b784875bad30156a2c66912652f89fa8222.tar.gz
dexon-solidity-12328b784875bad30156a2c66912652f89fa8222.tar.zst
dexon-solidity-12328b784875bad30156a2c66912652f89fa8222.zip
Split ABI out of InterfaceHandler
Diffstat (limited to 'libsolidity/interface/CompilerStack.h')
-rw-r--r--libsolidity/interface/CompilerStack.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h
index e98c3b82..dd8d671e 100644
--- a/libsolidity/interface/CompilerStack.h
+++ b/libsolidity/interface/CompilerStack.h
@@ -66,8 +66,7 @@ class DeclarationContainer;
enum class DocumentationType: uint8_t
{
NatspecUser = 1,
- NatspecDev,
- ABIInterface
+ NatspecDev
};
/**
@@ -230,7 +229,7 @@ private:
eth::LinkerObject runtimeObject;
eth::LinkerObject cloneObject;
std::string onChainMetadata; ///< The metadata json that will be hashed into the chain.
- mutable std::unique_ptr<Json::Value const> interface;
+ mutable std::unique_ptr<Json::Value const> abi;
mutable std::unique_ptr<Json::Value const> userDocumentation;
mutable std::unique_ptr<Json::Value const> devDocumentation;
mutable std::unique_ptr<std::string const> sourceMapping;
@@ -267,6 +266,7 @@ private:
std::string createOnChainMetadata(Contract const& _contract) const;
std::string computeSourceMapping(eth::AssemblyItems const& _items) const;
+ Json::Value const& contractABI(Contract const&) const;
Json::Value const& metadata(Contract const&, DocumentationType _type) const;
struct Remapping