Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Read and write arbitrary storage slots β€” the basis of the protocol's unstructured storage pattern.

Basis point constants and conversions used for fee math.

Integer helpers such as min.

Byte slicing used when parsing validator keys and signatures.

Input validation for addresses and strings.

Shared error definitions.

Storage helpers backing the admin role.

Bit masks for the Allowlist permission flags.

Last updated