Skip to content
Open
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
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ coverage
coverage.json
typechain
typechain-types

.DS_Store
19 changes: 19 additions & 0 deletions contracts/IRexSuperSwap.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import { ISuperToken } from "@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluid.sol";

interface IRexSuperSwap {
function swap(
ISuperToken _from,
ISuperToken _to,
uint256 amountIn,
uint256 amountOutMin,
address[] memory path,
uint24[] memory poolFees, // Example: 0.3% * 10000 = 3000
bool _hasUnderlyingFrom,
bool _hasUnderlyingTo
) external payable returns (uint256 amountOut);

}

2 changes: 1 addition & 1 deletion contracts/REXTwoWayMarket.sol
Original file line number Diff line number Diff line change
Expand Up @@ -596,4 +596,4 @@ contract REXTwoWayMarket is REXMarket {

receive() external payable {}

}
}
Loading