Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Rename TwoAssetPriceBounded and reorder inheritance #560

Merged
merged 1 commit into from
Jan 6, 2020

Conversation

felix2feng
Copy link
Contributor

No description provided.

@felix2feng felix2feng merged commit 406569c into felix/redefine-price Jan 6, 2020
@felix2feng felix2feng deleted the felix/reviewing-bound-calc branch January 6, 2020 04:55
felix2feng added a commit that referenced this pull request Jan 7, 2020
felix2feng added a commit that referenced this pull request Jan 9, 2020
* Refactor

* FIx

* Fix compile

* Whats going on

* Fix

* remove.only

* WIP. Added math to calculate bounds of auction. Rough integration in LinearAuction contract.

* Changes (#560)

* Push tests

* [Liquidator] Add 2 component validation (#561)

* Validations

* Fix formula

* Add validate tests

* Refactored some logic in the auction bound calculations. Changed auction bound calcs from using derivative to extrapolate auction prices to directly computing auction prices.

* Remove .only

* Refactored liquidator, pushed oracleWhitelist to bounds calculation files.

* Updated tests for refactor.

* [Liquidator] Add auction and linearAuction tests (#562)

* Fix

* uncomment

* Push

* Fix test

* Add check to make sure auction bounds aren't the same.

* Refactor

* FIx

* Fix compile

* Whats going on

* Fix

* remove.only

* WIP. Added math to calculate bounds of auction. Rough integration in LinearAuction contract.

* Changes (#560)

* Push tests

* [Liquidator] Add 2 component validation (#561)

* Validations

* Fix formula

* Add validate tests

* Refactored some logic in the auction bound calculations. Changed auction bound calcs from using derivative to extrapolate auction prices to directly computing auction prices.

* Remove .only

* Refactored liquidator, pushed oracleWhitelist to bounds calculation files.

* Updated tests for refactor.

* [Liquidator] Add auction and linearAuction tests (#562)

* Fix

* uncomment

* Push

* Fix test

* Add check to make sure auction bounds aren't the same.

* Update javadoc and comments for Liquidator refactor.

* Remove CommonMath usage from Auction.

* Brian/dynamic minimum bid (#564)

* Added dynamic minimumBid calculation. Altered some token flow logic to match new minimumBid calc.

* Added comments and javadocs.

* Add commonMath divCil function (#566)

Div-ceil

* Moved minimumBid calcs to LinearAuction level. Added ceilDiv function. Removed one assertion.

* Fix erring helper.

* Bump package.

* Remove .only

* Fix erring tests due to Mock logic.

Co-authored-by: Felix Feng <felix2feng@gmail.com>

Co-authored-by: bweick <brian.weickmann@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant