Bitcoin Forum
May 10, 2024, 01:43:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Revoke Contracts for ZkSync network?  (Read 62 times)
adaseb (OP)
Legendary
*
Offline Offline

Activity: 3752
Merit: 1710



View Profile
January 07, 2024, 04:46:34 PM
 #1

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.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
1715348589
Hero Member
*
Offline Offline

Posts: 1715348589

View Profile Personal Message (Offline)

Ignore
1715348589
Reply with quote  #2

1715348589
Report to moderator
1715348589
Hero Member
*
Offline Offline

Posts: 1715348589

View Profile Personal Message (Offline)

Ignore
1715348589
Reply with quote  #2

1715348589
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715348589
Hero Member
*
Offline Offline

Posts: 1715348589

View Profile Personal Message (Offline)

Ignore
1715348589
Reply with quote  #2

1715348589
Report to moderator
1715348589
Hero Member
*
Offline Offline

Posts: 1715348589

View Profile Personal Message (Offline)

Ignore
1715348589
Reply with quote  #2

1715348589
Report to moderator
1715348589
Hero Member
*
Offline Offline

Posts: 1715348589

View Profile Personal Message (Offline)

Ignore
1715348589
Reply with quote  #2

1715348589
Report to moderator
nelson4lov
Hero Member
*****
Offline Offline

Activity: 2072
Merit: 793


Top Crypto Casino


View Profile
January 07, 2024, 10:57:40 PM
 #2

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

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
adaseb (OP)
Legendary
*
Offline Offline

Activity: 3752
Merit: 1710



View Profile
January 16, 2024, 11:20:09 PM
 #3

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.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
nelson4lov
Hero Member
*****
Offline Offline

Activity: 2072
Merit: 793


Top Crypto Casino


View Profile
January 18, 2024, 10:18:11 PM
 #4

~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.  Smiley

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ryzaadit
Legendary
*
Offline Offline

Activity: 2464
Merit: 1228



View Profile
January 19, 2024, 11:28:28 AM
 #5

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.

.freebitcoin.       ▄▄▄█▀▀██▄▄▄
   ▄▄██████▄▄█  █▀▀█▄▄
  ███  █▀▀███████▄▄██▀
   ▀▀▀██▄▄█  ████▀▀  ▄██
▄███▄▄  ▀▀▀▀▀▀▀  ▄▄██████
██▀▀█████▄     ▄██▀█ ▀▀██
██▄▄███▀▀██   ███▀ ▄▄  ▀█
███████▄▄███ ███▄▄ ▀▀▄  █
██▀▀████████ █████  █▀▄██
 █▄▄████████ █████   ███
  ▀████  ███ ████▄▄███▀
     ▀▀████   ████▀▀
BITCOIN
DICE
EVENT
BETTING
WIN A LAMBO !

.
            ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
▄▄▄▄▄██████████████████████████████████▄▄▄▄
▀██████████████████████████████████████████████▄▄▄
▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
  ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
       ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.PLAY NOW.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!