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§
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
sourcetype PeerId: AppCrypto<Self::Public, Self::Signature>
type PeerId: AppCrypto<Self::Public, Self::Signature>
The identifier type for an offchain worker.
sourcetype RuntimeCall: From<Call<Self>> + From<Call<Self>> + Codec + Clone + GetCallMetadata
type RuntimeCall: From<Call<Self>> + From<Call<Self>> + Codec + Clone + GetCallMetadata
The overarching dispatch call type.
sourcetype NetworkId: Parameter + Member + AtLeast32Bit + Copy + MaybeSerializeDeserialize + Ord + Default + Debug
type NetworkId: Parameter + Member + AtLeast32Bit + Copy + MaybeSerializeDeserialize + Ord + Default + Debug
Sidechain network ID.
type GetEthNetworkId: Get<Self::NetworkId>
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.