import { Observable } from 'rxjs' ; import { FixedPointNumber as FN } from '@acala-network/sdk-core' ; export interface PriceProvider { subscribe ( currency ) : Observable < FN > ; query ( currency ) : Promise < FN > ; } export enum PriceProviderType { 'MARKET' , 'ORACLE' }