aboutsummaryrefslogtreecommitdiffstats
path: root/docs/miscellaneous.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-09 07:37:23 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-24 08:18:18 +0800
commita36e2ce0cbb7e1830e25dacd8d79f207c9bcca6a (patch)
tree42de13ab0c0d43e0809fc4a136fcb757b9f6fa92 /docs/miscellaneous.rst
parent81006dae98ee18c33994af0274de10857774ff70 (diff)
downloaddexon-solidity-a36e2ce0cbb7e1830e25dacd8d79f207c9bcca6a.tar.gz
dexon-solidity-a36e2ce0cbb7e1830e25dacd8d79f207c9bcca6a.tar.zst
dexon-solidity-a36e2ce0cbb7e1830e25dacd8d79f207c9bcca6a.zip
Document transfer()
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r--docs/miscellaneous.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 3c57507e..7b0305d5 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -465,8 +465,9 @@ Global Variables
- ``this`` (current contract's type): the current contract, explicitly convertible to ``address``
- ``super``: the contract one level higher in the inheritance hierarchy
- ``selfdestruct(address recipient)``: destroy the current contract, sending its funds to the given address
-- ``<address>.balance`` (``uint256``): balance of the address in Wei
-- ``<address>.send(uint256 amount) returns (bool)``: send given amount of Wei to address, returns ``false`` on failure
+- ``<address>.balance`` (``uint256``): balance of the :ref:`address` in Wei
+- ``<address>.send(uint256 amount) returns (bool)``: send given amount of Wei to :ref:`address`, returns ``false`` on failure
+- ``<address>.transfer(uint256 amount)``: send given amount of Wei to :ref:`address`, throws on failure
.. index:: visibility, public, private, external, internal