Closed jstashh closed 3 years ago
This is to be able to calculate historical earnings for a user. Can't use balancePosition for this as the pricePerShare (from VaultUpdates) of the vault changes over time, whereas balancePosition is static at one point in time.
balancePosition
pricePerShare
This is to be able to calculate historical earnings for a user. Can't use
balancePosition
for this as thepricePerShare
(from VaultUpdates) of the vault changes over time, whereasbalancePosition
is static at one point in time.