refract-team / PocketUniverse

PocketUniverse browser extension for simulating transactions.

Home Page:https://pocketuniverse.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modify giving permission to approval 0x0 be indicated as revoking.

jqphu opened this issue · comments

When you call _transfer an approval event is fired.

This approval event is clearing the old approval by giving approval to the null address 0x0000...000.

This is just revoking the permission. This happens for ERC20 approvals too with revoke.cash.

We should make approvals to the 0x0 address a separate message.