UNPKG

doppler-v3-sdk

Version:
21 lines 1.1 kB
import { ReadContract, ReadAdapter, Drift, EventLog, FunctionReturn, GetEventsOptions, ContractOptions } from "@delvtech/drift"; import { Address } from "viem"; import { airlockAbi } from "../../abis"; export type AirlockABI = typeof airlockAbi; export declare enum ModuleState { NotWhitelisted = 0, TokenFactory = 1, GovernanceFactory = 2, HookFactory = 3, Migrator = 4 } export declare class ReadFactory { airlock: ReadContract<AirlockABI>; constructor(address: Address, drift?: Drift<ReadAdapter>); getModuleState(address: Address, options?: ContractOptions): Promise<FunctionReturn<AirlockABI, "getModuleState">>; getAssetData(asset: Address, options?: ContractOptions): Promise<FunctionReturn<AirlockABI, "getAssetData">>; getCreateEvents(options?: GetEventsOptions): Promise<EventLog<AirlockABI, "Create">[]>; getMigrateEvents(options?: GetEventsOptions): Promise<EventLog<AirlockABI, "Migrate">[]>; getSetModuleStateEvents(options?: GetEventsOptions): Promise<EventLog<AirlockABI, "SetModuleState">[]>; } //# sourceMappingURL=ReadFactory.d.ts.map