Struct zenith_types::SignRequest
source · pub struct SignRequest {
pub host_block_number: U256,
pub host_chain_id: U256,
pub ru_chain_id: U256,
pub gas_limit: U256,
pub ru_reward_address: Address,
pub contents: B256,
}Expand description
A request to sign a rollup block.
Fields§
§host_block_number: U256The block number of the host.
host_chain_id: U256The chain ID of the host.
ru_chain_id: U256The chain ID of the rollup.
gas_limit: U256The gas limit of the rollup block.
ru_reward_address: AddressThe reward address for the builder.
contents: B256Encoded transactions to be signed
Implementations§
source§impl SignRequest
impl SignRequest
sourcepub fn signing_hash(&self) -> B256
pub fn signing_hash(&self) -> B256
Compute the signing hash for this sig request
Trait Implementations§
source§impl Clone for SignRequest
impl Clone for SignRequest
source§fn clone(&self) -> SignRequest
fn clone(&self) -> SignRequest
Returns a copy of the value. Read more
1.0.0 · 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 SignRequest
impl Debug for SignRequest
source§impl<'de> Deserialize<'de> for SignRequest
impl<'de> Deserialize<'de> for SignRequest
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 Display for SignRequest
impl Display for SignRequest
source§impl PartialEq for SignRequest
impl PartialEq for SignRequest
source§impl Serialize for SignRequest
impl Serialize for SignRequest
impl Copy for SignRequest
impl Eq for SignRequest
impl StructuralPartialEq for SignRequest
Auto Trait Implementations§
impl Freeze for SignRequest
impl RefUnwindSafe for SignRequest
impl Send for SignRequest
impl Sync for SignRequest
impl Unpin for SignRequest
impl UnwindSafe for SignRequest
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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