added CheckTokenInPool to the account_service and test utils

This commit is contained in:
2025-05-17 14:45:12 +03:00
parent ee434dba69
commit 050998ff82
3 changed files with 10 additions and 0 deletions

View File

@@ -27,4 +27,5 @@ type AccountService interface {
GetPoolSwapQuote(ctx context.Context, amount, from, fromTokenAddress, poolAddress, toTokenAddress string) (*models.PoolSwapQuoteResult, error)
PoolSwap(ctx context.Context, amount, from, fromTokenAddress, poolAddress, toTokenAddress string) (*models.PoolSwapResult, error)
GetSwapFromTokenMaxLimit(ctx context.Context, poolAddress, fromTokenAddress, toTokenAddress, publicKey string) (*models.MaxLimitResult, error)
CheckTokenInPool(ctx context.Context, poolAddress, tokenAddress string) (*models.TokenInPoolResult, error)
}