futureversecom / trn-seed

Implementation of The Root Network node in Rust, based on the Substrate framework.

Home Page:https://www.therootnetwork.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] modify event data fields to make it easier for developing marketplace

leo-plugdefi opened this issue · comments

observation:

  1. the FixedPriceSaleList event doesn't contain duration of this listing, to get this field in current implementation it will require another storage read call and calculate using listing close field and the block number.
  2. the Offer event doesn't contain token_id, the indexer has to get this info from extrinsic parameters

proposal:
add those data to the events mentioned above