pub enum HandleEscrowEvents {
Deposited(Deposited),
Forwarded(Forwarded),
Claimed(Claimed),
OwnershipTransferStarted(OwnershipTransferStarted),
OwnershipTransferred(OwnershipTransferred),
Refunded(Refunded),
}Expand description
Container for all the HandleEscrow events.
Variants§
Deposited(Deposited)
Forwarded(Forwarded)
Claimed(Claimed)
OwnershipTransferStarted(OwnershipTransferStarted)
OwnershipTransferred(OwnershipTransferred)
Refunded(Refunded)
Implementations§
Source§impl HandleEscrowEvents
impl HandleEscrowEvents
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 HandleEscrowEvents
impl HandleEscrowEvents
Sourcepub fn deposited(
handle_node: FixedBytes<32>,
token: Address,
refund_to: Address,
depositor: Address,
platform_id: FixedBytes<32>,
round: U256,
amount: U256,
) -> Self
pub fn deposited( handle_node: FixedBytes<32>, token: Address, refund_to: Address, depositor: Address, platform_id: FixedBytes<32>, round: U256, amount: U256, ) -> Self
Creates a Deposited event.
event Deposited(bytes32,address,address,address,bytes32,uint256,uint256)Sourcepub fn forwarded(
handle_node: FixedBytes<32>,
token: Address,
depositor: Address,
holder: Address,
platform_id: FixedBytes<32>,
amount: U256,
received: U256,
) -> Self
pub fn forwarded( handle_node: FixedBytes<32>, token: Address, depositor: Address, holder: Address, platform_id: FixedBytes<32>, amount: U256, received: U256, ) -> Self
Creates a Forwarded event.
event Forwarded(bytes32,address,address,address,bytes32,uint256,uint256)Sourcepub fn claimed(
handle_node: FixedBytes<32>,
token: Address,
claimer: Address,
recipient: Address,
round: U256,
released: U256,
received: U256,
) -> Self
pub fn claimed( handle_node: FixedBytes<32>, token: Address, claimer: Address, recipient: Address, round: U256, released: U256, received: U256, ) -> Self
Creates a Claimed event.
event Claimed(bytes32,address,address,address,uint256,uint256,uint256)Sourcepub fn ownership_transfer_started(
previous_owner: Address,
new_owner: Address,
) -> Self
pub fn ownership_transfer_started( previous_owner: Address, new_owner: Address, ) -> Self
Creates a OwnershipTransferStarted event.
event OwnershipTransferStarted(address,address)Sourcepub fn ownership_transferred(
previous_owner: Address,
new_owner: Address,
) -> Self
pub fn ownership_transferred( previous_owner: Address, new_owner: Address, ) -> Self
Creates a OwnershipTransferred event.
event OwnershipTransferred(address,address)Trait Implementations§
Source§impl Clone for HandleEscrowEvents
impl Clone for HandleEscrowEvents
Source§impl IntoLogData for HandleEscrowEvents
impl IntoLogData for HandleEscrowEvents
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 HandleEscrowEvents
impl SolEventInterface for HandleEscrowEvents
Auto Trait Implementations§
impl Freeze for HandleEscrowEvents
impl RefUnwindSafe for HandleEscrowEvents
impl Send for HandleEscrowEvents
impl Sync for HandleEscrowEvents
impl Unpin for HandleEscrowEvents
impl UnsafeUnpin for HandleEscrowEvents
impl UnwindSafe for HandleEscrowEvents
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