/** * 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 { MemberDiff, Addr, InfoResponse, TotalPowerAtHeightResponse, VotingPowerAtHeightResponse } from "./DaoVotingCw4.types"; export interface DaoVotingCw4ReadOnlyInterface { contractAddress: string; groupContract: () => Promise; votingPowerAtHeight: ({ address, height }: { address: string; height?: number; }) => Promise; totalPowerAtHeight: ({ height }: { height?: number; }) => Promise; dao: () => Promise; info: () => Promise; } export declare class DaoVotingCw4QueryClient implements DaoVotingCw4ReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); groupContract: () => Promise; votingPowerAtHeight: ({ address, height }: { address: string; height?: number; }) => Promise; totalPowerAtHeight: ({ height }: { height?: number; }) => Promise; dao: () => Promise; info: () => Promise; } export interface DaoVotingCw4Interface extends DaoVotingCw4ReadOnlyInterface { contractAddress: string; sender: string; memberChangedHook: ({ diffs }: { diffs: MemberDiff[]; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; } export declare class DaoVotingCw4Client extends DaoVotingCw4QueryClient implements DaoVotingCw4Interface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); memberChangedHook: ({ diffs }: { diffs: MemberDiff[]; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; }