/** * 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, Binary, Addr, Config, HooksResponse, InfoResponse, NftClaimsResponse, ArrayOfString, TotalPowerAtHeightResponse, VotingPowerAtHeightResponse } from "./DaoVotingCw721Staked.types"; export interface DaoVotingCw721StakedReadOnlyInterface { contractAddress: string; config: () => Promise; nftClaims: ({ address }: { address: string; }) => Promise; hooks: () => Promise; stakedNfts: ({ address, limit, startAfter }: { address: string; 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 DaoVotingCw721StakedQueryClient implements DaoVotingCw721StakedReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); config: () => Promise; nftClaims: ({ address }: { address: string; }) => Promise; hooks: () => Promise; stakedNfts: ({ address, limit, startAfter }: { address: string; limit?: number; startAfter?: string; }) => Promise; votingPowerAtHeight: ({ address, height }: { address: string; height?: number; }) => Promise; totalPowerAtHeight: ({ height }: { height?: number; }) => Promise; dao: () => Promise; info: () => Promise; } export interface DaoVotingCw721StakedInterface extends DaoVotingCw721StakedReadOnlyInterface { contractAddress: string; sender: string; receiveNft: ({ msg, sender, tokenId }: { msg: Binary; sender: string; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; unstake: ({ tokenIds }: { tokenIds: string[]; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; claimNfts: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateConfig: ({ duration, owner }: { duration?: Duration; owner?: 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 DaoVotingCw721StakedClient extends DaoVotingCw721StakedQueryClient implements DaoVotingCw721StakedInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); receiveNft: ({ msg, sender, tokenId }: { msg: Binary; sender: string; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; unstake: ({ tokenIds }: { tokenIds: string[]; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; claimNfts: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateConfig: ({ duration, owner }: { duration?: Duration; owner?: 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; }