pub enum IValidatorConfigV2Events {
ValidatorAdded(ValidatorAdded),
ValidatorDeactivated(ValidatorDeactivated),
ValidatorRotated(ValidatorRotated),
FeeRecipientUpdated(FeeRecipientUpdated),
IpAddressesUpdated(IpAddressesUpdated),
ValidatorOwnershipTransferred(ValidatorOwnershipTransferred),
OwnershipTransferred(OwnershipTransferred),
ValidatorMigrated(ValidatorMigrated),
NetworkIdentityRotationEpochSet(NetworkIdentityRotationEpochSet),
Initialized(Initialized),
SkippedValidatorMigration(SkippedValidatorMigration),
}Expand description
Container for all the IValidatorConfigV2 events.
Variants§
ValidatorAdded(ValidatorAdded)
ValidatorDeactivated(ValidatorDeactivated)
ValidatorRotated(ValidatorRotated)
FeeRecipientUpdated(FeeRecipientUpdated)
IpAddressesUpdated(IpAddressesUpdated)
ValidatorOwnershipTransferred(ValidatorOwnershipTransferred)
OwnershipTransferred(OwnershipTransferred)
ValidatorMigrated(ValidatorMigrated)
NetworkIdentityRotationEpochSet(NetworkIdentityRotationEpochSet)
Initialized(Initialized)
SkippedValidatorMigration(SkippedValidatorMigration)
Implementations§
Source§impl IValidatorConfigV2Events
impl IValidatorConfigV2Events
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 IValidatorConfigV2Events
impl IValidatorConfigV2Events
Sourcepub fn validator_added(
index: u64,
validator_address: Address,
public_key: FixedBytes<32>,
ingress: String,
egress: String,
fee_recipient: Address,
) -> Self
pub fn validator_added( index: u64, validator_address: Address, public_key: FixedBytes<32>, ingress: String, egress: String, fee_recipient: Address, ) -> Self
Creates a ValidatorAdded event.
event ValidatorAdded(uint64,address,bytes32,string,string,address)Sourcepub fn validator_deactivated(index: u64, validator_address: Address) -> Self
pub fn validator_deactivated(index: u64, validator_address: Address) -> Self
Creates a ValidatorDeactivated event.
event ValidatorDeactivated(uint64,address)Sourcepub fn validator_rotated(
index: u64,
deactivated_index: u64,
validator_address: Address,
old_public_key: FixedBytes<32>,
new_public_key: FixedBytes<32>,
ingress: String,
egress: String,
caller: Address,
) -> Self
pub fn validator_rotated( index: u64, deactivated_index: u64, validator_address: Address, old_public_key: FixedBytes<32>, new_public_key: FixedBytes<32>, ingress: String, egress: String, caller: Address, ) -> Self
Creates a ValidatorRotated event.
event ValidatorRotated(uint64,uint64,address,bytes32,bytes32,string,string,address)Sourcepub fn fee_recipient_updated(
index: u64,
fee_recipient: Address,
caller: Address,
) -> Self
pub fn fee_recipient_updated( index: u64, fee_recipient: Address, caller: Address, ) -> Self
Creates a FeeRecipientUpdated event.
event FeeRecipientUpdated(uint64,address,address)Sourcepub fn ip_addresses_updated(
index: u64,
ingress: String,
egress: String,
caller: Address,
) -> Self
pub fn ip_addresses_updated( index: u64, ingress: String, egress: String, caller: Address, ) -> Self
Creates a IpAddressesUpdated event.
event IpAddressesUpdated(uint64,string,string,address)Sourcepub fn validator_ownership_transferred(
index: u64,
old_address: Address,
new_address: Address,
caller: Address,
) -> Self
pub fn validator_ownership_transferred( index: u64, old_address: Address, new_address: Address, caller: Address, ) -> Self
Creates a ValidatorOwnershipTransferred event.
event ValidatorOwnershipTransferred(uint64,address,address,address)Sourcepub fn ownership_transferred(old_owner: Address, new_owner: Address) -> Self
pub fn ownership_transferred(old_owner: Address, new_owner: Address) -> Self
Creates a OwnershipTransferred event.
event OwnershipTransferred(address,address)Sourcepub fn validator_migrated(
index: u64,
validator_address: Address,
public_key: FixedBytes<32>,
) -> Self
pub fn validator_migrated( index: u64, validator_address: Address, public_key: FixedBytes<32>, ) -> Self
Creates a ValidatorMigrated event.
event ValidatorMigrated(uint64,address,bytes32)Sourcepub fn network_identity_rotation_epoch_set(
previous_epoch: u64,
next_epoch: u64,
) -> Self
pub fn network_identity_rotation_epoch_set( previous_epoch: u64, next_epoch: u64, ) -> Self
Creates a NetworkIdentityRotationEpochSet event.
event NetworkIdentityRotationEpochSet(uint64,uint64)Sourcepub fn initialized(height: u64) -> Self
pub fn initialized(height: u64) -> Self
Creates a Initialized event.
event Initialized(uint64)Sourcepub fn skipped_validator_migration(
index: u64,
validator_address: Address,
public_key: FixedBytes<32>,
) -> Self
pub fn skipped_validator_migration( index: u64, validator_address: Address, public_key: FixedBytes<32>, ) -> Self
Creates a SkippedValidatorMigration event.
event SkippedValidatorMigration(uint64,address,bytes32)Trait Implementations§
Source§impl Clone for IValidatorConfigV2Events
impl Clone for IValidatorConfigV2Events
Source§fn clone(&self) -> IValidatorConfigV2Events
fn clone(&self) -> IValidatorConfigV2Events
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IValidatorConfigV2Events
impl Debug for IValidatorConfigV2Events
Source§impl<'de> Deserialize<'de> for IValidatorConfigV2Events
impl<'de> Deserialize<'de> for IValidatorConfigV2Events
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for IValidatorConfigV2Events
Source§impl IntoLogData for IValidatorConfigV2Events
impl IntoLogData for IValidatorConfigV2Events
Source§fn to_log_data(&self) -> LogData
fn to_log_data(&self) -> LogData
LogData] object.Source§fn into_log_data(self) -> LogData
fn into_log_data(self) -> LogData
LogData] object.Source§impl PartialEq for IValidatorConfigV2Events
impl PartialEq for IValidatorConfigV2Events
Source§fn eq(&self, other: &IValidatorConfigV2Events) -> bool
fn eq(&self, other: &IValidatorConfigV2Events) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for IValidatorConfigV2Events
impl Serialize for IValidatorConfigV2Events
Source§impl SolEventInterface for IValidatorConfigV2Events
impl SolEventInterface for IValidatorConfigV2Events
Source§fn decode_raw_log(topics: &[Word], data: &[u8]) -> Result<Self>
fn decode_raw_log(topics: &[Word], data: &[u8]) -> Result<Self>
§fn decode_log(log: &Log) -> Result<Log<Self>, Error>
fn decode_log(log: &Log) -> Result<Log<Self>, Error>
impl StructuralPartialEq for IValidatorConfigV2Events
Auto Trait Implementations§
impl Freeze for IValidatorConfigV2Events
impl RefUnwindSafe for IValidatorConfigV2Events
impl Send for IValidatorConfigV2Events
impl Sync for IValidatorConfigV2Events
impl Unpin for IValidatorConfigV2Events
impl UnsafeUnpin for IValidatorConfigV2Events
impl UnwindSafe for IValidatorConfigV2Events
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
impl<'de, T> BorrowedRpcObject<'de> for Twhere
T: RpcBorrow<'de> + RpcSend,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<'de, T> RpcBorrow<'de> for T
impl<T> RpcObject for Twhere
T: RpcSend + RpcRecv,
impl<T> RpcRecv for T
impl<T> RpcSend for T
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn propagate_header(self, header: HeaderName) -> PropagateHeader<Self>where
Self: Sized,
fn propagate_header(self, header: HeaderName) -> PropagateHeader<Self>where
Self: Sized,
propagate-header only.§fn add_extension<T>(self, value: T) -> AddExtension<Self, T>where
Self: Sized,
fn add_extension<T>(self, value: T) -> AddExtension<Self, T>where
Self: Sized,
add-extension only.§fn map_request_body<F>(self, f: F) -> MapRequestBody<Self, F>where
Self: Sized,
fn map_request_body<F>(self, f: F) -> MapRequestBody<Self, F>where
Self: Sized,
map-request-body only.§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
map-response-body only.§fn compression(self) -> Compression<Self>where
Self: Sized,
fn compression(self) -> Compression<Self>where
Self: Sized,
compression-br or compression-deflate or compression-gzip or compression-zstd only.§fn decompression(self) -> Decompression<Self>where
Self: Sized,
fn decompression(self) -> Decompression<Self>where
Self: Sized,
decompression-br or decompression-deflate or decompression-gzip or decompression-zstd only.§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
trace only.§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
trace only.§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
follow-redirect only.§fn sensitive_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveRequestHeaders<SetSensitiveResponseHeaders<Self>>where
Self: Sized,
fn sensitive_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveRequestHeaders<SetSensitiveResponseHeaders<Self>>where
Self: Sized,
sensitive-headers only.§fn sensitive_request_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveRequestHeaders<Self>where
Self: Sized,
fn sensitive_request_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveRequestHeaders<Self>where
Self: Sized,
sensitive-headers only.§fn sensitive_response_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveResponseHeaders<Self>where
Self: Sized,
fn sensitive_response_headers(
self,
headers: impl IntoIterator<Item = HeaderName>,
) -> SetSensitiveResponseHeaders<Self>where
Self: Sized,
sensitive-headers only.§fn override_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
fn override_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
set-header only.§fn append_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
fn append_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
set-header only.§fn insert_request_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
fn insert_request_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
set-header only.§fn override_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
fn override_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
set-header only.§fn append_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
fn append_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
set-header only.§fn insert_response_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
fn insert_response_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
set-header only.§fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
request-id only.§fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
request-id only.x-request-id as the header name. Read more§fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
request-id only.§fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
request-id only.x-request-id as the header name. Read more§fn catch_panic(self) -> CatchPanic<Self, DefaultResponseForPanic>where
Self: Sized,
fn catch_panic(self) -> CatchPanic<Self, DefaultResponseForPanic>where
Self: Sized,
catch-panic only.500 Internal Server responses. Read more§fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
limit only.413 Payload Too Large responses. Read more§fn trim_trailing_slash(self) -> NormalizePath<Self>where
Self: Sized,
fn trim_trailing_slash(self) -> NormalizePath<Self>where
Self: Sized,
normalize-path only.§fn append_trailing_slash(self) -> NormalizePath<Self>where
Self: Sized,
fn append_trailing_slash(self) -> NormalizePath<Self>where
Self: Sized,
normalize-path only.§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 168 bytes
Size for each variant:
ValidatorAdded: 136 bytesValidatorDeactivated: 40 bytesValidatorRotated: 168 bytesFeeRecipientUpdated: 56 bytesIpAddressesUpdated: 88 bytesValidatorOwnershipTransferred: 80 bytesOwnershipTransferred: 48 bytesValidatorMigrated: 72 bytesNetworkIdentityRotationEpochSet: 24 bytesInitialized: 16 bytesSkippedValidatorMigration: 72 bytes