Type Alias ConversionRateToNative
ConversionRateToNative: StorageDescriptor<[Key
: Enum<{ V3: { asset_id: XcmV3MultiassetAssetId; location: { interior: XcmV3Junctions; parents: number; }; }; V4: { asset_id: { interior: XcmV3Junctions; parents: number; }; location: { interior: XcmV3Junctions; parents: number; }; }; V5: { asset_id: { interior: Enum<{ Here: undefined; X1: Enum<{ AccountId32: ...
; AccountIndex64: ...
; AccountKey20: ...
; GeneralIndex: ...
; GeneralKey: ...
; GlobalConsensus: ...
; OnlyChild: ...
; PalletInstance: ...
; Parachain: ...
; Plurality: ...
; }>; X2: FixedSizeArray<2, Enum<(...
)>>; X3: FixedSizeArray<3, Enum<(...
)>>; X4: FixedSizeArray<4, Enum<(...
)>>; X5: FixedSizeArray<5, Enum<(...
)>>; X6: FixedSizeArray<6, Enum<(...
)>>; X7: FixedSizeArray<7, Enum<(...
)>>; X8: FixedSizeArray<8, Enum<(...
)>>; }>; parents: number; }; location: { interior: Enum<{ Here: undefined; X1: Enum<{ AccountId32: ...
; AccountIndex64: ...
; AccountKey20: ...
; GeneralIndex: ...
; GeneralKey: ...
; GlobalConsensus: ...
; OnlyChild: ...
; PalletInstance: ...
; Parachain: ...
; Plurality: ...
; }>; X2: FixedSizeArray<2, Enum<(...
)>>; X3: FixedSizeArray<3, Enum<(...
)>>; X4: FixedSizeArray<4, Enum<(...
)>>; X5: FixedSizeArray<5, Enum<(...
)>>; X6: FixedSizeArray<6, Enum<(...
)>>; X7: FixedSizeArray<7, Enum<(...
)>>; X8: FixedSizeArray<8, Enum<(...
)>>; }>; parents: number; }; }; }>], bigint, true, never>
Maps an asset to its fixed point representation in the native balance.
E.g.
native_amount = asset_amount * ConversionRateToNative::<T>::get(asset_kind)