From 42c07e4c85fe462bb8ee16f59e531eb4363c1ed4 Mon Sep 17 00:00:00 2001 From: Tyler Date: Thu, 31 Oct 2024 12:27:02 -0400 Subject: [PATCH] min-amount --- .../functional/vault/VaultDepositWithdrawForm.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/functional/vault/VaultDepositWithdrawForm.kt b/src/commonMain/kotlin/exchange.dydx.abacus/functional/vault/VaultDepositWithdrawForm.kt index d33ef5c88..566d3e731 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/functional/vault/VaultDepositWithdrawForm.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/functional/vault/VaultDepositWithdrawForm.kt @@ -240,7 +240,7 @@ object VaultDepositWithdrawFormValidator { private const val SLIPPAGE_TOLERANCE = 0.01 private const val EPSILON_FOR_ERRORS = 0.0001 - private const val MIN_DEPOSIT_FE_THRESHOLD = 20.0 + private const val MIN_DEPOSIT_FE_THRESHOLD = 5.0 fun getVaultDepositWithdrawSlippageResponse(apiResponse: String): OnChainVaultDepositWithdrawSlippageResponse? { return parser.asTypedObject(apiResponse)