aboutsummaryrefslogtreecommitdiffstats
path: root/docs/miscellaneous.rst
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-05-13 22:23:20 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-05-19 05:17:05 +0800
commita8164eb5d72f01b44d5c83ce1b0d9650dc54b04c (patch)
tree95773daa6e1fffcfefbd071cfce5d7dfecdc4af4 /docs/miscellaneous.rst
parent5903ca451fccca457057a380b855793791a09b02 (diff)
downloaddexon-solidity-a8164eb5d72f01b44d5c83ce1b0d9650dc54b04c.tar.gz
dexon-solidity-a8164eb5d72f01b44d5c83ce1b0d9650dc54b04c.tar.zst
dexon-solidity-a8164eb5d72f01b44d5c83ce1b0d9650dc54b04c.zip
Corrected documentation for ecrecover
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r--docs/miscellaneous.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 19fbe85c..de046c6d 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -170,7 +170,7 @@ Global Variables
- `sha3(...) returns (bytes32)`: compute the Ethereum-SHA3 hash of the (tightly packed) arguments
- `sha256(...) returns (bytes32)`: compute the SHA256 hash of the (tightly packed) arguments
- `ripemd160(...) returns (bytes20)`: compute RIPEMD of 256 the (tightly packed) arguments
-- `ecrecover(bytes32, uint8, bytes32, bytes32) returns (address)`: recover public key from elliptic curve signature
+- `ecrecover(bytes32, uint8, bytes32, bytes32) returns (address)`: recover address associated with the public key from elliptic curve signature
- `addmod(uint x, uint y, uint k) returns (uint)`: compute `(x + y) % k` where the addition is performed with arbitrary precision and does not wrap around at `2**256`.
- `mulmod(uint x, uint y, uint k) returns (uint)`: compute `(x * y) % k` where the multiplication is performed with arbitrary precision and does not wrap around at `2**256`.
- `this` (current contract's type): the current contract, explicitly convertible to `address`