diff --git a/docs/cheatsheet.rst b/docs/cheatsheet.rst index 3a7d478b1..412678953 100644 --- a/docs/cheatsheet.rst +++ b/docs/cheatsheet.rst @@ -24,7 +24,7 @@ Global Variables - ``abi.encodeCall(function functionPointer, (...)) returns (bytes memory)``: ABI-encodes a call to ``functionPointer`` with the arguments found in the tuple. Performs a full type-check, ensuring the types match the function signature. Result equals ``abi.encodeWithSelector(functionPointer.selector, (...))`` - ``abi.encodeWithSignature(string memory signature, ...) returns (bytes memory)``: Equivalent - to ``abi.encodeWithSelector(bytes4(keccak256(bytes(signature)), ...)`` + to ``abi.encodeWithSelector(bytes4(keccak256(bytes(signature))), ...)`` - ``bytes.concat(...) returns (bytes memory)``: :ref:`Concatenates variable number of arguments to one byte array` - ``string.concat(...) returns (string memory)``: :ref:`Concatenates variable number of