// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file ibc/applications/fee/v1/metadata.proto (package ibc.applications.fee.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * Metadata defines the ICS29 channel specific metadata encoded into the channel version bytestring * See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning * * @generated from message ibc.applications.fee.v1.Metadata */ export class Metadata extends Message { /** * fee_version defines the ICS29 fee version * * @generated from field: string fee_version = 1; */ feeVersion = ""; /** * app_version defines the underlying application version, which may or may not be a JSON encoded bytestring * * @generated from field: string app_version = 2; */ appVersion = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.fee.v1.Metadata"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "fee_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Metadata { return new Metadata().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Metadata { return new Metadata().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Metadata { return new Metadata().fromJsonString(jsonString, options); } static equals(a: Metadata | PlainMessage | undefined, b: Metadata | PlainMessage | undefined): boolean { return proto3.util.equals(Metadata, a, b); } }