Fixed some typing for receipts and logs (#497).
This commit is contained in:
parent
92a383ff0d
commit
ea102ef7c4
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user