aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorwbt <wbt@users.noreply.github.com>2018-03-12 22:02:24 +0800
committerchriseth <chris@ethereum.org>2018-03-12 22:02:24 +0800
commit7d206ba64ad4590b42aa9ea8d89145aff39c70e0 (patch)
tree5d7ea8ed3e0de5c94ffa49208b2b3f492e840d85 /docs
parentc6e9dd13bc34cd422c47ee7f8dd3832d9f00fdbe (diff)
downloaddexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.tar
dexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.tar.gz
dexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.tar.bz2
dexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.tar.lz
dexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.tar.xz
dexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.tar.zst
dexon-solidity-7d206ba64ad4590b42aa9ea8d89145aff39c70e0.zip
Noted `suicide` is deprecated (#3692)
According to the [changelog](https://github.com/ethereum/solidity/blob/b5e804b8caba0cc84514898323df91a025705177/Changelog.md), `suicide` was deprecated before 0.4.3 (after 0.2.0) and warning by 0.4.17.
Diffstat (limited to 'docs')
-rw-r--r--docs/miscellaneous.rst2
-rw-r--r--docs/units-and-global-variables.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 075b6be0..a7d5c445 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -341,7 +341,7 @@ 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
-- ``suicide(address recipient)``: an alias to ``selfdestruct``
+- ``suicide(address recipient)``: a deprecated alias to ``selfdestruct``
- ``<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
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst
index 1b58b1e8..d789e87f 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -183,7 +183,7 @@ Contract Related
destroy the current contract, sending its funds to the given :ref:`address`
``suicide(address recipient)``:
- alias to ``selfdestruct``
+ deprecated alias to ``selfdestruct``
Furthermore, all functions of the current contract are callable directly including the current function.