Structs§
- Base
Mint - SPL-compatible base mint structure with padding for COption alignment
- Mint
- Mint
Config - Configuration for creating a new Mint via ZeroCopyNew
- Mint
Metadata - Light Protocol-specific metadata for compressed mints.
- Mint
Zero Copy Meta Config - ZMint
- Zero-copy view of Mint with base and optional extensions
- ZMint
Metadata - ZMint
Metadata Meta - ZMint
Metadata Meta Mut - ZMint
Metadata Mut - ZMint
Mut - Mutable zero-copy view of Mint with base and optional extensions
- ZMint
Zero Copy Meta - ZMint
Zero Copy Meta Meta - ZMint
Zero Copy Meta Meta Mut - ZMint
Zero Copy Meta Mut
Constants§
- ACCOUNT_
TYPE_ MINT - AccountType::Mint discriminator value
- BASE_
MINT_ ACCOUNT_ SIZE - Base size for Mint accounts (without extensions)
- MINT_
MIN_ SIZE_ WITH_ COMPRESSION - Minimum size for Mint with CompressionInfo. 166 (offset to CompressionInfo) + 96 (CompressionInfo size) = 262
Functions§
- mint_
top_ up_ lamports_ from_ slice - Calculate top-up lamports directly from Mint account bytes. Returns None if account is not a valid Mint.