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