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

@@ -426,7 +426,7 @@ contract NativeTest is Test {
uint256 aliceLpBefore = pool.balanceOf(alice);
// Call swapMint with native currency: deposit ETH as WETH (index 2)
uint256 lpMinted = pool.swapMint{value: maxIn}(
(, uint256 lpMinted, ) = pool.swapMint{value: maxIn}(
alice, // payer
alice, // receiver
2, // inputTokenIndex (WETH)
@@ -457,7 +457,7 @@ contract NativeTest is Test {
uint256 aliceEthBefore = alice.balance;
// Send excess native currency
uint256 lpMinted = pool.swapMint{value: totalSent}(
(, uint256 lpMinted, ) = pool.swapMint{value: totalSent}(
alice,
alice,
2, // WETH