Created
April 2, 2019 20:59
-
-
Save adrake33/92aceb8a5eef90b71417cfe0953cb2e1 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 add logging for `marketId`, `tokensEscrowed`, & `sharesEscrowed`? | |
export interface AllOrdersRow<BigNumberType> { | |
orderId: Address; // OrderCreated.orderId | |
originalTokensEscrowed: BigNumberType; // OrderCreated.moneyEscrowed | |
originalSharesEscrowed: BigNumberType; // OrderCreated.sharesEscrowed | |
tokensEscrowed: BigNumberType; | |
sharesEscrowed: BigNumberType; | |
marketId: Address; | |
} | |
export interface AllOrders { | |
[orderId: string]: AllOrdersRow<string>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment