Created
April 2, 2019 20:37
-
-
Save adrake33/7980b72a690b8b172f1c61400a8b7f29 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 probably add `symbol`, `outcome`, `isInternalTransfer` to Transfer logs | |
export interface TransferRow<BigNumberType> { | |
transactionHash: Bytes32; | |
logIndex: number; | |
blockNumber: number; | |
blockHash: string; | |
timestamp: number; | |
sender: Address; // TokensTransferred.from | |
recipient: Address; // TokensTransferred.to | |
token: Address; // TokensTransferred.token | |
value: BigNumberType; // TokensTransferred.value | |
symbol: string|null; | |
outcome: number|null; | |
marketId: Address|null; // TokensTransferred.market | |
isInternalTransfer: boolean; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment