Skip to content

Commit e95901d

Browse files
authored
Merge pull request #4826 from fvictorio/patch-2
Add missing parentheses in units-and-global-variables.rst
2 parents 2ed793c + 4209953 commit e95901d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/units-and-global-variables.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ ABI Encoding and Decoding Functions
103103
- ``abi.encode(...) returns (bytes)``: ABI-encodes the given arguments
104104
- ``abi.encodePacked(...) returns (bytes)``: Performs :ref:`packed encoding <abi_packed_mode>` of the given arguments
105105
- ``abi.encodeWithSelector(bytes4 selector, ...) returns (bytes)``: ABI-encodes the given arguments starting from the second and prepends the given four-byte selector
106-
- ``abi.encodeWithSignature(string signature, ...) returns (bytes)``: Equivalent to ``abi.encodeWithSelector(bytes4(keccak256(bytes(signature)), ...)```
106+
- ``abi.encodeWithSignature(string signature, ...) returns (bytes)``: Equivalent to ``abi.encodeWithSelector(bytes4(keccak256(bytes(signature))), ...)```
107107

108108
.. note::
109109
These encoding functions can be used to craft data for function calls without actually

0 commit comments

Comments
 (0)