> For the complete documentation index, see [llms.txt](https://docs.eridian.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eridian.xyz/ethereum-dev/solidity-notes/library.md).

# Library

* Can't have state variables.
* Can't send ETH.
* All functions must be internal.
* Library functions can be called directly if they do not modify the state.
  * That means pure or view functions only can be called from outside the library.
* Library can not be destroyed as it is assumed to be stateless.
* A Library cannot inherit any element.
* A Library cannot be inherited.
