pub trait PriceProvider {
    // Required method
    fn average_price() -> Price;
}
Expand description

Interface for fetching price of the native token.

Required Methods§

source

fn average_price() -> Price

Get the price of the native token.

Object Safety§

This trait is not object safe.

Implementors§