pub trait Config: Config {
    type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
    type WeightInfo: WeightInfo;
    type PalletId: Get<PalletId>;
    type MaxLockRingAmountPerTx: Get<RingBalance<Self>>;
    type RingCurrency: Currency<AccountId<Self>>;
    type BridgedAccountIdConverter: Convert<H256, Self::AccountId>;
    type BridgedChainId: Get<ChainId>;
    type OutboundPayloadCreator: Parameter + IssueFromRemotePayload<Self::AccountId, MultiSigner, MultiSignature, Self>;
    type MessageNoncer: LatestMessageNoncer;
    type MessageLaneId: Get<LaneId>;
    type MessagesBridge: MessagesBridge<Self::Origin, Self::AccountId, RingBalance<Self>, <<Self as Config>::OutboundPayloadCreator as IssueFromRemotePayload<Self::AccountId, MultiSigner, MultiSignature, Self>>::Payload, Error = DispatchErrorWithPostInfo<PostDispatchInfo>>;
}
Expand description

Configuration trait of this pallet.

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

Required Associated Types

The overarching event type.

Weight information for extrinsics in this pallet.

The pallet id of this pallet

The max lock amount per transaction for security.

The RING currency.

The bridge account id converter. remote account + remote chain id derive the new account

The bridged chain id

Outbound payload creator used for s2s message

The message noncer to get the message nonce from the bridge

The lane id of the s2s bridge

The message bridge instance to send message

Implementors