From dff9633084ebc241d8268c5dbd35a0c5307fd6fc Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 6 Sep 2016 10:59:13 +0200 Subject: Test and fixes for payable fallback in ABI. --- libsolidity/interface/InterfaceHandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libsolidity/interface') diff --git a/libsolidity/interface/InterfaceHandler.cpp b/libsolidity/interface/InterfaceHandler.cpp index a536b0bc..6e3ae78f 100644 --- a/libsolidity/interface/InterfaceHandler.cpp +++ b/libsolidity/interface/InterfaceHandler.cpp @@ -82,6 +82,7 @@ string InterfaceHandler::abiInterface(ContractDefinition const& _contractDef) Json::Value method; method["type"] = "fallback"; method["constant"] = externalFunctionType->isConstant(); + method["payable"] = externalFunctionType->isPayable(); abi.append(method); } for (auto const& it: _contractDef.interfaceEvents()) -- cgit v1.2.3