Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Add ExchangeWrappers for OasisDex #369

Merged
merged 11 commits into from Oct 12, 2018
Merged

Add ExchangeWrappers for OasisDex #369

merged 11 commits into from Oct 12, 2018

Conversation

BrendanChou
Copy link
Contributor

@BrendanChou BrendanChou commented Jul 6, 2018

fixes #368

@coveralls
Copy link

coveralls commented Jul 10, 2018

Pull Request Test Coverage Report for Build 8174

  • 71 of 71 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 8164: 0.0%
Covered Lines: 1426
Relevant Lines: 1426

💛 - Coveralls

@BrendanChou BrendanChou changed the title Add ExchangeWrapper for OasisDex [WIP] Add ExchangeWrapper for OasisDex Jul 10, 2018
@BrendanChou BrendanChou changed the title [WIP] Add ExchangeWrapper for OasisDex [No-Tests] Add ExchangeWrapper for OasisDex Jul 10, 2018
@BrendanChou BrendanChou changed the title [No-Tests] Add ExchangeWrapper for OasisDex Add ExchangeWrapper for OasisDex Sep 20, 2018
@BrendanChou BrendanChou changed the title Add ExchangeWrapper for OasisDex Add ExchangeWrappers for OasisDex Oct 9, 2018
contracts/lib/AdvancedTokenInteract.sol Outdated Show resolved Hide resolved
pure
returns (uint256, uint256)
{
uint256 takerAmount = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call these takerAmountRatio + makerAmountRatio to be consistent

* contracts to trade using a specific offer. Since any MatchingMarket is also a SimpleMarket, this
* ExchangeWrapper can also be used for any MatchingMarket.
*/
contract SimpleMarketExchangeWrapper is
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the names of these contracts should have oasis in them somewhere. Otherwise it's super generally named

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will also change to OasisV1 to differentiate from their V2 release

@BrendanChou BrendanChou merged commit 5c8d83e into master Oct 12, 2018
@BrendanChou BrendanChou deleted the bc_ew branch October 12, 2018 22:17
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.

Add Maker Oasis MatchingMarket Exchange Wrapper [3]
3 participants