The Technical Standard v1
https://github.com/cardinal-labs/cardinal-creator-standard
mint-manager
u8
Pubkey
Pubkey
u8
Pubkey
boolean
Vec<Pubkey>
Vec<Pubkey>
TokenKeg
to mint with freeze-authority and mint_authority to token-managerctx.program_id
and data discriminator is pre_transfer
ctx.program_id
and data discriminator is post_transfer
target
is not in the disallowed programs listtarget
is not in the disallowed programs listtarget
is not in the disallowed programs listbalance_check
account
Vec<BalanceCheck>
u8
so we can distinguish different kinds of token accounts - maybe different arrays entirely?PublicKey
Pubkey::Default
for solu64
all_accounts_all_intstructions
pre_instruction_accounts
all_accounts_all_intstructions
set are in the pre_instruction_accounts
setpre_instruction_accounts
and store a balance of SOL
TokenKeg
and it deserializes to a token account, store another entry for that token account balancepre_transfer
that all accounts are included and stored in balance_check
PDA ——— we need a way to determine which balanced_check
account this isbalance_check
PDA, compute the difference in balance