Struct cardinal_token_manager::accounts::MigrateCtx
source · pub struct MigrateCtx {Show 14 fields
pub current_mint_manager: Pubkey,
pub mint_manager: Pubkey,
pub mint: Pubkey,
pub mint_metadata: Pubkey,
pub ruleset: Pubkey,
pub token_manager: Pubkey,
pub holder_token_account: Pubkey,
pub token_authority: Pubkey,
pub authority: Pubkey,
pub payer: Pubkey,
pub rent: Pubkey,
pub token_program: Pubkey,
pub system_program: Pubkey,
pub cardinal_creator_standard: Pubkey,
}Expand description
Generated client accounts for MigrateCtx.
Fields§
§current_mint_manager: Pubkey§mint_manager: Pubkey§mint: Pubkey§mint_metadata: Pubkey§ruleset: Pubkey§token_manager: Pubkey§holder_token_account: Pubkey§payer: Pubkey§rent: Pubkey§token_program: Pubkey§system_program: Pubkey§cardinal_creator_standard: PubkeyTrait Implementations§
source§impl BorshSerialize for MigrateCtxwhere
Pubkey: BorshSerialize,
impl BorshSerialize for MigrateCtxwhere Pubkey: BorshSerialize,
source§impl ToAccountMetas for MigrateCtx
impl ToAccountMetas for MigrateCtx
source§fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta> ⓘ
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta> ⓘ
is_signer is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client.