Make sideshift extend prism in a better way

This commit is contained in:
Kukks
2023-07-18 11:23:06 +02:00
parent 8bab2d7660
commit ae50cba71e
10 changed files with 160 additions and 113 deletions

View File

@@ -0,0 +1,15 @@
namespace BTCPayServer.Plugins.SideShift;
public class PrismSideshiftDestination
{
public string ShiftCoin { get; set; }
public string ShiftNetwork { get; set; }
public string ShiftDestination { get; set; }
public string ShiftMemo { get; set; }
public bool Valid()
{
return !string.IsNullOrEmpty(ShiftCoin) && !string.IsNullOrEmpty(ShiftNetwork) &&
!string.IsNullOrEmpty(ShiftDestination);
}
}