Skip to content

Commit

Permalink
set bridge fee to 0%
Browse files Browse the repository at this point in the history
  • Loading branch information
SvineruS committed Apr 19, 2024
1 parent 28ef2bb commit ad6ed4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions relay/internal/service_fee/fee/fee_bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import (
)

var percentFromAmount = map[uint64]int64{
0: 0.3 * 100, // 0 .. 100_000 $ => 0.3%
100_000: 0.1 * 100, // 100_000 .. * $ => 0.1%
0: 0.0 * 100, // 0.. ...$ => 0%
}

func getBridgeFee(nativeUsdPrice, tokenUsdPrice, amount, minBridgeFee decimal.Decimal) (decimal.Decimal, error) {
Expand Down

0 comments on commit ad6ed4d

Please sign in to comment.