You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently the BNB token on Ethereum does not emit Approval events, so it does not show up in Revoke.cash (or other tools like Etherscan Token Approvals).
Are there any viable ways we can still support such tokens in our UI?
We could potentially try to retrieve all approve() function call transactions for a user, but that would be very hard to do without becoming very intensive.
Potentially we could use a service such as https://www.shadow.xyz/ to add "shadow events" when the regular Approval event should go. That also doesn't sound ideal since it adds another service to the mix.
All input on this is welcome. It would be beneficial if we can somehow still support these tokens, even if we have to create a manual list of tokens for which we need to apply this strategy (presumably not a lot of tokens do this).
The text was updated successfully, but these errors were encountered:
We could potentially try to retrieve all approve() function call transactions for a user, but that would be very hard to do without becoming very intensive.
It would indeed be intensive as we also have to take into account smart contract wallets (i.e. Gnosis Safe contracts). It makes it significantly more complex to parse and understand the calldata for such transactions, especially since the approval is an "internal transaction" (transaction's to is not the token).
I'll look further into this and come back with what I find.
See https://twitter.com/Pybasteth/status/1750876924824457428
Apparently the BNB token on Ethereum does not emit
Approval
events, so it does not show up in Revoke.cash (or other tools like Etherscan Token Approvals).Are there any viable ways we can still support such tokens in our UI?
We could potentially try to retrieve all
approve()
function call transactions for a user, but that would be very hard to do without becoming very intensive.Potentially we could use a service such as https://www.shadow.xyz/ to add "shadow events" when the regular Approval event should go. That also doesn't sound ideal since it adds another service to the mix.
All input on this is welcome. It would be beneficial if we can somehow still support these tokens, even if we have to create a manual list of tokens for which we need to apply this strategy (presumably not a lot of tokens do this).
The text was updated successfully, but these errors were encountered: