Closed artman325 closed 1 year ago
fixed in latest commits.
https://github.com/Intercoin/StakingContract/blob/79c21d5278a3f7e0f86dd2fff023d2d977297ee3/contracts/CommunityStakingPoolBase.sol#L158-L163
no need to "swap weth for weth" on uniswap we just skip this step
bug with pool where reserve token are WETH. then user try to buy and stake liquidity and code convert eth to WETH and try to convert WETH to reservetoken(WETH). and uniswap library throw expection "UniswapV2Library: IDENTICAL_ADDRESSES"