import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin"; import { Params, ParamsAmino } from "./photon"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; export declare const protobufPackage = "atomone.photon.v1"; /** MsgMintPhoton defines an sdk.Msg for burning atone and minting photons. */ export interface MsgMintPhoton { toAddress: string; amount: Coin | undefined; } export interface MsgMintPhotonProtoMsg { typeUrl: "/atomone.photon.v1.MsgMintPhoton"; value: Uint8Array; } /** MsgMintPhoton defines an sdk.Msg for burning atone and minting photons. */ export interface MsgMintPhotonAmino { to_address?: string; amount: CoinAmino | undefined; } export interface MsgMintPhotonAminoMsg { type: "atomone/photon/v1/MsgMintPhoton"; value: MsgMintPhotonAmino; } /** * MsgMintPhotonResponse defines the response structure for executing a * MsgMintPhoton message. */ export interface MsgMintPhotonResponse { minted: Coin | undefined; /** conversion_rate represents the factor used to convert atone to photon. */ conversionRate: string; } export interface MsgMintPhotonResponseProtoMsg { typeUrl: "/atomone.photon.v1.MsgMintPhotonResponse"; value: Uint8Array; } /** * MsgMintPhotonResponse defines the response structure for executing a * MsgMintPhoton message. */ export interface MsgMintPhotonResponseAmino { minted: CoinAmino | undefined; /** conversion_rate represents the factor used to convert atone to photon. */ conversion_rate?: string; } export interface MsgMintPhotonResponseAminoMsg { type: "/atomone.photon.v1.MsgMintPhotonResponse"; value: MsgMintPhotonResponseAmino; } /** MsgUpdateParams is the Msg/UpdateParams request type. */ export interface MsgUpdateParams { /** * authority is the address that controls the module (defaults to x/gov unless * overwritten). */ authority: string; /** * params defines the x/gov parameters to update. * * NOTE: All parameters must be supplied. */ params: Params | undefined; } export interface MsgUpdateParamsProtoMsg { typeUrl: "/atomone.photon.v1.MsgUpdateParams"; value: Uint8Array; } /** MsgUpdateParams is the Msg/UpdateParams request type. */ export interface MsgUpdateParamsAmino { /** * authority is the address that controls the module (defaults to x/gov unless * overwritten). */ authority?: string; /** * params defines the x/gov parameters to update. * * NOTE: All parameters must be supplied. */ params: ParamsAmino | undefined; } export interface MsgUpdateParamsAminoMsg { type: "atomone/x/photon/v1/MsgUpdateParams"; value: MsgUpdateParamsAmino; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. */ export interface MsgUpdateParamsResponse { } export interface MsgUpdateParamsResponseProtoMsg { typeUrl: "/atomone.photon.v1.MsgUpdateParamsResponse"; value: Uint8Array; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. */ export interface MsgUpdateParamsResponseAmino { } export interface MsgUpdateParamsResponseAminoMsg { type: "/atomone.photon.v1.MsgUpdateParamsResponse"; value: MsgUpdateParamsResponseAmino; } export declare const MsgMintPhoton: { typeUrl: string; encode(message: MsgMintPhoton, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgMintPhoton; fromJSON(object: any): MsgMintPhoton; toJSON(message: MsgMintPhoton): unknown; fromPartial(object: Partial): MsgMintPhoton; fromAmino(object: MsgMintPhotonAmino): MsgMintPhoton; toAmino(message: MsgMintPhoton): MsgMintPhotonAmino; fromAminoMsg(object: MsgMintPhotonAminoMsg): MsgMintPhoton; toAminoMsg(message: MsgMintPhoton): MsgMintPhotonAminoMsg; fromProtoMsg(message: MsgMintPhotonProtoMsg): MsgMintPhoton; toProto(message: MsgMintPhoton): Uint8Array; toProtoMsg(message: MsgMintPhoton): MsgMintPhotonProtoMsg; }; export declare const MsgMintPhotonResponse: { typeUrl: string; encode(message: MsgMintPhotonResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgMintPhotonResponse; fromJSON(object: any): MsgMintPhotonResponse; toJSON(message: MsgMintPhotonResponse): unknown; fromPartial(object: Partial): MsgMintPhotonResponse; fromAmino(object: MsgMintPhotonResponseAmino): MsgMintPhotonResponse; toAmino(message: MsgMintPhotonResponse): MsgMintPhotonResponseAmino; fromAminoMsg(object: MsgMintPhotonResponseAminoMsg): MsgMintPhotonResponse; fromProtoMsg(message: MsgMintPhotonResponseProtoMsg): MsgMintPhotonResponse; toProto(message: MsgMintPhotonResponse): Uint8Array; toProtoMsg(message: MsgMintPhotonResponse): MsgMintPhotonResponseProtoMsg; }; export declare const MsgUpdateParams: { typeUrl: string; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): unknown; fromPartial(object: Partial): MsgUpdateParams; fromAmino(object: MsgUpdateParamsAmino): MsgUpdateParams; toAmino(message: MsgUpdateParams): MsgUpdateParamsAmino; fromAminoMsg(object: MsgUpdateParamsAminoMsg): MsgUpdateParams; toAminoMsg(message: MsgUpdateParams): MsgUpdateParamsAminoMsg; fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams; toProto(message: MsgUpdateParams): Uint8Array; toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg; }; export declare const MsgUpdateParamsResponse: { typeUrl: string; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): unknown; fromPartial(_: Partial): MsgUpdateParamsResponse; fromAmino(_: MsgUpdateParamsResponseAmino): MsgUpdateParamsResponse; toAmino(_: MsgUpdateParamsResponse): MsgUpdateParamsResponseAmino; fromAminoMsg(object: MsgUpdateParamsResponseAminoMsg): MsgUpdateParamsResponse; fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse; toProto(message: MsgUpdateParamsResponse): Uint8Array; toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg; }; /** Msg defines the Msg service. */ export interface Msg { /** MintPhoton defines a method to burn atone and mint photons. */ MintPhoton(request: MsgMintPhoton): Promise; /** * UpdateParams defines a governance operation for updating the x/photon * module parameters. The authority is defined in the keeper. */ UpdateParams(request: MsgUpdateParams): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: TxRpc); MintPhoton(request: MsgMintPhoton): Promise; UpdateParams(request: MsgUpdateParams): Promise; }