-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FlashMintLeveraged: Support for fixed input Issuance (#169)
* Copy paste FlashMintLeveraged as starting point * Fix tests * Remove debug logs * Correct wrong eth logic, still failing because eth is sent back prematurely * Fix lint failure * Fix eth issuance by adjusting handling of input token, only paying back at the end * Fix fixedSetAmount issuance method and add related tests * Add redemExactSet tests back in * Adjust redemption methods * First version of exact output redemption * Add redemSetForExactETH method * Fix fixedOutputRedeem methods * copy paste ethereum integration test to new arbitrum integration test folder * Adjust arbitrum integration test addresses * Fix arbitrum integration test setup * More test fixes * Arbitrum tests green * Add arbitrum integration tests to ci * Set Arbitrum rpc url in env variables * update solidity-coverage * Remove ethereum integration tests for flashmintextended * Return excess eth in issueSetFromExactETH * Swap Input Token to ETH * Add swap data to ETH for redeem method * Temporarily comment out non-integration tests * Contract fixes * Fix test * More contract changes * Return amount of set token obtained from fixed input / output methods * Add maxIterations check * Add docstring comments and fix maxIterations check * more docstrings * Test issuance / redemption from / to usdc * Temporarily comment out polygon tests * Add maxGasRebate to protect against misconfiguration * Fix contract bug regarding eth rebate opt out * Extend tests * Re-Trigger CI * Use node 20 in github actions * Bump hardhat version * Update circleci node version * fix tests * fix tests * Deactivate optimism tests * only run optimistic auction rebalance tests in eth integration pipeline * fix tests * Inline doc comment * Remove test step from publish workflow * Fix tests
- Loading branch information
Showing
16 changed files
with
2,243 additions
and
749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.