Updated on 2026-08-14

This commit is contained in:
Tangem 2023-07-31 18:59:35 +08:00
parent 3d887a5574
commit 06b13f2227
15 changed files with 491 additions and 243 deletions

View file

@ -7,7 +7,7 @@ internal object MockTxHistoryItems {
private val txHistoryItem1 = TxHistoryItem(
txHash = "noster",
timestamp = 1689930746,
timestamp = System.currentTimeMillis(),
direction = TxHistoryItem.TransactionDirection.Incoming("address"),
status = TxHistoryItem.TxStatus.Confirmed,
type = TxHistoryItem.TransactionType.Transfer,
@ -16,7 +16,7 @@ internal object MockTxHistoryItems {
private val txHistoryItem2 = TxHistoryItem(
txHash = "noster",
timestamp = 1689844346,
timestamp = 1689844346000,
direction = TxHistoryItem.TransactionDirection.Incoming("address2"),
status = TxHistoryItem.TxStatus.Unconfirmed,
type = TxHistoryItem.TransactionType.Transfer,
@ -25,7 +25,7 @@ internal object MockTxHistoryItems {
private val txHistoryItem3 = TxHistoryItem(
txHash = "noster",
timestamp = 1689757946,
timestamp = 1689757946000,
direction = TxHistoryItem.TransactionDirection.Outgoing("address3"),
status = TxHistoryItem.TxStatus.Confirmed,
type = TxHistoryItem.TransactionType.Transfer,
@ -34,7 +34,7 @@ internal object MockTxHistoryItems {
private val txHistoryItem4 = TxHistoryItem(
txHash = "noster",
timestamp = 1689671546,
timestamp = 1689671546000,
direction = TxHistoryItem.TransactionDirection.Incoming("address4"),
status = TxHistoryItem.TxStatus.Confirmed,
type = TxHistoryItem.TransactionType.Transfer,
@ -43,7 +43,7 @@ internal object MockTxHistoryItems {
private val txHistoryItem5 = TxHistoryItem(
txHash = "noster",
timestamp = 1689585146,
timestamp = 1689585146000,
direction = TxHistoryItem.TransactionDirection.Outgoing("address5"),
status = TxHistoryItem.TxStatus.Unconfirmed,
type = TxHistoryItem.TransactionType.Transfer,
@ -52,7 +52,7 @@ internal object MockTxHistoryItems {
private val txHistoryItem6 = TxHistoryItem(
txHash = "noster",
timestamp = 1689585146,
timestamp = 1689585146000,
direction = TxHistoryItem.TransactionDirection.Incoming("address6"),
status = TxHistoryItem.TxStatus.Confirmed,
type = TxHistoryItem.TransactionType.Transfer,