Skip to content

Commit

Permalink
feat(graph): get graph events from txn history for arb, base, op
Browse files Browse the repository at this point in the history
  • Loading branch information
vytick committed Jan 14, 2025
1 parent 93a1aff commit 51aeb82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions suite-common/graph/src/balanceHistoryUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ export const getAccountHistoryMovementFromTransactions = ({
case 'eth':
case 'pol':
case 'bsc':
case 'arb':
case 'op':
case 'base':
return getAccountHistoryMovementItemETH({ transactions, from, to });

default:
Expand Down
3 changes: 3 additions & 0 deletions suite-common/graph/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export const LOCAL_BALANCE_HISTORY_COINS = [
'pol',
'bsc',
'xrp',
'arb',
'base',
'op',
] satisfies Array<NetworkSymbol>;
export type LocalBalanceHistoryCoin = (typeof LOCAL_BALANCE_HISTORY_COINS)[number];

Expand Down

0 comments on commit 51aeb82

Please sign in to comment.