Last active
April 2, 2019 19:54
-
-
Save adrake33/529e237c496c1254a8e75b1e9051df77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This will require getting data from a lot of different logs. Might want to create new logs for fields in `totals . | |
export interface CrowdsourcerState { | |
crowdsourcerId: Address; | |
needsFork: boolean; | |
} | |
export interface InitialReporterState { | |
initialReporterId: Address; | |
needsFork: boolean; | |
} | |
export interface ForkedMarket { | |
marketId: Address; | |
universe: Address; | |
isFinalized: boolean; | |
crowdsourcers: Array<CrowdsourcerState>; | |
initialReporter: InitialReporterState|null; | |
} | |
export interface NonforkedMarket { | |
marketId: Address; | |
universe: Address; | |
crowdsourcersAreDisavowed: boolean; | |
isFinalized: boolean; | |
isMigrated: boolean; | |
crowdsourcers: Array<Address>; | |
initialReporter: Address|null; | |
} | |
export interface FeeDetails { | |
total: { | |
unclaimedEth: string; | |
unclaimedRepStaked: string; | |
unclaimedRepEarned: string; | |
unclaimedForkEth: string; | |
unclaimedForkRepStaked: string; | |
lostRep: string; | |
}; | |
feeWindows: Array<Address>; | |
forkedMarket: ForkedMarket|null; | |
nonforkedMarkets: Array<NonforkedMarket>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment