Trait pallet_xcm_benchmarks::fungible::pallet::Config
source · pub trait Config<I: 'static = ()>: Config + Config {
type TransactAsset: Mutate<Self::AccountId>;
type CheckedAccount: Get<Option<Self::AccountId>>;
type TrustedTeleporter: Get<Option<(MultiLocation, MultiAsset)>>;
type TrustedReserve: 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.
Required Associated Types§
sourcetype 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.
sourcetype CheckedAccount: Get<Option<Self::AccountId>>
type CheckedAccount: Get<Option<Self::AccountId>>
The account used to check assets being teleported.
sourcetype TrustedTeleporter: Get<Option<(MultiLocation, MultiAsset)>>
type TrustedTeleporter: Get<Option<(MultiLocation, MultiAsset)>>
A trusted location which we allow teleports from, and the asset we allow to teleport.
sourcetype TrustedReserve: Get<Option<(MultiLocation, MultiAsset)>>
type TrustedReserve: Get<Option<(MultiLocation, MultiAsset)>>
A trusted location where reserve assets are stored, and the asset we allow to be reserves.
Required Methods§
sourcefn get_multi_asset() -> MultiAsset
fn get_multi_asset() -> MultiAsset
Give me a fungible asset that your asset transactor is going to accept.