pub struct ModifyLiquidity {
pub id: <PoolId as SolType>::RustType,
pub sender: Address,
pub tickLower: I24,
pub tickUpper: I24,
pub liquidityDelta: I256,
}
Expand description
@notice Emitted when a liquidity position is modified
@param id The abi encoded hash of the pool key struct for the pool that was modified
@param sender The address that modified the pool
@param tickLower The lower tick of the position
@param tickUpper The upper tick of the position
@param liquidityDelta The amount of liquidity that was added or removed
Event with signature ModifyLiquidity(bytes32,address,int24,int24,int256)
and selector 0x541c041c2cce48e614b3de043c9280f06b6164c0a1741649e2de3c3d375f7974
.
event ModifyLiquidity(PoolId indexed id, address indexed sender, int24 tickLower, int24 tickUpper, int256 liquidityDelta);
Fields§
§id: <PoolId as SolType>::RustType
§sender: Address
§tickLower: I24
§tickUpper: I24
§liquidityDelta: I256
Trait Implementations§
Source§impl Clone for ModifyLiquidity
impl Clone for ModifyLiquidity
Source§fn clone(&self) -> ModifyLiquidity
fn clone(&self) -> ModifyLiquidity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ModifyLiquidity
impl Debug for ModifyLiquidity
Source§impl From<&ModifyLiquidity> for LogData
impl From<&ModifyLiquidity> for LogData
Source§fn from(this: &ModifyLiquidity) -> LogData
fn from(this: &ModifyLiquidity) -> LogData
Source§impl IntoLogData for ModifyLiquidity
impl IntoLogData for ModifyLiquidity
Source§fn to_log_data(&self) -> LogData
fn to_log_data(&self) -> LogData
LogData
] object.Source§fn into_log_data(self) -> LogData
fn into_log_data(self) -> LogData
LogData
] object.Source§impl PartialEq for ModifyLiquidity
impl PartialEq for ModifyLiquidity
Source§impl SolEvent for ModifyLiquidity
impl SolEvent for ModifyLiquidity
Source§const SIGNATURE: &'static str = "ModifyLiquidity(bytes32,address,int24,int24,int256)"
const SIGNATURE: &'static str = "ModifyLiquidity(bytes32,address,int24,int24,int256)"
Source§const SIGNATURE_HASH: B256 = _
const SIGNATURE_HASH: B256 = _
keccak256(SIGNATURE)
Read moreSource§type DataTuple<'a> = (Int<24>, Int<24>, Int<256>)
type DataTuple<'a> = (Int<24>, Int<24>, Int<256>)
Source§type DataToken<'a> = <<ModifyLiquidity as SolEvent>::DataTuple<'a> as SolType>::Token<'a>
type DataToken<'a> = <<ModifyLiquidity as SolEvent>::DataTuple<'a> as SolType>::Token<'a>
TokenSeq
] type corresponding to the tuple.Source§type TopicList = (FixedBytes<32>, PoolId, Address)
type TopicList = (FixedBytes<32>, PoolId, Address)
Source§fn new(
topics: <Self::TopicList as SolType>::RustType,
data: <Self::DataTuple<'_> as SolType>::RustType,
) -> Self
fn new( topics: <Self::TopicList as SolType>::RustType, data: <Self::DataTuple<'_> as SolType>::RustType, ) -> Self
Source§fn check_signature(
topics: &<Self::TopicList as SolType>::RustType,
) -> Result<()>
fn check_signature( topics: &<Self::TopicList as SolType>::RustType, ) -> Result<()>
Source§fn tokenize_body(&self) -> Self::DataToken<'_>
fn tokenize_body(&self) -> Self::DataToken<'_>
Source§fn encode_topics_raw(&self, out: &mut [WordToken]) -> Result<()>
fn encode_topics_raw(&self, out: &mut [WordToken]) -> Result<()>
§fn new_checked(
topics: <Self::TopicList as SolType>::RustType,
data: <Self::DataTuple<'_> as SolType>::RustType,
) -> Result<Self, Error>
fn new_checked( topics: <Self::TopicList as SolType>::RustType, data: <Self::DataTuple<'_> as SolType>::RustType, ) -> Result<Self, Error>
§fn abi_encoded_size(&self) -> usize
fn abi_encoded_size(&self) -> usize
§fn encode_data_to(&self, out: &mut Vec<u8>)
fn encode_data_to(&self, out: &mut Vec<u8>)
§fn encode_data(&self) -> Vec<u8> ⓘ
fn encode_data(&self) -> Vec<u8> ⓘ
§fn encode_topics(&self) -> Vec<WordToken>
fn encode_topics(&self) -> Vec<WordToken>
§fn encode_topics_array<const LEN: usize>(&self) -> [WordToken; LEN]
fn encode_topics_array<const LEN: usize>(&self) -> [WordToken; LEN]
§fn encode_log_data(&self) -> LogData
fn encode_log_data(&self) -> LogData
LogData
].§fn encode_log(log: &Log<Self>) -> Log
fn encode_log(log: &Log<Self>) -> Log
Log
] containing this event into a [Log
] containing
[LogData
].§fn decode_topics<I, D>(
topics: I,
) -> Result<<Self::TopicList as SolType>::RustType, Error>where
I: IntoIterator<Item = D>,
D: Into<WordToken>,
fn decode_topics<I, D>(
topics: I,
) -> Result<<Self::TopicList as SolType>::RustType, Error>where
I: IntoIterator<Item = D>,
D: Into<WordToken>,
§fn abi_decode_data<'a>(
data: &'a [u8],
validate: bool,
) -> Result<<Self::DataTuple<'a> as SolType>::RustType, Error>
fn abi_decode_data<'a>( data: &'a [u8], validate: bool, ) -> Result<<Self::DataTuple<'a> as SolType>::RustType, Error>
§fn decode_raw_log<I, D>(
topics: I,
data: &[u8],
validate: bool,
) -> Result<Self, Error>where
I: IntoIterator<Item = D>,
D: Into<WordToken>,
fn decode_raw_log<I, D>(
topics: I,
data: &[u8],
validate: bool,
) -> Result<Self, Error>where
I: IntoIterator<Item = D>,
D: Into<WordToken>,
§fn decode_log_data(log: &LogData, validate: bool) -> Result<Self, Error>
fn decode_log_data(log: &LogData, validate: bool) -> Result<Self, Error>
§fn decode_log(log: &Log, validate: bool) -> Result<Log<Self>, Error>
fn decode_log(log: &Log, validate: bool) -> Result<Log<Self>, Error>
impl Eq for ModifyLiquidity
impl StructuralPartialEq for ModifyLiquidity
Auto Trait Implementations§
impl Freeze for ModifyLiquidity
impl RefUnwindSafe for ModifyLiquidity
impl Send for ModifyLiquidity
impl Sync for ModifyLiquidity
impl Unpin for ModifyLiquidity
impl UnwindSafe for ModifyLiquidity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§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> 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>
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>
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§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 104 bytes