#![cfg_attr(not(feature = "std"), no_std)] use sp_std::vec::Vec; use ghost_helpers::networks::{NetworkType, NetworkCurve}; pub type PreparedEvmMessage = Option<(Vec, Vec, Vec)>; sp_api::decl_runtime_apis! { pub trait ExodusApi { fn get_evm_rotation_metadata(dkg_index: u64, network_type: NetworkType) -> PreparedEvmMessage; fn get_evm_bridge_metadata(dkg_index: u64, network_id: u64, session: u64) -> PreparedEvmMessage; fn get_evm_governance_metadata(dkg_index: u64, network_id: u64, session: u64) -> PreparedEvmMessage; fn pending_exodus_request_count() -> u32; fn is_qualification_ongoing(curve: NetworkCurve) -> bool; } }