From b7e1b1cac2e434d2a63de0d1d5a8e7a0e7dcb89a Mon Sep 17 00:00:00 2001 From: tim Date: Wed, 1 Oct 2025 17:09:42 -0400 Subject: [PATCH] LMSRStabilized pure refactor; swapMintAmounts --- src/PartyPoolMintImpl.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PartyPoolMintImpl.sol b/src/PartyPoolMintImpl.sol index 9afbcae..edb752f 100644 --- a/src/PartyPoolMintImpl.sol +++ b/src/PartyPoolMintImpl.sol @@ -194,7 +194,7 @@ contract PartyPoolMintImpl is PartyPoolBase { emit Burn(payer, receiver, withdrawAmounts, lpAmount); } - function mintAmounts(uint256 lpTokenAmount, uint256 numAssets, uint256 totalSupply, uint256[] memory cachedUintBalances) public view + function mintAmounts(uint256 lpTokenAmount, uint256 numAssets, uint256 totalSupply, uint256[] memory cachedUintBalances) public pure returns (uint256[] memory depositAmounts) { depositAmounts = new uint256[](numAssets); @@ -217,7 +217,7 @@ contract PartyPoolMintImpl is PartyPoolBase { } function burnAmounts(uint256 lpTokenAmount, - uint256 numAssets, uint256 totalSupply, uint256[] memory cachedUintBalances) public view + uint256 numAssets, uint256 totalSupply, uint256[] memory cachedUintBalances) public pure returns (uint256[] memory withdrawAmounts) { withdrawAmounts = new uint256[](numAssets);