// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/oracle/v1beta1/tx.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, protoInt64 } from "@bufbuild/protobuf"; import { Params, PriceAttestation } from "./oracle_pb.js"; /** * MsgRelayProviderPrice defines a SDK message for setting a price through the * provider oracle. * * @generated from message injective.oracle.v1beta1.MsgRelayProviderPrices */ export class MsgRelayProviderPrices extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string provider = 2; */ provider = ""; /** * @generated from field: repeated string symbols = 3; */ symbols: string[] = []; /** * @generated from field: repeated string prices = 4; */ prices: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayProviderPrices"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "symbols", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 4, name: "prices", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayProviderPrices { return new MsgRelayProviderPrices().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayProviderPrices { return new MsgRelayProviderPrices().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayProviderPrices { return new MsgRelayProviderPrices().fromJsonString(jsonString, options); } static equals(a: MsgRelayProviderPrices | PlainMessage | undefined, b: MsgRelayProviderPrices | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayProviderPrices, a, b); } } /** * @generated from message injective.oracle.v1beta1.MsgRelayProviderPricesResponse */ export class MsgRelayProviderPricesResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayProviderPricesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayProviderPricesResponse { return new MsgRelayProviderPricesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayProviderPricesResponse { return new MsgRelayProviderPricesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayProviderPricesResponse { return new MsgRelayProviderPricesResponse().fromJsonString(jsonString, options); } static equals(a: MsgRelayProviderPricesResponse | PlainMessage | undefined, b: MsgRelayProviderPricesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayProviderPricesResponse, a, b); } } /** * MsgRelayPriceFeedPrice defines a SDK message for setting a price through the * pricefeed oracle. * * @generated from message injective.oracle.v1beta1.MsgRelayPriceFeedPrice */ export class MsgRelayPriceFeedPrice extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: repeated string base = 2; */ base: string[] = []; /** * @generated from field: repeated string quote = 3; */ quote: string[] = []; /** * price defines the price of the oracle base and quote * * @generated from field: repeated string price = 4; */ price: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayPriceFeedPrice"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "base", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 3, name: "quote", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 4, name: "price", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayPriceFeedPrice { return new MsgRelayPriceFeedPrice().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayPriceFeedPrice { return new MsgRelayPriceFeedPrice().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayPriceFeedPrice { return new MsgRelayPriceFeedPrice().fromJsonString(jsonString, options); } static equals(a: MsgRelayPriceFeedPrice | PlainMessage | undefined, b: MsgRelayPriceFeedPrice | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayPriceFeedPrice, a, b); } } /** * @generated from message injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse */ export class MsgRelayPriceFeedPriceResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayPriceFeedPriceResponse { return new MsgRelayPriceFeedPriceResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayPriceFeedPriceResponse { return new MsgRelayPriceFeedPriceResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayPriceFeedPriceResponse { return new MsgRelayPriceFeedPriceResponse().fromJsonString(jsonString, options); } static equals(a: MsgRelayPriceFeedPriceResponse | PlainMessage | undefined, b: MsgRelayPriceFeedPriceResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayPriceFeedPriceResponse, a, b); } } /** * @generated from message injective.oracle.v1beta1.MsgRelayBandRates */ export class MsgRelayBandRates extends Message { /** * @generated from field: string relayer = 1; */ relayer = ""; /** * @generated from field: repeated string symbols = 2; */ symbols: string[] = []; /** * @generated from field: repeated uint64 rates = 3; */ rates: bigint[] = []; /** * @generated from field: repeated uint64 resolve_times = 4; */ resolveTimes: bigint[] = []; /** * @generated from field: repeated uint64 requestIDs = 5; */ requestIDs: bigint[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayBandRates"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "relayer", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "symbols", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 3, name: "rates", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, { no: 4, name: "resolve_times", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, { no: 5, name: "requestIDs", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayBandRates { return new MsgRelayBandRates().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayBandRates { return new MsgRelayBandRates().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayBandRates { return new MsgRelayBandRates().fromJsonString(jsonString, options); } static equals(a: MsgRelayBandRates | PlainMessage | undefined, b: MsgRelayBandRates | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayBandRates, a, b); } } /** * @generated from message injective.oracle.v1beta1.MsgRelayBandRatesResponse */ export class MsgRelayBandRatesResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayBandRatesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayBandRatesResponse { return new MsgRelayBandRatesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayBandRatesResponse { return new MsgRelayBandRatesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayBandRatesResponse { return new MsgRelayBandRatesResponse().fromJsonString(jsonString, options); } static equals(a: MsgRelayBandRatesResponse | PlainMessage | undefined, b: MsgRelayBandRatesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayBandRatesResponse, a, b); } } /** * MsgRelayCoinbaseMessages defines a SDK message for relaying price messages * from Coinbase API. * * @generated from message injective.oracle.v1beta1.MsgRelayCoinbaseMessages */ export class MsgRelayCoinbaseMessages extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: repeated bytes messages = 2; */ messages: Uint8Array[] = []; /** * @generated from field: repeated bytes signatures = 3; */ signatures: Uint8Array[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayCoinbaseMessages"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "messages", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true }, { no: 3, name: "signatures", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayCoinbaseMessages { return new MsgRelayCoinbaseMessages().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayCoinbaseMessages { return new MsgRelayCoinbaseMessages().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayCoinbaseMessages { return new MsgRelayCoinbaseMessages().fromJsonString(jsonString, options); } static equals(a: MsgRelayCoinbaseMessages | PlainMessage | undefined, b: MsgRelayCoinbaseMessages | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayCoinbaseMessages, a, b); } } /** * @generated from message injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse */ export class MsgRelayCoinbaseMessagesResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayCoinbaseMessagesResponse { return new MsgRelayCoinbaseMessagesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayCoinbaseMessagesResponse { return new MsgRelayCoinbaseMessagesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayCoinbaseMessagesResponse { return new MsgRelayCoinbaseMessagesResponse().fromJsonString(jsonString, options); } static equals(a: MsgRelayCoinbaseMessagesResponse | PlainMessage | undefined, b: MsgRelayCoinbaseMessagesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayCoinbaseMessagesResponse, a, b); } } /** * MsgRequestBandIBCRates defines a SDK message for requesting data from * BandChain using IBC. * * @generated from message injective.oracle.v1beta1.MsgRequestBandIBCRates */ export class MsgRequestBandIBCRates extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: uint64 request_id = 2; */ requestId = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRequestBandIBCRates"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "request_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRequestBandIBCRates { return new MsgRequestBandIBCRates().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRequestBandIBCRates { return new MsgRequestBandIBCRates().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRequestBandIBCRates { return new MsgRequestBandIBCRates().fromJsonString(jsonString, options); } static equals(a: MsgRequestBandIBCRates | PlainMessage | undefined, b: MsgRequestBandIBCRates | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRequestBandIBCRates, a, b); } } /** * MsgRequestDataResponse defines the Msg/RequestBandIBCRates response type. * * @generated from message injective.oracle.v1beta1.MsgRequestBandIBCRatesResponse */ export class MsgRequestBandIBCRatesResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRequestBandIBCRatesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRequestBandIBCRatesResponse { return new MsgRequestBandIBCRatesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRequestBandIBCRatesResponse { return new MsgRequestBandIBCRatesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRequestBandIBCRatesResponse { return new MsgRequestBandIBCRatesResponse().fromJsonString(jsonString, options); } static equals(a: MsgRequestBandIBCRatesResponse | PlainMessage | undefined, b: MsgRequestBandIBCRatesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRequestBandIBCRatesResponse, a, b); } } /** * MsgRelayPythPrices defines a SDK message for updating Pyth prices * * @generated from message injective.oracle.v1beta1.MsgRelayPythPrices */ export class MsgRelayPythPrices extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: repeated injective.oracle.v1beta1.PriceAttestation price_attestations = 2; */ priceAttestations: PriceAttestation[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayPythPrices"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "price_attestations", kind: "message", T: PriceAttestation, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayPythPrices { return new MsgRelayPythPrices().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayPythPrices { return new MsgRelayPythPrices().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayPythPrices { return new MsgRelayPythPrices().fromJsonString(jsonString, options); } static equals(a: MsgRelayPythPrices | PlainMessage | undefined, b: MsgRelayPythPrices | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayPythPrices, a, b); } } /** * MsgRelayPythPricesResponse defines the Msg/RelayPythPrices response type. * * @generated from message injective.oracle.v1beta1.MsgRelayPythPricesResponse */ export class MsgRelayPythPricesResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.v1beta1.MsgRelayPythPricesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRelayPythPricesResponse { return new MsgRelayPythPricesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRelayPythPricesResponse { return new MsgRelayPythPricesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRelayPythPricesResponse { return new MsgRelayPythPricesResponse().fromJsonString(jsonString, options); } static equals(a: MsgRelayPythPricesResponse | PlainMessage | undefined, b: MsgRelayPythPricesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRelayPythPricesResponse, a, b); } } /** * @generated from message injective.oracle.v1beta1.MsgUpdateParams */ export class MsgUpdateParams extends Message { /** * authority is the address of the governance account. * * @generated from field: string authority = 1; */ authority = ""; /** * params defines the oracle parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: injective.oracle.v1beta1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.oracle.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); } } /** * @generated from message injective.oracle.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 = "injective.oracle.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); } }