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

optimization: getter method for easy access tick and bitmap #16

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

chefburger
Copy link
Collaborator

No description provided.

@chefburger chefburger merged commit b93ad15 into main Apr 10, 2024
2 checks passed
@chefburger chefburger deleted the feat/pool-inner-state-getter branch April 10, 2024 13:18
@@ -293,6 +294,14 @@ contract CLPoolManager is ICLPoolManager, Fees, Extsload {
}
}

function getPoolTickInfo(PoolId id, int24 tick) external view returns (Tick.Info memory) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

can add test cases in the future with gas snapshot 😛

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