// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file cosmos/tx/config/v1/config.proto (package cosmos.tx.config.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * Config is the config object of the x/auth/tx package. * * @generated from message cosmos.tx.config.v1.Config */ export class Config extends Message { /** * skip_ante_handler defines whether the ante handler registration should be skipped in case an app wants to override * this functionality. * * @generated from field: bool skip_ante_handler = 1; */ skipAnteHandler = false; /** * skip_post_handler defines whether the post handler registration should be skipped in case an app wants to override * this functionality. * * @generated from field: bool skip_post_handler = 2; */ skipPostHandler = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.tx.config.v1.Config"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "skip_ante_handler", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 2, name: "skip_post_handler", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Config { return new Config().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Config { return new Config().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Config { return new Config().fromJsonString(jsonString, options); } static equals(a: Config | PlainMessage | undefined, b: Config | PlainMessage | undefined): boolean { return proto3.util.equals(Config, a, b); } }