Update dlmm fee

This commit is contained in:
bijianing97
2026-04-11 08:34:21 +08:00
parent 0cc843b370
commit fb8d93f426
3 changed files with 24 additions and 9 deletions

View File

@@ -413,3 +413,12 @@ func TestDlmmSwapLpFeeAmount(t *testing.T) {
t.Fatalf("lpFee should floor at zero, got %s", lpFee)
}
}
func TestDlmmSwapFeeBpsString(t *testing.T) {
t.Parallel()
feeBps := agbinary.Uint128{Lo: 12345}
if got := dlmmSwapFeeBpsString(feeBps); got != "12345" {
t.Fatalf("dlmmSwapFeeBpsString() = %s, want 12345", got)
}
}