Skip to main content

carbon-marginfi-v2

Étoiles2
Forks0
Mis à jour2 juin 2026 à 18:27

Carbon decoder reference for Marginfi v2 (lending) on Solana — program `MFv2hWf31Z9kbCa1snEPYctwafyhdvnV7FZnsebVacA`, crate `carbon-marginfi-v2-decoder` (24 instructions, 3 account types, 14 CPI events). Use when decoding, indexing, or analyzing this program with Carbon: looking up instruction args/discriminators/accounts, account struct fields, or CPI event schemas. Run the bundled `scripts/carbon.py` to extract details from the local cargo cache. Triggers on "Marginfi V2", "marginfi-v2", "carbon-marginfi-v2-decoder", "MFv2hWf31Z9kbCa1snEPYctwafyhdvnV7FZnsebVacA", "MarginfiV2Decoder", "Marginfi v2 (lending)", "LendingAccountBorrow", "LendingAccountCloseBalance", "LendingAccountDeposit", "LendingAccountEndFlashloan", "LendingAccountLiquidate", "LendingAccountRepay", "LendingAccountBorrowEvent", "LendingAccountDepositEvent", "LendingAccountLiquidateEvent", "LendingAccountRepayEvent", "Bank", "MarginfiAccount", "MarginfiGroup".

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

SKILL.md
readonly