From 55eda85a302e477519a3ae3ed5a3baf75d8a4be1 Mon Sep 17 00:00:00 2001 From: Alexander Arlt Date: Fri, 24 Apr 2020 08:06:15 -0500 Subject: [PATCH] docs/cheatsheet.rst: Add ``type(I).interfaceId`` description. --- docs/cheatsheet.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/cheatsheet.rst b/docs/cheatsheet.rst index 26d7480b9..5d6169a48 100644 --- a/docs/cheatsheet.rst +++ b/docs/cheatsheet.rst @@ -121,6 +121,7 @@ Global Variables - ``type(C).name`` (``string``): the name of the contract - ``type(C).creationCode`` (``bytes memory``): creation bytecode of the given contract, see :ref:`Type Information`. - ``type(C).runtimeCode`` (``bytes memory``): runtime bytecode of the given contract, see :ref:`Type Information`. +- ``type(I).interfaceId`` (``bytes4``): value containing the EIP-165 interface identifier of the given interface, see :ref:`Type Information`. .. note:: Do not rely on ``block.timestamp``, ``now`` and ``blockhash`` as a source of randomness,