per-asset fees

This commit is contained in:
tim
2025-10-29 18:22:23 -04:00
parent 86410c9a91
commit 20758cfb35
18 changed files with 475 additions and 164 deletions

View File

@@ -721,7 +721,7 @@ contract PartyPoolTest is Test {
uint256 input = 10_000;
// Call swapMint as alice, receive LP to alice
uint256 minted = pool.swapMint(alice, alice, 0, input, 0);
(, uint256 minted, ) = pool.swapMint(alice, alice, 0, input, 0);
// minted should be > 0
assertTrue(minted > 0, "swapMint should mint LP");
@@ -751,7 +751,7 @@ contract PartyPoolTest is Test {
uint256 aliceBalBefore = token0.balanceOf(alice);
uint256 minted = pool.swapMint(alice, alice, 0, largeInput, 0);
(, uint256 minted, ) = pool.swapMint(alice, alice, 0, largeInput, 0);
// minted should be > 0
assertTrue(minted > 0, "swapMint large input should still mint LP");