pub trait TakeRevenue {
    fn take_revenue(revenue: MultiAsset);
}
Expand description

Function trait for handling some revenue. Similar to a negative imbalance (credit) handler, but for a MultiAsset. Sensible implementations will deposit the asset in some known treasury or block-author account.

Required Methods§

Do something with the given revenue, which is a single non-wildcard MultiAsset.

Implementations on Foreign Types§

Null implementation just burns the revenue.

Implementors§