Expand description
§Assets Holder Pallet
A pallet capable of holding fungibles from pallet-assets
. This is an extension of
pallet-assets
, wrapping fungibles::Inspect
.
It implements both
fungibles::hold::Inspect
,
fungibles::hold::Mutate
, and especially
fungibles::hold::Unbalanced
. The
complexity of the operations is O(1)
.
§Pallet API
See the pallet
module for more information about the interfaces this pallet exposes,
including its configuration trait, dispatchables, storage items, events and errors.
§Overview
This pallet provides the following functionality:
- Pallet hooks allowing [
pallet-assets
] to know the balance on hold for an account on a given asset (see [pallet_assets::BalanceOnHold
]). - An implementation of
fungibles::hold::Inspect
,fungibles::hold::Mutate
andfungibles::hold::Unbalanced
, allowing other pallets to manage holds for thepallet-assets
assets.
Re-exports§
pub use pallet::*;
Modules§
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.