import { FixedPointNumber , MaybeCurrency , Token } from '@acala-network/sdk-core' ; import { Observable } from 'rxjs' ; import { PriceProviderType } from '../wallet/price-provider/types' ; export interface TokenProvider { subscribeToken ( token ) : Observable < Token > ; subscribePrice ? : ( token : MaybeCurrency , type ? : PriceProviderType ) => Observable < FixedPointNumber > ; }