Trait cfg_traits::EpochTransitionHook
source · pub trait EpochTransitionHook {
type Balance;
type PoolId;
type Time;
type Error;
// Required methods
fn on_closing_mutate_reserve(
pool_id: Self::PoolId,
assets_under_management: Self::Balance,
reserve: &mut Self::Balance
) -> Result<(), Self::Error>;
fn on_execution_pre_fulfillments(
pool_id: Self::PoolId
) -> Result<(), Self::Error>;
}
Expand description
Trait to signal an epoch transition.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.