aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-16 04:23:58 +0800
committerGitHub <noreply@github.com>2018-08-16 04:23:58 +0800
commite95901d86103a75ac1eebcf8b497432282da275c (patch)
tree66d9f826aae3e1be4a07ada912582933ba852fe6 /docs
parent2ed793c4d345de909332651145265a21a04e92d1 (diff)
parent4209953b37f44e8fec66d3a5b3113a29c9db85b0 (diff)
downloaddexon-solidity-e95901d86103a75ac1eebcf8b497432282da275c.tar
dexon-solidity-e95901d86103a75ac1eebcf8b497432282da275c.tar.gz
dexon-solidity-e95901d86103a75ac1eebcf8b497432282da275c.tar.bz2
dexon-solidity-e95901d86103a75ac1eebcf8b497432282da275c.tar.lz
dexon-solidity-e95901d86103a75ac1eebcf8b497432282da275c.tar.xz
dexon-solidity-e95901d86103a75ac1eebcf8b497432282da275c.tar.zst
dexon-solidity-e95901d86103a75ac1eebcf8b497432282da275c.zip
Merge pull request #4826 from fvictorio/patch-2
Add missing parentheses in units-and-global-variables.rst
Diffstat (limited to 'docs')
-rw-r--r--docs/units-and-global-variables.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst
index ceabee4e..2c571a45 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -103,7 +103,7 @@ ABI Encoding and Decoding Functions
- ``abi.encode(...) returns (bytes)``: ABI-encodes the given arguments
- ``abi.encodePacked(...) returns (bytes)``: Performs :ref:`packed encoding <abi_packed_mode>` of the given arguments
- ``abi.encodeWithSelector(bytes4 selector, ...) returns (bytes)``: ABI-encodes the given arguments starting from the second and prepends the given four-byte selector
-- ``abi.encodeWithSignature(string signature, ...) returns (bytes)``: Equivalent to ``abi.encodeWithSelector(bytes4(keccak256(bytes(signature)), ...)```
+- ``abi.encodeWithSignature(string signature, ...) returns (bytes)``: Equivalent to ``abi.encodeWithSelector(bytes4(keccak256(bytes(signature))), ...)```
.. note::
These encoding functions can be used to craft data for function calls without actually