From 1b93db7863209dab8850a96bdb262cdbca688d85 Mon Sep 17 00:00:00 2001 From: kanedaaaa Date: Wed, 9 Mar 2022 18:35:14 +0100 Subject: [PATCH] doc: improve explanation of interfaces --- docs/contracts/interfaces.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contracts/interfaces.rst b/docs/contracts/interfaces.rst index a4581a15f..cc71cf64e 100644 --- a/docs/contracts/interfaces.rst +++ b/docs/contracts/interfaces.rst @@ -10,7 +10,7 @@ Interfaces are similar to abstract contracts, but they cannot have any functions There are further restrictions: - They cannot inherit from other contracts, but they can inherit from other interfaces. -- All declared functions must be external. +- All declared functions must be external in the interface, even if they are public in the contract. - They cannot declare a constructor. - They cannot declare state variables. - They cannot declare modifiers.