import Long from "long"; import _m0 from "protobufjs/minimal"; import { ExchangeRateTuple } from "./oracle"; /** Emitted when a price is posted */ export interface EventPriceUpdate { pair: string; price: string; timestampMs: Long; } /** Emitted when a valoper delegates oracle voting rights to a feeder address. */ export interface EventDelegateFeederConsent { /** Validator is the Bech32 address that is delegating voting rights. */ validator: string; /** * Feeder is the delegate or representative that will be able to send * vote and prevote transaction messages. */ feeder: string; } /** Emitted by MsgAggregateExchangeVote when an aggregate vote is added to state */ export interface EventAggregateVote { /** Validator is the Bech32 address to which the vote will be credited. */ validator: string; /** * Feeder is the delegate or representative that will send vote and prevote * transaction messages on behalf of the voting validator. */ feeder: string; prices: ExchangeRateTuple[]; } /** * Emitted by MsgAggregateExchangePrevote when an aggregate prevote is added * to state */ export interface EventAggregatePrevote { /** Validator is the Bech32 address to which the vote will be credited. */ validator: string; /** * Feeder is the delegate or representative that will send vote and prevote * transaction messages on behalf of the voting validator. */ feeder: string; } export interface EventValidatorPerformance { /** Validator is the Bech32 address to which the vote will be credited. */ validator: string; /** Tendermint consensus voting power */ votingPower: Long; /** * RewardWeight: Weight of rewards the validator should receive in units of * consensus power. */ rewardWeight: Long; /** Number of valid votes for which the validator will be rewarded */ winCount: Long; /** Number of abstained votes for which there will be no reward or punishment */ abstainCount: Long; /** Number of invalid/punishable votes */ missCount: Long; } export declare const EventPriceUpdate: { encode(message: EventPriceUpdate, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EventPriceUpdate; fromJSON(object: any): EventPriceUpdate; toJSON(message: EventPriceUpdate): unknown; create, I>>(base?: I): EventPriceUpdate; fromPartial, I>>(object: I): EventPriceUpdate; }; export declare const EventDelegateFeederConsent: { encode(message: EventDelegateFeederConsent, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EventDelegateFeederConsent; fromJSON(object: any): EventDelegateFeederConsent; toJSON(message: EventDelegateFeederConsent): unknown; create, I>>(base?: I): EventDelegateFeederConsent; fromPartial, I>>(object: I): EventDelegateFeederConsent; }; export declare const EventAggregateVote: { encode(message: EventAggregateVote, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EventAggregateVote; fromJSON(object: any): EventAggregateVote; toJSON(message: EventAggregateVote): unknown; create, I>>(base?: I): EventAggregateVote; fromPartial, I>>(object: I): EventAggregateVote; }; export declare const EventAggregatePrevote: { encode(message: EventAggregatePrevote, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EventAggregatePrevote; fromJSON(object: any): EventAggregatePrevote; toJSON(message: EventAggregatePrevote): unknown; create, I>>(base?: I): EventAggregatePrevote; fromPartial, I>>(object: I): EventAggregatePrevote; }; export declare const EventValidatorPerformance: { encode(message: EventValidatorPerformance, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EventValidatorPerformance; fromJSON(object: any): EventValidatorPerformance; toJSON(message: EventValidatorPerformance): unknown; create, I>>(base?: I): EventValidatorPerformance; fromPartial, I>>(object: I): EventValidatorPerformance; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export {}; //# sourceMappingURL=event.d.ts.map