// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/tokenfactory/v1beta1/authorityMetadata.proto (package injective.tokenfactory.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * DenomAuthorityMetadata specifies metadata for addresses that have specific * capabilities over a token factory denom. Right now there is only one Admin * permission, but is planned to be extended to the future. * * @generated from message injective.tokenfactory.v1beta1.DenomAuthorityMetadata */ export class DenomAuthorityMetadata extends Message { /** * Can be empty for no admin, or a valid injective address * * @generated from field: string admin = 1; */ admin = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.tokenfactory.v1beta1.DenomAuthorityMetadata"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "admin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DenomAuthorityMetadata { return new DenomAuthorityMetadata().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DenomAuthorityMetadata { return new DenomAuthorityMetadata().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DenomAuthorityMetadata { return new DenomAuthorityMetadata().fromJsonString(jsonString, options); } static equals(a: DenomAuthorityMetadata | PlainMessage | undefined, b: DenomAuthorityMetadata | PlainMessage | undefined): boolean { return proto3.util.equals(DenomAuthorityMetadata, a, b); } }