UNPKG

@nitin-spheron/desub-js

Version:

Typescript library for working with the decentralised subscription contracts in Spheron

13 lines (10 loc) 320 B
/** * @remarks * Base calss for all the services we will be needing. */ import { Keyed } from '../interfaces' export default abstract class implements Keyed { [key: string]: any abstract tokenToUSD(a: string, t: number, k: string): Promise<number> abstract tokenQuote(t: number, k: string): Promise<number> }