Closed zmcNotafraid closed 1 year ago
We useeth call rpc method to get contract's name decimal and name and symbol for every contract to check it's erc20 or not. It was a waste of resources. So we will check decimal first.If it can return correct value, then check others.
eth call
We use
eth call
rpc method to get contract's name decimal and name and symbol for every contract to check it's erc20 or not. It was a waste of resources. So we will check decimal first.If it can return correct value, then check others.