/** * 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 { StdFee } from "@cosmjs/amino"; import { UncheckedDenom, UncheckedDepositInfo, Empty, ProposeMessage, Binary, Status, Coin, Addr, Config, DepositInfoResponse, HooksResponse } from "./DaoPreProposeSingle.types"; export interface DaoPreProposeSingleReadOnlyInterface { contractAddress: string; proposalModule: () => Promise; dao: () => Promise; config: () => Promise; depositInfo: ({ proposalId }: { proposalId: number; }) => Promise; proposalSubmittedHooks: () => Promise; queryExtension: ({ msg }: { msg: Empty; }) => Promise; } export declare class DaoPreProposeSingleQueryClient implements DaoPreProposeSingleReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); proposalModule: () => Promise; dao: () => Promise; config: () => Promise; depositInfo: ({ proposalId }: { proposalId: number; }) => Promise; proposalSubmittedHooks: () => Promise; queryExtension: ({ msg }: { msg: Empty; }) => Promise; } export interface DaoPreProposeSingleInterface extends DaoPreProposeSingleReadOnlyInterface { contractAddress: string; sender: string; propose: ({ msg }: { msg: ProposeMessage; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateConfig: ({ depositInfo, openProposalSubmission }: { depositInfo?: UncheckedDepositInfo; openProposalSubmission: boolean; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; withdraw: ({ denom }: { denom?: UncheckedDenom; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; extension: ({ msg }: { msg: Empty; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; addProposalSubmittedHook: ({ address }: { address: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; removeProposalSubmittedHook: ({ address }: { address: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; proposalCompletedHook: ({ newStatus, proposalId }: { newStatus: Status; proposalId: number; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; } export declare class DaoPreProposeSingleClient extends DaoPreProposeSingleQueryClient implements DaoPreProposeSingleInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); propose: ({ msg }: { msg: ProposeMessage; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateConfig: ({ depositInfo, openProposalSubmission }: { depositInfo?: UncheckedDepositInfo; openProposalSubmission: boolean; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; withdraw: ({ denom }: { denom?: UncheckedDenom; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; extension: ({ msg }: { msg: Empty; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; addProposalSubmittedHook: ({ address }: { address: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; removeProposalSubmittedHook: ({ address }: { address: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; proposalCompletedHook: ({ newStatus, proposalId }: { newStatus: Status; proposalId: number; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; }