pub struct BuyT22Spl {Show 23 fields
pub fee_vault: Pubkey,
pub fee_vault_currency_ta: Pubkey,
pub buyer: Pubkey,
pub buyer_ta: Pubkey,
pub list_state: Pubkey,
pub list_ta: Pubkey,
pub mint: Pubkey,
pub currency: Pubkey,
pub owner: Pubkey,
pub owner_currency_ta: Pubkey,
pub payer: Pubkey,
pub payer_currency_ta: Pubkey,
pub taker_broker: Option<Pubkey>,
pub taker_broker_currency_ta: Option<Pubkey>,
pub maker_broker: Option<Pubkey>,
pub maker_broker_currency_ta: Option<Pubkey>,
pub rent_destination: Pubkey,
pub token_program: Pubkey,
pub currency_token_program: Pubkey,
pub associated_token_program: Pubkey,
pub marketplace_program: Pubkey,
pub system_program: Pubkey,
pub cosigner: Option<Pubkey>,
}Expand description
Accounts.
Fields§
§fee_vault: Pubkey§fee_vault_currency_ta: Pubkey§buyer: Pubkey§buyer_ta: Pubkey§list_state: Pubkey§list_ta: Pubkey§mint: PubkeyT22 asset mint.
currency: PubkeySPL token mint of the currency.
owner: Pubkey§owner_currency_ta: Pubkey§payer: Pubkey§payer_currency_ta: Pubkey§taker_broker: Option<Pubkey>§taker_broker_currency_ta: Option<Pubkey>§maker_broker: Option<Pubkey>§maker_broker_currency_ta: Option<Pubkey>§rent_destination: Pubkey§token_program: Pubkey§currency_token_program: Pubkey§associated_token_program: Pubkey§marketplace_program: Pubkey§system_program: Pubkey§cosigner: Option<Pubkey>Implementations§
Source§impl BuyT22Spl
impl BuyT22Spl
pub fn instruction(&self, args: BuyT22SplInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: BuyT22SplInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for BuyT22Spl
impl RefUnwindSafe for BuyT22Spl
impl Send for BuyT22Spl
impl Sync for BuyT22Spl
impl Unpin for BuyT22Spl
impl UnwindSafe for BuyT22Spl
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more