pub struct LockOrder {Show 15 fields
pub fee_vault: Pubkey,
pub taker: Pubkey,
pub deprecated_cosigner: Option<Pubkey>,
pub order_state: Pubkey,
pub order_vault: Pubkey,
pub maker: Pubkey,
pub margin_account: Option<Pubkey>,
pub maker_broker: Option<Pubkey>,
pub taker_broker: Option<Pubkey>,
pub token_program: Pubkey,
pub system_program: Pubkey,
pub associated_token_program: Pubkey,
pub tensorswap_program: Pubkey,
pub tlock_program: Pubkey,
pub order_nft_receipt: Option<Pubkey>,
}Expand description
Accounts.
Fields§
§fee_vault: Pubkey§taker: Pubkey§deprecated_cosigner: Option<Pubkey>Deprecated: In place for backwards compatibility, but can be left to default to program_id.
order_state: Pubkey§order_vault: Pubkey§maker: Pubkey§margin_account: Option<Pubkey>§maker_broker: Option<Pubkey>§taker_broker: Option<Pubkey>§token_program: Pubkey§system_program: Pubkey§associated_token_program: Pubkey§tensorswap_program: Pubkey§tlock_program: Pubkey§order_nft_receipt: Option<Pubkey>The NFT deposit receipt account, which tracks an NFT to the order state it was deposited to.
Implementations§
Source§impl LockOrder
impl LockOrder
pub fn instruction(&self, args: LockOrderInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: LockOrderInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for LockOrder
impl RefUnwindSafe for LockOrder
impl Send for LockOrder
impl Sync for LockOrder
impl Unpin for LockOrder
impl UnsafeUnpin for LockOrder
impl UnwindSafe for LockOrder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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