Trait eth_bridge::pallet::Config

source ·
pub trait Config: Config + CreateSignedTransaction<Call<Self>> + CreateSignedTransaction<Call<Self>> + Config + Config<RuntimeCall = Self::RuntimeCall> + Debug {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type PeerId: AppCrypto<Self::Public, Self::Signature>;
    type RuntimeCall: From<Call<Self>> + From<Call<Self>> + Codec + Clone + GetCallMetadata;
    type NetworkId: Parameter + Member + AtLeast32Bit + Copy + MaybeSerializeDeserialize + Ord + Default + Debug;
    type GetEthNetworkId: Get<Self::NetworkId>;
    type WeightInfo: WeightInfo;
    type MessageStatusNotifier: MessageStatusNotifier<Self::AssetId, Self::AccountId, Balance>;
    type BridgeAssetLockChecker: BridgeAssetLockChecker<Self::AssetId, Balance>;
    type WeightToFee: WeightToFeePolynomial<Balance = Balance>;
}
Expand description

Configuration trait of this pallet.

Implement this type for a runtime in order to customize this pallet.

Required Associated Types§

source

type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>

source

type PeerId: AppCrypto<Self::Public, Self::Signature>

The identifier type for an offchain worker.

source

type RuntimeCall: From<Call<Self>> + From<Call<Self>> + Codec + Clone + GetCallMetadata

The overarching dispatch call type.

source

type NetworkId: Parameter + Member + AtLeast32Bit + Copy + MaybeSerializeDeserialize + Ord + Default + Debug

Sidechain network ID.

source

type GetEthNetworkId: Get<Self::NetworkId>

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

source

type MessageStatusNotifier: MessageStatusNotifier<Self::AssetId, Self::AccountId, Balance>

source

type BridgeAssetLockChecker: BridgeAssetLockChecker<Self::AssetId, Balance>

source

type WeightToFee: WeightToFeePolynomial<Balance = Balance>

Implementors§