Struct mpl_bubblegum::accounts::Delegate
source · pub struct Delegate {
pub tree_authority: Pubkey,
pub leaf_owner: Pubkey,
pub previous_leaf_delegate: Pubkey,
pub new_leaf_delegate: Pubkey,
pub merkle_tree: Pubkey,
pub log_wrapper: Pubkey,
pub compression_program: Pubkey,
pub system_program: Pubkey,
}
Expand description
Generated client accounts for Delegate
.
Fields§
§leaf_owner: Pubkey
§previous_leaf_delegate: Pubkey
§new_leaf_delegate: Pubkey
§merkle_tree: Pubkey
§log_wrapper: Pubkey
§compression_program: Pubkey
§system_program: Pubkey
Trait Implementations§
source§impl ToAccountMetas for Delegate
impl ToAccountMetas for Delegate
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.