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

Move LBP storage handling to library #2015

Merged
merged 10 commits into from
Nov 22, 2022
Merged

Move LBP storage handling to library #2015

merged 10 commits into from
Nov 22, 2022

Conversation

TomAFrench
Copy link
Contributor

Description

This PR builds on #1979 to abstract all the logic interacting with pool state into a library.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Dependency changes
  • Code refactor / cleanup
  • Documentation or wording changes
  • Other

Checklist:

  • The diff is legible and has no extraneous changes
  • Complex code has been commented, including external interfaces
  • Tests are included for all code paths
  • The base branch is either master, or there's a description of how to merge

Issue Resolution

* master:
  Remove wrong dependency (#2018)
  Improve deployment signers (#2017)
  Use hardhat network helpers (#2016)
  Add index.ts for `deployments/src` (#2014)
@TomAFrench TomAFrench marked this pull request as ready for review November 16, 2022 19:04
@TomAFrench TomAFrench requested a review from nventuro November 16, 2022 20:20
@TomAFrench TomAFrench mentioned this pull request Nov 17, 2022
11 tasks
@EndymionJkb EndymionJkb mentioned this pull request Nov 17, 2022
11 tasks
* refactor: avoid repeated storage reads by passing explicit state

* refactor: inline swap fee helpers
Copy link
Collaborator

@EndymionJkb EndymionJkb left a comment

Choose a reason for hiding this comment

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

Just had a doc suggestion, since some functions are now distributed a bit across contracts.

…ageLib.sol

Co-authored-by: EndymionJkb <EndymionJkb@gmail.com>
@TomAFrench TomAFrench merged commit a92aff6 into master Nov 22, 2022
@TomAFrench TomAFrench deleted the lbp-storage-lib branch November 22, 2022 12:37
TomAFrench added a commit that referenced this pull request Nov 22, 2022
* master:
  Move LBP storage handling to library (#2015)
  Add new AaveLinearPool deployment (#2012)
TomAFrench added a commit that referenced this pull request Nov 22, 2022
* master:
  Move LBP storage handling to library (#2015)
  Add new AaveLinearPool deployment (#2012)
  Lint fix. (#2021)
  Introduce PoolRecoveryEnabler (#2013)
  Remove wrong dependency (#2018)
  Improve deployment signers (#2017)
  Use hardhat network helpers (#2016)
  Add index.ts for `deployments/src` (#2014)
  Split LBP contract into LBP and LBPSettings (#1979)
  Add IRateProviderPool (#2005)
  Add ExternalCallLib which checks revert data for malicious data (#2004)
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