Skip to content

Commit 356c83a

Browse files
authored
Merge pull request #12763 from kanedaaaa/develop
doc: improve explanation of interfaces
2 parents eff76f0 + 1b93db7 commit 356c83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/contracts/interfaces.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Interfaces are similar to abstract contracts, but they cannot have any functions
1010
There are further restrictions:
1111

1212
- They cannot inherit from other contracts, but they can inherit from other interfaces.
13-
- All declared functions must be external.
13+
- All declared functions must be external in the interface, even if they are public in the contract.
1414
- They cannot declare a constructor.
1515
- They cannot declare state variables.
1616
- They cannot declare modifiers.

0 commit comments

Comments
 (0)