package com.r35157.libs.solana;

import java.math.BigDecimal;

/**
 * Represents the total supply of an SPL token mint.
 *
 * <p>The supply is represented both as a UI amount and as the raw on-chain amount,
 * together with the number of decimals used by the token mint.</p>
 *
 * @param mintAddress the SPL mint address whose supply was fetched
 * @param uiAmount the human-readable token supply
 * @param rawAmount the raw on-chain token supply before decimal conversion
 * @param decimals the number of decimals used by the token mint
 * @param programId the SPL token program id for the mint
 */
public record SPLTokenSupply(
        ΩSPLMintAddressΩ mintAddress,
        ΩAmountΩ uiAmount,
        ΩRawAmountΩ rawAmount,
        ΩamountDecimalsΩ decimals,
        ΩSPLProgramIdΩ programId
) {
}