From f9db2983c7a32dfe505e989624c794416ee0d615 Mon Sep 17 00:00:00 2001 From: svin Date: Fri, 12 Jan 2024 14:54:15 +0200 Subject: [PATCH] change bridge fee percents --- relay/internal/service_fee/fee/fee_bridge.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/relay/internal/service_fee/fee/fee_bridge.go b/relay/internal/service_fee/fee/fee_bridge.go index 6aa3e386..9878fd86 100644 --- a/relay/internal/service_fee/fee/fee_bridge.go +++ b/relay/internal/service_fee/fee/fee_bridge.go @@ -6,7 +6,8 @@ import ( ) var percentFromAmount = map[uint64]int64{ - 0: 0.0 * 100, // 0.. ...$ => 0% + 0: 0.3 * 100, // 0 .. 100_000 $ => 0.3% + 100_000: 0.1 * 100, // 100_000 .. * $ => 0.1% } func getBridgeFee(nativeUsdPrice, tokenUsdPrice, amount, minBridgeFee decimal.Decimal) (decimal.Decimal, error) {