Skip to content

Move computeCurrentSpotPrice to helper#160

Merged
EndymionJkb merged 41 commits intoreclamm-2.1from
move-spot-price
Mar 6, 2026
Merged

Move computeCurrentSpotPrice to helper#160
EndymionJkb merged 41 commits intoreclamm-2.1from
move-spot-price

Conversation

@EndymionJkb
Copy link
Collaborator

@EndymionJkb EndymionJkb commented Mar 5, 2026

Description

Move the computeCurrentSpotPrice function to the helper. Per comment, could move others as well if they're not used by the SDK.

Minor extraneous thing: fix warning about casting address types

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Dependency changes
  • Code refactor / cleanup
  • Optimization: [ ] gas / [ ] bytecode
  • Documentation or wording changes
  • Other

Checklist:

  • The diff is legible and has no extraneous changes (see above)
  • Complex code has been commented, including external interfaces
  • Tests have 100% code coverage
  • The base branch is either main, or there's a description of how to merge

Issue Resolution

Juan Ignacio Ubeira and others added 30 commits February 26, 2026 16:15
Co-authored-by: EndymionJkb <EndymionJkb@gmail.com>
…e trouble than it's worth, and associated helpers
…he for performance; for consistency, use current live balances in _updateVirtualBalances, to prevent rate drift; computeCurrentPoolCenteredness should call _computeCurrentVirtualBalances, like all other view functions; also address stale interface comments
@EndymionJkb EndymionJkb requested a review from jubeira March 5, 2026 22:14
Base automatically changed from dev/modifier-shuffle to reclamm-2.1 March 6, 2026 13:24
@EndymionJkb EndymionJkb requested a review from jubeira March 6, 2026 13:59
Copy link
Contributor

@jubeira jubeira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@EndymionJkb EndymionJkb merged commit 44bec91 into reclamm-2.1 Mar 6, 2026
3 checks passed
@EndymionJkb EndymionJkb deleted the move-spot-price branch March 6, 2026 18:54
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.

2 participants