// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file cosmos/bank/v1beta1/tx.proto (package cosmos.bank.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Coin } from "../../base/v1beta1/coin_pb.js"; import { Input, Output, Params, SendEnabled } from "./bank_pb.js"; /** * MsgSend represents a message to send coins from one account to another. * * @generated from message cosmos.bank.v1beta1.MsgSend */ export class MsgSend extends Message { /** * @generated from field: string from_address = 1; */ fromAddress = ""; /** * @generated from field: string to_address = 2; */ toAddress = ""; /** * @generated from field: repeated cosmos.base.v1beta1.Coin amount = 3; */ amount: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.bank.v1beta1.MsgSend"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "from_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "to_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "amount", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSend { return new MsgSend().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSend { return new MsgSend().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSend { return new MsgSend().fromJsonString(jsonString, options); } static equals(a: MsgSend | PlainMessage | undefined, b: MsgSend | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSend, a, b); } } /** * MsgSendResponse defines the Msg/Send response type. * * @generated from message cosmos.bank.v1beta1.MsgSendResponse */ export class MsgSendResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.bank.v1beta1.MsgSendResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSendResponse { return new MsgSendResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSendResponse { return new MsgSendResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSendResponse { return new MsgSendResponse().fromJsonString(jsonString, options); } static equals(a: MsgSendResponse | PlainMessage | undefined, b: MsgSendResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSendResponse, a, b); } } /** * MsgMultiSend represents an arbitrary multi-in, multi-out send message. * * @generated from message cosmos.bank.v1beta1.MsgMultiSend */ export class MsgMultiSend extends Message { /** * Inputs, despite being `repeated`, only allows one sender input. This is * checked in MsgMultiSend's ValidateBasic. * * @generated from field: repeated cosmos.bank.v1beta1.Input inputs = 1; */ inputs: Input[] = []; /** * @generated from field: repeated cosmos.bank.v1beta1.Output outputs = 2; */ outputs: Output[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.bank.v1beta1.MsgMultiSend"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "inputs", kind: "message", T: Input, repeated: true }, { no: 2, name: "outputs", kind: "message", T: Output, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgMultiSend { return new MsgMultiSend().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgMultiSend { return new MsgMultiSend().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgMultiSend { return new MsgMultiSend().fromJsonString(jsonString, options); } static equals(a: MsgMultiSend | PlainMessage | undefined, b: MsgMultiSend | PlainMessage | undefined): boolean { return proto3.util.equals(MsgMultiSend, a, b); } } /** * MsgMultiSendResponse defines the Msg/MultiSend response type. * * @generated from message cosmos.bank.v1beta1.MsgMultiSendResponse */ export class MsgMultiSendResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.bank.v1beta1.MsgMultiSendResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgMultiSendResponse { return new MsgMultiSendResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgMultiSendResponse { return new MsgMultiSendResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgMultiSendResponse { return new MsgMultiSendResponse().fromJsonString(jsonString, options); } static equals(a: MsgMultiSendResponse | PlainMessage | undefined, b: MsgMultiSendResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgMultiSendResponse, a, b); } } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.bank.v1beta1.MsgUpdateParams */ export class MsgUpdateParams extends Message { /** * authority is the address that controls the module (defaults to x/gov unless overwritten). * * @generated from field: string authority = 1; */ authority = ""; /** * params defines the x/bank parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: cosmos.bank.v1beta1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.bank.v1beta1.MsgUpdateParams"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParams, a, b); } } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.bank.v1beta1.MsgUpdateParamsResponse */ export class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.bank.v1beta1.MsgUpdateParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParamsResponse, a, b); } } /** * MsgSetSendEnabled is the Msg/SetSendEnabled request type. * * Only entries to add/update/delete need to be included. * Existing SendEnabled entries that are not included in this * message are left unchanged. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.bank.v1beta1.MsgSetSendEnabled */ export class MsgSetSendEnabled extends Message { /** * @generated from field: string authority = 1; */ authority = ""; /** * send_enabled is the list of entries to add or update. * * @generated from field: repeated cosmos.bank.v1beta1.SendEnabled send_enabled = 2; */ sendEnabled: SendEnabled[] = []; /** * use_default_for is a list of denoms that should use the params.default_send_enabled value. * Denoms listed here will have their SendEnabled entries deleted. * If a denom is included that doesn't have a SendEnabled entry, * it will be ignored. * * @generated from field: repeated string use_default_for = 3; */ useDefaultFor: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.bank.v1beta1.MsgSetSendEnabled"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "send_enabled", kind: "message", T: SendEnabled, repeated: true }, { no: 3, name: "use_default_for", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetSendEnabled { return new MsgSetSendEnabled().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetSendEnabled { return new MsgSetSendEnabled().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetSendEnabled { return new MsgSetSendEnabled().fromJsonString(jsonString, options); } static equals(a: MsgSetSendEnabled | PlainMessage | undefined, b: MsgSetSendEnabled | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetSendEnabled, a, b); } } /** * MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.bank.v1beta1.MsgSetSendEnabledResponse */ export class MsgSetSendEnabledResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.bank.v1beta1.MsgSetSendEnabledResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetSendEnabledResponse { return new MsgSetSendEnabledResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetSendEnabledResponse { return new MsgSetSendEnabledResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetSendEnabledResponse { return new MsgSetSendEnabledResponse().fromJsonString(jsonString, options); } static equals(a: MsgSetSendEnabledResponse | PlainMessage | undefined, b: MsgSetSendEnabledResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetSendEnabledResponse, a, b); } }