pub struct CollectTokenizedEvent {
pub token_id: Pubkey,
pub recipient_wallet_0: Pubkey,
pub recipient_wallet_1: Pubkey,
pub amount_0: u64,
pub amount_1: u64,
}Expand description
Emitted when tokens are collected for a position NFT The amounts reported may not be exactly equivalent to the amounts transferred, due to rounding behavior
Fields
token_id: PubkeyThe ID of the token for which underlying tokens were collected
recipient_wallet_0: PubkeyThe token account that received the collected token_0 tokens
recipient_wallet_1: PubkeyThe token account that received the collected token_1 tokens
amount_0: u64The amount of token_0 owed to the position that was collected
amount_1: u64The amount of token_1 owed to the position that was collected
Trait Implementations
sourceimpl BorshDeserialize for CollectTokenizedEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for CollectTokenizedEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
sourceimpl BorshSerialize for CollectTokenizedEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for CollectTokenizedEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
sourceimpl Discriminator for CollectTokenizedEvent
impl Discriminator for CollectTokenizedEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for CollectTokenizedEvent
impl Send for CollectTokenizedEvent
impl Sync for CollectTokenizedEvent
impl Unpin for CollectTokenizedEvent
impl UnwindSafe for CollectTokenizedEvent
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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