Trait xcm_calls::assets::AssetsCallEncoder [−][src]
pub trait AssetsCallEncoder<AssetId, Source, Balance>: PalletCallEncoder {
type CompactAssetIdEncoder: EncodeWith<AssetId, Self::Context>;
type SourceEncoder: EncodeWith<Source, Self::Context>;
type CompactBalanceEncoder: EncodeWith<Balance, Self::Context>;
}
Expand description
Provides encoder types to encode the associated types of the
pallet_assets::Config
trait depending on the configured Context.
Associated Types
type CompactAssetIdEncoder: EncodeWith<AssetId, Self::Context>
type CompactAssetIdEncoder: EncodeWith<AssetId, Self::Context>
Encodes the <pallet_assets::Config>::AssetId
depending on the context
type SourceEncoder: EncodeWith<Source, Self::Context>
type SourceEncoder: EncodeWith<Source, Self::Context>
Encodes the <pallet_assets::Config>::Source
depending on the context
type CompactBalanceEncoder: EncodeWith<Balance, Self::Context>
type CompactBalanceEncoder: EncodeWith<Balance, Self::Context>
Encodes the <pallet_assets::Config>::Balance
depending on the context