pub struct MintEvent {
pub pool_state: Pubkey,
pub sender: 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 liquidity is minted for a given position
Fields
pool_state: PubkeyThe pool for which liquidity was minted
sender: PubkeyThe address that minted the liquidity
owner: PubkeyThe owner of the position and recipient of any minted liquidity
tick_lower: i32The lower tick of the position
tick_upper: i32The upper tick of the position
amount: u64The amount of liquidity minted to the position range
amount_0: u64How much token_0 was required for the minted liquidity
amount_1: u64How much token_1 was required for the minted liquidity
Trait Implementations
sourceimpl BorshDeserialize for MintEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
i32: BorshDeserialize,
i32: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for MintEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
i32: BorshDeserialize,
i32: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
sourceimpl BorshSerialize for MintEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
i32: BorshSerialize,
i32: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for MintEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
i32: BorshSerialize,
i32: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
sourceimpl Discriminator for MintEvent
impl Discriminator for MintEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for MintEvent
impl Send for MintEvent
impl Sync for MintEvent
impl Unpin for MintEvent
impl UnwindSafe for MintEvent
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