doc: improve explanation of interfaces

This commit is contained in:
kanedaaaa 2022-03-09 18:35:14 +01:00
parent a5a65eec9e
commit 1b93db7863

View File

@ -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.