2021-12-31 16:59:02 +09:00
|
|
|
using BTCPayServer.Client.JsonConverters;
|
2021-07-27 16:53:44 +02:00
|
|
|
using NBitcoin;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
|
|
{
|
|
|
|
public class OnChainPaymentMethodDataWithSensitiveData : OnChainPaymentMethodData
|
|
|
|
{
|
|
|
|
public OnChainPaymentMethodDataWithSensitiveData()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public OnChainPaymentMethodDataWithSensitiveData(string cryptoCode, string derivationScheme, bool enabled,
|
2021-09-25 07:04:34 +02:00
|
|
|
string label, RootedKeyPath accountKeyPath, Mnemonic mnemonic, string paymentMethod) : base(cryptoCode, derivationScheme, enabled,
|
|
|
|
label, accountKeyPath, paymentMethod)
|
2021-07-27 16:53:44 +02:00
|
|
|
{
|
|
|
|
Mnemonic = mnemonic;
|
|
|
|
}
|
|
|
|
|
|
|
|
[JsonConverter(typeof(MnemonicJsonConverter))]
|
|
|
|
public Mnemonic Mnemonic { get; set; }
|
|
|
|
}
|
|
|
|
}
|