status-go/services/wallet/transfer
Stefan c020222f1b feat(Wallet): add activity filter api prototype
Add the possibility of retrieving the metadata of wallet activity based
on the given filter criteria.

Current implementation relies that after fetching the metadata, user
will follow up with more requests for details. However, after some
experimenting I'm considering extracting all required information
for the summary viewing while filtering. This way there will be no
need for another batch requests for transfers, multi-transactions and
pending transactions to show the summary. Only when user wants to see
the details for one will specifically request it.

For this first prototype, the filter criteria is limited to:
- time
- type
- addresses

Major changes:
- Add the filter definition to be used in propagating the filter
  information
- Add GetActivityEntries API to return the list of activity entries
  for the given addresses/chainIDs by a view in the complete list
- GetTransfersForIdentities to batch retrieve further details of the
  transfers
- GetPendingTransactionsForIdentities to batch retrieve further details
  of the pending transactions
- Added a new package testutils for tests.
- Added tests

Updates status-desktop #10366
Closes status-desktop #10633
2023-05-14 23:05:28 +02:00
..
balance_cache.go feat: retrieve balance history for tokens and cache it to DB 2023-01-25 22:25:50 +04:00
block_dao.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
block_test.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
commands.go fix(wallet) don't delete pending transactions for multi-transaction 2023-05-08 11:24:37 +02:00
concurrent.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
concurrent_test.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
controller.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
database.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
database_test.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
downloader.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
iterative.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
iterative_test.go feat: enable wallet without network binding (#2349) 2021-09-09 16:28:54 +02:00
query.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
reactor.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
sequential_fetch_strategy.go feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
testutils.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
transaction.go feat(Wallet): add activity filter api prototype 2023-05-14 23:05:28 +02:00
transaction_test.go feat(wallet) add GetMultiTransactions wallet API 2023-03-07 19:38:31 +04:00
view.go feat(Wallet): add opensea asset fetching by contract address and token id 2023-03-07 10:33:50 -03:00