Datasets:
File size: 4,241 Bytes
e15d225 c17611e e15d225 7257f58 b9e37cf ed01180 b9e37cf b9a9dca 30510b5 b9a9dca ee54339 b9e37cf c17611e b9e37cf c17611e 70b585e c17611e 9b3c568 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
---
language:
- en
tags:
- blockchain
- Ethereum
- smart-contract
- smart-contracts
pretty_name: Zellic Deployment Scan - All Ethereum Contracts And Bytecodes
size_categories:
- 10M<n<100M
---
# All ethereum contracts
This dataset contains **all deployed Ethereum contracts as of block `21850000`** (February 15th, 2025), bytecodes of the contracts, and the block numbers the contracts were deployed.
Contract bytecodes are stored as a hash of the bytecode, and another dataset is provided mapping bytecode hashes to bytecodes. This is to reduce the size of the dataset, as many contracts have identical bytecodes.
This dataset was exported from a PostgreSQL database into CSV format.
## Methodology
Check out this blog post for details: [https://www.zellic.io/blog/all-ethereum-contracts](https://www.zellic.io/blog/all-ethereum-contracts)
## Statistics as of block 21850000 (February 15th, 2025)
Total number of contracts: 69,788,231
Total number of unique bytecodes: 1,539,859
See more statistics and graphs in [More Statistics](#more-statistics).
## Preview
Excerpt of the dataset (after unzipping) for preview purposes:
`contracts.csv`
```
address,bytecode_hash,blocknum
0x9F52DE2862FDdE9dC6D452FcB9B9b61210D8c8B3,0x1a043f72e26782d3c692af3e198be9666c4f28cbb99844f2b3133c5bec4441c1,1249878
0x589ea787b46dA08eC8fC081678335C5d0081010e,0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470,48162
0x273cd8B059C15470f72EF3032b6a1f8476A39987,0x4092c8a5fb6487e931a5679ab058788c99bdb84fb49fdbf8cd5dc131e8a2f19f,2335448
...
```
`bytecodes.csv`
```
bytecode_hash,bytecode
0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470,
0xcbcc4dcc34eab84294bba89e2aed43f5fc3da084f792e8facfd5d0025cfa3a68,\x60606040526000357c0100000000000000000000000000000000000000000000000000000000900480630f59f83a1461003957610037565b005b6100446004506100b2565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156100a45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6020604051908101604052806000815260200150604060405190810160405280600381526020017f65746800000000000000000000000000000000000000000000000000000000008152602001509050610107565b9056
0x5972ffc0214427735e7745a766b85395f83f5073a7adeb2a7a2ac0f9f0ea520a,\x60606040526000357c010000000000000000000000000000000000000000000000000000000090048063b19eaf1e146037576035565b005b6046600480359060200150605c565b6040518082815260200191505060405180910390f35b60006000600290505b82818202111515608d57600081840614156080578091506094565b5b80806001019150506065565b8291506094565b5091905056
...
```
Note that in the above preview, the first entry in `bytecodes.csv` is the hash when the bytecode is empty.
## More statistics
We also recorded the EOA and contract deployer (if applicable) for each contract, and if the contract self-destructed, which block number it self destructed in. Read more about it [here](). TODO link to deploymentscan blog
This data is omitted from the dataset provided as it has little use other than for statistics, and would significantly increase the size of the dataset to download.
### Contracts deployed daily
<img src="./graphs/daily_deployed_contracts.png" alt="drawing" width="900"/>
### Contracts deployed monthly
<img src="./graphs/monthly_deployed_contracts.png" alt="drawing" width="900"/>
### Total Contracts deployed over time
<img src="./graphs/total_deployed_contracts.png" alt="drawing" width="900"/>
### Unique bytecodes deployed daily
<img src="./graphs/daily_uniq_bytecodes.png" alt="drawing" width="900"/>
### Unique bytecodes deployed monthly
<img src="./graphs/monthly_uniq_bytecodes.png" alt="drawing" width="900"/>
### Total Unique bytecodes deployed over time
<img src="./graphs/total_uniq_bytecodes.png" alt="drawing" width="900"/>
### Daily self-destructs vs deployments
<img src="./graphs/daily_selfdestructs_vs_contracts.png" alt="drawing" width="900"/>
### Monthly self-destructs vs deployments
<img src="./graphs/monthly_selfdestructs_vs_contracts.png" alt="drawing" width="900"/>
### Total self-destructs vs deployments
<img src="./graphs/total_selfdestructs_vs_contracts.png" alt="drawing" width="900"/>
|