Skip to content

Conversation

@Brechtpd
Copy link
Contributor

@Brechtpd Brechtpd commented Jun 2, 2021

#2449

Allows the controller to enter exit mode, which allows the operator to exit users from the pool if no fee needs to be paid.
Also allows the controller to re-use the pool with different tokens when the supply is 0.

I used the controller as the authorized address because pools currently don't have an owner and exit mode/pool re-using a pool even with no supply may not work for all types of pools.

Made permit public to make the Pool contract smaller because the contract size was too large.

@Brechtpd Brechtpd requested a review from dong77 June 2, 2021 16:40
@dong77 dong77 merged commit 68c26f3 into amm_v2_am_fix Jun 5, 2021
@dong77 dong77 deleted the amm_v2_exit branch June 5, 2021 15:29
Brechtpd added a commit that referenced this pull request Jun 5, 2021
* [AMM] Fix pools with active asset manager

* Feedback

* Amm v2 - Exit mode and pool reuse (#2450)

* AMM v2 - minor improvement over brecht's code (#2458)

Co-authored-by: Daniel Wang <[email protected]>
Brechtpd added a commit that referenced this pull request Jun 8, 2021
* [protocol 3] Initial commit amm v2

* [protocol 3.8] Amm v2 improvements

* Small improvements

* Small simplification

* Update AmmData.sol

* Amm v2 - AssetManager fix (#2445)

* [AMM] Fix pools with active asset manager

* Feedback

* Amm v2 - Exit mode and pool reuse (#2450)

* AMM v2 - minor improvement over brecht's code (#2458)

Co-authored-by: Daniel Wang <[email protected]>

* Amm v2 improve2 (#2462)

* Update AmplifiedAmmController.sol

* Update AmplifiedAmmController.sol

* AMM v2: minor improvements (#2466)

Co-authored-by: Daniel Wang <[email protected]>
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.

3 participants