-
Notifications
You must be signed in to change notification settings - Fork 382
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
Add protocol id disambiguator to AaveLinearPoolFactory #2115
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jubeira
reviewed
Dec 6, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good!
I've left a few comments / questions for my own understanding.
nventuro
reviewed
Dec 6, 2022
nventuro
approved these changes
Dec 7, 2022
TomAFrench
added a commit
that referenced
this pull request
Dec 7, 2022
* master: (61 commits) Add protocol id disambiguator to AaveLinearPoolFactory (#2115) Add veBoostV2 deployment (#2112) feat: add EIP1271 support to boostv2 (#2084) feat: add infinite allowance for Balancer Vault (#2109) chore: rename BoostV2 to VeBoostV2 (#2116) Remove salt from veboost domain separator and expose version (#2085) Add totalSupply to VotingEscrowDelegationProxy (#2098) Deploy L2 Gauge Checkpointer (#2114) Nuke distributors package (#2111) Replace gauge manager with authorizer adaptor (#2108) Deployment preparation: L2 gauge checkpointer (#1601) Pull in base for new L2 gauges (#2102) Add NullVotingEscrow contract (#2105) chore: prevent src directory from being included in package (#2106) Remove unused controllers (#2100) Add BasePoolMath (#2097) Refactor flag getters / setters in managed pool contracts (#2096) Bump and pub interface package (#2094) Patch deployments package (#2095) Deployments v3.1 (#2092) ...
TomAFrench
added a commit
that referenced
this pull request
Dec 7, 2022
* master: (29 commits) test: always use abi encoder v2 in fuzz tests (#2121) Configurable pause window Preparation (#2118) Do deployment (#2117) Add missing managed factory ids (#2120) Add protocol id disambiguator to AaveLinearPoolFactory (#2115) Add veBoostV2 deployment (#2112) feat: add EIP1271 support to boostv2 (#2084) feat: add infinite allowance for Balancer Vault (#2109) chore: rename BoostV2 to VeBoostV2 (#2116) Remove salt from veboost domain separator and expose version (#2085) Add totalSupply to VotingEscrowDelegationProxy (#2098) Deploy L2 Gauge Checkpointer (#2114) Nuke distributors package (#2111) Replace gauge manager with authorizer adaptor (#2108) Deployment preparation: L2 gauge checkpointer (#1601) Pull in base for new L2 gauges (#2102) Add NullVotingEscrow contract (#2105) chore: prevent src directory from being included in package (#2106) Remove unused controllers (#2100) Add BasePoolMath (#2097) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Multiple protocols use the AaveLinearPoolFactory to deploy pools (e.g., Beefy, Sturdy). Add a protocol identifier to protocol creation, and an event that emits it, so that off-chain tools can easily find AaveLinearPools associated with a given protocol.
For further convenience and transparency, there is a permissioned function to register protocol ids with associated names. (We do not require that a protocol id be registered in order to create a pool with it.)
Type of change
Checklist:
master
, or there's a description of how to mergeIssue Resolution
Resolves #2104