From 821da895ea81167ded6d7f879b8793f9a3ba251e Mon Sep 17 00:00:00 2001 From: Evan Saulpaugh Date: Sun, 5 Feb 2023 16:13:23 -0600 Subject: [PATCH] specify "receive" as having no "name" --- docs/abi-spec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst index 35123a30a..44988c8dc 100644 --- a/docs/abi-spec.rst +++ b/docs/abi-spec.rst @@ -563,7 +563,7 @@ A function description is a JSON object with the fields: blockchain state `), ``view`` (:ref:`specified to not modify the blockchain state `), ``nonpayable`` (function does not accept Ether - the default) and ``payable`` (function accepts Ether). -Constructor and fallback function never have ``name`` or ``outputs``. Fallback function doesn't have ``inputs`` either. +Constructor, receive, and fallback never have ``name`` or ``outputs``. Receive and fallback don't have ``inputs`` either. .. note:: Sending non-zero Ether to non-payable function will revert the transaction.