pub trait OnXDMRewards<Balance> {
// Required methods
fn on_xdm_rewards(rewards: Balance);
fn on_chain_protocol_fees(chain_id: ChainId, fees: Balance);
}
Expand description
Trait to handle XDM rewards.
Required Methods§
fn on_xdm_rewards(rewards: Balance)
fn on_chain_protocol_fees(chain_id: ChainId, fees: Balance)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.