Skip to content

Commit

Permalink
Merge pull request #6 from CryptoManiacsZone/master
Browse files Browse the repository at this point in the history
merge master
  • Loading branch information
krboktv committed May 12, 2020
2 parents 4cc1d3f + 22bdeb8 commit 8d54059
Show file tree
Hide file tree
Showing 12 changed files with 792 additions and 72 deletions.
2 changes: 1 addition & 1 deletion OneSplit.full.abi

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion OneSplit.full.bin

Large diffs are not rendered by default.

431 changes: 397 additions & 34 deletions OneSplit.full.sol

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OneSplit
# 1inch on-chain DeFi aggregation protocol

First ever fully on-chain DEX aggregator
First ever fully on-chain DEX aggregator protocol by 1inch

[![Build Status](https://travis-ci.org/CryptoManiacsZone/1split.svg?branch=master)](https://travis-ci.org/CryptoManiacsZone/1split)
[![Coverage Status](https://coveralls.io/repos/github/CryptoManiacsZone/1split/badge.svg?branch=master)](https://coveralls.io/github/CryptoManiacsZone/1split?branch=master)
Expand Down
9 changes: 9 additions & 0 deletions contracts/IOneSplit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ contract IOneSplitConsts {
uint256 public constant FLAG_ENABLE_UNISWAP_CHAI = 0x200000; // Works only when ETH<>DAI or FLAG_ENABLE_MULTI_PATH_ETH
uint256 public constant FLAG_ENABLE_UNISWAP_AAVE = 0x400000; // Works only when one of assets is ETH or FLAG_ENABLE_MULTI_PATH_ETH
uint256 public constant FLAG_DISABLE_IDLE = 0x800000;
uint256 public constant FLAG_DISABLE_MOONISWAP = 0x1000000;
uint256 public constant FLAG_DISABLE_UNISWAP_V2_ALL = 0x1E000000;
uint256 public constant FLAG_DISABLE_UNISWAP_V2 = 0x2000000;
uint256 public constant FLAG_DISABLE_UNISWAP_V2_ETH = 0x4000000;
uint256 public constant FLAG_DISABLE_UNISWAP_V2_DAI = 0x8000000;
uint256 public constant FLAG_DISABLE_UNISWAP_V2_USDC = 0x10000000;
uint256 public constant FLAG_DISABLE_ALL_SPLIT_SOURCES = 0x20000000;
uint256 public constant FLAG_DISABLE_ALL_WRAP_SOURCES = 0x40000000;
uint256 public constant FLAG_DISABLE_CURVE_PAX = 0x80000000;
}


Expand Down
Loading

0 comments on commit 8d54059

Please sign in to comment.