I am doing research into the security of smart contracts and was hoping to gather a dataset containing smart contract source codes. I was wondering if there is an API which allows this.
At etherscan you can use an API to get the smart contract ABI, but I'd like the source code. I give this as an example because all verified contracts of etherscan would be a great dataset.
My goal is to analyse these source codes to for instance categorize them based on a taxonomy or check how many of them contain certain patterns.