Add Privy type wallet
This commit is contained in:
@@ -23,6 +23,11 @@
|
||||
public const string MongoDb = "ManagingDatabase";
|
||||
}
|
||||
|
||||
public class ThirdParty
|
||||
{
|
||||
public const string Privy = "Privy";
|
||||
}
|
||||
|
||||
public class Chains
|
||||
{
|
||||
public const string Ethereum = "Ethereum";
|
||||
|
||||
@@ -37,7 +37,8 @@ public static class Enums
|
||||
Cex,
|
||||
Trader,
|
||||
Watch,
|
||||
Auth
|
||||
Auth,
|
||||
Privy
|
||||
}
|
||||
|
||||
public enum BotType
|
||||
@@ -190,10 +191,10 @@ public static class Enums
|
||||
Cancelled = 2,
|
||||
Filled = 3,
|
||||
}
|
||||
|
||||
public static bool IsActive(this TradeStatus status) =>
|
||||
status == TradeStatus.Requested ||
|
||||
status == TradeStatus.Cancelled ||
|
||||
|
||||
public static bool IsActive(this TradeStatus status) =>
|
||||
status == TradeStatus.Requested ||
|
||||
status == TradeStatus.Cancelled ||
|
||||
status == TradeStatus.Filled;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user