From 51aeb82b46e09cd7af87208ecb940b1614ff5f96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Vytick=20Vytrhl=C3=ADk?= Date: Tue, 14 Jan 2025 21:18:07 +0100 Subject: [PATCH] feat(graph): get graph events from txn history for arb, base, op --- suite-common/graph/src/balanceHistoryUtils.ts | 3 +++ suite-common/graph/src/constants.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/suite-common/graph/src/balanceHistoryUtils.ts b/suite-common/graph/src/balanceHistoryUtils.ts index bac183c195d..d03205bf9a4 100644 --- a/suite-common/graph/src/balanceHistoryUtils.ts +++ b/suite-common/graph/src/balanceHistoryUtils.ts @@ -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: diff --git a/suite-common/graph/src/constants.ts b/suite-common/graph/src/constants.ts index 957c0a513ec..78e54de5f28 100644 --- a/suite-common/graph/src/constants.ts +++ b/suite-common/graph/src/constants.ts @@ -9,6 +9,9 @@ export const LOCAL_BALANCE_HISTORY_COINS = [ 'pol', 'bsc', 'xrp', + 'arb', + 'base', + 'op', ] satisfies Array; export type LocalBalanceHistoryCoin = (typeof LOCAL_BALANCE_HISTORY_COINS)[number];