Price reminder and init approval
* Start price reminder grain * Add config and init grain at startup * Save init wallet when already init
This commit is contained in:
@@ -28,6 +28,9 @@ public class Account
|
||||
|
||||
[Id(6)]
|
||||
public List<Balance> Balances { get; set; }
|
||||
|
||||
[Id(7)]
|
||||
public bool IsGmxInitialized { get; set; } = false;
|
||||
|
||||
public bool IsPrivyWallet => Type == AccountType.Privy;
|
||||
}
|
||||
14
src/Managing.Domain/Accounts/ExchangeApprovalStatus.cs
Normal file
14
src/Managing.Domain/Accounts/ExchangeApprovalStatus.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Orleans;
|
||||
using static Managing.Common.Enums;
|
||||
|
||||
namespace Managing.Domain.Accounts;
|
||||
|
||||
[GenerateSerializer]
|
||||
public class ExchangeApprovalStatus
|
||||
{
|
||||
[Id(0)]
|
||||
public TradingExchanges Exchange { get; set; }
|
||||
|
||||
[Id(1)]
|
||||
public bool IsApproved { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user