Skip to content

Instantly share code, notes, and snippets.

@adrake33
Last active April 2, 2019 20:17
Show Gist options
  • Save adrake33/09d0009e99d2cf9f44c753e21055ac81 to your computer and use it in GitHub Desktop.
Save adrake33/09d0009e99d2cf9f44c753e21055ac81 to your computer and use it in GitHub Desktop.
// Is `repTotal` just calculated using TokensMinted events?
interface ForkMigrationTotals<BigNumberType> {
isInvalid: boolean; // UniverseCreated.payoutNumerators
payout: Array<number>; // UniverseCreated.payoutNumerators
repTotal: BigNumberType;
universe: string; // UniverseCreated.childUniverse
}
interface UIForkMigrationTotals<BigNumberType> {
[universe: string]: ForkMigrationTotals<BigNumberType>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment