Trait stp258_traits::stp258::FetchPrice [−][src]
Expected price oracle interface. fetch_price
must return the amount of Coins exchanged for the tracked value.
Associated Types
type Balance: AtLeast32BitUnsigned + FullCodec + Copy + MaybeSerializeDeserialize + Debug + Default
[src]
The balance of an account.
Required methods
fn fetch_price() -> Self::Balance
[src]
Fetch the current price.