pub enum ISwapPriceOracleEvents {
PriceUpdate(PriceUpdate),
ChequeValueDeductionUpdate(ChequeValueDeductionUpdate),
}Expand description
Container for all the ISwapPriceOracle events.
Variants§
PriceUpdate(PriceUpdate)
ChequeValueDeductionUpdate(ChequeValueDeductionUpdate)
Implementations§
Source§impl ISwapPriceOracleEvents
impl ISwapPriceOracleEvents
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 ISwapPriceOracleEvents
impl ISwapPriceOracleEvents
Sourcepub fn price_update(price: U256) -> Self
pub fn price_update(price: U256) -> Self
Creates a PriceUpdate event.
event PriceUpdate(uint256)Sourcepub fn cheque_value_deduction_update(cheque_value_deduction: U256) -> Self
pub fn cheque_value_deduction_update(cheque_value_deduction: U256) -> Self
Creates a ChequeValueDeductionUpdate event.
event ChequeValueDeductionUpdate(uint256)Trait Implementations§
Source§impl Clone for ISwapPriceOracleEvents
impl Clone for ISwapPriceOracleEvents
Source§fn clone(&self) -> ISwapPriceOracleEvents
fn clone(&self) -> ISwapPriceOracleEvents
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ISwapPriceOracleEvents
impl Debug for ISwapPriceOracleEvents
impl Eq for ISwapPriceOracleEvents
Source§impl IntoLogData for ISwapPriceOracleEvents
impl IntoLogData for ISwapPriceOracleEvents
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 PartialEq for ISwapPriceOracleEvents
impl PartialEq for ISwapPriceOracleEvents
Source§fn eq(&self, other: &ISwapPriceOracleEvents) -> bool
fn eq(&self, other: &ISwapPriceOracleEvents) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SolEventInterface for ISwapPriceOracleEvents
impl SolEventInterface for ISwapPriceOracleEvents
impl StructuralPartialEq for ISwapPriceOracleEvents
Auto Trait Implementations§
impl Freeze for ISwapPriceOracleEvents
impl RefUnwindSafe for ISwapPriceOracleEvents
impl Send for ISwapPriceOracleEvents
impl Sync for ISwapPriceOracleEvents
impl Unpin for ISwapPriceOracleEvents
impl UnsafeUnpin for ISwapPriceOracleEvents
impl UnwindSafe for ISwapPriceOracleEvents
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