aktionariat / contracts

The public repository for all smart contracts used by Aktionariat.
Other
11 stars 11 forks source link

Use standard infinity approval in paymenthub #134

Closed rube-de closed 1 year ago

rube-de commented 1 year ago

In the approveERC20 function the infinity approval should use the standard max value not the high value with 0's.

Using standard max value will cost more on approve but cheaper when used in swap.