Skip to content

Commit

Permalink
fix(io): fix AoEpochData type, add prescribedNames
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Dec 17, 2024
1 parent a33f031 commit 1ea89d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export type AoEpochObservationData = {
failureSummaries: Record<WalletAddress, WalletAddress[]>;
reports: Record<WalletAddress, TransactionId>;
};
export type AoEpochPrescribedObservers = Record<WalletAddress, WalletAddress[]>;

export type AoVaultData = {
balance: number;
Expand Down Expand Up @@ -151,7 +152,8 @@ export type AoEpochData = {
epochIndex: AoEpochIndex;
startHeight: BlockHeight;
observations: AoEpochObservationData;
prescribedObservers: AoWeightedObserver[];
prescribedObservers: AoEpochPrescribedObservers;
prescribedNames: string[];
startTimestamp: Timestamp;
endTimestamp: Timestamp;
distributionTimestamp: Timestamp;
Expand Down

0 comments on commit 1ea89d4

Please sign in to comment.