Skip to content

Commit

Permalink
change bridge fee percents
Browse files Browse the repository at this point in the history
  • Loading branch information
SvineruS committed Jan 12, 2024
1 parent 5be5da4 commit f9db298
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion relay/internal/service_fee/fee/fee_bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f9db298

Please sign in to comment.