eviction trait added

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2026-06-18 14:36:51 +03:00
parent 8252107e96
commit 0dd27d6429
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
3 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "ghost-traits"
version = "0.3.32"
version = "0.3.33"
license.workspace = true
authors.workspace = true
edition.workspace = true

View File

@ -0,0 +1,3 @@
pub trait StakingEvictor<AccountId> {
fn try_evict_validator(who: &AccountId) -> bool;
}

View File

@ -2,3 +2,4 @@
pub mod exposure;
pub mod networks;
pub mod evictor;