mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
doc: improve explanation of interfaces
This commit is contained in:
parent
a5a65eec9e
commit
1b93db7863
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user