Trait bridge_outbound_channel::pallet::Config
source · pub trait Config: Config + Config + Config {
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
type MaxMessagePayloadSize: Get<u32>;
type MaxMessagesPerCommit: Get<u32>;
type MaxTotalGasLimit: Get<u64>;
type FeeCurrency: Get<Self::AssetId>;
type FeeTechAccountId: Get<Self::TechAccountId>;
type AuxiliaryDigestHandler: AuxiliaryDigestHandler;
type MessageStatusNotifier: MessageStatusNotifier<Self::AssetId, Self::AccountId, <<Self as Config>::Currency as MultiCurrency<<Self as Config>::AccountId>>::Balance>;
type ThisNetworkId: Get<GenericNetworkId>;
type WeightInfo: WeightInfo;
}
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 MaxMessagePayloadSize: Get<u32>
type MaxMessagePayloadSize: Get<u32>
Max bytes in a message payload
sourcetype MaxMessagesPerCommit: Get<u32>
type MaxMessagesPerCommit: Get<u32>
Max number of messages that can be queued and committed in one go for a given channel. Must be < 256
sourcetype MaxTotalGasLimit: Get<u64>
type MaxTotalGasLimit: Get<u64>
Maximum gas limit for one message batch sent to Ethereum.
type FeeCurrency: Get<Self::AssetId>
type FeeTechAccountId: Get<Self::TechAccountId>
type AuxiliaryDigestHandler: AuxiliaryDigestHandler
type MessageStatusNotifier: MessageStatusNotifier<Self::AssetId, Self::AccountId, <<Self as Config>::Currency as MultiCurrency<<Self as Config>::AccountId>>::Balance>
type ThisNetworkId: Get<GenericNetworkId>
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet