generated from refcell/femplate
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include 1.04 COLLATERALIZATION_FACTOR (#1021)
* Include 1.04 COLLATERALIZATION_FACTOR in neutral price used in kicks * fixed `testDepositTakeAndSettleByBucketTakeSubsetPool` * fixed testDepositTakeAndSettleByRegularTakeSubsetPool * Moved `wmul` inside `mulDiv` * fix position, rewards, and poolInfoUtils tests * fix pool factory emit; fix borrowAndRepay tests * updated ERC20PoolBorrowTest, ERC20PoolCollateralTest, and ERC20PoolDebtExceedsDepositTest * rounding update * updated ERC20PoolQuoteTokenTest and ERC20PoolPrecisionTest * Fix ERC721 unit tests * Fix ERC20PoolLiquidationsArbTakeTest and ERC20PoolLiquidationsDepositTakeTest * Fix ERC20PoolFactory, ERC20PoolLenderKick and ERC20PoolKick * Fix ERC20PoolLiquidationSettleFuzzyTest and ERC20PoolLiquidationTakeFuzzyTest * Fix ERC20PoolLiquidationsMisc * Fix ERC20PoolLiquidationsLowPriceCollateralTest, ERC20PoolLiquidationsTakeAndRepayAllDebtInPoolTest and PositionManagerERC20PoolTest * Fix ERC20PoolLiquidationsSettle test * Fix testTakeWithFlashLoan test * Fix ERC20PoolLiquidationsTakeTest * Include COLLATERALIZATION_FACTOR in loanInfo * Remove redundant code from testTakeAndSettle that was already been tested in other tests * Update testTakeAndSettle --------- Co-authored-by: mwc <[email protected]> Co-authored-by: Mike <[email protected]> Co-authored-by: Ed Noepel <[email protected]> Co-authored-by: grandizzy <[email protected]> Co-authored-by: prateek105 <[email protected]>
- Loading branch information
1 parent
1ff4991
commit d4270e9
Showing
32 changed files
with
845 additions
and
920 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
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
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.