olympus-protocol-connector
Version:
Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript
16 lines (15 loc) • 715 B
TypeScript
import { Service } from '../../Service';
import { ABI } from '../../interfaces/Enums';
export declare class ComponentListService extends Service {
/**
* @deprecated Use method create
* @param address address
*/
static get(address: string): Promise<ComponentListService>;
static create(address: string): Promise<ComponentListService>;
protected constructor(address: string, abi: ABI);
getLatestComponent(hexadecimalName: string): Promise<string>;
getLatestComponents(hexadecimalNames: string[]): Promise<string>;
getComponent(hexadecimalName: string, version: string): Promise<string>;
getComponentVersions(hexadecimalName: string, version: string): Promise<string>;
}