UNPKG

@aut-labs/sdk

Version:

The TS/JS SDK package aims to make it easy for frontends/backends to integrate with Aut Smart Contracts

13 lines (12 loc) 890 B
import { HubRegistryContractFunctions, HubRegistryContractEventType } from "@aut-labs/abi-types"; import { ISDKBiconomyWrapper } from "../models/IBiconomyWrapper"; import { MultiSigner } from "../models/models"; import { SDKContractGenericResponse } from "../models/response"; import SDKBaseContract from "./base.contract"; import { Overrides } from "ethers"; export declare class HubRegistryContract extends SDKBaseContract<HubRegistryContractFunctions, HubRegistryContractEventType> { constructor(address: string, multiSigner: MultiSigner, biconomyWrapper: ISDKBiconomyWrapper); getHubs(): Promise<SDKContractGenericResponse<string[]>>; getHubByDeployer(deployer: string): Promise<SDKContractGenericResponse<string[]>>; deployHub(roles: number[], market: number, metadata: string, commitment: number, overrides?: Overrides): Promise<SDKContractGenericResponse<string>>; }