import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; /** * @generated from message injective.ocr.v1beta1.Params */ export declare class Params extends Message { /** * Native denom for LINK coin in the bank keeper * * @generated from field: string link_denom = 1; */ linkDenom: string; /** * The block number interval at which payouts are made * * @generated from field: uint64 payout_block_interval = 2; */ payoutBlockInterval: bigint; /** * The admin for the OCR module * * @generated from field: string module_admin = 3; */ moduleAdmin: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.Params"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Params; static fromJson(jsonValue: JsonValue, options?: Partial): Params; static fromJsonString(jsonString: string, options?: Partial): Params; static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.FeedConfig */ export declare class FeedConfig extends Message { /** * signers ith element is address ith oracle uses to sign a report * * @generated from field: repeated string signers = 1; */ signers: string[]; /** * transmitters ith element is address ith oracle uses to transmit a report * via the transmit method * * @generated from field: repeated string transmitters = 2; */ transmitters: string[]; /** * f maximum number of faulty/dishonest oracles the protocol can tolerate * while still working correctly * * @generated from field: uint32 f = 3; */ f: number; /** * onchain_config serialized data with reporting plugin params on chain. * * @generated from field: bytes onchain_config = 4; */ onchainConfig: Uint8Array; /** * offchain_config_version version of the serialization format used for * "offchain_config" parameter * * @generated from field: uint64 offchain_config_version = 5; */ offchainConfigVersion: bigint; /** * offchain_config serialized data used by oracles to configure their offchain * operation * * @generated from field: bytes offchain_config = 6; */ offchainConfig: Uint8Array; /** * feed-specific params for the Cosmos module. * * @generated from field: injective.ocr.v1beta1.ModuleParams module_params = 7; */ moduleParams?: ModuleParams; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.FeedConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FeedConfig; static fromJson(jsonValue: JsonValue, options?: Partial): FeedConfig; static fromJsonString(jsonString: string, options?: Partial): FeedConfig; static equals(a: FeedConfig | PlainMessage | undefined, b: FeedConfig | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.FeedConfigInfo */ export declare class FeedConfigInfo extends Message { /** * @generated from field: bytes latest_config_digest = 1; */ latestConfigDigest: Uint8Array; /** * @generated from field: uint32 f = 2; */ f: number; /** * @generated from field: uint32 n = 3; */ n: number; /** * config_count ordinal number of this config setting among all config * settings * * @generated from field: uint64 config_count = 4; */ configCount: bigint; /** * @generated from field: int64 latest_config_block_number = 5; */ latestConfigBlockNumber: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.FeedConfigInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FeedConfigInfo; static fromJson(jsonValue: JsonValue, options?: Partial): FeedConfigInfo; static fromJsonString(jsonString: string, options?: Partial): FeedConfigInfo; static equals(a: FeedConfigInfo | PlainMessage | undefined, b: FeedConfigInfo | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.ModuleParams */ export declare class ModuleParams extends Message { /** * feed_id is an unique ID for the target of this config * * @generated from field: string feed_id = 1; */ feedId: string; /** * lowest answer the median of a report is allowed to be * * @generated from field: string min_answer = 2; */ minAnswer: string; /** * highest answer the median of a report is allowed to be * * @generated from field: string max_answer = 3; */ maxAnswer: string; /** * Fixed LINK reward for each observer * * @generated from field: string link_per_observation = 4; */ linkPerObservation: string; /** * Fixed LINK reward for transmitter * * @generated from field: string link_per_transmission = 5; */ linkPerTransmission: string; /** * Native denom for LINK coin in the bank keeper * * @generated from field: string link_denom = 6; */ linkDenom: string; /** * Enables unique reports * * @generated from field: bool unique_reports = 7; */ uniqueReports: boolean; /** * short human-readable description of observable this feed's answers pertain * to * * @generated from field: string description = 8; */ description: string; /** * feed administrator * * @generated from field: string feed_admin = 9; */ feedAdmin: string; /** * feed billing administrator * * @generated from field: string billing_admin = 10; */ billingAdmin: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.ModuleParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ModuleParams; static fromJson(jsonValue: JsonValue, options?: Partial): ModuleParams; static fromJsonString(jsonString: string, options?: Partial): ModuleParams; static equals(a: ModuleParams | PlainMessage | undefined, b: ModuleParams | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.ContractConfig */ export declare class ContractConfig extends Message { /** * config_count ordinal number of this config setting among all config * settings * * @generated from field: uint64 config_count = 1; */ configCount: bigint; /** * signers ith element is address ith oracle uses to sign a report * * @generated from field: repeated string signers = 2; */ signers: string[]; /** * transmitters ith element is address ith oracle uses to transmit a report * via the transmit method * * @generated from field: repeated string transmitters = 3; */ transmitters: string[]; /** * f maximum number of faulty/dishonest oracles the protocol can tolerate * while still working correctly * * @generated from field: uint32 f = 4; */ f: number; /** * onchain_config serialized data with reporting plugin params on chain. * * @generated from field: bytes onchain_config = 5; */ onchainConfig: Uint8Array; /** * offchain_config_version version of the serialization format used for * "offchain_config" parameter * * @generated from field: uint64 offchain_config_version = 6; */ offchainConfigVersion: bigint; /** * offchain_config serialized data used by oracles to configure their offchain * operation * * @generated from field: bytes offchain_config = 7; */ offchainConfig: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.ContractConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ContractConfig; static fromJson(jsonValue: JsonValue, options?: Partial): ContractConfig; static fromJsonString(jsonString: string, options?: Partial): ContractConfig; static equals(a: ContractConfig | PlainMessage | undefined, b: ContractConfig | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.SetConfigProposal */ export declare class SetConfigProposal extends Message { /** * @generated from field: string title = 1; */ title: string; /** * @generated from field: string description = 2; */ description: string; /** * @generated from field: injective.ocr.v1beta1.FeedConfig config = 3; */ config?: FeedConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.SetConfigProposal"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetConfigProposal; static fromJson(jsonValue: JsonValue, options?: Partial): SetConfigProposal; static fromJsonString(jsonString: string, options?: Partial): SetConfigProposal; static equals(a: SetConfigProposal | PlainMessage | undefined, b: SetConfigProposal | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.FeedProperties */ export declare class FeedProperties extends Message { /** * feed_id is an unique ID for the target of this config * * @generated from field: string feed_id = 1; */ feedId: string; /** * f maximum number of faulty/dishonest oracles the protocol can tolerate * while still working correctly * * @generated from field: uint32 f = 2; */ f: number; /** * onchain_config serialized data with reporting plugin params on chain. * * @generated from field: bytes onchain_config = 3; */ onchainConfig: Uint8Array; /** * offchain_config_version version of the serialization format used for * "offchain_config" parameter * * @generated from field: uint64 offchain_config_version = 4; */ offchainConfigVersion: bigint; /** * offchain_config serialized data used by oracles to configure their offchain * operation * * @generated from field: bytes offchain_config = 5; */ offchainConfig: Uint8Array; /** * lowest answer the median of a report is allowed to be * * @generated from field: string min_answer = 6; */ minAnswer: string; /** * highest answer the median of a report is allowed to be * * @generated from field: string max_answer = 7; */ maxAnswer: string; /** * Fixed LINK reward for each observer * * @generated from field: string link_per_observation = 8; */ linkPerObservation: string; /** * Fixed LINK reward for transmitter * * @generated from field: string link_per_transmission = 9; */ linkPerTransmission: string; /** * Enables unique reports * * @generated from field: bool unique_reports = 10; */ uniqueReports: boolean; /** * short human-readable description of observable this feed's answers pertain * to * * @generated from field: string description = 11; */ description: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.FeedProperties"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FeedProperties; static fromJson(jsonValue: JsonValue, options?: Partial): FeedProperties; static fromJsonString(jsonString: string, options?: Partial): FeedProperties; static equals(a: FeedProperties | PlainMessage | undefined, b: FeedProperties | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.SetBatchConfigProposal */ export declare class SetBatchConfigProposal extends Message { /** * @generated from field: string title = 1; */ title: string; /** * @generated from field: string description = 2; */ description: string; /** * 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[]; /** * Native denom for LINK coin in the bank keeper * * @generated from field: string link_denom = 5; */ linkDenom: string; /** * feed properties * * @generated from field: repeated injective.ocr.v1beta1.FeedProperties feed_properties = 6; */ feedProperties: FeedProperties[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.SetBatchConfigProposal"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetBatchConfigProposal; static fromJson(jsonValue: JsonValue, options?: Partial): SetBatchConfigProposal; static fromJsonString(jsonString: string, options?: Partial): SetBatchConfigProposal; static equals(a: SetBatchConfigProposal | PlainMessage | undefined, b: SetBatchConfigProposal | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.OracleObservationsCounts */ export declare class OracleObservationsCounts extends Message { /** * @generated from field: repeated uint32 counts = 1; */ counts: number[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.OracleObservationsCounts"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): OracleObservationsCounts; static fromJson(jsonValue: JsonValue, options?: Partial): OracleObservationsCounts; static fromJsonString(jsonString: string, options?: Partial): OracleObservationsCounts; static equals(a: OracleObservationsCounts | PlainMessage | undefined, b: OracleObservationsCounts | PlainMessage | undefined): boolean; } /** * LINK-INJ-denominated reimbursements for gas used by transmitters. * * @generated from message injective.ocr.v1beta1.GasReimbursements */ export declare class GasReimbursements extends Message { /** * @generated from field: repeated cosmos.base.v1beta1.Coin reimbursements = 1; */ reimbursements: Coin[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.GasReimbursements"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GasReimbursements; static fromJson(jsonValue: JsonValue, options?: Partial): GasReimbursements; static fromJsonString(jsonString: string, options?: Partial): GasReimbursements; static equals(a: GasReimbursements | PlainMessage | undefined, b: GasReimbursements | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.Payee */ export declare class Payee extends Message { /** * @generated from field: string transmitter_addr = 1; */ transmitterAddr: string; /** * @generated from field: string payment_addr = 2; */ paymentAddr: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.Payee"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Payee; static fromJson(jsonValue: JsonValue, options?: Partial): Payee; static fromJsonString(jsonString: string, options?: Partial): Payee; static equals(a: Payee | PlainMessage | undefined, b: Payee | PlainMessage | undefined): boolean; } /** * Transmission records the median answer from the transmit transaction at * time timestamp * * @generated from message injective.ocr.v1beta1.Transmission */ export declare class Transmission extends Message { /** * @generated from field: string answer = 1; */ answer: string; /** * when were observations made offchain * * @generated from field: int64 observations_timestamp = 2; */ observationsTimestamp: bigint; /** * when was report received onchain * * @generated from field: int64 transmission_timestamp = 3; */ transmissionTimestamp: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.Transmission"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Transmission; static fromJson(jsonValue: JsonValue, options?: Partial): Transmission; static fromJsonString(jsonString: string, options?: Partial): Transmission; static equals(a: Transmission | PlainMessage | undefined, b: Transmission | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.EpochAndRound */ export declare class EpochAndRound extends Message { /** * @generated from field: uint64 epoch = 1; */ epoch: bigint; /** * @generated from field: uint64 round = 2; */ round: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.EpochAndRound"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EpochAndRound; static fromJson(jsonValue: JsonValue, options?: Partial): EpochAndRound; static fromJsonString(jsonString: string, options?: Partial): EpochAndRound; static equals(a: EpochAndRound | PlainMessage | undefined, b: EpochAndRound | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.Report */ export declare class Report extends Message { /** * @generated from field: int64 observations_timestamp = 1; */ observationsTimestamp: bigint; /** * ith element is the index of the ith observer * * @generated from field: bytes observers = 2; */ observers: Uint8Array; /** * ith element is the ith observation * * @generated from field: repeated string observations = 3; */ observations: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.Report"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Report; static fromJson(jsonValue: JsonValue, options?: Partial): Report; static fromJsonString(jsonString: string, options?: Partial): Report; static equals(a: Report | PlainMessage | undefined, b: Report | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.ReportToSign */ export declare class ReportToSign extends Message { /** * @generated from field: bytes config_digest = 1; */ configDigest: Uint8Array; /** * @generated from field: uint64 epoch = 2; */ epoch: bigint; /** * @generated from field: uint64 round = 3; */ round: bigint; /** * @generated from field: bytes extra_hash = 4; */ extraHash: Uint8Array; /** * Opaque report * * @generated from field: bytes report = 5; */ report: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.ReportToSign"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReportToSign; static fromJson(jsonValue: JsonValue, options?: Partial): ReportToSign; static fromJsonString(jsonString: string, options?: Partial): ReportToSign; static equals(a: ReportToSign | PlainMessage | undefined, b: ReportToSign | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.EventOraclePaid */ export declare class EventOraclePaid extends Message { /** * @generated from field: string transmitter_addr = 1; */ transmitterAddr: string; /** * @generated from field: string payee_addr = 2; */ payeeAddr: string; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 3; */ amount?: Coin; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.EventOraclePaid"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventOraclePaid; static fromJson(jsonValue: JsonValue, options?: Partial): EventOraclePaid; static fromJsonString(jsonString: string, options?: Partial): EventOraclePaid; static equals(a: EventOraclePaid | PlainMessage | undefined, b: EventOraclePaid | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.EventAnswerUpdated */ export declare class EventAnswerUpdated extends Message { /** * @generated from field: string current = 1; */ current: string; /** * @generated from field: string round_id = 2; */ roundId: string; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.EventAnswerUpdated"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventAnswerUpdated; static fromJson(jsonValue: JsonValue, options?: Partial): EventAnswerUpdated; static fromJsonString(jsonString: string, options?: Partial): EventAnswerUpdated; static equals(a: EventAnswerUpdated | PlainMessage | undefined, b: EventAnswerUpdated | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.EventNewRound */ export declare class EventNewRound extends Message { /** * @generated from field: string round_id = 1; */ roundId: string; /** * address of starter * * @generated from field: string started_by = 2; */ startedBy: string; /** * @generated from field: google.protobuf.Timestamp started_at = 3; */ startedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.EventNewRound"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventNewRound; static fromJson(jsonValue: JsonValue, options?: Partial): EventNewRound; static fromJsonString(jsonString: string, options?: Partial): EventNewRound; static equals(a: EventNewRound | PlainMessage | undefined, b: EventNewRound | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.EventTransmitted */ export declare class EventTransmitted extends Message { /** * @generated from field: bytes config_digest = 1; */ configDigest: Uint8Array; /** * @generated from field: uint64 epoch = 2; */ epoch: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.EventTransmitted"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventTransmitted; static fromJson(jsonValue: JsonValue, options?: Partial): EventTransmitted; static fromJsonString(jsonString: string, options?: Partial): EventTransmitted; static equals(a: EventTransmitted | PlainMessage | undefined, b: EventTransmitted | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.EventNewTransmission */ export declare class EventNewTransmission extends Message { /** * @generated from field: string feed_id = 1; */ feedId: string; /** * @generated from field: uint32 aggregator_round_id = 2; */ aggregatorRoundId: number; /** * @generated from field: string answer = 3; */ answer: string; /** * @generated from field: string transmitter = 4; */ transmitter: string; /** * @generated from field: int64 observations_timestamp = 5; */ observationsTimestamp: bigint; /** * @generated from field: repeated string observations = 6; */ observations: string[]; /** * @generated from field: bytes observers = 7; */ observers: Uint8Array; /** * @generated from field: bytes config_digest = 8; */ configDigest: Uint8Array; /** * @generated from field: injective.ocr.v1beta1.EpochAndRound epoch_and_round = 9; */ epochAndRound?: EpochAndRound; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.EventNewTransmission"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventNewTransmission; static fromJson(jsonValue: JsonValue, options?: Partial): EventNewTransmission; static fromJsonString(jsonString: string, options?: Partial): EventNewTransmission; static equals(a: EventNewTransmission | PlainMessage | undefined, b: EventNewTransmission | PlainMessage | undefined): boolean; } /** * @generated from message injective.ocr.v1beta1.EventConfigSet */ export declare class EventConfigSet extends Message { /** * hash of the config * * @generated from field: bytes config_digest = 1; */ configDigest: Uint8Array; /** * previous_config_block_number block in which the previous config was set, to * simplify historic analysis * * @generated from field: int64 previous_config_block_number = 2; */ previousConfigBlockNumber: bigint; /** * @generated from field: injective.ocr.v1beta1.FeedConfig config = 3; */ config?: FeedConfig; /** * @generated from field: injective.ocr.v1beta1.FeedConfigInfo config_info = 4; */ configInfo?: FeedConfigInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.ocr.v1beta1.EventConfigSet"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventConfigSet; static fromJson(jsonValue: JsonValue, options?: Partial): EventConfigSet; static fromJsonString(jsonString: string, options?: Partial): EventConfigSet; static equals(a: EventConfigSet | PlainMessage | undefined, b: EventConfigSet | PlainMessage | undefined): boolean; } //# sourceMappingURL=ocr_pb.d.ts.map