Skip to content

Conversation

@shuhuiluo
Copy link
Contributor

Description

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.

How Has This Been Tested?

Unit tests.

Are there any breaking changes?

No.

Same as #180 but for V3.

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 shuhuiluo requested review from a team and jsy1218 as code owners December 10, 2024 03:36
@shuhuiluo
Copy link
Contributor Author

@ewilz Please take a look. Thank you.

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.

1 participant