Use permit in swap (#65)
* add a usePermit hook
* semi working
* Fix code style issues with ESLint
* don't override gas, some cleanup in the permit function
* fix permit validity
* some more permit fixes
* nits
* another nit
* use the erc20 permit hook everywhere
* unused exports
* handle missing version
* replace everywhere
* add DAI and todos
* woopsie bug
Co-authored-by:
Lint Action <lint-action@samuelmeuli.com>
Showing
src/abis/eip_2612.json
0 → 100644
src/hooks/useERC20Permit.ts
0 → 100644
Please register or sign in to comment