Trait xcm_builder::TakeRevenue [−][src]
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
fn take_revenue(revenue: MultiAsset)
fn take_revenue(revenue: MultiAsset)
Do something with the given revenue
, which is a single non-wildcard MultiAsset
.
Implementations on Foreign Types
Null implementation just burns the revenue.