Skip to content

Commit

Permalink
Fixed some typing for receipts and logs (#497).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jan 19, 2020
1 parent 92a383f commit ea102ef
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/abstract-provider/src.ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export interface Log {
blockHash?: string;
transactionIndex?: number;

removed?: boolean;
removed: boolean;

transactionLogIndex?: number,

Expand All @@ -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
};
Expand Down

0 comments on commit ea102ef

Please sign in to comment.