At a guess it could be the fact that you create two variables named
decima10
(decima-one-zero) and
decima11
(decima-one-one), but then try to use two variables named
decimal0
(decima-ell-zero)and
decimal1
(decima-ell-one).
let decima10 = 18
let decima11 = 18
let tradeAmount = pow(10, decima10).mul(new BN (100))
const checkPrice = async()
const amountOutSushi = await sushiPrice (token0address, decimal0, tokenladdress, decimall, tradeAmount);
const amountOutUniV2 = await
uniswapV2Price (token0address Price(tokenaddress, decimal0, tokenladdress, decimal1, tradeAmount);
const amountOutUniV3 = await
uniswapV3Price(token0address Price(token@address, decimal0, tokenladdress, decimall, tradeAmount);
But that is still a guess as you did not tell us what the error is.