mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
* Create new tables * wip * wip * Refactor LegacyLabel * Remove LabelFactory * Add migration * wip * wip * Add pull-payment attachment to tx * Address kukks points
28 lines
1 KiB
C#
28 lines
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BTCPayServer.JsonConverters;
|
|
using NBitcoin;
|
|
using NBitcoin.JsonConverters;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class OnChainWalletUTXOData
|
|
{
|
|
public string Comment { get; set; }
|
|
[JsonConverter(typeof(NumericStringJsonConverter))]
|
|
public decimal Amount { get; set; }
|
|
[JsonConverter(typeof(OutpointJsonConverter))]
|
|
public OutPoint Outpoint { get; set; }
|
|
public string Link { get; set; }
|
|
#pragma warning disable CS0612 // Type or member is obsolete
|
|
public Dictionary<string, LabelData> Labels { get; set; }
|
|
#pragma warning restore CS0612 // Type or member is obsolete
|
|
[JsonConverter(typeof(DateTimeToUnixTimeConverter))]
|
|
public DateTimeOffset Timestamp { get; set; }
|
|
[JsonConverter(typeof(KeyPathJsonConverter))]
|
|
public KeyPath KeyPath { get; set; }
|
|
public string Address { get; set; }
|
|
public long Confirmations { get; set; }
|
|
}
|
|
}
|