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

Remove expiration for cached rates #32

Merged
merged 6 commits into from
Aug 13, 2024
Merged

Remove expiration for cached rates #32

merged 6 commits into from
Aug 13, 2024

Conversation

JanKuczma
Copy link
Collaborator

@JanKuczma JanKuczma commented Aug 13, 2024

Remove cache expiration timestamp logic.

  • All rates must be from the current block.
  • Add getter method for token rates providers contract addresses

@JanKuczma JanKuczma requested a review from woocash2 August 13, 2024 09:33
amm/traits/stable_pool.rs Outdated Show resolved Hide resolved
amm/traits/stable_pool.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@woocash2 woocash2 left a comment

Choose a reason for hiding this comment

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

LGTM, few low importance nits found

@JanKuczma JanKuczma merged commit 2925860 into main Aug 13, 2024
1 check passed
@JanKuczma JanKuczma deleted the refactor-rates branch August 13, 2024 12:13
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