diff --git a/pallets/traits/Cargo.toml b/pallets/traits/Cargo.toml index 46c58e7..884fb47 100644 --- a/pallets/traits/Cargo.toml +++ b/pallets/traits/Cargo.toml @@ -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 diff --git a/pallets/traits/src/evictor.rs b/pallets/traits/src/evictor.rs new file mode 100644 index 0000000..38fe205 --- /dev/null +++ b/pallets/traits/src/evictor.rs @@ -0,0 +1,3 @@ +pub trait StakingEvictor { + fn try_evict_validator(who: &AccountId) -> bool; +} diff --git a/pallets/traits/src/lib.rs b/pallets/traits/src/lib.rs index c78697e..26f32a8 100644 --- a/pallets/traits/src/lib.rs +++ b/pallets/traits/src/lib.rs @@ -2,3 +2,4 @@ pub mod exposure; pub mod networks; +pub mod evictor;