burnSwap outputIndex/token naming fix
This commit is contained in:
@@ -407,14 +407,14 @@ contract PartyPool is PartyPoolBase, OwnableExternal, ERC20External, IPartyPool
|
||||
/// @param payer who burns LP _tokens
|
||||
/// @param receiver who receives the single asset
|
||||
/// @param lpAmount amount of LP _tokens to burn
|
||||
/// @param inputTokenIndex index of target asset to receive
|
||||
/// @param outputTokenIndex index of target asset to receive
|
||||
/// @param deadline optional deadline
|
||||
/// @return amountOutUint uint amount of asset i sent to receiver
|
||||
function burnSwap(
|
||||
address payer,
|
||||
address receiver,
|
||||
uint256 lpAmount,
|
||||
uint256 inputTokenIndex,
|
||||
uint256 outputTokenIndex,
|
||||
uint256 deadline,
|
||||
bool unwrap
|
||||
) external returns (uint256 amountOutUint) {
|
||||
@@ -423,7 +423,7 @@ contract PartyPool is PartyPoolBase, OwnableExternal, ERC20External, IPartyPool
|
||||
payer,
|
||||
receiver,
|
||||
lpAmount,
|
||||
inputTokenIndex,
|
||||
outputTokenIndex,
|
||||
deadline,
|
||||
unwrap,
|
||||
SWAP_FEE_PPM,
|
||||
|
||||
Reference in New Issue
Block a user