pub enum MessageTransmitterEvents {
Show 13 variants
AttesterDisabled(AttesterDisabled),
AttesterEnabled(AttesterEnabled),
AttesterManagerUpdated(AttesterManagerUpdated),
MaxMessageBodySizeUpdated(MaxMessageBodySizeUpdated),
MessageReceived(MessageReceived),
MessageSent(MessageSent),
OwnershipTransferStarted(OwnershipTransferStarted),
OwnershipTransferred(OwnershipTransferred),
Pause(Pause),
PauserChanged(PauserChanged),
RescuerChanged(RescuerChanged),
SignatureThresholdUpdated(SignatureThresholdUpdated),
Unpause(Unpause),
}Expand description
Container for all the MessageTransmitter events.
Variants§
AttesterDisabled(AttesterDisabled)
AttesterEnabled(AttesterEnabled)
AttesterManagerUpdated(AttesterManagerUpdated)
MaxMessageBodySizeUpdated(MaxMessageBodySizeUpdated)
MessageReceived(MessageReceived)
MessageSent(MessageSent)
OwnershipTransferStarted(OwnershipTransferStarted)
OwnershipTransferred(OwnershipTransferred)
Pause(Pause)
PauserChanged(PauserChanged)
RescuerChanged(RescuerChanged)
SignatureThresholdUpdated(SignatureThresholdUpdated)
Unpause(Unpause)
Implementations§
Source§impl MessageTransmitterEvents
impl MessageTransmitterEvents
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 MessageTransmitterEvents
impl MessageTransmitterEvents
Sourcepub fn attester_disabled(attester: Address) -> Self
pub fn attester_disabled(attester: Address) -> Self
Creates a AttesterDisabled event.
event AttesterDisabled(address)Sourcepub fn attester_enabled(attester: Address) -> Self
pub fn attester_enabled(attester: Address) -> Self
Creates a AttesterEnabled event.
event AttesterEnabled(address)Sourcepub fn attester_manager_updated(
previous_attester_manager: Address,
new_attester_manager: Address,
) -> Self
pub fn attester_manager_updated( previous_attester_manager: Address, new_attester_manager: Address, ) -> Self
Creates a AttesterManagerUpdated event.
event AttesterManagerUpdated(address,address)Sourcepub fn max_message_body_size_updated(new_max_message_body_size: U256) -> Self
pub fn max_message_body_size_updated(new_max_message_body_size: U256) -> Self
Creates a MaxMessageBodySizeUpdated event.
event MaxMessageBodySizeUpdated(uint256)Sourcepub fn message_received(
caller: Address,
source_domain: u32,
nonce: u64,
sender: FixedBytes<32>,
message_body: Bytes,
) -> Self
pub fn message_received( caller: Address, source_domain: u32, nonce: u64, sender: FixedBytes<32>, message_body: Bytes, ) -> Self
Creates a MessageReceived event.
event MessageReceived(address,uint32,uint64,bytes32,bytes)Sourcepub fn message_sent(message: Bytes) -> Self
pub fn message_sent(message: Bytes) -> Self
Creates a MessageSent event.
event MessageSent(bytes)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)Sourcepub fn pauser_changed(new_address: Address) -> Self
pub fn pauser_changed(new_address: Address) -> Self
Creates a PauserChanged event.
event PauserChanged(address)Sourcepub fn rescuer_changed(new_rescuer: Address) -> Self
pub fn rescuer_changed(new_rescuer: Address) -> Self
Creates a RescuerChanged event.
event RescuerChanged(address)Sourcepub fn signature_threshold_updated(
old_signature_threshold: U256,
new_signature_threshold: U256,
) -> Self
pub fn signature_threshold_updated( old_signature_threshold: U256, new_signature_threshold: U256, ) -> Self
Creates a SignatureThresholdUpdated event.
event SignatureThresholdUpdated(uint256,uint256)Trait Implementations§
Source§impl Clone for MessageTransmitterEvents
impl Clone for MessageTransmitterEvents
Source§fn clone(&self) -> MessageTransmitterEvents
fn clone(&self) -> MessageTransmitterEvents
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 IntoLogData for MessageTransmitterEvents
impl IntoLogData for MessageTransmitterEvents
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 MessageTransmitterEvents
impl SolEventInterface for MessageTransmitterEvents
Auto Trait Implementations§
impl !Freeze for MessageTransmitterEvents
impl RefUnwindSafe for MessageTransmitterEvents
impl Send for MessageTransmitterEvents
impl Sync for MessageTransmitterEvents
impl Unpin for MessageTransmitterEvents
impl UnsafeUnpin for MessageTransmitterEvents
impl UnwindSafe for MessageTransmitterEvents
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