superfluid-finance/protocol-monorepo

[SUBGRAPH][FEATURE] Inconsistency: AccountTokenSnapshot has `updatedAt(Timestamp/BlockNumber)` but not the equivalent for "created at"

Closed this issue · 0 comments

What?
AccountTokenSnapshot has updatedAt(Timestamp/BlockNumber) but not the equivalent for "created at". Every other entity has both "created at" and "updated at", this is the only known exception to me. Seems like an oversight.

Why?
I actually have use for the createdAtBlockNumber value when implementing time-travelling in the visualizer.

How?
Add the values in the getOrInitAccountTokenSnapshot.