mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Show total balances for each currency on List Wallets Page
This commit is contained in:
committed by
Andrew Camilleri
parent
88c925017d
commit
b7a081b9a4
@@ -1,4 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using NBitcoin;
|
||||
using BTCPayServer;
|
||||
|
||||
namespace BTCPayServer.Models.WalletViewModels
|
||||
{
|
||||
@@ -12,8 +14,10 @@ namespace BTCPayServer.Models.WalletViewModels
|
||||
public string Balance { get; set; }
|
||||
public bool IsOwner { get; set; }
|
||||
public WalletId Id { get; set; }
|
||||
public BTCPayNetwork Network { get; set; }
|
||||
}
|
||||
|
||||
public Dictionary<BTCPayNetwork, IMoney> BalanceForCryptoCode { get; set; } = new Dictionary<BTCPayNetwork, IMoney>();
|
||||
public List<WalletViewModel> Wallets { get; set; } = new List<WalletViewModel>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user