mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
* Dashboard: Load Lightning balance async, display default currency * Simplify approach, improve views and scripts * Async tiles Async tiles * Add period for app sales * Fix missing keypad view sales * Fix after rebase * Fix awaited call * Fix build Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
19 lines
631 B
C#
19 lines
631 B
C#
using BTCPayServer.Data;
|
|
using BTCPayServer.Lightning;
|
|
using BTCPayServer.Services.Rates;
|
|
|
|
namespace BTCPayServer.Components.StoreLightningBalance;
|
|
|
|
public class StoreLightningBalanceViewModel
|
|
{
|
|
public string CryptoCode { get; set; }
|
|
public string DefaultCurrency { get; set; }
|
|
public CurrencyData CurrencyData { get; set; }
|
|
public StoreData Store { get; set; }
|
|
public LightMoney TotalOnchain { get; set; }
|
|
public LightMoney TotalOffchain { get; set; }
|
|
public LightningNodeBalance Balance { get; set; }
|
|
public string ProblemDescription { get; set; }
|
|
public bool InitialRendering { get; set; }
|
|
}
|