[][src]Struct casper_execution_engine::core::engine_state::genesis::ExecConfig

pub struct ExecConfig { /* fields omitted */ }

Implementations

impl ExecConfig[src]

pub fn new(
    mint_installer_bytes: Vec<u8>,
    proof_of_stake_installer_bytes: Vec<u8>,
    standard_payment_installer_bytes: Vec<u8>,
    auction_installer_bytes: Vec<u8>,
    accounts: Vec<GenesisAccount>,
    wasm_config: WasmConfig,
    validator_slots: u32,
    auction_delay: u64,
    locked_funds_period: EraId,
    round_seigniorage_rate: Ratio<u64>
) -> ExecConfig
[src]

pub fn mint_installer_bytes(&self) -> &[u8][src]

pub fn proof_of_stake_installer_bytes(&self) -> &[u8][src]

pub fn standard_payment_installer_bytes(&self) -> &[u8][src]

pub fn auction_installer_bytes(&self) -> &[u8][src]

pub fn wasm_config(&self) -> &WasmConfig[src]

pub fn get_bonded_validators(&self) -> impl Iterator<Item = &GenesisAccount>[src]

pub fn accounts(&self) -> &[GenesisAccount][src]

pub fn push_account(&mut self, account: GenesisAccount)[src]

pub fn validator_slots(&self) -> u32[src]

pub fn auction_delay(&self) -> u64[src]

pub fn locked_funds_period(&self) -> EraId[src]

pub fn round_seigniorage_rate(&self) -> Ratio<u64>[src]

Trait Implementations

impl Clone for ExecConfig[src]

impl Debug for ExecConfig[src]

impl Distribution<ExecConfig> for Standard[src]

impl Eq for ExecConfig[src]

impl PartialEq<ExecConfig> for ExecConfig[src]

impl StructuralEq for ExecConfig[src]

impl StructuralPartialEq for ExecConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,