paratii-player icon indicating copy to clipboard operation
paratii-player copied to clipboard

Show transaction history better

Open jellegerbrandy opened this issue 7 years ago • 2 comments

The Transactions colleciton in meteor adds a record for each Logged event.

I.e. a "buyVideo" is a single transaction that logs 3 separate events:

  • BuyVideo - logs the videoId and price of the video
  • Transfer - logs the transfer of PTI from the buyers account to the owner of the video
  • Transfer - logs the transfer of PTI from the buyers account to the distribution pool

At the moment, we are showing: each line in the history in the app corresponds to 1 transaction, and we are just piling up the info from the different events that are logged for each transaction

We (probably) just want to show the info of the first event, in this case.

jellegerbrandy avatar Oct 09 '17 09:10 jellegerbrandy