additive fees; burnSwapAmounts fix
This commit is contained in:
@@ -240,7 +240,8 @@ interface IPartyPool is IERC20Metadata, IOwnable {
|
||||
/// @param lpAmount amount of LP tokens to burn
|
||||
/// @param outputTokenIndex index of target asset to receive
|
||||
/// @param deadline optional deadline
|
||||
/// @return amountOutUint uint amount of asset outputTokenIndex sent to receiver
|
||||
/// @return amountOut uint amount of asset outputTokenIndex sent to receiver
|
||||
/// @return outFee uint amount of output asset kept by the LP's and protocol as a fee
|
||||
function burnSwap(
|
||||
address payer,
|
||||
address receiver,
|
||||
@@ -248,7 +249,7 @@ interface IPartyPool is IERC20Metadata, IOwnable {
|
||||
uint256 outputTokenIndex,
|
||||
uint256 deadline,
|
||||
bool unwrap
|
||||
) external returns (uint256 amountOutUint);
|
||||
) external returns (uint256 amountOut, uint256 outFee);
|
||||
|
||||
/// @dev Initiate a flash loan.
|
||||
/// @param receiver The receiver of the tokens in the loan, and the receiver of the callback.
|
||||
|
||||
Reference in New Issue
Block a user