/** * 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 { Duration, Uint128, ClaimsResponse, Addr, Config, InfoResponse, ListStakersResponse, TotalPowerAtHeightResponse, VotingPowerAtHeightResponse } from "./DaoVotingNativeStaked.types"; export interface DaoVotingNativeStakedReadOnlyInterface { contractAddress: string; getConfig: () => Promise; claims: ({ address }: { address: string; }) => Promise; listStakers: ({ limit, startAfter }: { limit?: number; startAfter?: string; }) => Promise; votingPowerAtHeight: ({ address, height }: { address: string; height?: number; }) => Promise; totalPowerAtHeight: ({ height }: { height?: number; }) => Promise; dao: () => Promise; info: () => Promise; } export declare class DaoVotingNativeStakedQueryClient implements DaoVotingNativeStakedReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); getConfig: () => Promise; claims: ({ address }: { address: string; }) => Promise; listStakers: ({ limit, startAfter }: { limit?: number; startAfter?: string; }) => Promise; votingPowerAtHeight: ({ address, height }: { address: string; height?: number; }) => Promise; totalPowerAtHeight: ({ height }: { height?: number; }) => Promise; dao: () => Promise; info: () => Promise; } export interface DaoVotingNativeStakedInterface extends DaoVotingNativeStakedReadOnlyInterface { contractAddress: string; sender: string; stake: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; unstake: ({ amount }: { amount: Uint128; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateConfig: ({ duration, manager, owner }: { duration?: Duration; manager?: string; owner?: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; claim: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; } export declare class DaoVotingNativeStakedClient extends DaoVotingNativeStakedQueryClient implements DaoVotingNativeStakedInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); stake: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; unstake: ({ amount }: { amount: Uint128; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateConfig: ({ duration, manager, owner }: { duration?: Duration; manager?: string; owner?: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; claim: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; }