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

Allocator Vault Support #104

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open

Allocator Vault Support #104

wants to merge 62 commits into from

Conversation

hexonaut
Copy link
Contributor

@hexonaut hexonaut commented Mar 17, 2023

Contains:

  • ALM Delegate Controller
  • Linear Fee Swap Pool
  • Gated Swap Pool
  • Offchain Gated Swap Pool

Integration Tests:

  • USDC Linear Fee Swap Pool
  • GUSD Linear Fee Swap Pool
  • USDP Linear Fee Swap Pool
  • Backed Finance IB01 Linear Fee Swap Pool
  • Arrakis (GUNI) USDC/DAI 1bps Gated Swap Pool
  • Offchain Monetalis / Block Tower

Some changes to the general interface:

IPool has liquidityAvailable() to return the total amount of liquidity that is immediately available in the pool.
IPool has idleLiquidity() to determine how much dai should be discounted from fee calculations. This is not used now, but will be required later when fees are fully automated.
IPlan getTargetAssets() takes in the ilk now to allow a single contract for multiple ilks.
IFees added to allow custom accounting when fees are returned instead of assuming everything goes to the vow. For now everything is set to just send everything to the vow.

@hexonaut hexonaut changed the title Add PSM Support for Investment Vehicles [DRAFT] ALM Controller V1 Mar 17, 2023
@hexonaut hexonaut changed the title [DRAFT] ALM Controller V1 ALM Controller V1 Mar 17, 2023
@hexonaut hexonaut changed the title ALM Controller V1 ALM Delegate Controller Apr 7, 2023
@hexonaut hexonaut changed the title ALM Delegate Controller ALM Delegate Controller + 2 PSM Swap Variants Apr 12, 2023
@hexonaut hexonaut changed the title ALM Delegate Controller + 2 PSM Swap Variants Star Vault Support Apr 12, 2023
@hexonaut hexonaut mentioned this pull request Apr 13, 2023
@hexonaut hexonaut changed the title Star Vault Support D3M 3.0 - Star Vault Support Apr 22, 2023
@hexonaut hexonaut changed the title D3M 3.0 - Star Vault Support Star Vault Support Apr 22, 2023
@hexonaut hexonaut marked this pull request as ready for review April 26, 2023 17:24
@hexonaut
Copy link
Contributor Author

I'm going to add some more tests, but this is getting close to being finished for review.

@hexonaut hexonaut changed the title Star Vault Support Allocator Vault Support May 2, 2023
@lucas-manuel
Copy link
Contributor

Blocked by: #111

hexonaut added 28 commits May 12, 2023 08:21
@hexonaut hexonaut force-pushed the add-alm-controller branch from 6a7112c to 17d0044 Compare May 12, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants