import { BinaryReader, BinaryWriter } from "../../../binary.js"; import { DeepPartial } from "../../../helpers.js"; import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin.js"; //#region src/xpla/burn/v1beta1/tx.d.ts /** * MsgBurn represents a message to burn coins from an account. * @name MsgBurn * @package xpla.burn.v1beta1 * @see proto type: xpla.burn.v1beta1.MsgBurn */ interface MsgBurn { /** * authority is the address of the governance account. */ authority: string; amount: Coin[]; } interface MsgBurnProtoMsg { typeUrl: "/xpla.burn.v1beta1.MsgBurn"; value: Uint8Array; } /** * MsgBurn represents a message to burn coins from an account. * @name MsgBurnAmino * @package xpla.burn.v1beta1 * @see proto type: xpla.burn.v1beta1.MsgBurn */ interface MsgBurnAmino { /** * authority is the address of the governance account. */ authority: string; amount: CoinAmino[]; } interface MsgBurnAminoMsg { type: "xpladev/MsgBurn"; value: MsgBurnAmino; } /** * MsgBurnResponse defines the Msg/Burn response type. * @name MsgBurnResponse * @package xpla.burn.v1beta1 * @see proto type: xpla.burn.v1beta1.MsgBurnResponse */ interface MsgBurnResponse {} interface MsgBurnResponseProtoMsg { typeUrl: "/xpla.burn.v1beta1.MsgBurnResponse"; value: Uint8Array; } /** * MsgBurnResponse defines the Msg/Burn response type. * @name MsgBurnResponseAmino * @package xpla.burn.v1beta1 * @see proto type: xpla.burn.v1beta1.MsgBurnResponse */ interface MsgBurnResponseAmino {} interface MsgBurnResponseAminoMsg { type: "/xpla.burn.v1beta1.MsgBurnResponse"; value: MsgBurnResponseAmino; } /** * MsgBurn represents a message to burn coins from an account. * @name MsgBurn * @package xpla.burn.v1beta1 * @see proto type: xpla.burn.v1beta1.MsgBurn */ declare const MsgBurn: { typeUrl: string; aminoType: string; is(o: any): o is MsgBurn; isAmino(o: any): o is MsgBurnAmino; encode(message: MsgBurn, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgBurn; fromPartial(object: DeepPartial): MsgBurn; fromAmino(object: MsgBurnAmino): MsgBurn; toAmino(message: MsgBurn): MsgBurnAmino; fromAminoMsg(object: MsgBurnAminoMsg): MsgBurn; toAminoMsg(message: MsgBurn): MsgBurnAminoMsg; fromProtoMsg(message: MsgBurnProtoMsg): MsgBurn; toProto(message: MsgBurn): Uint8Array; toProtoMsg(message: MsgBurn): MsgBurnProtoMsg; registerTypeUrl(): void; }; /** * MsgBurnResponse defines the Msg/Burn response type. * @name MsgBurnResponse * @package xpla.burn.v1beta1 * @see proto type: xpla.burn.v1beta1.MsgBurnResponse */ declare const MsgBurnResponse: { typeUrl: string; is(o: any): o is MsgBurnResponse; isAmino(o: any): o is MsgBurnResponseAmino; encode(_: MsgBurnResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgBurnResponse; fromPartial(_: DeepPartial): MsgBurnResponse; fromAmino(_: MsgBurnResponseAmino): MsgBurnResponse; toAmino(_: MsgBurnResponse): MsgBurnResponseAmino; fromAminoMsg(object: MsgBurnResponseAminoMsg): MsgBurnResponse; fromProtoMsg(message: MsgBurnResponseProtoMsg): MsgBurnResponse; toProto(message: MsgBurnResponse): Uint8Array; toProtoMsg(message: MsgBurnResponse): MsgBurnResponseProtoMsg; registerTypeUrl(): void; }; //#endregion export { MsgBurn, MsgBurnAmino, MsgBurnAminoMsg, MsgBurnProtoMsg, MsgBurnResponse, MsgBurnResponseAmino, MsgBurnResponseAminoMsg, MsgBurnResponseProtoMsg };