mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Add explicit hook for deciding whether to include the genesis validators
This commit is contained in:
@@ -11,3 +11,10 @@ pub enum Event {
|
||||
network: ExternalNetworkId,
|
||||
},
|
||||
}
|
||||
|
||||
/// A trait representing access to the information on economic security.
|
||||
pub trait EconomicSecurity {
|
||||
/// If am external network has _ever_ achieved economic security.
|
||||
#[must_use]
|
||||
fn achieved_economic_security(network: ExternalNetworkId) -> bool;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user