Coder Social home page Coder Social logo

smartbugs / smartbugs-wild Goto Github PK

View Code? Open in Web Editor NEW
135.0 135.0 35.0 242.72 MB

This repository contains 47,398 smart contracts extracted from the Ethereum network.

License: Apache License 2.0

Python 100.00%
benchmark blockchain dataset ethereum solidity

smartbugs-wild's People

Contributors

jff avatar ruimaranhao avatar tdurieux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smartbugs-wild's Issues

How were duplicates found out?

Hello!
I an interested in a large scale analysis as you have done. Can you tell me about the tools or scripts that you have used to figure out if the source code is a duplicate of some other contract?

Can you clarify the license

I see that you've added a license to the repo. Sorry to nitpick, I just want to make sure that nobody gets in trouble by mistake.

It could be that I am mistaken (not a lawyer), but the contracts in this repo were scraped from Etherscan and it is not clear that they can be relicensed as Apache. Etherscan has recently started allowing deployers to also attach a license. See https://etherscan.io/contract-license-types.

If you could clarify the licensing, this would be very useful.

Contracts not Solidity

The following contracts are not Solidity contracts.

0x0088f81fdedce4fa2147e570b196d1136a74b948.sol: application/json
0x046a9477209db91bcaf8c6c56127d2e9e1cc2caf.sol: application/json
0x04cd48c02807a5b2443c6e50e274479642c41232.sol: application/json
0x055a19e7fca3568679df6b6979bdb4ce3dfddec5.sol: application/json
0x055cc48f7968fd8640ef140610dd4038e1b03926.sol: application/json
0x05fbd3b849a87c9608a2252d095d8cb818d0d239.sol: application/json
0x08c3a887865684f30351a0ba6d683aa9b539829a.sol: application/json
0x09970aec766b6f3223aca9111555e99dc50ff13a.sol: application/json
0x0cb8d0b37c7487b11d57f1f33defa2b1d3cfccfe.sol: application/json
0x0d268c105e1c5bda54adfd811f8010eb11525fa0.sol: application/json
0x0ef997bcce28c12d450d6a60021a79f617845102.sol: application/json
0x0f01b5ea43719683c546868bfadeaccde14ab79e.sol: application/json
0x11a641aa7cad131b625e7cc7431b835a818d94fe.sol: application/json
0x11f77ce7d607edc91f679d79419519483187e948.sol: text/x-python
0x145c963815a16e1f0155b8d2a1baccec13564d87.sol: application/json
0x14609450060e5c6ab7f32ce9d45dbe3e7f6d5fb0.sol: application/json
0x149f3904064897b066bcfe93df8bba32f11b77bd.sol: application/json
0x15e5b5bbb2f6d56f9b54b850ce6206a2ca02f1c2.sol: application/json
0x165d5eb8328b3393b960330c90aaaa35bd3b6331.sol: text/x-python
0x170696c07bd0a7790c706377ce055ff44778cf9d.sol: application/json
0x178053c06006e67e09879c09ff012ff9d263df29.sol: application/json
0x19bdea9d39dd922af59e623b8102bb9b36c56fbd.sol: application/json
0x1d96fd43ee07aa79f8fd003cbdf404fb5ce41ad2.sol: application/json
0x1e35fb2ffef51415dd699466349e466068f83c89.sol: application/json
0x20ddb664536dd3f300f40ac0398bd7d719cd9634.sol: application/json
0x21118e4a12f94abd9de6d557ac5f406c45f59fbc.sol: application/json
0x21f01a22c417864b20fc9ccbb9b709ad38a9ea8d.sol: application/json
0x23b608675a2b2fb1890d3abbd85c5775c51691d5.sol: text/x-python
0x2687eba8bbd63fa703e98493611ab3e3ec0ced56.sol: application/json
0x26a604dffe3ddab3bee816097f81d3c4a2a4cf97.sol: application/json
0x26fe16e089bef8b0e1776f861436125a1caa6bae.sol: application/json
0x2807cbf4c8166a91b694f6fc60afaf816fa80f92.sol: application/json
0x286f0322164f532f388dac8bce2a5101d92a3475.sol: application/json
0x28b15fbf3fec9eeb65f7f0c2f892d471a3d75ea0.sol: application/json
0x2a2a19b4f47cd6a752dae1bd1096a74fece93342.sol: application/json
0x2bd1d2b3ef8ef1792855c2592f03d10ca2c07012.sol: application/json
0x2cfb2296d30c584f66f3850669bac344c646ab0d.sol: application/json
0x2d153f2adccbe9364f9e4ed5843308abd0bf93da.sol: application/json
0x2f803831a5b58a9fab198f11e0011a6a9da1a3e4.sol: application/json
0x2f85d45985b92087db8cdbc498609a78c58a967c.sol: application/json
0x2fc246aa66f0da5bb1368f688548ecbbe9bdee5d.sol: application/json
0x30e523d50da1369b096c2f29775ca9293d1c99db.sol: application/json
0x3145b48981afc4424692493243f80f78816ed339.sol: application/json
0x31b3df6d528d4aecd75839a38bb1650d3d7d4a54.sol: application/json
0x340f3fd34e639e763754a8ee259ab03da810ed44.sol: application/json
0x349fd87eaf9fba5d24e16bbb1d211b9203157a63.sol: application/json
0x34e4060905c8237189dc840ee9987781673fd55d.sol: application/json
0x379c57ca4bea8f24fb2798c5daa1d09ac1e6dcc9.sol: application/json
0x3967e993ffcee1b363caf61242fe3bfcd792586c.sol: application/json
0x399529c2a759de7d84fa8faa4642ce7d5ca911e1.sol: application/json
0x3a810ff7211b40c4fa76205a14efe161615d0385.sol: application/json
0x3a90dcefb19531bd08452c05d17f7650b10c4a52.sol: application/json
0x3ac655b147b6e2d2ced40126f6c5956e5467a92b.sol: application/json
0x3cb07f56c59791293a7040eb6fa2fef922bacda6.sol: application/json
0x3d8c5681a4f4faf49e5dc9a24f2c7372d7cca65b.sol: application/json
0x3fd96525f7f21f3a137badb603b0978cda47acd9.sol: application/json
0x4129d3b7a6a2c5c997774077ac02bdafd1af1d6a.sol: application/json
0x42320606b2e6da68d138a4e0829eda0aede738f5.sol: application/json
0x4566ec5cfcc79fdeff7f510c41f76af14643e18a.sol: application/json
0x475bbe7104ef34739422aceaa88adaedd0f38691.sol: application/json
0x499b6724898da7971102c2f8aab260829305cbc6.sol: application/json
0x4ab3552a32a8c53405800e621c4a0882ed4f6963.sol: application/json
0x4bea2e03a4daf769dcda13322feac94ea3eb0fc4.sol: application/json
0x4cfa9c487b533708b8ca10e0ea8adbe4af9aced3.sol: text/x-python
0x4d54793dec1b0f2b5daf2b8e30c0742b9cac80cb.sol: application/json
0x4e24b70fdc708e1f947f34bdf6a0acf14a6d3fb3.sol: application/json
0x51605924b0c6e14f1bb3b73749675e22435896ac.sol: application/json
0x51c82c515dd122e1a4f27e79e712332f72e70238.sol: application/json
0x523020bb9a99a7bdb81a58b95f80bd8e1944cc3c.sol: application/json
0x5a0cf7bcbfd644436dc32aa75e6464bb487340d3.sol: application/json
0x5a6af83a0774dee774bdf61e18eff77f9f876f55.sol: application/json
0x5e7a685ed8bd3e9dc24bfd67813e9c26b5891308.sol: application/json
0x5f3c941083182145c8e8cb233c7dc640a530b0d0.sol: application/json
0x604b8fa03e76fb62e617f62cb10ed1ce87856ab4.sol: application/json
0x608f006b6813f97097372d0d31fb0f11d1ca3e4e.sol: application/json
0x60cf28bc68c48ea64862278dbaea6c6fe20614b3.sol: application/json
0x656c82769eb8df364a90dced4d37e07eace46541.sol: application/json
0x65ccd72c0813ce6f2703593b633202a0f3ca6a0c.sol: application/json
0x65e3c4a750a2e7cc7cce86d01587bbcbbe99042e.sol: application/json
0x6710cee627fa3a988200ffd5687cc1c814cef0f6.sol: application/json
0x67aeae7fd71a6154a7c1828401942b9c8063b0cf.sol: application/json
0x688ff43c3c19e4714f0beb76df8ee394207ab411.sol: application/json
0x68f3bb0edb155185f2f0378be3bb9060b247da8e.sol: application/json
0x6970b68c183a8abcec65a1f857c3c7a02f0e8ca9.sol: application/json
0x6c08e39b1e68c3f9e6e7ded2a1ee11c2d51c8882.sol: application/json
0x6c6de9e55afc83a5c64c143ed30658ae8fdf6065.sol: application/json
0x6da3b1c40cf4591fb55dccc09f22763e36a7db9e.sol: application/json
0x6ec3c4b602617d64b23f4a4cebf9c4f97a1b56f9.sol: application/json
0x6fd571c775cfe9f712235a2eb504f3a4e5c7cbb3.sol: application/json
0x70c92a8a51191378a6ec8ce0493aa7a3f469425c.sol: application/json
0x7298101af6a70db55895fd4a58e44a8ebee2d565.sol: application/json
0x733b77f9e5e17dbfadecdb17236c24e82c503501.sol: application/json
0x74ba70f689f6d56d749af647d9155cff73cb87bd.sol: application/json
0x75aeacf0abd835a3a0d3aa5f852546399a1f376b.sol: application/json
0x76ea52a8d0342b10dd3f724825d5105d7aced1a0.sol: application/json
0x78c673c403b6bb545c1534192ebed59fc0b4d53f.sol: application/json
0x7a2ee8dd9e653d5fd691fab390daab9326361afd.sol: application/json
0x7a67b69ba3a6f611a3d46971913ecbec702ba6eb.sol: application/json
0x7a9c168070f700d569c2b4cc6c908c27271c250b.sol: application/json
0x7d952579e9936b1b31e6f5c177313fe0d1629635.sol: application/json
0x809136c210908e47eb0c820b5cb1870559b6cb42.sol: application/json
0x80a7293b7e785f8ddfbdfa6201db7fa89fd1a8ac.sol: application/json
0x812715432f7a040e6471478b043d59338e31b09f.sol: application/json
0x82a7f821a9dfb49a3a1438467a423b1cc49f282d.sol: application/json
0x8364162a7d13084346a3690ddae7807a139e14fe.sol: application/json
0x875353da48c4f9627c4d0b8b8c37b162fc43ce67.sol: application/json
0x87d5a5abae8ef58c600d296362f69691cf48eeea.sol: application/json
0x88c0ea46aac4285bd20df8a029791e6a236d32e1.sol: application/json
0x89eafa06d99f0a4d816918245266800c9a0941e0.sol: application/json
0x8b748672f7ff9c46647106c7c735e33bfbaca47b.sol: application/json
0x8b9a4f61bd195cfe2fce40c0ae4f9d2599189640.sol: application/json
0x8b9ad19690afcf5d8cac66888ba292c933e9dd0d.sol: application/json
0x8d7158414f1a16ff98b60430234728d5d1e7e659.sol: application/json
0x8f661646c756756525651b27e478f333f4a1b4e4.sol: application/json
0x908ad64d09ae670a919b77da798fbbad2beab16d.sol: application/json
0x941f40c2955ee09ba638409f67ef27c531fc055c.sol: text/x-python
0x95bebe7bfc6acc186c13d055d0aacc2de5f81502.sol: application/json
0x9603f8ca8ff73493676946cf6ef26b4c4c1fa198.sol: application/json
0x97259eae773a67573e4d397e0e5adc7da17a69a7.sol: application/json
0x97cb990fd44ea1ab4c880d3dcfa54168caf2fe1f.sol: application/json

Encountered `no pragma` errors

Hey,

I was trying to run smartbug with smartbugs-wild dataset but encountered many no pragma errors. Given that the paper utilized SmartBugs to analyze the same dataset, I'm wondering why it's not functioning as expected now and how this issue can be resolved. Any information would be appreciated, thanks in advance!

cat /Users/rr/my-repo/cloned/smartbugs-wild/sb_wild.txt | xargs -n 200 ./smartbugs -t smartcheck -f

Welcome to SmartBugs 2.0.7!
Collecting files ...
200 files to analyse
Assembling tasks ...
Error(s) while collecting tasks:
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x0710714a1e30c70aea2dc1254e24292bea7943f4.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x0b8d56c26d8cf16fe1bddf4967753503d974de06.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x41f2d5040726c5328f8366f17041ec012ac8f338.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x44afd8995b70f37c90c2c6a484218f79df86d74a.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x77562e7c5cedf35d3264fd13469b9e9d9fee90cc.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x7fd022cc8b6e019260627fafa1d9c3afece18cef.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xc0c2809aa2a6c38ff1eeac13cff6c0e5cf637e27.sol: no pragma, cannot determine solc version
Welcome to SmartBugs 2.0.7!
Collecting files ...
200 files to analyse
Assembling tasks ...
Error(s) while collecting tasks:
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x9497043f4cd9450867479f3fd873d80d9321094c.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xbc053e4bc868f40beea7d571c808f01ade8dae12.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xe2ff99d71555b62271f74b062d1e2928c4d27b1e.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xe7e01babb53c98f8d84d05dfff64ebb63ed37bf5.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xf01b26626550448606de2b6e7eeda1216d9cd239.sol: no pragma, cannot determine solc version
Welcome to SmartBugs 2.0.7!
Collecting files ...
200 files to analyse
Assembling tasks ...
Error(s) while collecting tasks:
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x073e957bc883693f15ecb14bfced3e8ffc8654c5.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x43bbc7fafb860d974037b8f7dd06b6f6fe799b3e.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xb1d58bad78f33892719cdeba218f8641a71a3f05.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xd5a3a5f35e8db7740ff644752bce389fc958d5c1.sol: no pragma, cannot determine solc version
Welcome to SmartBugs 2.0.7!
Collecting files ...
200 files to analyse
Assembling tasks ...
Error(s) while collecting tasks:
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x0948cc023fa99f12f93dc6dd88d958faac3e07d2.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x11d02e7119cdf769bf887b7c35548ab7f67b3fe0.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x2b84b61394511aba931500e974cb243a852f134b.sol: no compiler found that matches pragma solidity ;
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0x954de93d9f1cd1e2e3ae5964f614cdcc821fac64.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xbacd554538c8037545098a36361f54c4e1d0f94e.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xcf377dfd654676940e2b5a87cf2673def25aeaed.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xd0f51907e541e63ec338e0e210dc33a6c7871096.sol: no pragma, cannot determine solc version
/Users/rr/my-repo/cloned/smartbugs-wild/contracts/0xd494938d0524edadfc239adc2c233e50550fa152.sol: no pragma, cannot determine solc version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.