/** * 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 { ActiveThreshold, ActiveThresholdResponse, Addr, InfoResponse, Boolean, TotalPowerAtHeightResponse, VotingPowerAtHeightResponse } from "./CwFundDistributor.types"; export interface CwFundDistributorReadOnlyInterface { contractAddress: string; stakingContract: () => Promise; activeThreshold: () => Promise; votingPowerAtHeight: ({ address, height }: { address: string; height?: number; }) => Promise; totalPowerAtHeight: ({ height }: { height?: number; }) => Promise; dao: () => Promise; info: () => Promise; tokenContract: () => Promise; isActive: () => Promise; } export declare class CwFundDistributorQueryClient implements CwFundDistributorReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); stakingContract: () => Promise; activeThreshold: () => Promise; votingPowerAtHeight: ({ address, height }: { address: string; height?: number; }) => Promise; totalPowerAtHeight: ({ height }: { height?: number; }) => Promise; dao: () => Promise; info: () => Promise; tokenContract: () => Promise; isActive: () => Promise; } export interface CwFundDistributorInterface extends CwFundDistributorReadOnlyInterface { contractAddress: string; sender: string; updateActiveThreshold: ({ newThreshold }: { newThreshold?: ActiveThreshold; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; } export declare class CwFundDistributorClient extends CwFundDistributorQueryClient implements CwFundDistributorInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); updateActiveThreshold: ({ newThreshold }: { newThreshold?: ActiveThreshold; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; }