Struct jet_fixed_term::accounts::StakeTickets
source · [−]pub struct StakeTickets {
pub claim_ticket: Pubkey,
pub market: Pubkey,
pub ticket_holder: Pubkey,
pub ticket_token_account: Pubkey,
pub ticket_mint: Pubkey,
pub payer: Pubkey,
pub token_program: Pubkey,
pub system_program: Pubkey,
}
Expand description
Generated client accounts for StakeTickets
.
Fields
claim_ticket: Pubkey
A struct used to track maturation and total claimable funds
market: Pubkey
The Market account tracks fixed term market assets of a particular tenor
ticket_holder: Pubkey
The owner of tickets that wishes to stake them for a redeemable ticket
ticket_token_account: Pubkey
The account tracking the ticket_holder’s tickets
ticket_mint: Pubkey
The mint for the tickets for this instruction A mint is a specific instance of the token program for both the underlying asset and the market tenor
payer: Pubkey
The payer for account initialization
token_program: Pubkey
The global on-chain TokenProgram
for account authority transfer.
system_program: Pubkey
The global on-chain SystemProgram
for program account initialization.
Trait Implementations
sourceimpl BorshSerialize for StakeTicketswhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for StakeTicketswhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl ToAccountMetas for StakeTickets
impl ToAccountMetas for StakeTickets
sourcefn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
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. Read moreAuto Trait Implementations
impl RefUnwindSafe for StakeTickets
impl Send for StakeTickets
impl Sync for StakeTickets
impl Unpin for StakeTickets
impl UnwindSafe for StakeTickets
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more