I'm having problems with this part of the code. Can you tell me how to solve this problem? I have read various documentation, but maybe someone knows the solution
function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256 ) {
(uint256 tFee, uint256 tBurn, uint256 tCharity, uint256 tLiquidity) = _getTBasics(tAmount, _TAX_FEE, _BURN_FEE, _CHARITY_FEE, _LIQUIDITY_FEE);
uint256 tTransferAmount = getTTransferAmount(tAmount, tFee, tBurn, tCharity, tLiquidity);
uint256 currentRate = _getRate();
(uint256 rAmount, uint256 rFee) = _getRBasics(tAmount, tFee, currentRate);
uint256 rTransferAmount = _getRTransferAmount(rAmount, rFee, tBurn, tCharity, tLiquidity, currentRate);
return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tBurn, tCharity, tLiquidity);
}
(uint256 tFee, uint256 tBurn, uint256 tCharity, uint256 tLiquidity). Here's a link that might give you an idea:https://stackoverflow.com/questions/61619191/internalcompilererror-stack-too-deep-try-using-fewer-variables – Icarus23 Oct 13 '21 at 08:07