From a6ed6f85c0de53c32e13d5b629e28ae20ce83428 Mon Sep 17 00:00:00 2001 From: Qi He Date: Tue, 1 Aug 2023 16:32:50 +0800 Subject: [PATCH] docs: fix incomplete member of address in cheatsheet.rst --- docs/cheatsheet.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/cheatsheet.rst b/docs/cheatsheet.rst index a60d3b50f..074a72420 100644 --- a/docs/cheatsheet.rst +++ b/docs/cheatsheet.rst @@ -46,6 +46,12 @@ Members of ``address`` - ``
.balance`` (``uint256``): balance of the :ref:`address` in Wei - ``
.code`` (``bytes memory``): code at the :ref:`address` (can be empty) - ``
.codehash`` (``bytes32``): the codehash of the :ref:`address` +- ``
.call(bytes memory) returns (bool, bytes memory)``: issue low-level ``CALL`` with the given payload implemented by :ref:`address`, + returns success condition and return data +- ``
.delegatecall(bytes memory) returns (bool, bytes memory)``: issue low-level ``DELEGATECALL`` with the given payload implemented by :ref:`address`, + returns success condition and return data +- ``
.staticcall(bytes memory) returns (bool, bytes memory)``: issue low-level ``STATICCALL`` with the given payload implemented by :ref:`address`, + returns success condition and return data - ``
.send(uint256 amount) returns (bool)``: send given amount of Wei to :ref:`address`, returns ``false`` on failure - ``
.transfer(uint256 amount)``: send given amount of Wei to :ref:`address`, throws on failure