btcpayserver/BTCPayServer/Components/StoreLightningBalance/StoreLightningBalanceViewModel.cs
d11n c943303a45
Dashboard balance fixes (#3876)
* Fix wallet balance for case crypto code == default currency

* Handle old NBXplorer backend case

* Cleanup
2022-06-20 14:31:22 +09:00

15 lines
493 B
C#

using BTCPayServer.Data;
using BTCPayServer.Lightning;
namespace BTCPayServer.Components.StoreLightningBalance;
public class StoreLightningBalanceViewModel
{
public string CryptoCode { get; set; }
public StoreData Store { get; set; }
public WalletId WalletId { get; set; }
public LightMoney TotalOnchain { get; set; }
public LightMoney TotalOffchain { get; set; }
public LightningNodeBalance Balance { get; set; }
public string ProblemDescription { get; set; }
}