pub enum PaymentPoolEvents {
PoolOpened(PoolOpened),
PoolToppedUp(PoolToppedUp),
PoolRedeemed(PoolRedeemed),
PoolCloseInitiated(PoolCloseInitiated),
PoolReclaimed(PoolReclaimed),
RateBoundsUpdated(RateBoundsUpdated),
}Expand description
Container for all the PaymentPool events.
Variants§
PoolOpened(PoolOpened)
PoolToppedUp(PoolToppedUp)
PoolRedeemed(PoolRedeemed)
PoolCloseInitiated(PoolCloseInitiated)
PoolReclaimed(PoolReclaimed)
RateBoundsUpdated(RateBoundsUpdated)
Implementations§
Source§impl PaymentPoolEvents
impl PaymentPoolEvents
Sourcepub const SELECTORS: &'static [[u8; 32]]
pub const SELECTORS: &'static [[u8; 32]]
All the selectors of this enum.
Note that the selectors might not be in the same order as the variants. No guarantees are made about the order of the selectors.
Prefer using SolInterface methods instead.
Sourcepub const VARIANT_NAMES: &'static [&'static str]
pub const VARIANT_NAMES: &'static [&'static str]
The names of the variants in the same order as SELECTORS.
Sourcepub const SIGNATURES: &'static [&'static str]
pub const SIGNATURES: &'static [&'static str]
The signatures in the same order as SELECTORS.
Source§impl PaymentPoolEvents
impl PaymentPoolEvents
Sourcepub fn pool_opened(
pool_id: FixedBytes<32>,
owner: Address,
deposit: U256,
) -> Self
pub fn pool_opened( pool_id: FixedBytes<32>, owner: Address, deposit: U256, ) -> Self
Creates a PoolOpened event.
event PoolOpened(bytes32,address,uint256)Sourcepub fn pool_topped_up(
pool_id: FixedBytes<32>,
additional_deposit: U256,
new_deposit: U256,
) -> Self
pub fn pool_topped_up( pool_id: FixedBytes<32>, additional_deposit: U256, new_deposit: U256, ) -> Self
Creates a PoolToppedUp event.
event PoolToppedUp(bytes32,uint256,uint256)Sourcepub fn pool_redeemed(
pool_id: FixedBytes<32>,
provider: Address,
lanes: Vec<<LaneSettled as SolType>::RustType>,
) -> Self
pub fn pool_redeemed( pool_id: FixedBytes<32>, provider: Address, lanes: Vec<<LaneSettled as SolType>::RustType>, ) -> Self
Creates a PoolRedeemed event.
event PoolRedeemed(bytes32,address,(address,uint64,uint64)[])Sourcepub fn pool_close_initiated(
pool_id: FixedBytes<32>,
owner: Address,
dispute_deadline: U256,
) -> Self
pub fn pool_close_initiated( pool_id: FixedBytes<32>, owner: Address, dispute_deadline: U256, ) -> Self
Creates a PoolCloseInitiated event.
event PoolCloseInitiated(bytes32,address,uint256)Sourcepub fn pool_reclaimed(
pool_id: FixedBytes<32>,
owner: Address,
owner_refund: U256,
) -> Self
pub fn pool_reclaimed( pool_id: FixedBytes<32>, owner: Address, owner_refund: U256, ) -> Self
Creates a PoolReclaimed event.
event PoolReclaimed(bytes32,address,uint256)Sourcepub fn rate_bounds_updated(new_delivery_floor: U256) -> Self
pub fn rate_bounds_updated(new_delivery_floor: U256) -> Self
Creates a RateBoundsUpdated event.
event RateBoundsUpdated(uint256)Trait Implementations§
Source§impl Clone for PaymentPoolEvents
impl Clone for PaymentPoolEvents
Source§impl IntoLogData for PaymentPoolEvents
impl IntoLogData for PaymentPoolEvents
Source§fn to_log_data(&self) -> LogData
fn to_log_data(&self) -> LogData
Convert into a
LogData object.Source§fn into_log_data(self) -> LogData
fn into_log_data(self) -> LogData
Consume and convert into a
LogData object.Source§impl SolEventInterface for PaymentPoolEvents
impl SolEventInterface for PaymentPoolEvents
Source§fn decode_raw_log(topics: &[Word], data: &[u8]) -> Result<Self>
fn decode_raw_log(topics: &[Word], data: &[u8]) -> Result<Self>
Decode the events from the given log info.
Source§fn decode_raw_log_with_config(
topics: &[Word],
data: &[u8],
config: AbiDecoderConfig,
) -> Result<Self>
fn decode_raw_log_with_config( topics: &[Word], data: &[u8], config: AbiDecoderConfig, ) -> Result<Self>
Decode the events from the given log info with a custom decoder configuration. Read more
Source§fn decode_log(log: &Log) -> Result<Log<Self>, Error>
fn decode_log(log: &Log) -> Result<Log<Self>, Error>
Decode the events from the given log object.
Source§fn decode_log_with_config(
log: &Log,
config: AbiDecoderConfig,
) -> Result<Log<Self>, Error>
fn decode_log_with_config( log: &Log, config: AbiDecoderConfig, ) -> Result<Log<Self>, Error>
Decode the events from the given log object with a custom decoder configuration.
Auto Trait Implementations§
impl Freeze for PaymentPoolEvents
impl RefUnwindSafe for PaymentPoolEvents
impl Send for PaymentPoolEvents
impl Sync for PaymentPoolEvents
impl Unpin for PaymentPoolEvents
impl UnsafeUnpin for PaymentPoolEvents
impl UnwindSafe for PaymentPoolEvents
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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