// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/oracle/v1beta1/proposal.proto (package injective.oracle.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 { BandIBCParams, BandOracleRequest } from "./oracle_pb.js"; /** * @generated from message injective.oracle.v1beta1.GrantBandOraclePrivilegeProposal */ export class GrantBandOraclePrivilegeProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: repeated string relayers = 3; */ relayers: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.GrantBandOraclePrivilegeProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "relayers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GrantBandOraclePrivilegeProposal { return new GrantBandOraclePrivilegeProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GrantBandOraclePrivilegeProposal { return new GrantBandOraclePrivilegeProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GrantBandOraclePrivilegeProposal { return new GrantBandOraclePrivilegeProposal().fromJsonString(jsonString, options); } static equals(a: GrantBandOraclePrivilegeProposal | PlainMessage | undefined, b: GrantBandOraclePrivilegeProposal | PlainMessage | undefined): boolean { return proto3.util.equals(GrantBandOraclePrivilegeProposal, a, b); } } /** * @generated from message injective.oracle.v1beta1.RevokeBandOraclePrivilegeProposal */ export class RevokeBandOraclePrivilegeProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: repeated string relayers = 3; */ relayers: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.RevokeBandOraclePrivilegeProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "relayers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): RevokeBandOraclePrivilegeProposal { return new RevokeBandOraclePrivilegeProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): RevokeBandOraclePrivilegeProposal { return new RevokeBandOraclePrivilegeProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): RevokeBandOraclePrivilegeProposal { return new RevokeBandOraclePrivilegeProposal().fromJsonString(jsonString, options); } static equals(a: RevokeBandOraclePrivilegeProposal | PlainMessage | undefined, b: RevokeBandOraclePrivilegeProposal | PlainMessage | undefined): boolean { return proto3.util.equals(RevokeBandOraclePrivilegeProposal, a, b); } } /** * @generated from message injective.oracle.v1beta1.GrantPriceFeederPrivilegeProposal */ export class GrantPriceFeederPrivilegeProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: string base = 3; */ base = ""; /** * @generated from field: string quote = 4; */ quote = ""; /** * @generated from field: repeated string relayers = 5; */ relayers: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.GrantPriceFeederPrivilegeProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "base", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "quote", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "relayers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GrantPriceFeederPrivilegeProposal { return new GrantPriceFeederPrivilegeProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GrantPriceFeederPrivilegeProposal { return new GrantPriceFeederPrivilegeProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GrantPriceFeederPrivilegeProposal { return new GrantPriceFeederPrivilegeProposal().fromJsonString(jsonString, options); } static equals(a: GrantPriceFeederPrivilegeProposal | PlainMessage | undefined, b: GrantPriceFeederPrivilegeProposal | PlainMessage | undefined): boolean { return proto3.util.equals(GrantPriceFeederPrivilegeProposal, a, b); } } /** * @generated from message injective.oracle.v1beta1.GrantProviderPrivilegeProposal */ export class GrantProviderPrivilegeProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: string provider = 3; */ provider = ""; /** * @generated from field: repeated string relayers = 4; */ relayers: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.GrantProviderPrivilegeProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "relayers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GrantProviderPrivilegeProposal { return new GrantProviderPrivilegeProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GrantProviderPrivilegeProposal { return new GrantProviderPrivilegeProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GrantProviderPrivilegeProposal { return new GrantProviderPrivilegeProposal().fromJsonString(jsonString, options); } static equals(a: GrantProviderPrivilegeProposal | PlainMessage | undefined, b: GrantProviderPrivilegeProposal | PlainMessage | undefined): boolean { return proto3.util.equals(GrantProviderPrivilegeProposal, a, b); } } /** * @generated from message injective.oracle.v1beta1.RevokeProviderPrivilegeProposal */ export class RevokeProviderPrivilegeProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: string provider = 3; */ provider = ""; /** * @generated from field: repeated string relayers = 5; */ relayers: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.RevokeProviderPrivilegeProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "relayers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): RevokeProviderPrivilegeProposal { return new RevokeProviderPrivilegeProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): RevokeProviderPrivilegeProposal { return new RevokeProviderPrivilegeProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): RevokeProviderPrivilegeProposal { return new RevokeProviderPrivilegeProposal().fromJsonString(jsonString, options); } static equals(a: RevokeProviderPrivilegeProposal | PlainMessage | undefined, b: RevokeProviderPrivilegeProposal | PlainMessage | undefined): boolean { return proto3.util.equals(RevokeProviderPrivilegeProposal, a, b); } } /** * @generated from message injective.oracle.v1beta1.RevokePriceFeederPrivilegeProposal */ export class RevokePriceFeederPrivilegeProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: string base = 3; */ base = ""; /** * @generated from field: string quote = 4; */ quote = ""; /** * @generated from field: repeated string relayers = 5; */ relayers: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.RevokePriceFeederPrivilegeProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "base", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "quote", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "relayers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): RevokePriceFeederPrivilegeProposal { return new RevokePriceFeederPrivilegeProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): RevokePriceFeederPrivilegeProposal { return new RevokePriceFeederPrivilegeProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): RevokePriceFeederPrivilegeProposal { return new RevokePriceFeederPrivilegeProposal().fromJsonString(jsonString, options); } static equals(a: RevokePriceFeederPrivilegeProposal | PlainMessage | undefined, b: RevokePriceFeederPrivilegeProposal | PlainMessage | undefined): boolean { return proto3.util.equals(RevokePriceFeederPrivilegeProposal, a, b); } } /** * @generated from message injective.oracle.v1beta1.AuthorizeBandOracleRequestProposal */ export class AuthorizeBandOracleRequestProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: injective.oracle.v1beta1.BandOracleRequest request = 3; */ request?: BandOracleRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.AuthorizeBandOracleRequestProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "request", kind: "message", T: BandOracleRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): AuthorizeBandOracleRequestProposal { return new AuthorizeBandOracleRequestProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): AuthorizeBandOracleRequestProposal { return new AuthorizeBandOracleRequestProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): AuthorizeBandOracleRequestProposal { return new AuthorizeBandOracleRequestProposal().fromJsonString(jsonString, options); } static equals(a: AuthorizeBandOracleRequestProposal | PlainMessage | undefined, b: AuthorizeBandOracleRequestProposal | PlainMessage | undefined): boolean { return proto3.util.equals(AuthorizeBandOracleRequestProposal, a, b); } } /** * @generated from message injective.oracle.v1beta1.UpdateBandOracleRequestProposal */ export class UpdateBandOracleRequestProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: repeated uint64 delete_request_ids = 3; */ deleteRequestIds: bigint[] = []; /** * @generated from field: injective.oracle.v1beta1.BandOracleRequest update_oracle_request = 4; */ updateOracleRequest?: BandOracleRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.UpdateBandOracleRequestProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "delete_request_ids", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, { no: 4, name: "update_oracle_request", kind: "message", T: BandOracleRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateBandOracleRequestProposal { return new UpdateBandOracleRequestProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateBandOracleRequestProposal { return new UpdateBandOracleRequestProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateBandOracleRequestProposal { return new UpdateBandOracleRequestProposal().fromJsonString(jsonString, options); } static equals(a: UpdateBandOracleRequestProposal | PlainMessage | undefined, b: UpdateBandOracleRequestProposal | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateBandOracleRequestProposal, a, b); } } /** * @generated from message injective.oracle.v1beta1.EnableBandIBCProposal */ export class EnableBandIBCProposal extends Message { /** * @generated from field: string title = 1; */ title = ""; /** * @generated from field: string description = 2; */ description = ""; /** * @generated from field: injective.oracle.v1beta1.BandIBCParams band_ibc_params = 3; */ bandIbcParams?: BandIBCParams; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.EnableBandIBCProposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "band_ibc_params", kind: "message", T: BandIBCParams }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): EnableBandIBCProposal { return new EnableBandIBCProposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): EnableBandIBCProposal { return new EnableBandIBCProposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): EnableBandIBCProposal { return new EnableBandIBCProposal().fromJsonString(jsonString, options); } static equals(a: EnableBandIBCProposal | PlainMessage | undefined, b: EnableBandIBCProposal | PlainMessage | undefined): boolean { return proto3.util.equals(EnableBandIBCProposal, a, b); } }