Crate orml_asset_registry

Source

Modules§

module
The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.

Structs§

AssetMetadata
Data describing the asset properties.
AssetRegistryTrader
A WeightTrader implementation that tries to buy weight using a single currency. It tries all assets in payment and uses the first asset that can cover the weight. This asset is then “locked in” - later calls to buy_weight in the same xcm message only try the same asset. This is because only a single asset can be refunded due to the return type of refund_weight. This implementation assumes that WeightToFeeConverter implements a linear function, i.e. fee(x) + fee(y) = fee(x+y).
BoughtWeight
Helper struct for the AssetRegistryTrader that stores the data about bought weight.
ExistentialDeposits
FixedRateAssetRegistryTrader
A default implementation for WeightToFeeConverter that takes a fixed conversion rate.
SequentialId
An AssetProcessor that assigns a sequential ID

Traits§

WeightInfo

Type Aliases§

DefaultAssetMetadata
Alias for AssetMetadata to improve readability (and to placate clippy)