joseddg92

Results 4 comments of joseddg92

So, the function shared on this post can be used to get the liquidity in v2? I am looking to use this in BSC chain. I already got the fix...

@msujithk also, I am getting AttributeError: 'Uniswap' object has no attribute 'erc20_contract' Where is that method?

Sorry for my last two comments, got it figured out. Working code for BSC: ``` def get_pool_info(self, owner, weth_address, token) -> Wei: weth_address = self.w3.toChecksumAddress(weth_address) # WETH erc20_weth= _load_contract_erc20(self.w3, weth_address)...

@am-dev-75 Hi, Would you be willing to share that patch (or "dirty hack" :) ) ?