mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 16:37:57 +00:00
Pools: Add MaxUnbonding to metadata (#2397)
This commit is contained in:
@@ -1626,6 +1626,10 @@ pub mod pallet {
|
||||
#[pallet::constant]
|
||||
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`.
|
||||
type BalanceToU256: Convert<BalanceOf<Self>, U256>;
|
||||
|
||||
@@ -1644,9 +1648,6 @@ pub mod pallet {
|
||||
|
||||
/// The maximum length, in bytes, that a pools metadata maybe.
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user