[Feat] BoosterOwnerSecondary, Stash3.2 and new PoolManager #160
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.
Changes
There are 2 core changes in this PR:
forceAddPool
function on the PoolManagerSecondary by changing theoperator
fromPoolManagerV3
toPoolManagerV4
. This function is unused and could potentially cause issues if mishandled.Technically speaking, this PR
Implements file changes from https://github.com/aurafinance/convex-platform/pull/49/files , notably changing the
ExtraRewardStashV3
implementation for future pools.PoolManagerV4 and BoosterOwnerSecondary diffs:
Implementation
This upgrade can be rolled out in a single governance transaction using the steps tested in https://github.com/aurafinance/aura-contracts/pull/160/files#diff-5bba4aa750b2bce458f684224340afd8f6205c970dc4e9ff02c83476a13a5af1
This Stash will then be deployed for all pools added to the system after the multisig transaction, and the
BoosterOwnerSecondary
will be sufficiently blocked off from all previous pools as shown in thesetStashExtraReward
function