import { Params, ParamsAmino, FeedConfig, FeedConfigAmino, Transmission, TransmissionAmino, EpochAndRound, EpochAndRoundAmino } from "./ocr"; import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * GenesisState defines the OCR module's genesis state. * @name GenesisState * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.GenesisState */ export interface GenesisState { /** * params defines all the parameters of related to OCR. */ params: Params; /** * feed_configs stores all of the supported OCR feeds */ feedConfigs: FeedConfig[]; /** * latest_epoch_and_rounds stores the latest epoch and round for each feedId */ latestEpochAndRounds: FeedEpochAndRound[]; /** * feed_transmissions stores the last transmission for each feed */ feedTransmissions: FeedTransmission[]; /** * latest_aggregator_round_ids stores the latest aggregator round ID for each * feedId */ latestAggregatorRoundIds: FeedLatestAggregatorRoundIDs[]; /** * reward_pools stores the reward pools */ rewardPools: RewardPool[]; /** * feed_observation_counts stores the feed observation counts */ feedObservationCounts: FeedCounts[]; /** * feed_transmission_counts stores the feed transmission counts */ feedTransmissionCounts: FeedCounts[]; /** * pending_payeeships stores the pending payeeships */ pendingPayeeships: PendingPayeeship[]; } export interface GenesisStateProtoMsg { typeUrl: "/injective.ocr.v1beta1.GenesisState"; value: Uint8Array; } /** * GenesisState defines the OCR module's genesis state. * @name GenesisStateAmino * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.GenesisState */ export interface GenesisStateAmino { /** * params defines all the parameters of related to OCR. */ params: ParamsAmino; /** * feed_configs stores all of the supported OCR feeds */ feed_configs: FeedConfigAmino[]; /** * latest_epoch_and_rounds stores the latest epoch and round for each feedId */ latest_epoch_and_rounds: FeedEpochAndRoundAmino[]; /** * feed_transmissions stores the last transmission for each feed */ feed_transmissions: FeedTransmissionAmino[]; /** * latest_aggregator_round_ids stores the latest aggregator round ID for each * feedId */ latest_aggregator_round_ids: FeedLatestAggregatorRoundIDsAmino[]; /** * reward_pools stores the reward pools */ reward_pools: RewardPoolAmino[]; /** * feed_observation_counts stores the feed observation counts */ feed_observation_counts: FeedCountsAmino[]; /** * feed_transmission_counts stores the feed transmission counts */ feed_transmission_counts: FeedCountsAmino[]; /** * pending_payeeships stores the pending payeeships */ pending_payeeships: PendingPayeeshipAmino[]; } export interface GenesisStateAminoMsg { type: "/injective.ocr.v1beta1.GenesisState"; value: GenesisStateAmino; } /** * @name FeedTransmission * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedTransmission */ export interface FeedTransmission { feedId: string; transmission?: Transmission; } export interface FeedTransmissionProtoMsg { typeUrl: "/injective.ocr.v1beta1.FeedTransmission"; value: Uint8Array; } /** * @name FeedTransmissionAmino * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedTransmission */ export interface FeedTransmissionAmino { feed_id: string; transmission?: TransmissionAmino; } export interface FeedTransmissionAminoMsg { type: "/injective.ocr.v1beta1.FeedTransmission"; value: FeedTransmissionAmino; } /** * @name FeedEpochAndRound * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedEpochAndRound */ export interface FeedEpochAndRound { feedId: string; epochAndRound?: EpochAndRound; } export interface FeedEpochAndRoundProtoMsg { typeUrl: "/injective.ocr.v1beta1.FeedEpochAndRound"; value: Uint8Array; } /** * @name FeedEpochAndRoundAmino * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedEpochAndRound */ export interface FeedEpochAndRoundAmino { feed_id: string; epoch_and_round?: EpochAndRoundAmino; } export interface FeedEpochAndRoundAminoMsg { type: "/injective.ocr.v1beta1.FeedEpochAndRound"; value: FeedEpochAndRoundAmino; } /** * @name FeedLatestAggregatorRoundIDs * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedLatestAggregatorRoundIDs */ export interface FeedLatestAggregatorRoundIDs { feedId: string; aggregatorRoundId: bigint; } export interface FeedLatestAggregatorRoundIDsProtoMsg { typeUrl: "/injective.ocr.v1beta1.FeedLatestAggregatorRoundIDs"; value: Uint8Array; } /** * @name FeedLatestAggregatorRoundIDsAmino * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedLatestAggregatorRoundIDs */ export interface FeedLatestAggregatorRoundIDsAmino { feed_id: string; aggregator_round_id: string; } export interface FeedLatestAggregatorRoundIDsAminoMsg { type: "/injective.ocr.v1beta1.FeedLatestAggregatorRoundIDs"; value: FeedLatestAggregatorRoundIDsAmino; } /** * @name RewardPool * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.RewardPool */ export interface RewardPool { feedId: string; amount: Coin; } export interface RewardPoolProtoMsg { typeUrl: "/injective.ocr.v1beta1.RewardPool"; value: Uint8Array; } /** * @name RewardPoolAmino * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.RewardPool */ export interface RewardPoolAmino { feed_id: string; amount: CoinAmino; } export interface RewardPoolAminoMsg { type: "/injective.ocr.v1beta1.RewardPool"; value: RewardPoolAmino; } /** * @name FeedCounts * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedCounts */ export interface FeedCounts { feedId: string; counts: Count[]; } export interface FeedCountsProtoMsg { typeUrl: "/injective.ocr.v1beta1.FeedCounts"; value: Uint8Array; } /** * @name FeedCountsAmino * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedCounts */ export interface FeedCountsAmino { feed_id: string; counts: CountAmino[]; } export interface FeedCountsAminoMsg { type: "/injective.ocr.v1beta1.FeedCounts"; value: FeedCountsAmino; } /** * @name Count * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.Count */ export interface Count { address: string; count: bigint; } export interface CountProtoMsg { typeUrl: "/injective.ocr.v1beta1.Count"; value: Uint8Array; } /** * @name CountAmino * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.Count */ export interface CountAmino { address: string; count: string; } export interface CountAminoMsg { type: "/injective.ocr.v1beta1.Count"; value: CountAmino; } /** * @name PendingPayeeship * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.PendingPayeeship */ export interface PendingPayeeship { feedId: string; transmitter: string; proposedPayee: string; } export interface PendingPayeeshipProtoMsg { typeUrl: "/injective.ocr.v1beta1.PendingPayeeship"; value: Uint8Array; } /** * @name PendingPayeeshipAmino * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.PendingPayeeship */ export interface PendingPayeeshipAmino { feed_id: string; transmitter: string; proposed_payee: string; } export interface PendingPayeeshipAminoMsg { type: "/injective.ocr.v1beta1.PendingPayeeship"; value: PendingPayeeshipAmino; } /** * GenesisState defines the OCR module's genesis state. * @name GenesisState * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.GenesisState */ export declare const GenesisState: { typeUrl: string; is(o: any): o is GenesisState; isAmino(o: any): o is GenesisStateAmino; encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; fromPartial(object: DeepPartial): GenesisState; fromAmino(object: GenesisStateAmino): GenesisState; toAmino(message: GenesisState): GenesisStateAmino; fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; toProto(message: GenesisState): Uint8Array; toProtoMsg(message: GenesisState): GenesisStateProtoMsg; registerTypeUrl(): void; }; /** * @name FeedTransmission * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedTransmission */ export declare const FeedTransmission: { typeUrl: string; is(o: any): o is FeedTransmission; isAmino(o: any): o is FeedTransmissionAmino; encode(message: FeedTransmission, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): FeedTransmission; fromPartial(object: DeepPartial): FeedTransmission; fromAmino(object: FeedTransmissionAmino): FeedTransmission; toAmino(message: FeedTransmission): FeedTransmissionAmino; fromAminoMsg(object: FeedTransmissionAminoMsg): FeedTransmission; fromProtoMsg(message: FeedTransmissionProtoMsg): FeedTransmission; toProto(message: FeedTransmission): Uint8Array; toProtoMsg(message: FeedTransmission): FeedTransmissionProtoMsg; registerTypeUrl(): void; }; /** * @name FeedEpochAndRound * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedEpochAndRound */ export declare const FeedEpochAndRound: { typeUrl: string; is(o: any): o is FeedEpochAndRound; isAmino(o: any): o is FeedEpochAndRoundAmino; encode(message: FeedEpochAndRound, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): FeedEpochAndRound; fromPartial(object: DeepPartial): FeedEpochAndRound; fromAmino(object: FeedEpochAndRoundAmino): FeedEpochAndRound; toAmino(message: FeedEpochAndRound): FeedEpochAndRoundAmino; fromAminoMsg(object: FeedEpochAndRoundAminoMsg): FeedEpochAndRound; fromProtoMsg(message: FeedEpochAndRoundProtoMsg): FeedEpochAndRound; toProto(message: FeedEpochAndRound): Uint8Array; toProtoMsg(message: FeedEpochAndRound): FeedEpochAndRoundProtoMsg; registerTypeUrl(): void; }; /** * @name FeedLatestAggregatorRoundIDs * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedLatestAggregatorRoundIDs */ export declare const FeedLatestAggregatorRoundIDs: { typeUrl: string; is(o: any): o is FeedLatestAggregatorRoundIDs; isAmino(o: any): o is FeedLatestAggregatorRoundIDsAmino; encode(message: FeedLatestAggregatorRoundIDs, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): FeedLatestAggregatorRoundIDs; fromPartial(object: DeepPartial): FeedLatestAggregatorRoundIDs; fromAmino(object: FeedLatestAggregatorRoundIDsAmino): FeedLatestAggregatorRoundIDs; toAmino(message: FeedLatestAggregatorRoundIDs): FeedLatestAggregatorRoundIDsAmino; fromAminoMsg(object: FeedLatestAggregatorRoundIDsAminoMsg): FeedLatestAggregatorRoundIDs; fromProtoMsg(message: FeedLatestAggregatorRoundIDsProtoMsg): FeedLatestAggregatorRoundIDs; toProto(message: FeedLatestAggregatorRoundIDs): Uint8Array; toProtoMsg(message: FeedLatestAggregatorRoundIDs): FeedLatestAggregatorRoundIDsProtoMsg; registerTypeUrl(): void; }; /** * @name RewardPool * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.RewardPool */ export declare const RewardPool: { typeUrl: string; is(o: any): o is RewardPool; isAmino(o: any): o is RewardPoolAmino; encode(message: RewardPool, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): RewardPool; fromPartial(object: DeepPartial): RewardPool; fromAmino(object: RewardPoolAmino): RewardPool; toAmino(message: RewardPool): RewardPoolAmino; fromAminoMsg(object: RewardPoolAminoMsg): RewardPool; fromProtoMsg(message: RewardPoolProtoMsg): RewardPool; toProto(message: RewardPool): Uint8Array; toProtoMsg(message: RewardPool): RewardPoolProtoMsg; registerTypeUrl(): void; }; /** * @name FeedCounts * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.FeedCounts */ export declare const FeedCounts: { typeUrl: string; is(o: any): o is FeedCounts; isAmino(o: any): o is FeedCountsAmino; encode(message: FeedCounts, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): FeedCounts; fromPartial(object: DeepPartial): FeedCounts; fromAmino(object: FeedCountsAmino): FeedCounts; toAmino(message: FeedCounts): FeedCountsAmino; fromAminoMsg(object: FeedCountsAminoMsg): FeedCounts; fromProtoMsg(message: FeedCountsProtoMsg): FeedCounts; toProto(message: FeedCounts): Uint8Array; toProtoMsg(message: FeedCounts): FeedCountsProtoMsg; registerTypeUrl(): void; }; /** * @name Count * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.Count */ export declare const Count: { typeUrl: string; is(o: any): o is Count; isAmino(o: any): o is CountAmino; encode(message: Count, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Count; fromPartial(object: DeepPartial): Count; fromAmino(object: CountAmino): Count; toAmino(message: Count): CountAmino; fromAminoMsg(object: CountAminoMsg): Count; fromProtoMsg(message: CountProtoMsg): Count; toProto(message: Count): Uint8Array; toProtoMsg(message: Count): CountProtoMsg; registerTypeUrl(): void; }; /** * @name PendingPayeeship * @package injective.ocr.v1beta1 * @see proto type: injective.ocr.v1beta1.PendingPayeeship */ export declare const PendingPayeeship: { typeUrl: string; is(o: any): o is PendingPayeeship; isAmino(o: any): o is PendingPayeeshipAmino; encode(message: PendingPayeeship, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PendingPayeeship; fromPartial(object: DeepPartial): PendingPayeeship; fromAmino(object: PendingPayeeshipAmino): PendingPayeeship; toAmino(message: PendingPayeeship): PendingPayeeshipAmino; fromAminoMsg(object: PendingPayeeshipAminoMsg): PendingPayeeship; fromProtoMsg(message: PendingPayeeshipProtoMsg): PendingPayeeship; toProto(message: PendingPayeeship): Uint8Array; toProtoMsg(message: PendingPayeeship): PendingPayeeshipProtoMsg; registerTypeUrl(): void; };