poanetwork / nifty-wallet

A fork of MetaMask focused on the usability of real-world applications
https://chrome.google.com/webstore/detail/nifty-wallet/jbdaocneiiinmjbjlgalhcelgbejmnid
MIT License
92 stars 42 forks source link

Support getting proxy implementation address by following EIP-1967 #437

Closed vbaranov closed 3 years ago

vbaranov commented 3 years ago

https://eips.ethereum.org/EIPS/eip-1967

Get implementation address from storage pointer bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1) = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc