@mimicry/sdk
Version:
A node SDK designed to simplify interaction with the Mimicry Protocol smart contracts.
12 lines (11 loc) • 450 B
TypeScript
import { Contract } from 'ethers';
import { Timeframe } from '../../../enums';
import { IOHLCV } from 'candlestick-convert';
export declare abstract class AbstractOracle {
abstract getOHLCV(_timeframe: Timeframe): Promise<IOHLCV[]>;
abstract getContract(): Contract;
abstract getLatestValue(): Promise<any>;
abstract getMetadata(): any;
abstract getTicks(): Promise<any>;
abstract validate(_metadata: any): void;
}