Show total balances for each currency on List Wallets Page

This commit is contained in:
Max Dignan
2021-09-15 10:52:57 -04:00
committed by Andrew Camilleri
parent 88c925017d
commit b7a081b9a4
3 changed files with 33 additions and 2 deletions

View File

@@ -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>();
}
}