burnSwap outputIndex/token naming fix

This commit is contained in:
tim
2025-10-28 12:17:01 -04:00
parent 5c5a000961
commit 86410c9a91
5 changed files with 29 additions and 29 deletions

View File

@@ -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,