aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-06-06 06:45:47 +0800
committerchriseth <c@ethdev.com>2015-06-06 06:45:47 +0800
commitb51ef4a357b4b60fc01038b0e97280fb9ecca01e (patch)
tree729b53241b687f435209b6f45d3aa3b0faf5dce9 /Types.cpp
parent779e793d60f2076fbd35b34f0c2073e92c058eef (diff)
parent651d755e562dc8b5bc12e42b0b808ff1046f5d43 (diff)
downloaddexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar
dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.gz
dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.bz2
dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.lz
dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.xz
dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.zst
dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.zip
Merge pull request #2096 from chriseth/sol_constantFallback
Fallback takes constant amount of gas, and send no gas with send.
Diffstat (limited to 'Types.cpp')
-rw-r--r--Types.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Types.cpp b/Types.cpp
index 03e8e4ee..1316bbc3 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -317,9 +317,9 @@ TypePointer IntegerType::binaryOperatorResult(Token::Value _operator, TypePointe
const MemberList IntegerType::AddressMemberList({
{"balance", make_shared<IntegerType >(256)},
- {"call", make_shared<FunctionType>(strings(), strings(), FunctionType::Location::Bare, true)},
- {"callcode", make_shared<FunctionType>(strings(), strings(), FunctionType::Location::BareCallCode, true)},
- {"send", make_shared<FunctionType>(strings{"uint"}, strings{}, FunctionType::Location::Send)}
+ {"call", make_shared<FunctionType>(strings(), strings{"bool"}, FunctionType::Location::Bare, true)},
+ {"callcode", make_shared<FunctionType>(strings(), strings{"bool"}, FunctionType::Location::BareCallCode, true)},
+ {"send", make_shared<FunctionType>(strings{"uint"}, strings{"bool"}, FunctionType::Location::Send)}
});
IntegerConstantType::IntegerConstantType(Literal const& _literal)