Trait framenode_runtime::OnPswapBurned
source · pub trait OnPswapBurned {
// Required method
fn on_pswap_burned(distribution: PswapRemintInfo);
}
Expand description
General trait for passing pswap amount burned information to required pallets.
Required Methods§
sourcefn on_pswap_burned(distribution: PswapRemintInfo)
fn on_pswap_burned(distribution: PswapRemintInfo)
Report amount and fractions of burned pswap at the moment of invokation.
Implementations on Foreign Types§
source§impl OnPswapBurned for ()
impl OnPswapBurned for ()
fn on_pswap_burned(_distribution: PswapRemintInfo)
source§impl<T> OnPswapBurned for Pallet<T>where
T: Config,
impl<T> OnPswapBurned for Pallet<T>where T: Config,
source§fn on_pswap_burned(distribution: PswapRemintInfo)
fn on_pswap_burned(distribution: PswapRemintInfo)
Invoked when pswap is burned after being exchanged from collected liquidity provider fees.