Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions contracts/dex/DEX.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ contract DEX is IDEX {
view
override
returns (uint256) {
require(path.length >= 2 && path.length <= 3, "DEX: token path over the limit");
for (uint i = 0; i < path.length; i++) {
require(path[i] != address(0), "DEX: token is zero address");
}
Expand All @@ -87,7 +86,6 @@ contract DEX is IDEX {
view
override
returns (uint256) {
require(path.length >= 2 && path.length <= 3, "DEX: token path over the limit");
for (uint i = 0; i < path.length; i++) {
require(path[i] != address(0), "DEX: token is zero address");
}
Expand All @@ -111,7 +109,6 @@ contract DEX is IDEX {
public
override
returns (bool) {
require(path.length >= 2 && path.length <= 3, "DEX: token path over the limit");
for (uint i = 0; i < path.length; i++) {
require(path[i] != address(0), "DEX: token is zero address");
}
Expand All @@ -136,7 +133,6 @@ contract DEX is IDEX {
public
override
returns (bool) {
require(path.length >= 2 && path.length <= 3, "DEX: token path over the limit");
for (uint i = 0; i < path.length; i++) {
require(path[i] != address(0), "DEX: token is zero address");
}
Expand Down
Loading