// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/ocr/v1beta1/tx.proto (package injective.ocr.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 { FeedConfig, Params, Report } from "./ocr_pb.js"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; /** * @generated from message injective.ocr.v1beta1.MsgCreateFeed */ export class MsgCreateFeed extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: injective.ocr.v1beta1.FeedConfig config = 2; */ config?: FeedConfig; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgCreateFeed"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "config", kind: "message", T: FeedConfig }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateFeed { return new MsgCreateFeed().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateFeed { return new MsgCreateFeed().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateFeed { return new MsgCreateFeed().fromJsonString(jsonString, options); } static equals(a: MsgCreateFeed | PlainMessage | undefined, b: MsgCreateFeed | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateFeed, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgCreateFeedResponse */ export class MsgCreateFeedResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgCreateFeedResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateFeedResponse { return new MsgCreateFeedResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateFeedResponse { return new MsgCreateFeedResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateFeedResponse { return new MsgCreateFeedResponse().fromJsonString(jsonString, options); } static equals(a: MsgCreateFeedResponse | PlainMessage | undefined, b: MsgCreateFeedResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateFeedResponse, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgUpdateFeed */ export class MsgUpdateFeed extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * feed_id is an unique ID for the target of this config * * @generated from field: string feed_id = 2; */ feedId = ""; /** * signers ith element is address ith oracle uses to sign a report * * @generated from field: repeated string signers = 3; */ signers: string[] = []; /** * transmitters ith element is address ith oracle uses to transmit a report * via the transmit method * * @generated from field: repeated string transmitters = 4; */ transmitters: string[] = []; /** * Fixed LINK reward for each observer * * @generated from field: string link_per_observation = 5; */ linkPerObservation = ""; /** * Fixed LINK reward for transmitter * * @generated from field: string link_per_transmission = 6; */ linkPerTransmission = ""; /** * Native denom for LINK coin in the bank keeper * * @generated from field: string link_denom = 7; */ linkDenom = ""; /** * feed administrator * * @generated from field: string feed_admin = 8; */ feedAdmin = ""; /** * feed billing administrator * * @generated from field: string billing_admin = 9; */ billingAdmin = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgUpdateFeed"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "feed_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "signers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 4, name: "transmitters", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 5, name: "link_per_observation", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "link_per_transmission", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "link_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "feed_admin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 9, name: "billing_admin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateFeed { return new MsgUpdateFeed().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateFeed { return new MsgUpdateFeed().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateFeed { return new MsgUpdateFeed().fromJsonString(jsonString, options); } static equals(a: MsgUpdateFeed | PlainMessage | undefined, b: MsgUpdateFeed | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateFeed, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgUpdateFeedResponse */ export class MsgUpdateFeedResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgUpdateFeedResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateFeedResponse { return new MsgUpdateFeedResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateFeedResponse { return new MsgUpdateFeedResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateFeedResponse { return new MsgUpdateFeedResponse().fromJsonString(jsonString, options); } static equals(a: MsgUpdateFeedResponse | PlainMessage | undefined, b: MsgUpdateFeedResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateFeedResponse, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgTransmit */ export class MsgTransmit extends Message { /** * Address of the transmitter * * @generated from field: string transmitter = 1; */ transmitter = ""; /** * @generated from field: bytes config_digest = 2; */ configDigest = new Uint8Array(0); /** * @generated from field: string feed_id = 3; */ feedId = ""; /** * @generated from field: uint64 epoch = 4; */ epoch = protoInt64.zero; /** * @generated from field: uint64 round = 5; */ round = protoInt64.zero; /** * @generated from field: bytes extra_hash = 6; */ extraHash = new Uint8Array(0); /** * @generated from field: injective.ocr.v1beta1.Report report = 7; */ report?: Report; /** * @generated from field: repeated bytes signatures = 8; */ signatures: Uint8Array[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgTransmit"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "transmitter", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "config_digest", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "feed_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "epoch", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 5, name: "round", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 6, name: "extra_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 7, name: "report", kind: "message", T: Report }, { no: 8, name: "signatures", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgTransmit { return new MsgTransmit().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgTransmit { return new MsgTransmit().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgTransmit { return new MsgTransmit().fromJsonString(jsonString, options); } static equals(a: MsgTransmit | PlainMessage | undefined, b: MsgTransmit | PlainMessage | undefined): boolean { return proto3.util.equals(MsgTransmit, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgTransmitResponse */ export class MsgTransmitResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgTransmitResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgTransmitResponse { return new MsgTransmitResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgTransmitResponse { return new MsgTransmitResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgTransmitResponse { return new MsgTransmitResponse().fromJsonString(jsonString, options); } static equals(a: MsgTransmitResponse | PlainMessage | undefined, b: MsgTransmitResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgTransmitResponse, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgFundFeedRewardPool */ export class MsgFundFeedRewardPool extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string feed_id = 2; */ feedId = ""; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 3; */ amount?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgFundFeedRewardPool"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "feed_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "amount", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgFundFeedRewardPool { return new MsgFundFeedRewardPool().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgFundFeedRewardPool { return new MsgFundFeedRewardPool().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgFundFeedRewardPool { return new MsgFundFeedRewardPool().fromJsonString(jsonString, options); } static equals(a: MsgFundFeedRewardPool | PlainMessage | undefined, b: MsgFundFeedRewardPool | PlainMessage | undefined): boolean { return proto3.util.equals(MsgFundFeedRewardPool, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgFundFeedRewardPoolResponse */ export class MsgFundFeedRewardPoolResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgFundFeedRewardPoolResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgFundFeedRewardPoolResponse { return new MsgFundFeedRewardPoolResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgFundFeedRewardPoolResponse { return new MsgFundFeedRewardPoolResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgFundFeedRewardPoolResponse { return new MsgFundFeedRewardPoolResponse().fromJsonString(jsonString, options); } static equals(a: MsgFundFeedRewardPoolResponse | PlainMessage | undefined, b: MsgFundFeedRewardPoolResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgFundFeedRewardPoolResponse, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgWithdrawFeedRewardPool */ export class MsgWithdrawFeedRewardPool extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string feed_id = 2; */ feedId = ""; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 3; */ amount?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgWithdrawFeedRewardPool"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "feed_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "amount", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawFeedRewardPool { return new MsgWithdrawFeedRewardPool().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawFeedRewardPool { return new MsgWithdrawFeedRewardPool().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawFeedRewardPool { return new MsgWithdrawFeedRewardPool().fromJsonString(jsonString, options); } static equals(a: MsgWithdrawFeedRewardPool | PlainMessage | undefined, b: MsgWithdrawFeedRewardPool | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdrawFeedRewardPool, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgWithdrawFeedRewardPoolResponse */ export class MsgWithdrawFeedRewardPoolResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgWithdrawFeedRewardPoolResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawFeedRewardPoolResponse { return new MsgWithdrawFeedRewardPoolResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawFeedRewardPoolResponse { return new MsgWithdrawFeedRewardPoolResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawFeedRewardPoolResponse { return new MsgWithdrawFeedRewardPoolResponse().fromJsonString(jsonString, options); } static equals(a: MsgWithdrawFeedRewardPoolResponse | PlainMessage | undefined, b: MsgWithdrawFeedRewardPoolResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdrawFeedRewardPoolResponse, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgSetPayees */ export class MsgSetPayees extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string feed_id = 2; */ feedId = ""; /** * addresses oracles use to transmit the reports * * @generated from field: repeated string transmitters = 3; */ transmitters: string[] = []; /** * addresses of payees corresponding to list of transmitters * * @generated from field: repeated string payees = 4; */ payees: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgSetPayees"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "feed_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "transmitters", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 4, name: "payees", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetPayees { return new MsgSetPayees().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetPayees { return new MsgSetPayees().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetPayees { return new MsgSetPayees().fromJsonString(jsonString, options); } static equals(a: MsgSetPayees | PlainMessage | undefined, b: MsgSetPayees | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetPayees, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgSetPayeesResponse */ export class MsgSetPayeesResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgSetPayeesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetPayeesResponse { return new MsgSetPayeesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetPayeesResponse { return new MsgSetPayeesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetPayeesResponse { return new MsgSetPayeesResponse().fromJsonString(jsonString, options); } static equals(a: MsgSetPayeesResponse | PlainMessage | undefined, b: MsgSetPayeesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetPayeesResponse, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgTransferPayeeship */ export class MsgTransferPayeeship extends Message { /** * transmitter address of oracle whose payee is changing * * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string transmitter = 2; */ transmitter = ""; /** * @generated from field: string feed_id = 3; */ feedId = ""; /** * new payee address * * @generated from field: string proposed = 4; */ proposed = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgTransferPayeeship"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "transmitter", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "feed_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "proposed", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgTransferPayeeship { return new MsgTransferPayeeship().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgTransferPayeeship { return new MsgTransferPayeeship().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgTransferPayeeship { return new MsgTransferPayeeship().fromJsonString(jsonString, options); } static equals(a: MsgTransferPayeeship | PlainMessage | undefined, b: MsgTransferPayeeship | PlainMessage | undefined): boolean { return proto3.util.equals(MsgTransferPayeeship, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgTransferPayeeshipResponse */ export class MsgTransferPayeeshipResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgTransferPayeeshipResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgTransferPayeeshipResponse { return new MsgTransferPayeeshipResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgTransferPayeeshipResponse { return new MsgTransferPayeeshipResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgTransferPayeeshipResponse { return new MsgTransferPayeeshipResponse().fromJsonString(jsonString, options); } static equals(a: MsgTransferPayeeshipResponse | PlainMessage | undefined, b: MsgTransferPayeeshipResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgTransferPayeeshipResponse, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgAcceptPayeeship */ export class MsgAcceptPayeeship extends Message { /** * new payee address * * @generated from field: string payee = 1; */ payee = ""; /** * transmitter address of oracle whose payee is changing * * @generated from field: string transmitter = 2; */ transmitter = ""; /** * @generated from field: string feed_id = 3; */ feedId = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgAcceptPayeeship"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "payee", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "transmitter", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "feed_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgAcceptPayeeship { return new MsgAcceptPayeeship().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgAcceptPayeeship { return new MsgAcceptPayeeship().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgAcceptPayeeship { return new MsgAcceptPayeeship().fromJsonString(jsonString, options); } static equals(a: MsgAcceptPayeeship | PlainMessage | undefined, b: MsgAcceptPayeeship | PlainMessage | undefined): boolean { return proto3.util.equals(MsgAcceptPayeeship, a, b); } } /** * @generated from message injective.ocr.v1beta1.MsgAcceptPayeeshipResponse */ export class MsgAcceptPayeeshipResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.ocr.v1beta1.MsgAcceptPayeeshipResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgAcceptPayeeshipResponse { return new MsgAcceptPayeeshipResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgAcceptPayeeshipResponse { return new MsgAcceptPayeeshipResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgAcceptPayeeshipResponse { return new MsgAcceptPayeeshipResponse().fromJsonString(jsonString, options); } static equals(a: MsgAcceptPayeeshipResponse | PlainMessage | undefined, b: MsgAcceptPayeeshipResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgAcceptPayeeshipResponse, a, b); } } /** * @generated from message injective.ocr.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 ocr parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: injective.ocr.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.ocr.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.ocr.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.ocr.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); } }