Skip to content

Commit

Permalink
adding aura user balance sync to fraxtal (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
franzns committed Sep 19, 2024
1 parent 3fb6c32 commit 14b6f71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/khaki-trainers-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'backend': patch
---

adding aura balance tracking to fraxtal
3 changes: 2 additions & 1 deletion modules/network/fraxtal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { env } from '../../apps/env';
import { YbTokensAprService } from '../pool/lib/apr-data-sources/yb-tokens-apr.service';
import { BalancerSubgraphService } from '../subgraphs/balancer-subgraph/balancer-subgraph.service';
import config from '../../config';
import { UserSyncAuraBalanceService } from '../user/lib/user-sync-aura-balance.service';

export const fraxtalNetworkData = config.FRAXTAL;

Expand All @@ -24,7 +25,7 @@ export const fraxtalNetworkConfig: NetworkConfig = {
new SwapFeeAprService(),
new GaugeAprService(tokenService, [fraxtalNetworkData.bal!.address]),
],
userStakedBalanceServices: [new UserSyncGaugeBalanceService()],
userStakedBalanceServices: [new UserSyncGaugeBalanceService(), new UserSyncAuraBalanceService()],
services: {
balancerSubgraphService: new BalancerSubgraphService(
fraxtalNetworkData.subgraphs.balancer,
Expand Down

0 comments on commit 14b6f71

Please sign in to comment.