pub enum IStoragePriceOracleEvents {
PriceUpdate(PriceUpdate),
StampPriceUpdateFailed(StampPriceUpdateFailed),
}Expand description
Container for all the IStoragePriceOracle events.
Variants§
PriceUpdate(PriceUpdate)
StampPriceUpdateFailed(StampPriceUpdateFailed)
Implementations§
Source§impl IStoragePriceOracleEvents
impl IStoragePriceOracleEvents
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 IStoragePriceOracleEvents
impl IStoragePriceOracleEvents
Sourcepub fn price_update(price: U256) -> Self
pub fn price_update(price: U256) -> Self
Creates a PriceUpdate event.
event PriceUpdate(uint256)Sourcepub fn stamp_price_update_failed(attempted_price: U256) -> Self
pub fn stamp_price_update_failed(attempted_price: U256) -> Self
Creates a StampPriceUpdateFailed event.
event StampPriceUpdateFailed(uint256)Trait Implementations§
Source§impl Clone for IStoragePriceOracleEvents
impl Clone for IStoragePriceOracleEvents
Source§fn clone(&self) -> IStoragePriceOracleEvents
fn clone(&self) -> IStoragePriceOracleEvents
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 IStoragePriceOracleEvents
impl Debug for IStoragePriceOracleEvents
impl Eq for IStoragePriceOracleEvents
Source§impl IntoLogData for IStoragePriceOracleEvents
impl IntoLogData for IStoragePriceOracleEvents
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 IStoragePriceOracleEvents
impl PartialEq for IStoragePriceOracleEvents
Source§fn eq(&self, other: &IStoragePriceOracleEvents) -> bool
fn eq(&self, other: &IStoragePriceOracleEvents) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SolEventInterface for IStoragePriceOracleEvents
impl SolEventInterface for IStoragePriceOracleEvents
impl StructuralPartialEq for IStoragePriceOracleEvents
Auto Trait Implementations§
impl Freeze for IStoragePriceOracleEvents
impl RefUnwindSafe for IStoragePriceOracleEvents
impl Send for IStoragePriceOracleEvents
impl Sync for IStoragePriceOracleEvents
impl Unpin for IStoragePriceOracleEvents
impl UnsafeUnpin for IStoragePriceOracleEvents
impl UnwindSafe for IStoragePriceOracleEvents
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