pub type ForeignFungiblesTransactor = FungiblesAdapter<Assets, (ConvertedConcreteId<AssetId, Balance, AsAssetType<AssetId, AssetType, AssetManager>, JustTry>,), LocationToAccountId, AccountId, NoChecking, ()>;

Aliased Type§

struct ForeignFungiblesTransactor(/* private fields */);

Trait Implementations

§

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, CheckAsset: AssetChecking<<Assets as Inspect<AccountId>>::AssetId>, CheckingAccount: Get<AccountId>,

§

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

Ensure that check_in will do as expected. Read more
§

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
§

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

Ensure that check_out will do as expected. Read more
§

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
§

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

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

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
§

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
§

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