All Questions
1 question
0
votes
1
answer
1k
views
Transaction failing due to can't estimate Gas Cost on Polygon
I have a function
function tokenValue( address _token, uint _amount ) public view returns ( uint ) {
return _amount.mul( 10 ** IERC20( MY_TOKEN ).decimals() ).div( 10 ** IERC20( _token )....