Skip to content

feat: add call fee calculation#654

Merged
Luisfc68 merged 2 commits intolp-percentage-feefrom
feature/GBI-2528
Mar 6, 2025
Merged

feat: add call fee calculation#654
Luisfc68 merged 2 commits intolp-percentage-feefrom
feature/GBI-2528

Conversation

@Luisfc68
Copy link
Copy Markdown
Collaborator

@Luisfc68 Luisfc68 commented Mar 6, 2025

What

  • Added call fee calculation according to the product requirement
  • Log each part of the calculation with debug level

Why

To use the actual feePercentage and fixedFee defined by the LP in the quote generation

P.S.: feel free to propose numbers for other tests cases for the calculation, I tried to cover different rounding scenarios

Task

https://rsklabs.atlassian.net/browse/GBI-2528

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 6, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@Luisfc68 Luisfc68 marked this pull request as ready for review March 6, 2025 03:19
@Luisfc68 Luisfc68 merged commit e65edfa into lp-percentage-fee Mar 6, 2025
5 checks passed
@Luisfc68 Luisfc68 deleted the feature/GBI-2528 branch March 6, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants