aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-20 06:16:36 +0800
committerGitHub <noreply@github.com>2018-02-20 06:16:36 +0800
commit2a58b44b8bdb802747ea6b908350cfb61dc75bb9 (patch)
treeb010cf75704131ac20655a16d217980e43f0bd71 /docs
parente54ea93e4084e6ad36232b1741c8156c176a9296 (diff)
parentbce545c990996830d5afb7322651f1cf16f3fbe0 (diff)
downloaddexon-solidity-2a58b44b8bdb802747ea6b908350cfb61dc75bb9.tar.gz
dexon-solidity-2a58b44b8bdb802747ea6b908350cfb61dc75bb9.tar.zst
dexon-solidity-2a58b44b8bdb802747ea6b908350cfb61dc75bb9.zip
Merge pull request #3543 from medvedev1088/feature/add-gas-details-to-documentation
Add gas forwarding details to address related functions in documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/units-and-global-variables.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst
index 8f49c600..cc4d4446 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -149,15 +149,15 @@ Address Related
``<address>.balance`` (``uint256``):
balance of the :ref:`address` in Wei
``<address>.transfer(uint256 amount)``:
- send given amount of Wei to :ref:`address`, throws on failure
+ send given amount of Wei to :ref:`address`, throws on failure, forwards 2300 gas stipend, not adjustable
``<address>.send(uint256 amount) returns (bool)``:
- send given amount of Wei to :ref:`address`, returns ``false`` on failure
+ send given amount of Wei to :ref:`address`, returns ``false`` on failure, forwards 2300 gas stipend, not adjustable
``<address>.call(...) returns (bool)``:
- issue low-level ``CALL``, returns ``false`` on failure
+ issue low-level ``CALL``, returns ``false`` on failure, forwards all available gas, adjustable
``<address>.callcode(...) returns (bool)``:
- issue low-level ``CALLCODE``, returns ``false`` on failure
+ issue low-level ``CALLCODE``, returns ``false`` on failure, forwards all available gas, adjustable
``<address>.delegatecall(...) returns (bool)``:
- issue low-level ``DELEGATECALL``, returns ``false`` on failure
+ issue low-level ``DELEGATECALL``, returns ``false`` on failure, forwards all available gas, adjustable
For more information, see the section on :ref:`address`.