Created
April 2, 2019 21:21
-
-
Save adrake33/7e536ae327e87ca0d8cadc2c0905ec12 to your computer and use it in GitHub Desktop.
This file contains 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
// Should not require additional logginng | |
export interface CompleteSetsRow<BigNumberType> extends BaseTransactionRow { | |
marketId: Address; // CompleteSetsPurchased.market or CompleteSetsSold.market | |
account: Address; // CompleteSetsPurchased.account or CompleteSetsSold.account | |
universe: Address; // CompleteSetsPurchased.universe or CompleteSetsSold.universe | |
eventName: string; // "CompleteSetsPurchased" or "CompleteSetsSold" | |
numPurchasedOrSold: BigNumberType; // always same as `numCompleteSets`? | |
numCompleteSets: BigNumberType; // CompleteSetsPurchased.numCompleteSets or CompleteSetsSold.numCompleteSets | |
} | |
export interface CompleteSets { | |
[orderId: string]: CompleteSetsRow<string>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment