Skip to main content

BlockchainConfig

Struct BlockchainConfig 

Source
pub struct BlockchainConfig {
Show 44 fields pub raw: String, pub config_address: String, pub elector_address: String, pub minter_address: String, pub fee_collector_address: Option<String>, pub dns_root_address: String, pub fee_burn_config: Option<FeeBurnConfig>, pub minting_fees: Option<MintingFees>, pub currency_volumes: Option<CurrencyVolumes>, pub network_version: Option<NetworkVersion>, pub mandatory_params: Option<MandatoryParams>, pub critical_params: Option<CriticalParams>, pub proposal_setup: Option<ConfigProposal>, pub workchains: Option<WorkchainsWrapper>, pub complaint_fees: Option<ComplaintFees>, pub block_creation_rewards: Option<BlockCreationRewards>, pub validator_election: Option<ValidatorElection>, pub validator_limits: Option<ValidatorLimits>, pub stake_params: Option<StakeParams>, pub storage_prices: Option<StoragePrices>, pub gas_limits_masterchain: Option<GasLimitPricesWrapper>, pub gas_limits_basechain: Option<GasLimitPricesWrapper>, pub block_limits_masterchain: Option<BlockLimitsWrapper>, pub block_limits_basechain: Option<BlockLimitsWrapper>, pub msg_forward_prices_masterchain: Option<MsgForwardPricesWrapper>, pub msg_forward_prices_basechain: Option<MsgForwardPricesWrapper>, pub catchain_config: Option<CatchainConfig>, pub consensus_config: Option<ConsensusConfig>, pub fundamental_smc_addr: Option<FundamentalSmcAddr>, pub validators_set_32: Option<ValidatorsSet>, pub validators_set_33: Option<ValidatorsSet>, pub validators_set_34: Option<ValidatorsSet>, pub validators_set_35: Option<ValidatorsSet>, pub validators_set_36: Option<ValidatorsSet>, pub validators_set_37: Option<ValidatorsSet>, pub misbehaviour_punishment: Option<MisbehaviourPunishmentConfig>, pub size_limits_config: Option<SizeLimitsConfig>, pub suspended_accounts: SuspendedAccounts, pub oracle_bridge_params_71: Option<OracleBridgeParamsWrapper>, pub oracle_bridge_params_72: Option<OracleBridgeParamsWrapper>, pub oracle_bridge_params_73: Option<OracleBridgeParamsWrapper>, pub jetton_bridge_params_79: Option<JettonBridgeParamsWrapper>, pub jetton_bridge_params_81: Option<JettonBridgeParamsWrapper>, pub jetton_bridge_params_82: Option<JettonBridgeParamsWrapper>,
}

Fields§

§raw: String§config_address: String§elector_address: String§minter_address: String§fee_collector_address: Option<String>§dns_root_address: String§fee_burn_config: Option<FeeBurnConfig>§minting_fees: Option<MintingFees>§currency_volumes: Option<CurrencyVolumes>§network_version: Option<NetworkVersion>§mandatory_params: Option<MandatoryParams>§critical_params: Option<CriticalParams>§proposal_setup: Option<ConfigProposal>§workchains: Option<WorkchainsWrapper>§complaint_fees: Option<ComplaintFees>§block_creation_rewards: Option<BlockCreationRewards>§validator_election: Option<ValidatorElection>§validator_limits: Option<ValidatorLimits>§stake_params: Option<StakeParams>§storage_prices: Option<StoragePrices>§gas_limits_masterchain: Option<GasLimitPricesWrapper>§gas_limits_basechain: Option<GasLimitPricesWrapper>§block_limits_masterchain: Option<BlockLimitsWrapper>§block_limits_basechain: Option<BlockLimitsWrapper>§msg_forward_prices_masterchain: Option<MsgForwardPricesWrapper>§msg_forward_prices_basechain: Option<MsgForwardPricesWrapper>§catchain_config: Option<CatchainConfig>§consensus_config: Option<ConsensusConfig>§fundamental_smc_addr: Option<FundamentalSmcAddr>§validators_set_32: Option<ValidatorsSet>§validators_set_33: Option<ValidatorsSet>§validators_set_34: Option<ValidatorsSet>§validators_set_35: Option<ValidatorsSet>§validators_set_36: Option<ValidatorsSet>§validators_set_37: Option<ValidatorsSet>§misbehaviour_punishment: Option<MisbehaviourPunishmentConfig>§size_limits_config: Option<SizeLimitsConfig>§suspended_accounts: SuspendedAccounts§oracle_bridge_params_71: Option<OracleBridgeParamsWrapper>§oracle_bridge_params_72: Option<OracleBridgeParamsWrapper>§oracle_bridge_params_73: Option<OracleBridgeParamsWrapper>§jetton_bridge_params_79: Option<JettonBridgeParamsWrapper>§jetton_bridge_params_81: Option<JettonBridgeParamsWrapper>§jetton_bridge_params_82: Option<JettonBridgeParamsWrapper>

Trait Implementations§

Source§

impl Debug for BlockchainConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for BlockchainConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

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

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,