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-assetsto know the balance on hold for an account on a given asset (see [pallet_assets::BalanceOnHold]). - An implementation of
fungibles::hold::Inspect,fungibles::hold::Mutateandfungibles::hold::Unbalanced, allowing other pallets to manage holds for thepallet-assetsassets.