Add LogEntry type
This commit is contained in:
		
							
								
								
									
										13
									
								
								packages/web3-typescript-typings/index.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								packages/web3-typescript-typings/index.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -296,10 +296,19 @@ declare module 'web3' {
 | 
				
			|||||||
            cumulativeGasUsed: number;
 | 
					            cumulativeGasUsed: number;
 | 
				
			||||||
            gasUsed: number;
 | 
					            gasUsed: number;
 | 
				
			||||||
            contractAddress: string|null;
 | 
					            contractAddress: string|null;
 | 
				
			||||||
            logs: Array<Log>;
 | 
					            logs: Array<LogEntry>;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        interface Log {}
 | 
					        interface LogEntry {
 | 
				
			||||||
 | 
					            logIndex: number|null;
 | 
				
			||||||
 | 
					            transactionIndex: number;
 | 
				
			||||||
 | 
					            transactionHash: string;
 | 
				
			||||||
 | 
					            blockHash: string|null;
 | 
				
			||||||
 | 
					            blockNumber: number|null;
 | 
				
			||||||
 | 
					            address: string;
 | 
				
			||||||
 | 
					            data: string;
 | 
				
			||||||
 | 
					            topics: string[];
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    /* tslint:disable */
 | 
					    /* tslint:disable */
 | 
				
			||||||
    export = Web3;
 | 
					    export = Web3;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user