pub struct MintEvent {
pub block_number: u64,
pub transaction_hash: String,
pub transaction_index: u32,
pub log_index: u32,
pub sender: Address,
pub owner: Address,
pub tick_lower: i32,
pub tick_upper: i32,
pub amount: u128,
pub amount0: U256,
pub amount1: U256,
}Expand description
Represents a mint event that occurs when liquidity is added to a position in a liquidity pool.
Fields§
§block_number: u64The block number when the mint occurred.
transaction_hash: StringThe unique hash identifier of the transaction containing this event.
transaction_index: u32The position of this transaction within the block.
log_index: u32The position of this event log within the transaction.
sender: AddressThe address that sent the transaction.
owner: AddressThe owner of the position.
tick_lower: i32The lower tick boundary of the position.
tick_upper: i32The upper tick boundary of the position.
amount: u128The amount of liquidity minted.
amount0: U256The amount of token0 deposited.
amount1: U256The amount of token1 deposited.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MintEvent
impl RefUnwindSafe for MintEvent
impl Send for MintEvent
impl Sync for MintEvent
impl Unpin for MintEvent
impl UnwindSafe for MintEvent
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