mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update contracts.rst
This commit is contained in:
parent
4bd96d9382
commit
1655f3b7bf
@ -932,10 +932,11 @@ encoding of the address of the library contract.
|
|||||||
|
|
||||||
Restrictions for libraries in comparison to contracts:
|
Restrictions for libraries in comparison to contracts:
|
||||||
|
|
||||||
- no state variables
|
- No state variables
|
||||||
- cannot inherit nor be inherited
|
- Cannot inherit nor be inherited
|
||||||
|
- Cannot recieve Ether
|
||||||
|
|
||||||
(these might be lifted at a later point)
|
(These might be lifted at a later point.)
|
||||||
|
|
||||||
.. index:: ! using for, library
|
.. index:: ! using for, library
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user