> For the complete documentation index, see [llms.txt](https://docs.liquidcollective.io/eth/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.liquidcollective.io/eth/technical-reference/smart-contracts/libraries.md).

# Libraries

Internal Solidity libraries used across the protocol

Internal helper libraries. These are linked into the protocol contracts at compile time and expose no external ABI, so their reference pages are brief by design.

| Library                                                                                                | Purpose                                                                                            |
| ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- |
| [LibUnstructuredStorage](/eth/technical-reference/smart-contracts/libraries/libunstructuredstorage.md) | Read and write arbitrary storage slots — the basis of the protocol's unstructured storage pattern. |
| [LibBasisPoints](/eth/technical-reference/smart-contracts/libraries/libbasispoints.md)                 | Basis point constants and conversions used for fee math.                                           |
| [LibUint256](/eth/technical-reference/smart-contracts/libraries/libuint256.md)                         | Integer helpers such as `min`.                                                                     |
| [LibBytes](/eth/technical-reference/smart-contracts/libraries/libbytes.md)                             | Byte slicing used when parsing validator keys and signatures.                                      |
| [LibSanitize](/eth/technical-reference/smart-contracts/libraries/libsanitize.md)                       | Input validation for addresses and strings.                                                        |
| [LibErrors](/eth/technical-reference/smart-contracts/libraries/liberrors.md)                           | Shared error definitions.                                                                          |
| [LibAdministrable](/eth/technical-reference/smart-contracts/libraries/libadministrable.md)             | Storage helpers backing the admin role.                                                            |
| [LibAllowlistMasks](/eth/technical-reference/smart-contracts/libraries/liballowlistmasks.md)           | Bit masks for the Allowlist permission flags.                                                      |
