pub struct BurnEvent {
pub pool_state: Pubkey,
pub owner: Pubkey,
pub tick_lower: i32,
pub tick_upper: i32,
pub amount: u64,
pub amount_0: u64,
pub amount_1: u64,
}Expand description
Emitted when a position’s liquidity is removed. Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect
Fields
pool_state: PubkeyThe pool from where liquidity was removed
owner: PubkeyThe owner of the position for which liquidity is removed
tick_lower: i32The lower tick of the position
tick_upper: i32The upper tick of the position
amount: u64The amount of liquidity to remove
amount_0: u64The amount of token_0 withdrawn
amount_1: u64The amount of token_1 withdrawn
Trait Implementations
sourceimpl BorshDeserialize for BurnEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
i32: BorshDeserialize,
i32: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for BurnEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
i32: BorshDeserialize,
i32: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
sourceimpl BorshSerialize for BurnEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
i32: BorshSerialize,
i32: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for BurnEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
i32: BorshSerialize,
i32: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
sourceimpl Discriminator for BurnEvent
impl Discriminator for BurnEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for BurnEvent
impl Send for BurnEvent
impl Sync for BurnEvent
impl Unpin for BurnEvent
impl UnwindSafe for BurnEvent
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