Struct hpl_asset_assembler::accounts::AddBlock
source · pub struct AddBlock {Show 22 fields
pub assembler: Pubkey,
pub nft: Pubkey,
pub block: Pubkey,
pub block_definition: Pubkey,
pub token_mint: Pubkey,
pub token_account: Pubkey,
pub token_metadata: Pubkey,
pub token_edition: Option<Pubkey>,
pub token_record: Option<Pubkey>,
pub deposit_account: Option<Pubkey>,
pub deposit_token_record: Option<Pubkey>,
pub authority: Pubkey,
pub payer: Pubkey,
pub system_program: Pubkey,
pub token_program: Pubkey,
pub associated_token_program: Pubkey,
pub token_metadata_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub rent: Pubkey,
pub project: Pubkey,
pub delegate_authority: Option<Pubkey>,
pub vault: Pubkey,
}
Expand description
Generated client accounts for AddBlock
.
Fields§
§assembler: Pubkey
Assembler state account
nft: Pubkey
NFT account
block: Pubkey
Block account
block_definition: Pubkey
Block definition account
token_mint: Pubkey
Attribute token mint
token_account: Pubkey
Attribute token account
token_metadata: Pubkey
Attribute token metadata
token_edition: Option<Pubkey>
Attribute token edition
token_record: Option<Pubkey>
Attribute token record
deposit_account: Option<Pubkey>
The account that will hold the nft sent on expedition
deposit_token_record: Option<Pubkey>
Deposit token_record
The wallet that has pre mint authority over this NFT
payer: Pubkey
The wallet that pays for the rent
system_program: Pubkey
NATIVE SYSTEM PROGRAM
token_program: Pubkey
SPL TOKEN PROGRAM
associated_token_program: Pubkey
ASSOCIATED TOKEN PROGRAM
token_metadata_program: Pubkey
METAPLEX TOKEN METADATA PROGRAM
sysvar_instructions: Pubkey
NATIVE Instructions SYSVAR
rent: Pubkey
SYSVAR RENT
project: Pubkey
§vault: Pubkey
Trait Implementations§
source§impl BorshSerialize for AddBlockwhere
Pubkey: BorshSerialize,
Option<Pubkey>: BorshSerialize,
impl BorshSerialize for AddBlockwhere Pubkey: BorshSerialize, Option<Pubkey>: BorshSerialize,
source§impl ToAccountMetas for AddBlock
impl ToAccountMetas for AddBlock
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.Auto Trait Implementations§
impl RefUnwindSafe for AddBlock
impl Send for AddBlock
impl Sync for AddBlock
impl Unpin for AddBlock
impl UnwindSafe for AddBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more