Skip to content

Commit

Permalink
FlashMintLeveraged (#143)
Browse files Browse the repository at this point in the history
* feat: adds IVault Interface for balancer vault

* feat: initial FlashMintLeveraged building on exchangeIssuanceLeveraged

* feat: adds FlashMintLeveraged related constants and utilities.

* test: added flashMintLeveraged integration test based on the exchangeIssuanceLeveragedIntegration test.

* feat: initial changes to test cases to cover behaviour changes to the FlashMintContract.

* style: refactored names to be more consistent

* test: unified interface for balancer/ dex adapter.

* flash loan from balancer instead of aave

* add pertinent addresses to constants

* wip test trying to lever up

* test: updates to test issuing icreth using uniswapv3.

adds relevant addresses to constants.
removes balancer specific entrypoint to contract.

* support quote on redeem and test both interfaces to be similar

* fix util

* revert changes to the interface on the contract.

* update test to revert back to testing the exchangeissuance interface.

* guard receive flashloan from a grief attack.

* update docs.

* fix: update deployment args to ensure no stack too deep errors in coverage testing.

* update doc string

* remove unused function.

* strict equality is better equality.

---------

Co-authored-by: snakepoison <[email protected]>
  • Loading branch information
SnakePoison and snakepoison authored Jul 18, 2023
1 parent 317dfb6 commit 8727853
Show file tree
Hide file tree
Showing 7 changed files with 2,043 additions and 1 deletion.
Loading

0 comments on commit 8727853

Please sign in to comment.