status-go/services/wallet/activity
Ivan Belyakov bd816f1e29 chore(wallet)_: tests for wallet.Reader fetching balances
chore(wallet)_: split getWalletTokenBalances into multiple functions

Removed some unused balances methods from wallet API

chore(wallet)_: refactored FetchOrGetWalletTokenBalances

- getWalletTokenBalances only returns cached ones
- update of balances is done in a separate method

chore(wallet)_: fix isVisible in getWalletTokenBalances is overwritten

It is overwritten and in some cases its value is desrespected

chore(wallet)_: simplify getWalletTokenBalance even further

chore(wallet)_: remove accountsDB from wallet.Reader

Call GetTestNetworkEnabled from NetworkManager instead

chore(wallet)_: remove rpc.Client from wallet.Reader.

Added GetActiveNetworks() method for NetworkManager
Removed adding native tokens from networks, as this is done already
in NetworkManager

chore(wallet)_: moved Persistence to token package

As it works with token_balances table, moved Persistence to token package.
Fixed TokenManager's Mark/Get previously owned tokens to use persistence
storage instead of direct SQL calls.
Introduced StorageToken that aggregates Token type, because when
Persistence moved to token package, names clash

test(wallet)_: tests for wallet.Reader.FetchorGetCachedBalances
2024-06-19 16:57:50 +01:00
..
activity.go feat(wallet)_: add Approve transaction type 2024-06-10 08:57:45 -03:00
activity_test.go feat(wallet)_: add Approve transaction type 2024-06-10 08:57:45 -03:00
benchmarks_test.go chore(wallet)_: Fix tests after wallet api sign and send clean up 2024-05-09 18:11:58 +02:00
details.go fix_: Fetch pending tx hash (#5319) 2024-06-11 10:36:27 +02:00
filter.go feat(wallet)_: add Approve transaction type 2024-06-10 08:57:45 -03:00
filter.sql chore(wallet)_: clean up wallet API send and sign transactions 2024-05-09 18:11:58 +02:00
filter_test.go chore(wallet)_: Fix tests after wallet api sign and send clean up 2024-05-09 18:11:58 +02:00
get_collectibles.sql feat: Wallet activity collectibles model (#4074) 2023-10-03 12:49:04 +02:00
multiTxDetails.sql fix_: Fetch pending tx hash (#5319) 2024-06-11 10:36:27 +02:00
oldest_timestamp.sql Bug: Refresh recipients model (#4076) 2023-10-02 13:46:05 +02:00
recipients.sql chore(wallet)_: clean up wallet API send and sign transactions 2024-05-09 18:11:58 +02:00
service.go fix_: Fix cast (#5287) 2024-06-10 15:56:06 +02:00
service_test.go chore(wallet)_: tests for wallet.Reader fetching balances 2024-06-19 16:57:50 +01:00
session.go chore(wallet)_: removed all addresses parameter as redundant. 2024-04-12 14:36:44 +02:00
session_test.go feat(wallet) add GetMoreForFilterSession API method 2024-02-13 17:37:44 +01:00
txDetails.sql fix_: Fetch pending tx hash (#5319) 2024-06-11 10:36:27 +02:00