// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file cosmos/distribution/v1beta1/tx.proto (package cosmos.distribution.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 { Params } from "./distribution_pb.js"; /** * MsgSetWithdrawAddress sets the withdraw address for * a delegator (or validator self-delegation). * * @generated from message cosmos.distribution.v1beta1.MsgSetWithdrawAddress */ export class MsgSetWithdrawAddress extends Message { /** * @generated from field: string delegator_address = 1; */ delegatorAddress = ""; /** * @generated from field: string withdraw_address = 2; */ withdrawAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.distribution.v1beta1.MsgSetWithdrawAddress"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "delegator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "withdraw_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetWithdrawAddress { return new MsgSetWithdrawAddress().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetWithdrawAddress { return new MsgSetWithdrawAddress().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetWithdrawAddress { return new MsgSetWithdrawAddress().fromJsonString(jsonString, options); } static equals(a: MsgSetWithdrawAddress | PlainMessage | undefined, b: MsgSetWithdrawAddress | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetWithdrawAddress, a, b); } } /** * MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response * type. * * @generated from message cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse */ export class MsgSetWithdrawAddressResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetWithdrawAddressResponse { return new MsgSetWithdrawAddressResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetWithdrawAddressResponse { return new MsgSetWithdrawAddressResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetWithdrawAddressResponse { return new MsgSetWithdrawAddressResponse().fromJsonString(jsonString, options); } static equals(a: MsgSetWithdrawAddressResponse | PlainMessage | undefined, b: MsgSetWithdrawAddressResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetWithdrawAddressResponse, a, b); } } /** * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator * from a single validator. * * @generated from message cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward */ export class MsgWithdrawDelegatorReward extends Message { /** * @generated from field: string delegator_address = 1; */ delegatorAddress = ""; /** * @generated from field: string validator_address = 2; */ validatorAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "delegator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "validator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawDelegatorReward { return new MsgWithdrawDelegatorReward().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawDelegatorReward { return new MsgWithdrawDelegatorReward().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawDelegatorReward { return new MsgWithdrawDelegatorReward().fromJsonString(jsonString, options); } static equals(a: MsgWithdrawDelegatorReward | PlainMessage | undefined, b: MsgWithdrawDelegatorReward | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdrawDelegatorReward, a, b); } } /** * MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward * response type. * * @generated from message cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse */ export class MsgWithdrawDelegatorRewardResponse extends Message { /** * Since: cosmos-sdk 0.46 * * @generated from field: repeated cosmos.base.v1beta1.Coin amount = 1; */ amount: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "amount", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawDelegatorRewardResponse { return new MsgWithdrawDelegatorRewardResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawDelegatorRewardResponse { return new MsgWithdrawDelegatorRewardResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawDelegatorRewardResponse { return new MsgWithdrawDelegatorRewardResponse().fromJsonString(jsonString, options); } static equals(a: MsgWithdrawDelegatorRewardResponse | PlainMessage | undefined, b: MsgWithdrawDelegatorRewardResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdrawDelegatorRewardResponse, a, b); } } /** * MsgWithdrawValidatorCommission withdraws the full commission to the validator * address. * * @generated from message cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission */ export class MsgWithdrawValidatorCommission extends Message { /** * @generated from field: string validator_address = 1; */ validatorAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "validator_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawValidatorCommission { return new MsgWithdrawValidatorCommission().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawValidatorCommission { return new MsgWithdrawValidatorCommission().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawValidatorCommission { return new MsgWithdrawValidatorCommission().fromJsonString(jsonString, options); } static equals(a: MsgWithdrawValidatorCommission | PlainMessage | undefined, b: MsgWithdrawValidatorCommission | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdrawValidatorCommission, a, b); } } /** * MsgWithdrawValidatorCommissionResponse defines the * Msg/WithdrawValidatorCommission response type. * * @generated from message cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse */ export class MsgWithdrawValidatorCommissionResponse extends Message { /** * Since: cosmos-sdk 0.46 * * @generated from field: repeated cosmos.base.v1beta1.Coin amount = 1; */ amount: Coin[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "amount", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawValidatorCommissionResponse { return new MsgWithdrawValidatorCommissionResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawValidatorCommissionResponse { return new MsgWithdrawValidatorCommissionResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawValidatorCommissionResponse { return new MsgWithdrawValidatorCommissionResponse().fromJsonString(jsonString, options); } static equals(a: MsgWithdrawValidatorCommissionResponse | PlainMessage | undefined, b: MsgWithdrawValidatorCommissionResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdrawValidatorCommissionResponse, a, b); } } /** * MsgFundCommunityPool allows an account to directly * fund the community pool. * * @generated from message cosmos.distribution.v1beta1.MsgFundCommunityPool */ export class MsgFundCommunityPool extends Message { /** * @generated from field: repeated cosmos.base.v1beta1.Coin amount = 1; */ amount: Coin[] = []; /** * @generated from field: string depositor = 2; */ depositor = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.distribution.v1beta1.MsgFundCommunityPool"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "amount", kind: "message", T: Coin, repeated: true }, { no: 2, name: "depositor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgFundCommunityPool { return new MsgFundCommunityPool().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgFundCommunityPool { return new MsgFundCommunityPool().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgFundCommunityPool { return new MsgFundCommunityPool().fromJsonString(jsonString, options); } static equals(a: MsgFundCommunityPool | PlainMessage | undefined, b: MsgFundCommunityPool | PlainMessage | undefined): boolean { return proto3.util.equals(MsgFundCommunityPool, a, b); } } /** * MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. * * @generated from message cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse */ export class MsgFundCommunityPoolResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgFundCommunityPoolResponse { return new MsgFundCommunityPoolResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgFundCommunityPoolResponse { return new MsgFundCommunityPoolResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgFundCommunityPoolResponse { return new MsgFundCommunityPoolResponse().fromJsonString(jsonString, options); } static equals(a: MsgFundCommunityPoolResponse | PlainMessage | undefined, b: MsgFundCommunityPoolResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgFundCommunityPoolResponse, a, b); } } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.distribution.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/distribution parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: cosmos.distribution.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.distribution.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.distribution.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.distribution.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); } } /** * MsgCommunityPoolSpend defines a message for sending tokens from the community * pool to another account. This message is typically executed via a governance * proposal with the governance module being the executing authority. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.distribution.v1beta1.MsgCommunityPoolSpend */ export class MsgCommunityPoolSpend extends Message { /** * authority is the address that controls the module (defaults to x/gov unless overwritten). * * @generated from field: string authority = 1; */ authority = ""; /** * @generated from field: string recipient = 2; */ recipient = ""; /** * @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.distribution.v1beta1.MsgCommunityPoolSpend"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "recipient", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "amount", kind: "message", T: Coin, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCommunityPoolSpend { return new MsgCommunityPoolSpend().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCommunityPoolSpend { return new MsgCommunityPoolSpend().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCommunityPoolSpend { return new MsgCommunityPoolSpend().fromJsonString(jsonString, options); } static equals(a: MsgCommunityPoolSpend | PlainMessage | undefined, b: MsgCommunityPoolSpend | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCommunityPoolSpend, a, b); } } /** * MsgCommunityPoolSpendResponse defines the response to executing a * MsgCommunityPoolSpend message. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse */ export class MsgCommunityPoolSpendResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCommunityPoolSpendResponse { return new MsgCommunityPoolSpendResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCommunityPoolSpendResponse { return new MsgCommunityPoolSpendResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCommunityPoolSpendResponse { return new MsgCommunityPoolSpendResponse().fromJsonString(jsonString, options); } static equals(a: MsgCommunityPoolSpendResponse | PlainMessage | undefined, b: MsgCommunityPoolSpendResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCommunityPoolSpendResponse, a, b); } }