@witnet/ethers
Version:
Wit/Oracle Ethers Framework package for EVM-compatible projects
14 lines • 710 B
TypeScript
import { Witnet } from "@witnet/sdk";
import { PriceFeed } from "../types";
import { WitAppliance } from "./WitAppliance";
import { WitOracle } from "./WitOracle";
export declare class WitPriceFeedsLegacy extends WitAppliance {
protected constructor(witOracle: WitOracle, at: string);
static at(witOracle: WitOracle, target: string): Promise<WitPriceFeedsLegacy>;
getEvmFootprint(): Promise<string>;
isCaptionSupported(caption: string): Promise<boolean>;
lookupPriceFeedCaption(id4: Witnet.HexString): Promise<string>;
lookupPriceFeedExponent(id4: Witnet.HexString): Promise<number>;
lookupPriceFeeds(): Promise<Array<PriceFeed>>;
}
//# sourceMappingURL=WitPriceFeedsLegacy.d.ts.map