Trait pallet_xcm_benchmarks::fungible::pallet::Config [−][src]
pub trait Config<I: 'static = ()>: Config + Config {
type TransactAsset: Mutate<Self::AccountId>;
type CheckedAccount: Get<Option<Self::AccountId>>;
type TrustedTeleporter: Get<Option<(MultiLocation, MultiAsset)>>;
fn get_multi_asset() -> MultiAsset;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Associated Types
type TransactAsset: Mutate<Self::AccountId>
type TransactAsset: Mutate<Self::AccountId>
The type of fungible
that is being used under the hood.
This is useful for testing and checking.
type CheckedAccount: Get<Option<Self::AccountId>>
type CheckedAccount: Get<Option<Self::AccountId>>
The account used to check assets being teleported.
A trusted location which we allow teleports from, and the asset we allow to teleport.
Required methods
fn get_multi_asset() -> MultiAsset
fn get_multi_asset() -> MultiAsset
Give me a fungible asset that your asset transactor is going to accept.