/** * 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 { Uint128, InfoResponse, OwnershipForAddr } from "./Cw20StakeRewardDistributor.types"; export interface Cw20StakeRewardDistributorReadOnlyInterface { contractAddress: string; info: () => Promise; ownership: () => Promise; } export declare class Cw20StakeRewardDistributorQueryClient implements Cw20StakeRewardDistributorReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); info: () => Promise; ownership: () => Promise; } export interface Cw20StakeRewardDistributorInterface extends Cw20StakeRewardDistributorReadOnlyInterface { contractAddress: string; sender: string; updateConfig: ({ rewardRate, rewardToken, stakingAddr }: { rewardRate: Uint128; rewardToken: string; stakingAddr: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; distribute: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; withdraw: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; } export declare class Cw20StakeRewardDistributorClient extends Cw20StakeRewardDistributorQueryClient implements Cw20StakeRewardDistributorInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); updateConfig: ({ rewardRate, rewardToken, stakingAddr }: { rewardRate: Uint128; rewardToken: string; stakingAddr: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; distribute: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; withdraw: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; }