Skip to content

feat: add position manager helper -- only check balance after#90

Closed
ChefMist wants to merge 2 commits into
feat/add-liquidity-helperfrom
feat/add-liquidity-helper-v2
Closed

feat: add position manager helper -- only check balance after#90
ChefMist wants to merge 2 commits into
feat/add-liquidity-helperfrom
feat/add-liquidity-helper-v2

Conversation

@ChefMist

@ChefMist ChefMist commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

This is a possible enhancement on #89

where we expect caller will check the current balance beforehand (can be off-chain) -- so we saves gas by only checking user's balance after modify liquidities

though the gas saving seems small (eg. if check 1 binId -- its 3000+ gas)

@ChefMist ChefMist changed the title feat: only check balance after feat: add position manager helper -- only check balance after Jul 29, 2025
@ChefMist

Copy link
Copy Markdown
Contributor Author

closing per discussion

@ChefMist ChefMist closed this Jul 29, 2025
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