File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/fasset-indexer-api/src/analytics Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ export class DashboardAnalytics extends SharedAnalytics {
241241 }
242242
243243 async coreVaultInflowTimespan ( timestamps : number [ ] ) : Promise < FAssetTimespan < bigint > > {
244- return this . prepareTimespan ( this . coreVaultInflowDuring . bind ( this ) , timestamps )
244+ return this . prepareTimespan ( this . coreVaultInflowAt . bind ( this ) , timestamps )
245245 }
246246
247247 async coreVaultBalanceTimespan ( timestamps : number [ ] ) : Promise < FAssetTimespan < bigint > > {
@@ -500,6 +500,10 @@ export class DashboardAnalytics extends SharedAnalytics {
500500 return this . convertOrmResultToFAssetValueResult ( result , 'total_agent_balance' )
501501 }
502502
503+ protected async coreVaultInflowAt ( em : EntityManager , timestamp : number ) : Promise < FAssetValueResult > {
504+ return this . coreVaultInflowDuring ( em , 0 , timestamp )
505+ }
506+
503507 protected async trackedAgentBackingAt ( em : EntityManager , timestamp : number ) : Promise < FAssetValueResult > {
504508 return this . trackedAgentBackingDuring ( em , 0 , timestamp )
505509 }
You can’t perform that action at this time.
0 commit comments