seamless-protocol / seamless-interface

https://seamless-interface.vercel.app
Other
7 stars 4 forks source link

ILM Specific Running List of Rebalance Information [Advanced View] #449

Open rcqiao opened 2 months ago

rcqiao commented 2 months ago

Name of feature/metric: For a specific ILM, all of the historical rebalance information

Description of feature/metric: A running list of all past rebalances, shown in a table format (linking to onchain trxn id?) and key stats, like when the rebalance happened (timestamp), the onchain transaction, if the rebalance was up or down, and from what starting leverage and end leverage point. If possible, some calculation of rebalance cost too (gas + slippage)

This would be in an advanced view somewhere, TBD still.

Considerations/questions: N/A

Picture from design (if available): Illustrative table example Image

Estimated Timeline:

Requirements/Data Sources: We could get this from Dune. It would be easier if we have rebalance event. In that case we would also be able to get it from Subgraph. Data will most likely be equity before and after rebalance and equity in USD before and after rebalance.

rcqiao commented 1 month ago

must have a subgraph to show in the UI, but this could be shown in dune dashboard though.

both would be medium