Trait erc20_app::pallet::Config

source ·
pub trait Config: Config {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type OutboundChannel: OutboundChannel<EVMChainId, Self::AccountId, AdditionalEVMOutboundData>;
    type CallOrigin: EnsureOrigin<Self::RuntimeOrigin, Success = CallOriginOutput<EVMChainId, H256, AdditionalEVMInboundData>>;
    type MessageStatusNotifier: MessageStatusNotifier<AssetIdOf<Self>, Self::AccountId, BalanceOf<Self>>;
    type AssetRegistry: BridgeAssetRegistry<Self::AccountId, AssetIdOf<Self>>;
    type AppRegistry: AppRegistry<EVMChainId, H160>;
    type AssetIdConverter: Convert<AssetIdOf<Self>, MainnetAssetId>;
    type BalancePrecisionConverter: BalancePrecisionConverter<AssetIdOf<Self>, BalanceOf<Self>, U256>;
    type BridgeAssetLocker: BridgeAssetLocker<Self::AccountId>;
    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 OutboundChannel: OutboundChannel<EVMChainId, Self::AccountId, AdditionalEVMOutboundData>

source

type CallOrigin: EnsureOrigin<Self::RuntimeOrigin, Success = CallOriginOutput<EVMChainId, H256, AdditionalEVMInboundData>>

source

type MessageStatusNotifier: MessageStatusNotifier<AssetIdOf<Self>, Self::AccountId, BalanceOf<Self>>

source

type AssetRegistry: BridgeAssetRegistry<Self::AccountId, AssetIdOf<Self>>

source

type AppRegistry: AppRegistry<EVMChainId, H160>

source

type AssetIdConverter: Convert<AssetIdOf<Self>, MainnetAssetId>

source

type BalancePrecisionConverter: BalancePrecisionConverter<AssetIdOf<Self>, BalanceOf<Self>, U256>

source

type BridgeAssetLocker: BridgeAssetLocker<Self::AccountId>

source

type WeightInfo: WeightInfo

Implementors§