btcpayserver/BTCPayServer/Models/StoreViewModels/DerivationSchemeViewModel.cs

41 lines
1.1 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
2019-05-08 20:37:37 +02:00
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Rendering;
2018-04-12 11:48:33 +09:00
using NBitcoin;
namespace BTCPayServer.Models.StoreViewModels
{
public class DerivationSchemeViewModel
{
public DerivationSchemeViewModel()
{
}
public string DerivationScheme
{
get; set;
}
public List<(string KeyPath, string Address)> AddressSamples
{
get; set;
} = new List<(string KeyPath, string Address)>();
public string CryptoCode { get; set; }
public string KeyPath { get; set; }
2018-03-24 20:40:26 +09:00
[Display(Name = "Hint address")]
public string HintAddress { get; set; }
public bool Confirmation { get; set; }
2018-07-27 13:37:16 +02:00
public bool Enabled { get; set; } = true;
2018-03-24 20:40:26 +09:00
public string StatusMessage { get; internal set; }
2018-04-12 11:48:33 +09:00
public KeyPath RootKeyPath { get; set; }
2019-05-08 20:37:37 +02:00
[Display(Name = "Coldcard Wallet File")]
public IFormFile ColdcardPublicFile{ get; set; }
}
}