Update slippage handling in GMX position management to ensure valid ranges and improve logging. Refactor slippage calculations in openGmxPositionImpl and swapGmxTokensImpl, introducing clamping for slippage percentages and detailed output for swap calculations. Adjust tests to reflect changes in expected parameters for position opening.

This commit is contained in:
2025-12-30 20:14:11 +07:00
parent 21d87efeee
commit d102459b27
8 changed files with 50 additions and 9 deletions

BIN
scripts/.DS_Store vendored

Binary file not shown.