mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 10:21:04 +00:00
Pools: Add MaxUnbonding to metadata (#2397)
This commit is contained in:
@@ -1626,6 +1626,10 @@ pub mod pallet {
|
|||||||
#[pallet::constant]
|
#[pallet::constant]
|
||||||
type MaxPointsToBalance: Get<u8>;
|
type MaxPointsToBalance: Get<u8>;
|
||||||
|
|
||||||
|
/// The maximum number of simultaneous unbonding chunks that can exist per member.
|
||||||
|
#[pallet::constant]
|
||||||
|
type MaxUnbonding: Get<u32>;
|
||||||
|
|
||||||
/// Infallible method for converting `Currency::Balance` to `U256`.
|
/// Infallible method for converting `Currency::Balance` to `U256`.
|
||||||
type BalanceToU256: Convert<BalanceOf<Self>, U256>;
|
type BalanceToU256: Convert<BalanceOf<Self>, U256>;
|
||||||
|
|
||||||
@@ -1644,9 +1648,6 @@ pub mod pallet {
|
|||||||
|
|
||||||
/// The maximum length, in bytes, that a pools metadata maybe.
|
/// The maximum length, in bytes, that a pools metadata maybe.
|
||||||
type MaxMetadataLen: Get<u32>;
|
type MaxMetadataLen: Get<u32>;
|
||||||
|
|
||||||
/// The maximum number of simultaneous unbonding chunks that can exist per member.
|
|
||||||
type MaxUnbonding: Get<u32>;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The sum of funds across all pools.
|
/// The sum of funds across all pools.
|
||||||
|
|||||||
Reference in New Issue
Block a user