diff options
author | chriseth <c@ethdev.com> | 2016-11-10 00:51:28 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-11-16 21:37:18 +0800 |
commit | 746266b8fc9c94e1a21aa18ad646dda90643a1f7 (patch) | |
tree | 3c18fbd6a13528cf76bc704d8bed606c7c7c6846 /libsolidity/interface | |
parent | 08763a206d4391f94546ef32a1d0f1495eeb99e4 (diff) | |
download | dexon-solidity-746266b8fc9c94e1a21aa18ad646dda90643a1f7.tar.gz dexon-solidity-746266b8fc9c94e1a21aa18ad646dda90643a1f7.tar.zst dexon-solidity-746266b8fc9c94e1a21aa18ad646dda90643a1f7.zip |
ABI: Use external function.
Diffstat (limited to 'libsolidity/interface')
-rw-r--r-- | libsolidity/interface/InterfaceHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/interface/InterfaceHandler.cpp b/libsolidity/interface/InterfaceHandler.cpp index 5705856c..0f7b6c35 100644 --- a/libsolidity/interface/InterfaceHandler.cpp +++ b/libsolidity/interface/InterfaceHandler.cpp @@ -66,7 +66,7 @@ Json::Value InterfaceHandler::abiInterface(ContractDefinition const& _contractDe { Json::Value method; method["type"] = "constructor"; - auto externalFunction = FunctionType(*_contractDef.constructor()).interfaceFunctionType(); + auto externalFunction = FunctionType(*_contractDef.constructor(), false).interfaceFunctionType(); solAssert(!!externalFunction, ""); method["inputs"] = populateParameters( externalFunction->parameterNames(), @@ -76,7 +76,7 @@ Json::Value InterfaceHandler::abiInterface(ContractDefinition const& _contractDe } if (_contractDef.fallbackFunction()) { - auto externalFunctionType = FunctionType(*_contractDef.fallbackFunction()).interfaceFunctionType(); + auto externalFunctionType = FunctionType(*_contractDef.fallbackFunction(), false).interfaceFunctionType(); solAssert(!!externalFunctionType, ""); Json::Value method; method["type"] = "fallback"; |