volsa / etherface

Ethereum Signature Database
https://www.etherface.io
GNU General Public License v3.0
171 stars 22 forks source link

detect verified proxy contracts? #13

Open allenday opened 1 year ago

allenday commented 1 year ago

Does it make sense to specifically identify these, or does the logic belong at the application layer (i.e. we detect the proxy backend status using bigquery-public-data.crypto_ethereum.traces and update a etherface-downstream table in BQ with this enrichment?

They're the most common type of contract by bytecode:

Screen Shot 2022-11-30 at 12 35 36

And they're also amongst the most commonly called:

Screen Shot 2022-11-30 at 12 49 05

Here's one of the more prolific examples: https://etherscan.io/address/0xfbddadd80fe7bda00b901fbaf73803f2238ae655

And here's how etherscan uses it: https://docs.etherscan.io/api-endpoints/contracts#verify-proxy-contract Verified proxy contracts will display the "Read/Write as Proxy" of the implementation contract under the contract address's contract tab