mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Link address-type and address-global methods
This commit is contained in:
parent
cb2a4df6e5
commit
9da7a4c17c
@ -72,6 +72,8 @@ Members of Addresses
|
|||||||
|
|
||||||
* ``balance`` and ``send``
|
* ``balance`` and ``send``
|
||||||
|
|
||||||
|
For a quick reference, see :ref:`balance` and :ref:`send`.
|
||||||
|
|
||||||
It is possible to query the balance of an address using the property ``balance``
|
It is possible to query the balance of an address using the property ``balance``
|
||||||
and to send Ether (in units of wei) to an address using the ``send`` function:
|
and to send Ether (in units of wei) to an address using the ``send`` function:
|
||||||
|
|
||||||
|
@ -121,6 +121,8 @@ Address Related
|
|||||||
``<address>.send(uint256 amount) returns (bool)``:
|
``<address>.send(uint256 amount) returns (bool)``:
|
||||||
send given amount of Wei to address, returns ``false`` on failure
|
send given amount of Wei to address, returns ``false`` on failure
|
||||||
|
|
||||||
|
For more information, see the section on :ref:`address`.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
Since it is possible for calls to ``send`` to fail, such as
|
Since it is possible for calls to ``send`` to fail, such as
|
||||||
if there are insufficient funds, it is good practice to
|
if there are insufficient funds, it is good practice to
|
||||||
|
Loading…
Reference in New Issue
Block a user