referrerpolicy=no-referrer-when-downgrade
penpal_runtime::xcm_config

Type Alias FungiblesTransactor

Source
pub type FungiblesTransactor = FungiblesAdapter<Assets, (ConvertedConcreteId<AssetId, Balance, AsPrefixedGeneralIndex<AssetsPalletLocation, AssetId, JustTry>, JustTry>, ConvertedConcreteId<AssetId, Balance, AsPrefixedGeneralIndex<SystemAssetHubAssetsPalletLocation, AssetId, JustTry>, JustTry>), LocationToAccountId, AccountId, LocalMint<NonZeroIssuance<AccountId, Assets>>, CheckingAccount>;
Expand description

Means for transacting assets besides the native currency on this chain.

Aliased Type§

struct FungiblesTransactor(/* private fields */);

Trait Implementations

Source§

impl<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount> TransactAsset for FungiblesAdapter<Assets, Matcher, AccountIdConverter, AccountId, CheckAsset, CheckingAccount>
where Assets: Mutate<AccountId>, Matcher: MatchesFungibles<<Assets as Inspect<AccountId>>::AssetId, <Assets as Inspect<AccountId>>::Balance>, AccountIdConverter: ConvertLocation<AccountId>, AccountId: Eq + Clone + Debug, CheckAsset: AssetChecking<<Assets as Inspect<AccountId>>::AssetId>, CheckingAccount: Get<AccountId>,

Source§

fn can_check_in( origin: &Location, what: &Asset, context: &XcmContext, ) -> Result<(), Error>

Ensure that check_in will do as expected. Read more
Source§

fn check_in(origin: &Location, what: &Asset, context: &XcmContext)

An asset has been teleported in from the given origin. This should do whatever housekeeping is needed. Read more
Source§

fn can_check_out( dest: &Location, what: &Asset, context: &XcmContext, ) -> Result<(), Error>

Ensure that check_out will do as expected. Read more
Source§

fn check_out(dest: &Location, what: &Asset, context: &XcmContext)

An asset has been teleported out to the given destination. This should do whatever housekeeping is needed. Read more
Source§

fn deposit_asset( what: &Asset, who: &Location, context: Option<&XcmContext>, ) -> Result<(), Error>

Deposit the what asset into the account of who. Read more
Source§

fn withdraw_asset( what: &Asset, who: &Location, maybe_context: Option<&XcmContext>, ) -> Result<AssetsInHolding, Error>

Withdraw the given asset from the consensus system. Return the actual asset(s) withdrawn, which should always be equal to _what. Read more
Source§

fn internal_transfer_asset( what: &Asset, from: &Location, to: &Location, context: &XcmContext, ) -> Result<AssetsInHolding, Error>

Move an asset from one location in to another location. Read more
Source§

fn transfer_asset( asset: &Asset, from: &Location, to: &Location, context: &XcmContext, ) -> Result<AssetsInHolding, Error>

Move an asset from one location in to another location. Read more