UNPKG

olympus-protocol-connector

Version:

Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript

24 lines (23 loc) 898 B
import { Service } from '../../../Service'; import { IndexCreatingData } from '../../../interfaces/IndexCreatingData'; import { IOlympusIndexFactory } from '../../../interfaces/IOlympusIndexFactory'; export declare class OlympusIndexFactory extends Service implements IOlympusIndexFactory { static create(): Promise<OlympusIndexFactory>; private constructor(); static customizeFastInitialization(sourceCode: string, opt: { withdrawFrequency: number; rebalanceFrequency: number; buyTokensFrequency: number; botAddress: string; }): string; deployIndexProduct(index: IndexCreatingData, template: { abi: any; bytecode: any; }, gasPrice: number): Promise<{ address: string; } | null>; estimatedDeployGasLimit(index: IndexCreatingData, template: { abi: any; bytecode: any; }): Promise<number>; }