Created
April 2, 2019 01:31
-
-
Save adrake33/9bf539ded9a55dd8a3964190d0d38375 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
// Use TokensTransferred events to calculate `balance` for an account? | |
// Use `TokensMinted` to calculate supply? | |
export interface UniversesInfo<BigNumberType> { | |
balance: BigNumberType; | |
isInvalid: boolean; // Use UniverseCreated.payoutNumerators | |
numMarkets: BigNumberType; // Keep running total of MarketCreated events in this universe | |
parentUniverse: Address; // Universecreated.parentUniverse | |
payout: Array<number>; // UniverseCreated.payoutNumerators | |
supply: BigNumberType; | |
universe: Address; // UniverseCreated.childUniverse | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment