Get fees to claims

This commit is contained in:
2025-06-13 14:22:38 +07:00
parent 5188b5faec
commit 3f34c56968
13 changed files with 580 additions and 20 deletions

View File

@@ -13,4 +13,5 @@ public interface IAccountService
Task<Account> GetAccountByUser(User user, string name, bool hideSecrets, bool getBalance);
Task<Account> GetAccountByKey(string key, bool hideSecrets, bool getBalance);
IEnumerable<Account> GetAccountsBalancesByUser(User user, bool hideSecrets = true);
Task<GmxClaimableSummary> GetGmxClaimableSummaryAsync(User user, string accountName);
}

View File

@@ -0,0 +1,13 @@
using Managing.Domain.Accounts;
namespace Managing.Application.Abstractions.Services
{
public interface IWeb3ProxyService
{
Task<T> CallPrivyServiceAsync<T>(string endpoint, object payload);
Task<T> GetPrivyServiceAsync<T>(string endpoint, object payload = null);
Task<T> CallGmxServiceAsync<T>(string endpoint, object payload);
Task<T> GetGmxServiceAsync<T>(string endpoint, object payload = null);
Task<GmxClaimableSummary> GetGmxClaimableSummaryAsync(string account);
}
}