import { StdFee } from "@cosmjs/launchpad"; import { DeliverTxResponse } from "@cosmjs/stargate"; import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing"; import { IgniteClient } from "../client"; import { Api } from "./rest"; import { MsgHarvest } from "./types/mantrachain/farming/v1beta1/tx"; import { MsgCreateFixedAmountPlan } from "./types/mantrachain/farming/v1beta1/tx"; import { MsgStake } from "./types/mantrachain/farming/v1beta1/tx"; import { MsgRemovePlan } from "./types/mantrachain/farming/v1beta1/tx"; import { MsgCreateRatioPlan } from "./types/mantrachain/farming/v1beta1/tx"; import { MsgAdvanceEpoch } from "./types/mantrachain/farming/v1beta1/tx"; import { MsgUnstake } from "./types/mantrachain/farming/v1beta1/tx"; export { MsgHarvest, MsgCreateFixedAmountPlan, MsgStake, MsgRemovePlan, MsgCreateRatioPlan, MsgAdvanceEpoch, MsgUnstake }; declare type sendMsgHarvestParams = { value: MsgHarvest; fee?: StdFee; memo?: string; }; declare type sendMsgCreateFixedAmountPlanParams = { value: MsgCreateFixedAmountPlan; fee?: StdFee; memo?: string; }; declare type sendMsgStakeParams = { value: MsgStake; fee?: StdFee; memo?: string; }; declare type sendMsgRemovePlanParams = { value: MsgRemovePlan; fee?: StdFee; memo?: string; }; declare type sendMsgCreateRatioPlanParams = { value: MsgCreateRatioPlan; fee?: StdFee; memo?: string; }; declare type sendMsgAdvanceEpochParams = { value: MsgAdvanceEpoch; fee?: StdFee; memo?: string; }; declare type sendMsgUnstakeParams = { value: MsgUnstake; fee?: StdFee; memo?: string; }; declare type msgHarvestParams = { value: MsgHarvest; }; declare type msgCreateFixedAmountPlanParams = { value: MsgCreateFixedAmountPlan; }; declare type msgStakeParams = { value: MsgStake; }; declare type msgRemovePlanParams = { value: MsgRemovePlan; }; declare type msgCreateRatioPlanParams = { value: MsgCreateRatioPlan; }; declare type msgAdvanceEpochParams = { value: MsgAdvanceEpoch; }; declare type msgUnstakeParams = { value: MsgUnstake; }; export declare const registry: Registry; interface TxClientOptions { addr: string; prefix: string; signer?: OfflineSigner; } export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => { sendMsgHarvest({ value, fee, memo }: sendMsgHarvestParams): Promise; sendMsgCreateFixedAmountPlan({ value, fee, memo }: sendMsgCreateFixedAmountPlanParams): Promise; sendMsgStake({ value, fee, memo }: sendMsgStakeParams): Promise; sendMsgRemovePlan({ value, fee, memo }: sendMsgRemovePlanParams): Promise; sendMsgCreateRatioPlan({ value, fee, memo }: sendMsgCreateRatioPlanParams): Promise; sendMsgAdvanceEpoch({ value, fee, memo }: sendMsgAdvanceEpochParams): Promise; sendMsgUnstake({ value, fee, memo }: sendMsgUnstakeParams): Promise; msgHarvest({ value }: msgHarvestParams): EncodeObject; msgCreateFixedAmountPlan({ value }: msgCreateFixedAmountPlanParams): EncodeObject; msgStake({ value }: msgStakeParams): EncodeObject; msgRemovePlan({ value }: msgRemovePlanParams): EncodeObject; msgCreateRatioPlan({ value }: msgCreateRatioPlanParams): EncodeObject; msgAdvanceEpoch({ value }: msgAdvanceEpochParams): EncodeObject; msgUnstake({ value }: msgUnstakeParams): EncodeObject; }; interface QueryClientOptions { addr: string; } export declare const queryClient: ({ addr: addr }?: QueryClientOptions) => Api; declare class SDKModule { query: ReturnType; tx: ReturnType; structure: Record; registry: Array<[string, GeneratedType]>; constructor(client: IgniteClient); updateTX(client: IgniteClient): void; } declare const Module: (test: IgniteClient) => { module: { MantrachainFarmingV1Beta1: SDKModule; }; registry: [string, GeneratedType][]; }; export default Module;