Title: Revoke Contracts for ZkSync network? Post by: adaseb on January 07, 2024, 04:46:34 PM Wondering if there is a service such as
https://etherscan.io/tokenapprovalchecker But for the ZkSync network, I went to their main block explorer at https://explorer.zksync.io/ However they have nothing similar available. Looking at the block explorer for my transactions how can I tell which granted "allow to spend" is it those which are labelled as "Self"? The Zksync block explorer is very minimal and hard to navigate compared to ARB or POLY. Title: Re: Revoke Contracts for ZkSync network? Post by: nelson4lov on January 07, 2024, 10:57:40 PM There's no service like that for zksync yet. I tried it but it turns out Etherscan doesn't have a branch of their famous Explorer on zksync. If you're a developer or a technical person, you can directly call the approval function on the ERC20 tokens you interacted with and set the approval to 0. This is the only workaround I can think of right now.
For reference, see the approve() function for ERC20 standard: https://eips.ethereum.org/EIPS/eip-20 Title: Re: Revoke Contracts for ZkSync network? Post by: adaseb on January 16, 2024, 11:20:09 PM There's no service like that for zksync yet. I tried it but it turns out Etherscan doesn't have a branch of their famous Explorer on zksync. If you're a developer or a technical person, you can directly call the approval function on the ERC20 tokens you interacted with and set the approval to 0. This is the only workaround I can think of right now. For reference, see the approve() function for ERC20 standard: https://eips.ethereum.org/EIPS/eip-20 I noticed there is a new explorer for ZkSync ERA and it looks similar to Etherscan and all the other explorers. https://era.zksync.network/tokenapprovalchecker It has a function to check for token approvals and also revoke them but I don't know if its safe to use since the website is fairly new. Title: Re: Revoke Contracts for ZkSync network? Post by: nelson4lov on January 18, 2024, 10:18:11 PM ~Snipped I noticed there is a new explorer for ZkSync ERA and it looks similar to Etherscan and all the other explorers. https://era.zksync.network/tokenapprovalchecker It has a function to check for token approvals and also revoke them but I don't know if its safe to use since the website is fairly new. You're indeed correct. The Explorer is from the Etherscan team. It's the Etherscan official explorer for Zksync which is also different from the official Explorer that the zksync team created. Here: https://zksync.io/explore#explorers The link features all explorers that users can use on the zksync Era Mainnet so it is indeed "safe" to use and interact with. I will try it out and revoke some approvals given to some contracts so I can't be exploited in a future exploit. Btw, kudos to you for finding the Etherscan explorer. I didn't know there was one available for zksync already. :) Title: Re: Revoke Contracts for ZkSync network? Post by: ryzaadit on January 19, 2024, 11:28:28 AM Have you tried to ask their community, especially on the discord?
Perhaps, they can give you some information for a service/website you can use for revoke the contract. Maybe you can get lucky get some information on there, especially from the team/mods community. I don't even know either for ZkSync Network. |