Add Privy type wallet

This commit is contained in:
2025-03-05 10:36:54 +07:00
parent 30bf9d26f6
commit 988cc9eb61
21 changed files with 287 additions and 53 deletions

View File

@@ -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";

View File

@@ -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;