aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-09-06 16:59:13 +0800
committerchriseth <c@ethdev.com>2016-09-06 16:59:13 +0800
commitdff9633084ebc241d8268c5dbd35a0c5307fd6fc (patch)
tree023c638a4be2f60d2d0e8c7b9391664c0bdf68f1 /libsolidity
parent384f189a6adffa7b1879bb06ded4453ef5f00dcb (diff)
downloaddexon-solidity-dff9633084ebc241d8268c5dbd35a0c5307fd6fc.tar
dexon-solidity-dff9633084ebc241d8268c5dbd35a0c5307fd6fc.tar.gz
dexon-solidity-dff9633084ebc241d8268c5dbd35a0c5307fd6fc.tar.bz2
dexon-solidity-dff9633084ebc241d8268c5dbd35a0c5307fd6fc.tar.lz
dexon-solidity-dff9633084ebc241d8268c5dbd35a0c5307fd6fc.tar.xz
dexon-solidity-dff9633084ebc241d8268c5dbd35a0c5307fd6fc.tar.zst
dexon-solidity-dff9633084ebc241d8268c5dbd35a0c5307fd6fc.zip
Test and fixes for payable fallback in ABI.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/interface/InterfaceHandler.cpp1
1 files changed, 1 insertions, 0 deletions
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())