From ea102ef7c4fa5df7b9389fbc8a2947bbbd4c471e Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Sat, 18 Jan 2020 21:11:55 -0500 Subject: [PATCH] Fixed some typing for receipts and logs (#497). --- packages/abstract-provider/src.ts/index.ts | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/abstract-provider/src.ts/index.ts b/packages/abstract-provider/src.ts/index.ts index 6dbd5da76..c590de978 100644 --- a/packages/abstract-provider/src.ts/index.ts +++ b/packages/abstract-provider/src.ts/index.ts @@ -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, - blockNumber?: number, - confirmations?: number, - cumulativeGasUsed?: BigNumber, + gasUsed: BigNumber, + logsBloom: string, + blockHash: string, + transactionHash: string, + logs: Array, + blockNumber: number, + confirmations: number, + cumulativeGasUsed: BigNumber, byzantium: boolean, status?: number };