mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3543 from medvedev1088/feature/add-gas-details-to-documentation
Add gas forwarding details to address related functions in documentation
This commit is contained in:
commit
2a58b44b8b
@ -149,15 +149,15 @@ Address Related
|
|||||||
``<address>.balance`` (``uint256``):
|
``<address>.balance`` (``uint256``):
|
||||||
balance of the :ref:`address` in Wei
|
balance of the :ref:`address` in Wei
|
||||||
``<address>.transfer(uint256 amount)``:
|
``<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)``:
|
``<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)``:
|
``<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)``:
|
``<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)``:
|
``<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`.
|
For more information, see the section on :ref:`address`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user