packages/contracts-core/contracts/libs/README.md
# Libraries
This directory contains the source code of the libraries used by the contracts.
## Directory structure
<pre>
libs
├──<a href="./memory">memory</a> Libraries for dealing with formatted payloads stored in memory.
├──<a href="./merkle">merkle</a> Libraries for dealing with Merkle trees.
├──<a href="./stack">stack</a> Libraries for dealing with formatted payloads stored on stack.
├<a href="./Constants.sol">Constants.sol</a> Common constants used by the messaging contracts.
├<a href="./Errors.sol">Errors.sol</a> Error codes used by the messaging contracts.
├<a href="./Structures.sol">Structures.sol</a> Common structures used by the messaging contracts.
└<a href="./TypeCasts.sol">TypeCasts.sol</a> Library for converting between different types.
</pre>