Enum zenith_types::Zenith::ZenithCalls
source · pub enum ZenithCalls {
addSequencer(addSequencerCall),
blockCommitment(blockCommitmentCall),
deployBlockNumber(deployBlockNumberCall),
isSequencer(isSequencerCall),
lastSubmittedAtBlock(lastSubmittedAtBlockCall),
removeSequencer(removeSequencerCall),
sequencerAdmin(sequencerAdminCall),
submitBlock(submitBlockCall),
}Expand description
Container for all the Zenith function calls.
Variants§
addSequencer(addSequencerCall)
blockCommitment(blockCommitmentCall)
deployBlockNumber(deployBlockNumberCall)
isSequencer(isSequencerCall)
lastSubmittedAtBlock(lastSubmittedAtBlockCall)
removeSequencer(removeSequencerCall)
sequencerAdmin(sequencerAdminCall)
submitBlock(submitBlockCall)
Implementations§
Trait Implementations§
source§impl Debug for ZenithCalls
impl Debug for ZenithCalls
source§impl<'de> Deserialize<'de> for ZenithCalls
impl<'de> Deserialize<'de> for ZenithCalls
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ZenithCalls
impl PartialEq for ZenithCalls
source§impl Serialize for ZenithCalls
impl Serialize for ZenithCalls
source§impl SolInterface for ZenithCalls
impl SolInterface for ZenithCalls
source§const MIN_DATA_LENGTH: usize = 0usize
const MIN_DATA_LENGTH: usize = 0usize
The minimum length of the data for this type. Read more
source§fn valid_selector(selector: [u8; 4]) -> bool
fn valid_selector(selector: [u8; 4]) -> bool
Returns
true if the given selector is known to this type.source§fn abi_decode_raw(
selector: [u8; 4],
data: &[u8],
validate: bool,
) -> Result<Self>
fn abi_decode_raw( selector: [u8; 4], data: &[u8], validate: bool, ) -> Result<Self>
ABI-decodes the given data into one of the variants of
self.source§fn abi_encoded_size(&self) -> usize
fn abi_encoded_size(&self) -> usize
The size of the encoded data, without any selectors.
source§fn abi_encode_raw(&self, out: &mut Vec<u8>)
fn abi_encode_raw(&self, out: &mut Vec<u8>)
ABI-encodes
self into the given buffer, without any selectors.impl Eq for ZenithCalls
impl StructuralPartialEq for ZenithCalls
Auto Trait Implementations§
impl !Freeze for ZenithCalls
impl RefUnwindSafe for ZenithCalls
impl Send for ZenithCalls
impl Sync for ZenithCalls
impl Unpin for ZenithCalls
impl UnwindSafe for ZenithCalls
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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