Closed stevenkhong closed 4 years ago
...for existing users who did approve tokens before, we will need to fetch their current approval amount for that particular token for the ZilSwap contract, and then tabulate: (2**128 - existing_amount - 1)
Else, there will be this error of overflow
...for existing users who did approve tokens before, we will need to fetch their current approval amount for that particular token for the ZilSwap contract, and then tabulate: (2**128 - existing_amount - 1)
Else, there will be this error of overflow