Fixed some typing for receipts and logs (#497).

This commit is contained in:
Richard Moore 2020-01-18 21:11:55 -05:00
parent 92a383ff0d
commit ea102ef7c4
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -80,7 +80,7 @@ export interface Log {
blockHash?: string; blockHash?: string;
transactionIndex?: number; transactionIndex?: number;
removed?: boolean; removed: boolean;
transactionLogIndex?: number, transactionLogIndex?: number,
@ -94,19 +94,19 @@ export interface Log {
} }
export interface TransactionReceipt { export interface TransactionReceipt {
to?: string; to: string;
from?: string; from: string;
contractAddress?: string, contractAddress: string,
transactionIndex?: number, transactionIndex: number,
root?: string, root?: string,
gasUsed?: BigNumber, gasUsed: BigNumber,
logsBloom?: string, logsBloom: string,
blockHash?: string, blockHash: string,
transactionHash?: string, transactionHash: string,
logs?: Array<Log>, logs: Array<Log>,
blockNumber?: number, blockNumber: number,
confirmations?: number, confirmations: number,
cumulativeGasUsed?: BigNumber, cumulativeGasUsed: BigNumber,
byzantium: boolean, byzantium: boolean,
status?: number status?: number
}; };