diff options
author | Evgeny Medvedev <evgeny@kitchenup.com> | 2018-02-19 00:43:09 +0800 |
---|---|---|
committer | Evgeny Medvedev <evgeny@kitchenup.com> | 2018-02-19 00:43:09 +0800 |
commit | bfcf4a86c320a2e2a606b17137909a44d46211a5 (patch) | |
tree | 676895a74f32507ff575eb2f8ad2cbbe26117928 | |
parent | 060b2c2b23da99836eb54dc30eb7d870016bcb7a (diff) | |
download | dexon-solidity-bfcf4a86c320a2e2a606b17137909a44d46211a5.tar.gz dexon-solidity-bfcf4a86c320a2e2a606b17137909a44d46211a5.tar.zst dexon-solidity-bfcf4a86c320a2e2a606b17137909a44d46211a5.zip |
Add gas forwarding details to address related functions in units-and-global-variables.rst
-rw-r--r-- | docs/units-and-global-variables.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index 7af97376..66a4b4a9 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -154,15 +154,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 ``<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 ``<address>.call(...) returns (bool)``: - issue low-level ``CALL``, returns ``false`` on failure + issue low-level ``CALL``, returns ``false`` on failure, forwards all available gas ``<address>.callcode(...) returns (bool)``: - issue low-level ``CALLCODE``, returns ``false`` on failure + issue low-level ``CALLCODE``, returns ``false`` on failure, forwards all available gas ``<address>.delegatecall(...) returns (bool)``: - issue low-level ``DELEGATECALL``, returns ``false`` on failure + issue low-level ``DELEGATECALL``, returns ``false`` on failure, forwards all available gas For more information, see the section on :ref:`address`. |