/** * This file was automatically generated by @cosmwasm/ts-codegen@0.26.0. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; import { Coin, StdFee } from "@cosmjs/amino"; import { Member, AdminResponse, HooksResponse, MemberListResponse, MemberResponse, TotalWeightResponse } from "./Cw4Group.types"; export interface Cw4GroupReadOnlyInterface { contractAddress: string; admin: () => Promise; totalWeight: ({ atHeight }: { atHeight?: number; }) => Promise; listMembers: ({ limit, startAfter }: { limit?: number; startAfter?: string; }) => Promise; member: ({ addr, atHeight }: { addr: string; atHeight?: number; }) => Promise; hooks: () => Promise; } export declare class Cw4GroupQueryClient implements Cw4GroupReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); admin: () => Promise; totalWeight: ({ atHeight }: { atHeight?: number; }) => Promise; listMembers: ({ limit, startAfter }: { limit?: number; startAfter?: string; }) => Promise; member: ({ addr, atHeight }: { addr: string; atHeight?: number; }) => Promise; hooks: () => Promise; } export interface Cw4GroupInterface extends Cw4GroupReadOnlyInterface { contractAddress: string; sender: string; updateAdmin: ({ admin }: { admin?: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateMembers: ({ add, remove }: { add: Member[]; remove: string[]; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; addHook: ({ addr }: { addr: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; removeHook: ({ addr }: { addr: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; } export declare class Cw4GroupClient extends Cw4GroupQueryClient implements Cw4GroupInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); updateAdmin: ({ admin }: { admin?: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateMembers: ({ add, remove }: { add: Member[]; remove: string[]; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; addHook: ({ addr }: { addr: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; removeHook: ({ addr }: { addr: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; }