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

fraxBP vaults #71

Merged
merged 29 commits into from
Nov 28, 2022
Merged

fraxBP vaults #71

merged 29 commits into from
Nov 28, 2022

Conversation

tushargargght
Copy link
Contributor

@tushargargght tushargargght commented Nov 3, 2022

  • Migrated the vaults
  • Updated solidity version
  • Applied latest patches to the Frax Vaults/Libraries
    - CurveFraxBpCalculator
    - CurveFraxBpCalculatorLibrary
    - CurveFraxBpMetapoolCalculator
    - CurveFraxBpMetapoolCalculatorLibrary
    - ConvexFraxBpAbstractVault
    - ConvexFraxBpBasicVault
    - ConvexFraxBpLiquidatorVault
  • Updated Docs Script for Frax
  • Updated Docs for Frax Libraries/vaults
  • Created ConvexFraxBp fork-test behavior
  • Created ConvexFraxBpLiquidatorVault fork-tests
  • Deployment/General configs create/update deployment/convexFraxBpVaults-config.ts
  • Created FraxBp convexTypes
  • Created Curve FraxBp Meta Vaults
  • Created CurveFraxBP Meta vault behavior and tests
  • Updated Confs and Created savePlusFrax.spec.ts

@tushargargght tushargargght self-assigned this Nov 3, 2022
@tushargargght tushargargght added contract Contract work v2 mStable v2 roadmap labels Nov 3, 2022
@tushargargght tushargargght linked an issue Nov 3, 2022 that may be closed by this pull request
tushargargght and others added 24 commits November 24, 2022 18:12
* chore: simplified Curve library tests

* chore: refactor FraxBP fork tests

* fix: mint on the FraxBp Metapool calculator library
chore: added FraxBp Metapool calculator library fork tests
* chore: FraxBP docs

* chore: updated README
[skip ci]

* fix: missing awaits in savePlus fork tests
doncesarts and others added 2 commits November 24, 2022 18:15
* refact: reduce gas consumption while donating tokens

* test: fix test LiquidatorStreamFeeVault.spec

* docs: updates convex vaults diagrams
naddison36 and others added 3 commits November 24, 2022 18:23
* tests: add fork test to fraxBP

Co-authored-by: Nicholas Addison <nick@addisonbrown.com.au>
@naddison36 naddison36 marked this pull request as ready for review November 28, 2022 03:45
@naddison36 naddison36 merged commit 1657b7e into develop Nov 28, 2022
@naddison36 naddison36 deleted the fraxBP branch November 28, 2022 03:50
@naddison36 naddison36 mentioned this pull request Jan 10, 2023
naddison36 added a commit that referenced this pull request Jan 10, 2023
* fix: npm publish action (#86)
* chore: adds publish web to publish action
* feat: fraxBP vaults (#71)
* feat: test for update assetsPerShare after removal of underlyingVault
* feat: ConvexFrax based vaults
* chore: Refactor Curve lib tests (#74)
* chore: using Hardhat network helpers for setBalance, setStorageAt and stopImpersonateAccount (#82)
* fix: missing awaits in savePlus fork tests
* refact: reduce gas consumption while donating tokens (#87)
* chore: updated docs for second audit
* chore: adds deployment address (#93)
* fix: removeVault() will block because of incorrect vaults length (#96)
* fix: modified require to use total vaults length instead of active vaults
* feat: test for nth vault removal
* fix: outdated assets amount in _redeem and _mint for PeriodicAllocationAbstractVault (#99)
* feat: recalculate assets amount of successful assetsPerShare update
* feat: tests for recalculating assetsPerShare for redeem and mint
* fix: Meta vaults cannot re-add underlying vaults after removal (#100)
* feat: removed allowance in remove vault
* fix: test for remove and re-add vault
* fix: liq-donate-tokens task with multiple rewards (#101)
* fix: liq-settle-swap task (#103)
* fix: removes death code from LiquidatorVaults (#104)
* fix: RoundUp for `mint`, `previewMint`, `withdraw` and `previewWithdraw` (#102)
* feat: contract changes for roundUp
* feat: LightBasicVault roundUp
* feat: roundUp unit-tests
* feat: 3Crv based vault changes
* feat: FraxBp based vault changes
* feat: roundUp tests and scaling bug fix
* fix: reset network before running test
* fix: [Macro] Medium and lower criticality fixes (#106)
* feat: [M-4] added check for performance fees too high during initialization
* feat: [L-2] cannot remove cached vault
* feat: [Q-1] removed zero-address check for code consistency
* feat: [Q-2] removed unused imports
* feat: [Q-3] corrected comment
* feat: [G-1] No check if performanceFee is 0
* feat: [G-3] Unnecessary control variable initialization of for loops And removed zero address check vaultManagerRole
* fix: fork-tests for sameAssetsUnderlyingVaults behavior for removeVault
* feat: [G-2] uint24 for performanceFee
* fix: uint24 performanceFee
* fix: unit-test errors
* fix: removed toNumber()
* chore: toNumber fix
* fix: minor fixes
* feat: updated diagrams
* feat: get historical token balances using token-balance HH task (#107)
* fix: liquidator retry approvals (#110)
* fix: liquidator retry approvals by pre-approving the async swapper to transfer reward tokens
* fix: typos in README (#112)

Co-authored-by: doncesarts <doncesarts@gmail.com>
Co-authored-by: tushargargght <tushargargght@gmail.com>
Co-authored-by: omahs <73983677+omahs@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract Contract work v2 mStable v2 roadmap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature/fraxBP vaults
3 participants