Struct multisig_lite::accounts::CreateTransfer
source · pub struct CreateTransfer {
pub creator: Pubkey,
pub state: Pubkey,
pub fund: Pubkey,
pub transfer: Pubkey,
pub system_program: Pubkey,
}Expand description
Generated client accounts for CreateTransfer.
Fields§
§creator: PubkeyAn initiator of the fund transfer.
It should be one of the signers of the multisig account.
state: PubkeyA multisig state PDA account.
fund: PubkeyA multisig fund PDA account.
transfer: PubkeyA transfer account to keep the queued transfer info.
system_program: PubkeyThe system program to create a transfer account.
Trait Implementations§
source§impl BorshSerialize for CreateTransferwhere
Pubkey: BorshSerialize,
impl BorshSerialize for CreateTransferwhere
Pubkey: BorshSerialize,
source§impl ToAccountMetas for CreateTransfer
impl ToAccountMetas for CreateTransfer
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.