pub struct TakeBidCompressedFullMetaBuilder { /* private fields */ }Expand description
Instruction builder for TakeBidCompressedFullMeta.
§Accounts:
[writable]fee_vault[]tree_authority[writable, signer]seller[signer]delegate[writable]merkle_tree[optional]log_wrapper (default tonoopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV)[optional]compression_program (default tocmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK)[optional]system_program (default to11111111111111111111111111111111)[optional]bubblegum_program (default toBGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY)[optional]marketplace_program (default toTCMPhJdwDryooaGtiocG1u3xcYbRpiJzb283XfCZsDp)[optional]tensorswap_program (default toTSWAPaqyCSx2KABk68Shruf4rp7CxcNi8hAsbdwmHbN)[writable]bid_state[writable]owner[writable, optional]taker_broker[writable, optional]maker_broker[writable]shared_escrow[]whitelist[signer, optional]cosigner[writable]rent_destination
Implementations§
Source§impl TakeBidCompressedFullMetaBuilder
impl TakeBidCompressedFullMetaBuilder
pub fn new() -> Self
pub fn fee_vault(&mut self, fee_vault: Pubkey) -> &mut Self
pub fn seller(&mut self, seller: Pubkey, as_signer: bool) -> &mut Self
pub fn delegate(&mut self, delegate: Pubkey, as_signer: bool) -> &mut Self
pub fn merkle_tree(&mut self, merkle_tree: Pubkey) -> &mut Self
Sourcepub fn log_wrapper(&mut self, log_wrapper: Pubkey) -> &mut Self
pub fn log_wrapper(&mut self, log_wrapper: Pubkey) -> &mut Self
[optional account, default to 'noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV']
Sourcepub fn compression_program(&mut self, compression_program: Pubkey) -> &mut Self
pub fn compression_program(&mut self, compression_program: Pubkey) -> &mut Self
[optional account, default to 'cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK']
Sourcepub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
[optional account, default to '11111111111111111111111111111111']
Sourcepub fn bubblegum_program(&mut self, bubblegum_program: Pubkey) -> &mut Self
pub fn bubblegum_program(&mut self, bubblegum_program: Pubkey) -> &mut Self
[optional account, default to 'BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY']
Sourcepub fn marketplace_program(&mut self, marketplace_program: Pubkey) -> &mut Self
pub fn marketplace_program(&mut self, marketplace_program: Pubkey) -> &mut Self
[optional account, default to 'TCMPhJdwDryooaGtiocG1u3xcYbRpiJzb283XfCZsDp']
Sourcepub fn tensorswap_program(&mut self, tensorswap_program: Pubkey) -> &mut Self
pub fn tensorswap_program(&mut self, tensorswap_program: Pubkey) -> &mut Self
[optional account, default to 'TSWAPaqyCSx2KABk68Shruf4rp7CxcNi8hAsbdwmHbN']
pub fn bid_state(&mut self, bid_state: Pubkey) -> &mut Self
pub fn owner(&mut self, owner: Pubkey) -> &mut Self
Sourcepub fn taker_broker(&mut self, taker_broker: Option<Pubkey>) -> &mut Self
pub fn taker_broker(&mut self, taker_broker: Option<Pubkey>) -> &mut Self
[optional account]
Sourcepub fn maker_broker(&mut self, maker_broker: Option<Pubkey>) -> &mut Self
pub fn maker_broker(&mut self, maker_broker: Option<Pubkey>) -> &mut Self
[optional account]
pub fn whitelist(&mut self, whitelist: Pubkey) -> &mut Self
pub fn rent_destination(&mut self, rent_destination: Pubkey) -> &mut Self
pub fn nonce(&mut self, nonce: u64) -> &mut Self
pub fn index(&mut self, index: u32) -> &mut Self
pub fn root(&mut self, root: [u8; 32]) -> &mut Self
pub fn name(&mut self, name: String) -> &mut Self
pub fn symbol(&mut self, symbol: String) -> &mut Self
pub fn uri(&mut self, uri: String) -> &mut Self
pub fn seller_fee_basis_points( &mut self, seller_fee_basis_points: u16, ) -> &mut Self
pub fn primary_sale_happened( &mut self, primary_sale_happened: bool, ) -> &mut Self
pub fn is_mutable(&mut self, is_mutable: bool) -> &mut Self
Sourcepub fn edition_nonce(&mut self, edition_nonce: u8) -> &mut Self
pub fn edition_nonce(&mut self, edition_nonce: u8) -> &mut Self
[optional argument]
Sourcepub fn token_standard(&mut self, token_standard: TTokenStandard) -> &mut Self
pub fn token_standard(&mut self, token_standard: TTokenStandard) -> &mut Self
[optional argument]
Sourcepub fn collection(&mut self, collection: TCollection) -> &mut Self
pub fn collection(&mut self, collection: TCollection) -> &mut Self
[optional argument]
pub fn token_program_version( &mut self, token_program_version: TTokenProgramVersion, ) -> &mut Self
pub fn creator_verified(&mut self, creator_verified: Vec<bool>) -> &mut Self
pub fn min_amount(&mut self, min_amount: u64) -> &mut Self
Sourcepub fn optional_royalty_pct(&mut self, optional_royalty_pct: u16) -> &mut Self
pub fn optional_royalty_pct(&mut self, optional_royalty_pct: u16) -> &mut Self
[optional argument]
Sourcepub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
pub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
Add an aditional account to the instruction.
Sourcepub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
pub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
Add additional accounts to the instruction.
pub fn instruction(&self) -> Instruction
Trait Implementations§
Source§impl Clone for TakeBidCompressedFullMetaBuilder
impl Clone for TakeBidCompressedFullMetaBuilder
Source§fn clone(&self) -> TakeBidCompressedFullMetaBuilder
fn clone(&self) -> TakeBidCompressedFullMetaBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TakeBidCompressedFullMetaBuilder
impl Default for TakeBidCompressedFullMetaBuilder
Source§fn default() -> TakeBidCompressedFullMetaBuilder
fn default() -> TakeBidCompressedFullMetaBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TakeBidCompressedFullMetaBuilder
impl RefUnwindSafe for TakeBidCompressedFullMetaBuilder
impl Send for TakeBidCompressedFullMetaBuilder
impl Sync for TakeBidCompressedFullMetaBuilder
impl Unpin for TakeBidCompressedFullMetaBuilder
impl UnwindSafe for TakeBidCompressedFullMetaBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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