Crate pallet_restricted_xtokens
source ·Expand description
§Restricted Xtokens Pallet
§Overview
This pallet is a wrapper pallet over orml-xtokens
which allows the runtime
to create arbitrary filters for transfers of x-chain-transfers.
The interface mimic 1-to-1 the interface of orml-xtokens
.
§Interface
§Dispatchable functions
transfer
: Transfer local assets with givenCurrencyId
andAmount
.transfer_multiasset
: TransferAsset
assets.transfer_with_fee
: Transfer native currencies specifying the fee and amount as separate.transfer_multiasset_with_fee
: TransferAsset
specifying the fee and amount as separate.transfer_multicurrencies
: Transfer several currencies specifying the item to be used as fee.transfer_multiassets
: Transfer severalAsset
specifying the item to be used as fee.
Re-exports§
pub use pallet::*;
Modules§
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.