pub struct BurnEvent {
pub block_number: u64,
pub transaction_hash: String,
pub transaction_index: u32,
pub log_index: u32,
pub owner: Address,
pub tick_lower: i32,
pub tick_upper: i32,
pub amount: u128,
pub amount0: U256,
pub amount1: U256,
}
Expand description
Represents a burn event that occurs when liquidity is removed from a position in a liquidity pool.
Fields§
§block_number: u64
The block number when the burn occurred.
transaction_hash: String
The unique hash identifier of the transaction containing this event.
transaction_index: u32
The position of this transaction within the block.
log_index: u32
The position of this event log within the transaction.
owner: Address
The owner of the position.
tick_lower: i32
The lower tick boundary of the position.
tick_upper: i32
The upper tick boundary of the position.
amount: u128
The amount of liquidity burned to the position range.
amount0: U256
The amount of token0 withdrawn.
amount1: U256
The amount of token1 withdrawn.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BurnEvent
impl RefUnwindSafe for BurnEvent
impl Send for BurnEvent
impl Sync for BurnEvent
impl Unpin for BurnEvent
impl UnwindSafe for BurnEvent
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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