Struct avalanche_types::genesis::coreth::ChainConfig
source · [−]pub struct ChainConfig {Show 18 fields
pub chain_id: Option<u64>,
pub homestead_block: Option<u64>,
pub dao_fork_block: Option<u64>,
pub dao_fork_support: Option<bool>,
pub eip150_block: Option<u64>,
pub eip150_hash: Option<String>,
pub eip155_block: Option<u64>,
pub eip158_block: Option<u64>,
pub byzantium_block: Option<u64>,
pub constantinople_block: Option<u64>,
pub petersburg_block: Option<u64>,
pub istanbul_block: Option<u64>,
pub muir_glacier_block: Option<u64>,
pub apricot_phase1_block_timestamp: Option<u64>,
pub apricot_phase2_block_timestamp: Option<u64>,
pub apricot_phase3_block_timestamp: Option<u64>,
pub apricot_phase4_block_timestamp: Option<u64>,
pub apricot_phase5_block_timestamp: Option<u64>,
}
Expand description
ref. https://pkg.go.dev/github.com/ava-labs/coreth/params#ChainConfig
Fields
chain_id: Option<u64>
homestead_block: Option<u64>
dao_fork_block: Option<u64>
dao_fork_support: Option<bool>
eip150_block: Option<u64>
eip150_hash: Option<String>
eip155_block: Option<u64>
eip158_block: Option<u64>
byzantium_block: Option<u64>
constantinople_block: Option<u64>
petersburg_block: Option<u64>
istanbul_block: Option<u64>
muir_glacier_block: Option<u64>
apricot_phase1_block_timestamp: Option<u64>
apricot_phase2_block_timestamp: Option<u64>
apricot_phase3_block_timestamp: Option<u64>
apricot_phase4_block_timestamp: Option<u64>
apricot_phase5_block_timestamp: Option<u64>
Implementations
sourceimpl ChainConfig
impl ChainConfig
Trait Implementations
sourceimpl Clone for ChainConfig
impl Clone for ChainConfig
sourcefn clone(&self) -> ChainConfig
fn clone(&self) -> ChainConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChainConfig
impl Debug for ChainConfig
sourceimpl Default for ChainConfig
impl Default for ChainConfig
sourceimpl<'de> Deserialize<'de> for ChainConfig
impl<'de> Deserialize<'de> for ChainConfig
sourcefn 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
sourceimpl PartialEq<ChainConfig> for ChainConfig
impl PartialEq<ChainConfig> for ChainConfig
sourcefn eq(&self, other: &ChainConfig) -> bool
fn eq(&self, other: &ChainConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChainConfig) -> bool
fn ne(&self, other: &ChainConfig) -> bool
This method tests for !=
.
sourceimpl Serialize for ChainConfig
impl Serialize for ChainConfig
impl Eq for ChainConfig
impl StructuralEq for ChainConfig
impl StructuralPartialEq for ChainConfig
Auto Trait Implementations
impl RefUnwindSafe for ChainConfig
impl Send for ChainConfig
impl Sync for ChainConfig
impl Unpin for ChainConfig
impl UnwindSafe for ChainConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.