Trait pallet_xcm_bridge_router::pallet::DefaultConfig

source ·
pub trait DefaultConfig: DefaultConfig {
    type RuntimeEvent;
    type WeightInfo: WeightInfo;
    type DestinationVersion: GetVersion;
    type ByteFee: Get<u128>;
    type FeeAsset: Get<Option<AssetId>>;
}
Expand description

Based on Config. Auto-generated by #[pallet::config(with_default)]. Can be used in tandem with #[register_default_config] and #[derive_impl] to derive test config traits based on existing pallet config traits in a safe and developer-friendly way.

See here for more information and caveats about the auto-generated DefaultConfig trait and how it is generated.

Required Associated Types§

source

type RuntimeEvent

The overarching event type.

source

type WeightInfo: WeightInfo

Benchmarks results from runtime we’re plugged into.

source

type DestinationVersion: GetVersion

Checks the XCM version for the destination.

source

type ByteFee: Get<u128>

Additional fee that is paid for every byte of the outbound message. See calculate_message_size_fee for more details.

source

type FeeAsset: Get<Option<AssetId>>

Asset used to pay the ByteFee. If not specified, the ByteFee is ignored. See calculate_fees for more details.

Object Safety§

This trait is not object safe.

Implementors§