### Install Solmate with Foundry Source: https://github.com/transmissions11/solmate/blob/main/README.md Instructions to install the Solmate library using the Foundry smart contract development framework's `forge install` command. This command fetches the Solmate repository directly into your Foundry project's dependencies. ```Shell forge install transmissions11/solmate ``` -------------------------------- ### Install Solmate with Hardhat or Truffle Source: https://github.com/transmissions11/solmate/blob/main/README.md Instructions to install the Solmate library as an npm package, suitable for use with JavaScript-based smart contract development environments like Hardhat or Truffle. This command adds Solmate to your project's `node_modules` directory. ```Shell npm install solmate ``` -------------------------------- ### Solmate Contract Overview Source: https://github.com/transmissions11/solmate/blob/main/README.md A hierarchical overview of the Solmate smart contract modules, categorizing them by functionality such as authorization, tokens, and utilities, along with a brief description of each contract's purpose. This serves as a structural API documentation for the library's components. ```APIDOC auth ├─ Owned — "Simple single owner authorization" ├─ Auth — "Flexible and updatable auth pattern" ├─ authorities │ ├─ RolesAuthority — "Role based Authority that supports up to 256 roles" │ ├─ MultiRolesAuthority — "Flexible and target agnostic role based Authority" tokens ├─ WETH — "Minimalist and modern Wrapped Ether implementation" ├─ ERC20 — "Modern and gas efficient ERC20 + EIP-2612 implementation" ├─ ERC721 — "Modern, minimalist, and gas efficient ERC721 implementation" ├─ ERC1155 — "Minimalist and gas efficient standard ERC1155 implementation" ├─ ERC4626 — "Minimal ERC4626 tokenized Vault implementation" ├─ ERC6909 — "Minimalist and gas efficient standard ERC6909 implementation" utils ├─ SSTORE2 — "Library for cheaper reads and writes to persistent storage" ├─ CREATE3 — "Deploy to deterministic addresses without an initcode factor" ├─ LibString — "Library for creating string representations of uint values" ├─ SafeCastLib — "Safe unsigned integer casting lib that reverts on overflow" ├─ SignedWadMath — "Signed integer 18 decimal fixed point arithmetic library" ├─ MerkleProofLib — "Efficient merkle tree inclusion proof verification library" ├─ ReentrancyGuard — "Gas optimized reentrancy protection for smart contracts" ├─ FixedPointMathLib — "Arithmetic library with operations for fixed-point numbers" ├─ Bytes32AddressLib — "Library for converting between addresses and bytes32 values" ├─ SafeTransferLib — "Safe ERC20/ETH transfer lib that handles missing return values" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.