Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(v4-sdk): simplify midPrice in Route entity #180

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 24, 2024

  1. refactor(v4-sdk): simplify midPrice in Route entity

    Simplify the `midPrice` calculation by removing complex logic and utilizing `priceOf` method directly. This change improves code readability and maintainability, reducing potential points of failure.
    shuhuiluo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    045483f View commit details
    Browse the repository at this point in the history