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);