How to find mainnet usage of OZ contracts

Goal

How can someone find on mainnet where OpenZeppelin contracts are being used by other projects? For example, if I'm curious to see all the projects that are currently using OZ's ERC20 implementation, ideally big projects, how would I be able to find them?

In my case, I'm looking to use OZ's TimelockController as an owner to a contract, but want to see cases where big projects are using this contract. So far I've just tried looking on etherscan for timelocks, but haven't found same versions. I've also tried deploying the TimelockController, and usually it shows "similar contracts", but that's way off.

Closest things I've found are Uni token using governance, but they have their own implementation of Timelock.

Looking for other suggestions here. Thanks

Hi, welcome to the community! :wave:

Maybe you can search @openzeppelin/contracts/governance/TimelockController.sol at the github repo, but It shows not only contracts(.sol), but scripts(.js/.ts), deployments(.json), etc.

Thanks for the welcome! Do you mean just searching that on github.com? Or what do you mean "the github repo"?

Yeah, just on the github, sorry for misleading.

Maybe you can use this tool, https://glide.r.xyz/ but you need to write the query requirements by yourself.

all good, your tip on just searching through github worked out. Thanks!

1 Like