pub struct IncreaseLiquidityEvent {
pub token_id: Pubkey,
pub liquidity: u64,
pub amount_0: u64,
pub amount_1: u64,
}Expand description
Emitted when liquidity is increased for a position NFT. Also emitted when a token is minted
Fields
token_id: PubkeyThe ID of the token for which liquidity was increased
liquidity: u64The amount by which liquidity for the NFT position was increased
amount_0: u64The amount of token_0 that was paid for the increase in liquidity
amount_1: u64The amount of token_1 that was paid for the increase in liquidity
Trait Implementations
sourceimpl BorshDeserialize for IncreaseLiquidityEvent where
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for IncreaseLiquidityEvent where
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
sourceimpl BorshSerialize for IncreaseLiquidityEvent where
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for IncreaseLiquidityEvent where
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
sourceimpl Discriminator for IncreaseLiquidityEvent
impl Discriminator for IncreaseLiquidityEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for IncreaseLiquidityEvent
impl Send for IncreaseLiquidityEvent
impl Sync for IncreaseLiquidityEvent
impl Unpin for IncreaseLiquidityEvent
impl UnwindSafe for IncreaseLiquidityEvent
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