mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 16:58:00 +01:00
35 lines
842 B
C#
35 lines
842 B
C#
|
#if ALTCOINS
|
||
|
using BTCPayServer.Payments;
|
||
|
|
||
|
namespace BTCPayServer.Services.Altcoins.Zcash.Payments
|
||
|
{
|
||
|
public class ZcashLikeOnChainPaymentMethodDetails : IPaymentMethodDetails
|
||
|
{
|
||
|
public PaymentType GetPaymentType()
|
||
|
{
|
||
|
return ZcashPaymentType.Instance;
|
||
|
}
|
||
|
|
||
|
public string GetPaymentDestination()
|
||
|
{
|
||
|
return DepositAddress;
|
||
|
}
|
||
|
|
||
|
public decimal GetNextNetworkFee()
|
||
|
{
|
||
|
return NextNetworkFee;
|
||
|
}
|
||
|
|
||
|
public decimal GetFeeRate()
|
||
|
{
|
||
|
return 0.0m;
|
||
|
}
|
||
|
public bool Activated { get; set; } = true;
|
||
|
public long AccountIndex { get; set; }
|
||
|
public long AddressIndex { get; set; }
|
||
|
public string DepositAddress { get; set; }
|
||
|
public decimal NextNetworkFee { get; set; }
|
||
|
}
|
||
|
}
|
||
|
#endif
|