pub struct Fjord;
Available on crate feature
consensus
only.Expand description
The Fjord network upgrade transactions.
Implementations§
Source§impl Fjord
impl Fjord
Sourcepub const GAS_PRICE_ORACLE: Address
pub const GAS_PRICE_ORACLE: Address
The Gas Price Oracle Address
This is computed by using go-ethereum’s crypto.CreateAddress
function,
with the Gas Price Oracle Deployer Address and nonce 0.
Sourcepub const L1_INFO_DEPOSITER: Address
pub const L1_INFO_DEPOSITER: Address
The L1 Info Depositer Address.
Sourcepub const GAS_PRICE_ORACLE_FJORD_DEPLOYER: Address
pub const GAS_PRICE_ORACLE_FJORD_DEPLOYER: Address
Fjord Gas Price Oracle Deployer Address.
Sourcepub const FJORD_GAS_PRICE_ORACLE: Address
pub const FJORD_GAS_PRICE_ORACLE: Address
Fjord Gas Price Oracle address.
Sourcepub const SET_FJORD_METHOD_SIGNATURE: [u8; 4]
pub const SET_FJORD_METHOD_SIGNATURE: [u8; 4]
The Set Fjord Four Byte Method Signature.
Sourcepub fn deploy_fjord_gas_price_oracle_source() -> FixedBytes<32>
pub fn deploy_fjord_gas_price_oracle_source() -> FixedBytes<32>
Returns the source hash for the deployment of the Fjord Gas Price Oracle.
Sourcepub fn update_fjord_gas_price_oracle_source() -> FixedBytes<32>
pub fn update_fjord_gas_price_oracle_source() -> FixedBytes<32>
Returns the source hash for the update of the Fjord Gas Price Oracle.
Sourcepub fn enable_fjord_source() -> FixedBytes<32>
pub fn enable_fjord_source() -> FixedBytes<32>
UpgradeDepositSource for setting the Fjord Gas Price Oracle.
Sourcepub fn gas_price_oracle_deployment_bytecode() -> Bytes
pub fn gas_price_oracle_deployment_bytecode() -> Bytes
Returns the fjord gas price oracle deployment bytecode.
Trait Implementations§
impl Copy for Fjord
Auto Trait Implementations§
impl Freeze for Fjord
impl RefUnwindSafe for Fjord
impl Send for Fjord
impl Sync for Fjord
impl Unpin for Fjord
impl UnwindSafe for Fjord
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<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