pub fn format_mint_action(
data: &MintActionCompressedInstructionData,
accounts: &[AccountMeta],
) -> StringExpand description
Format MintAction instruction data with resolved pubkeys.
This formatter provides a human-readable view of the mint action instruction, resolving account indices to actual pubkeys from the instruction accounts.
Mode detection:
- CPI context write mode (cpi_context.set_context || first_set_context): Shows raw indices
- Direct mode: Resolves packed account indices using dynamically calculated start position