pub trait PriceForMessageDelivery {
type Id;
// Required method
fn price_for_delivery(id: Self::Id, message: &Xcm<()>) -> Assets;
}
Expand description
Simple value-bearing trait for determining/expressing the assets required to be paid for a messages to be delivered to a parachain.
Required Associated Types§
Required Methods§
sourcefn price_for_delivery(id: Self::Id, message: &Xcm<()>) -> Assets
fn price_for_delivery(id: Self::Id, message: &Xcm<()>) -> Assets
Return the assets required to deliver message
to the given para
destination.
Object Safety§
This trait is not object safe.