@aut-labs/sdk
Version:
The TS/JS SDK package aims to make it easy for frontends/backends to integrate with Aut Smart Contracts
10 lines (9 loc) • 590 B
TypeScript
import { HubContractFunctions, HubContractEventType } from "@aut-labs/abi-types";
import { SDKContractGenericResponse } from "../models/response";
import SDKBaseContract from "./base.contract";
export declare class AdminsContract extends SDKBaseContract<HubContractFunctions, HubContractEventType> {
isAdmin(address: string): Promise<SDKContractGenericResponse<boolean>>;
getAdmins(): Promise<SDKContractGenericResponse<string[]>>;
addAdmins(addresses: string[]): Promise<SDKContractGenericResponse>;
removeAdmins(addresss: string[]): Promise<SDKContractGenericResponse>;
}