aboutsummaryrefslogtreecommitdiffstats
path: root/docs/units-and-global-variables.rst
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-05-25 22:52:11 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-05-31 01:18:30 +0800
commit2d32041552bf135d9b24b49c8ed526215c82ffdc (patch)
tree64a533d4ff5738da53c88e52590642e0845a48f2 /docs/units-and-global-variables.rst
parenta29aaa3776f028d635307d6ef9a889ea3a01427d (diff)
downloaddexon-solidity-2d32041552bf135d9b24b49c8ed526215c82ffdc.tar.gz
dexon-solidity-2d32041552bf135d9b24b49c8ed526215c82ffdc.tar.zst
dexon-solidity-2d32041552bf135d9b24b49c8ed526215c82ffdc.zip
Named the global function parameters
Diffstat (limited to 'docs/units-and-global-variables.rst')
-rw-r--r--docs/units-and-global-variables.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst
index 594807c0..3dc87841 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -94,7 +94,7 @@ Mathematical and Cryptographic Functions
compute the SHA-256 hash of the (tightly packed) arguments
``ripemd160(...) returns (bytes20)``:
compute RIPEMD-160 hash of the (tightly packed) arguments
-``ecrecover(bytes32 data, uint8 v, bytes32 r, bytes32 s) returns (address)``:
+``ecrecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) returns (address)``:
recover the address associated with the public key from elliptic curve signature
In the above, "tightly packed" means that the arguments are concatenated without padding.
@@ -118,7 +118,7 @@ Address Related
``<address>.balance`` (``uint256``):
balance of the address in Wei
-``<address>.send(uint256) returns (bool)``:
+``<address>.send(uint256 amount) returns (bool)``:
send given amount of Wei to address, returns ``false`` on failure
.. warning::
@@ -134,7 +134,7 @@ Contract Related
``this`` (current contract's type):
the current contract, explicitly convertible to :ref:`address`
-``selfdestruct(address)``:
+``selfdestruct(address recipient)``:
destroy the current contract, sending its funds to the given :ref:`address`
Furthermore, all functions of the current contract are callable directly including the current function.