mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
Add HoldReason to the NIS pallet (#13823)
* Add HoldReason to the NIS pallet * Rename composable_enum to composite_enum * Add encoding test * Add more doc comments
This commit is contained in:
@@ -482,6 +482,14 @@ pub mod pallet {
|
||||
AlreadyPrivate,
|
||||
}
|
||||
|
||||
/// A reason for the NIS pallet placing a hold on funds.
|
||||
#[pallet::composite_enum]
|
||||
pub enum HoldReason {
|
||||
/// The NIS Pallet has reserved it for a non-fungible receipt.
|
||||
#[codec(index = 0)]
|
||||
NftReceipt,
|
||||
}
|
||||
|
||||
pub(crate) struct WeightCounter {
|
||||
pub(crate) used: Weight,
|
||||
pub(crate) limit: Weight,
|
||||
|
||||
Reference in New Issue
Block a user