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;
|
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
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user