aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/StandardCompiler.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-07 01:02:56 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-19 22:57:36 +0800
commit4bf3cbb09a42131dba27b080a4917f30284959d3 (patch)
tree04623e38aee222c71192d42b132dc56a35fe621f /libsolidity/interface/StandardCompiler.cpp
parent8169e149c98b14861cc6467f9f796010f617c521 (diff)
downloaddexon-solidity-4bf3cbb09a42131dba27b080a4917f30284959d3.tar.gz
dexon-solidity-4bf3cbb09a42131dba27b080a4917f30284959d3.tar.zst
dexon-solidity-4bf3cbb09a42131dba27b080a4917f30284959d3.zip
Use CompilerStack.contractABI directly
Diffstat (limited to 'libsolidity/interface/StandardCompiler.cpp')
-rw-r--r--libsolidity/interface/StandardCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp
index 223cc15d..4eb52fc2 100644
--- a/libsolidity/interface/StandardCompiler.cpp
+++ b/libsolidity/interface/StandardCompiler.cpp
@@ -391,7 +391,7 @@ Json::Value StandardCompiler::compileInternal(Json::Value const& _input)
// ABI, documentation and metadata
Json::Value contractData(Json::objectValue);
- contractData["abi"] = m_compilerStack.metadata(contractName, DocumentationType::ABIInterface);
+ contractData["abi"] = m_compilerStack.contractABI(contractName);
contractData["metadata"] = m_compilerStack.onChainMetadata(contractName);
contractData["userdoc"] = m_compilerStack.metadata(contractName, DocumentationType::NatspecUser);
contractData["devdoc"] = m_compilerStack.metadata(contractName, DocumentationType::NatspecDev);