OpenZeppelin/openzeppelin-contracts ? reverse-engineered prompt

Reverse engineered prompt

Build me a Solidity library for secure smart contract development, like the OpenZeppelin contracts project. I want reusable, well tested building blocks that people can import into their own Ethereum apps instead of writing everything from scratch. It should include common token contracts like ERC20, ERC721, ERC1155, plus role based access control, upgrade friendly patterns, and useful helpers for things like math, signatures, and safe payments.

Make it feel like a serious production ready package, with clear docs, examples, and tests so developers can trust it. If you need to check current Solidity or Ethereum best practices, look up the latest docs online. Keep the code clean, secure, and easy to use from either Hardhat or Foundry, and make sure the project is organized so it would be straightforward for someone to install, import, and start building with it right away.