Skip to content

Instantly share code, notes, and snippets.

@adrake33
Last active April 2, 2019 19:45
Show Gist options
  • Save adrake33/ac8f609ead31334336ef488510d14c05 to your computer and use it in GitHub Desktop.
Save adrake33/ac8f609ead31334336ef488510d14c05 to your computer and use it in GitHub Desktop.
// Should add initial reporter address to logging
export interface InitialReportersRow<BigNumberType> {
marketId: Address; // InitialReportSubmitted.market
reporter: Address; // InitialReportSubmitted.reporter
amountStaked: BigNumberType; // InitialReportSubmitted.amountStaked
initialReporter: Address; // Should be logged
redeemed: boolean; // Whether InitialReporterRedeemed has been logged
isDesignatedReporter: boolean; // InitialReportSubmitted.isDesignatedReporter
repBalance: BigNumberType; // InitialReportSubmitted.amountStaked or 0 (if claimed)
}
export interface UIInitialReporters<BigNumberType> {
[initialReporter: string]: InitialReportersRow<BigNumberType>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment