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: U256
The block number of the host.
host_chain_id: U256
The chain ID of the host.
ru_chain_id: U256
The chain ID of the rollup.
gas_limit: U256
The gas limit of the rollup block.
ru_reward_address: Address
The reward address for the builder.
contents: B256
Encoded 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 duplicate 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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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 moreCreates a shared type from an unshared type.
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.