Align contract event log l&f with transactions (#2812)

* Event into own component, align with transactions

* Pass value & type through from event log params

* Reformat display columns
This commit is contained in:
Jaco Greeff
2016-10-25 16:02:12 +02:00
committed by GitHub
parent 8d0cff3599
commit 7eacf07629
12 changed files with 272 additions and 109 deletions

View File

@@ -150,7 +150,9 @@ export default class Contract {
log.event = event.name;
decoded.params.forEach((param) => {
log.params[param.name] = param.token.value;
const { type, value } = param.token;
log.params[param.name] = { type, value };
});
return log;