pub struct Ecotone;
consensus
only.Expand description
The Ecotone network upgrade transactions.
Implementations§
Source§impl Ecotone
impl Ecotone
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 ENABLE_ECOTONE_INPUT: [u8; 4]
pub const ENABLE_ECOTONE_INPUT: [u8; 4]
The Enable Ecotone Input Method 4Byte Signature
Sourcepub const L1_BLOCK_DEPLOYER: Address
pub const L1_BLOCK_DEPLOYER: Address
L1 Block Deployer Address
Sourcepub const GAS_PRICE_ORACLE_DEPLOYER: Address
pub const GAS_PRICE_ORACLE_DEPLOYER: Address
The Gas Price Oracle Deployer Address
Sourcepub const NEW_L1_BLOCK: Address
pub const NEW_L1_BLOCK: Address
The new L1 Block Address
This is computed by using go-ethereum’s crypto.CreateAddress
function,
with the L1 Block Deployer Address and nonce 0.
Sourcepub const EIP4788_FROM: Address
pub const EIP4788_FROM: Address
EIP-4788 From Address
Sourcepub fn deploy_l1_block_source() -> FixedBytes<32>
pub fn deploy_l1_block_source() -> FixedBytes<32>
Returns the source hash for the deployment of the l1 block contract.
Sourcepub fn deploy_gas_price_oracle_source() -> FixedBytes<32>
pub fn deploy_gas_price_oracle_source() -> FixedBytes<32>
Returns the source hash for the deployment of the gas price oracle contract.
Sourcepub fn update_l1_block_source() -> FixedBytes<32>
pub fn update_l1_block_source() -> FixedBytes<32>
Returns the source hash for the update of the l1 block proxy.
Sourcepub fn update_gas_price_oracle_source() -> FixedBytes<32>
pub fn update_gas_price_oracle_source() -> FixedBytes<32>
Returns the source hash for the update of the gas price oracle proxy.
Sourcepub fn beacon_roots_source() -> FixedBytes<32>
pub fn beacon_roots_source() -> FixedBytes<32>
Returns the source hash for the Ecotone Beacon Block Roots Contract deployment.
Sourcepub fn enable_ecotone_source() -> FixedBytes<32>
pub fn enable_ecotone_source() -> FixedBytes<32>
Returns the source hash for the Ecotone Gas Price Oracle activation.
Sourcepub fn eip4788_creation_data() -> Bytes
pub fn eip4788_creation_data() -> Bytes
Returns the EIP-4788 creation data.
Sourcepub fn l1_block_deployment_bytecode() -> Bytes
pub fn l1_block_deployment_bytecode() -> Bytes
Returns the raw bytecode for the L1 Block deployment.
Sourcepub fn ecotone_gas_price_oracle_deployment_bytecode() -> Bytes
pub fn ecotone_gas_price_oracle_deployment_bytecode() -> Bytes
Returns the gas price oracle deployment bytecode.
Trait Implementations§
impl Copy for Ecotone
Auto Trait Implementations§
impl Freeze for Ecotone
impl RefUnwindSafe for Ecotone
impl Send for Ecotone
impl Sync for Ecotone
impl Unpin for Ecotone
impl UnwindSafe for Ecotone
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
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>
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