Closed ashachaf closed 2 years ago
when trying to remove liquidity from old pools, we need to update the process and call the relevant function based on the pool contract version.
how to reproduce:
what i have noticed: our frontend is trying to trigger the function "removeLiquidity" while the contract supports function "Liquidate"
options:
old pool contract: https://etherscan.io/address/0xc4bf6dc46537aa77428cd87cfe57d817e76285a2#writeContract newer pool contract: https://etherscan.io/address/0x99576816d7e55bd7c00ab9b867835ae496c3efa9#writeContract
when trying to remove liquidity from old pools, we need to update the process and call the relevant function based on the pool contract version.
how to reproduce:
what i have noticed: our frontend is trying to trigger the function "removeLiquidity" while the contract supports function "Liquidate"
options:
old pool contract: https://etherscan.io/address/0xc4bf6dc46537aa77428cd87cfe57d817e76285a2#writeContract newer pool contract: https://etherscan.io/address/0x99576816d7e55bd7c00ab9b867835ae496c3efa9#writeContract