referrerpolicy=no-referrer-when-downgrade
snowbridge_core::reward

Trait AddTip

Source
pub trait AddTip {
    // Required method
    fn add_tip(nonce: u64, amount: u128) -> Result<(), AddTipError>;
}
Expand description

Trait to add a tip for a nonce.

Required Methods§

Source

fn add_tip(nonce: u64, amount: u128) -> Result<(), AddTipError>

Add a relayer reward tip to a pallet.

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.

Implementors§

impl<T: Config> AddTip for Pallet<T>

impl<T: Config> AddTip for Pallet<T>