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§

source

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

source

type MaxMessagePayloadSize: Get<u32>

Max bytes in a message payload

source

type MaxMessagesPerCommit: Get<u32>

Max number of messages that can be queued and committed in one go for a given channel. Must be < 256

source

type MaxTotalGasLimit: Get<u64>

Maximum gas limit for one message batch sent to Ethereum.

source

type FeeCurrency: Get<Self::AssetId>

source

type FeeTechAccountId: Get<Self::TechAccountId>

source

type AuxiliaryDigestHandler: AuxiliaryDigestHandler

source

type MessageStatusNotifier: MessageStatusNotifier<Self::AssetId, Self::AccountId, <<Self as Config>::Currency as MultiCurrency<<Self as Config>::AccountId>>::Balance>

source

type ThisNetworkId: Get<GenericNetworkId>

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet

Implementors§