diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-05-25 22:22:31 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-05-31 01:18:29 +0800 |
commit | 2667874587b831fce36fc12b60a6b6588dfc463b (patch) | |
tree | bf9b61b60219e9a198db8c0d7f87e875e619e7b0 | |
parent | c0e10b1cf07d0ae5414ede6d66961fb87e832f64 (diff) | |
download | dexon-solidity-2667874587b831fce36fc12b60a6b6588dfc463b.tar.gz dexon-solidity-2667874587b831fce36fc12b60a6b6588dfc463b.tar.zst dexon-solidity-2667874587b831fce36fc12b60a6b6588dfc463b.zip |
Removed ending periods for consistency
-rw-r--r-- | docs/miscellaneous.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index 5e9c1375..01a7a04c 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -175,13 +175,13 @@ Global Variables - ``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 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``. +- ``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`` - ``super``: the contract one level higher in the inheritance hierarchy - ``selfdestruct(address)``: destroy the current contract, sending its funds to the given address - ``<address>.balance`` (``uint256``): balance of the address in Wei -- ``<address>.send(uint256) returns (bool)``: send given amount of Wei to address, returns ``false`` on failure. +- ``<address>.send(uint256) returns (bool)``: send given amount of Wei to address, returns ``false`` on failure .. index:: visibility, public, private, external, internal |